Hello everyone, so getting to the point I wanted to be able to control multiple DC motors (like a RC car) and I was told by multiple sources a relay shield might be what I need (mind you I'm pretty much a novice at programming and engineering). So I connected the arduino mega 2560 I have to the shield and the motor to the shield and got the code from a video explaining how to use a relay shield (I'll include any pictures and links needed) the only difference between the video and my design is the fact I am using a motor, and he a light bulb as well as the kind of arduino. So my question is why does his project work but mine does not?
Both links lead to each other but we're added for your convenience
Video of relay shield:
Link to code:
https://robojax.com/learn/arduino/?vid=robojax-relay-shield
Both links lead to each other but we're added for your convenience
Video of relay shield:
Link to code:
https://robojax.com/learn/arduino/?vid=robojax-relay-shield
Attachments
-
1.5 MB Views: 8