Hello,
I am new to Arduino and electronics in general and this is my first circuit design. I am making a robot (Arduino Uno R3 + Adafruit Motor Shield V2) that is supposed to follow a wearable beacon through an IR transmitter and receiver. My servo was not turning, and it was receiving 9v. My friend told me that I should use another power source (so two) that is 4v designated for just my servo. The servo is used to turn the head of my ultrasonic sensor.
Sorry! The battery on the left is a 4xAA battery (I am using pictures I found on google to represent battery). The 9v battery I am using is 6xAA. I also changed the servo. Do you have any suggestions for changes?
Remember to not move the ultrasonic sensor until it receives an echo or times out. Other wise you cannot know the true distance or you might miss the echo.
Define work? Have you tested it? Have you tested any of it? Can you make it work? How will you know if it works? How would I or anyone else know if it will work?
Please start putting your project together and begin testing!
Sorry for that question lol. I just tried to assemble it, and the I2C connection for my Arduino Uno and motor shield isn't working. Do you know what might be the problem? I soldered the headers connecting A4 and A5 (the SDA and SCL) along with all of the other headers. I ran an I2C test code and it does not sense any communication.
Thanks for the suggestion! The I2C test code does work, it's just the I2C I think. I did a continuity test for each my SDA and SCL connection to test if my Arduino Uno and motor shield are communicating, and there is continuity. Do you know what could be the problem?
"Only two GPIO pins (SDA & SCL) plus 5v and GND are required to drive the multiple motors". Are you applying 5 volts to the board while testing? When all else fails, try different boards.
Thanks for the suggestions! I'm using a 6xAA battery to power the motor shield and I've confirmed continuity between the SDA, SCL, and ground connections on both the Arduino Uno and motor shield. The I2C test code was working fine before, but it stopped working after I added the independent 4xAA battery for the servo. Can this impact the I2C connection?
My apologies for making an unclear circuit drawing. Thank you for the circuit diagram example you just made! I will try to do something like that next time.