Forum >Replies by giannoug
userhead giannoug
Replies (9)
  • You Reply: [quote="Hector"]
    Giannoug,


    It seems these sensors are meant to be used with digital pins and not analog pins.
    [/quote]

    I thought about that too but it doesn't matter. The sensors also act weird even with the sensor pin unconnected.

    [quote="Hector"]
    Giannoug,


    I found this wiki on reducing DC motor noise. I'm not sure if you can implement it on your project, but its probably a good read.


    [url=http://www.beam-wiki.org/wiki/Reducing_Motor_Noise]http://www.beam-wiki.org/wiki/Reducing_Motor_Noise[/url]
    [/quote]

    Thank you, I'll give a look.
  • You Reply: [quote="Hector"]
    Giannoug,


    It seems these sensors are meant to be used with digital pins and not analog pins.
    [/quote]

    I thought about that too but it doesn't matter. The sensors also act weird even with the sensor pin unconnected.

    [quote="Hector"]
    Giannoug,


    I found this wiki on reducing DC motor noise. I'm not sure if you can implement it on your project, but its probably a good read.


    [url=http://www.beam-wiki.org/wiki/Reducing_Motor_Noise]http://www.beam-wiki.org/wiki/Reducing_Motor_Noise[/url]
    [/quote]

    Thank you, I'll give a look.
  • You Reply: The same thing happens when I hold the robot in my hand and try to slow down the motors. I'm pretty sure it's something about the sensors and the noise coming from the DC motors (btw, the same happens with servo motors). I'll try and upload a video later.

    I've also tried playing with the sensitivity of the sensors but I couldn't find any document online to correctly guide me. I've configured them by trial and error.
  • You Reply: The same thing happens when I hold the robot in my hand and try to slow down the motors. I'm pretty sure it's something about the sensors and the noise coming from the DC motors (btw, the same happens with servo motors). I'll try and upload a video later.

    I've also tried playing with the sensitivity of the sensors but I couldn't find any document online to correctly guide me. I've configured them by trial and error.
  • You Reply: Yeah, sure.

    http://i.imgur.com/LBu7B.jpg

    http://i.imgur.com/hI4UP.jpg
  • You Reply: Yeah, sure.

    http://i.imgur.com/LBu7B.jpg

    http://i.imgur.com/hI4UP.jpg
  • You Reply: Hi Hector,

    First of all I'm using the DFRobot 4WD chassis (the one sold with encoders). It is powered from five Fujitsu HR-3UX 2700mah batteries. I'm also using an Arduino Duemilanove with a motor shield (adafruit motor shield clone) to control the motors.

    Let's say I'm running a simple program that only setups the motors and make them run at full speed. Every motor is connected to one of the motor shield outputs.

    At first, I was powering the motors straight from the battery pack through the shield connector. Another cable was going to the Arduino jack. When I power everything up and let the robot on the floor, the sensors start "sensing" without anything on their range.

    I've also tried powering the Arduino from a seperate 9V battery. It helps alot but it doesn't solve my problem (it only reduces the effect).
  • You Reply: Hi Hector,

    First of all I'm using the DFRobot 4WD chassis (the one sold with encoders). It is powered from five Fujitsu HR-3UX 2700mah batteries. I'm also using an Arduino Duemilanove with a motor shield (adafruit motor shield clone) to control the motors.

    Let's say I'm running a simple program that only setups the motors and make them run at full speed. Every motor is connected to one of the motor shield outputs.

    At first, I was powering the motors straight from the battery pack through the shield connector. Another cable was going to the Arduino jack. When I power everything up and let the robot on the floor, the sensors start "sensing" without anything on their range.

    I've also tried powering the Arduino from a seperate 9V battery. It helps alot but it doesn't solve my problem (it only reduces the effect).
  • You Reply: I have installed 3 of the Adjustable Infrared Sensor Switches to my robot. When the robot is under load (e.g. when the motors are running and the robot is moving) all the sensors report that something is in range (sometimes the LEDs on the sensors flicker).

    Batteries are full (2700mah and also tested with USB supply), motors are powered straight from the batteries (no regulator involved). I'm of course not using the same pins as the motor shield. Pins are set to INPUT. I'm using the analog pins.

    Any help appreciated.