#Is the switch needed on the wheeled rover for the foam launcher.
1 messages · Page 1 of 1 (latest)
couple questions.
- On battery pack( with 4aa batteries) there are 2 wires red and black. on the motor the red wire -> 12v and black -> ground. leaving the third slot(5v) empty, correct? This gives us 6v for the 2 mtors.
- where is this coming from, " Connect DC+ to the 6V of the external battery pack." this is the relay part. Does the Dc+ go into the 5v of the motor?. Since, there are three slots on the motor, 5v, 12v, and ground.
- When I first connected the robot, I wasn't able to move my left and right motor.
hi @tribal tundra thanks for the questions. @lyric gyro should be able to assist here!
I think @stray jolt might be better placed to assist with this one
@edgy kraken
Hey @tribal tundra,
For your switch questions. I dont think I connected it to anything. If you want to you can connect it to something there should be two metal prongs on the otherside of the button you can connect one side to the 4 battery pack wire and then attach a new jumper cable wire to the other prong. This jumper cable wire can be used as your new 6v power wire and you can use the switch to toggle it on and off.
- Yupp that is correct! the motor controller can handle up to 12 volts but 6 volts will work just fine.
- We want to use the 6 volts of the 4 battery pack for two things. The motor controller and to power the relay. I used a bread board for this part. I had the 6 volt battery pack plugged into a bread board and had two jumper cables connected to the same bread board rail as the 6 volt battery array. that way I could now supply 6 volts to both the relay as well as the motor controller
- If you have the motor controller powered up and the IN pins connected to your raspberry pi it should work when configured on Viam. Can you share how you have the In pins connected? also can you share how the rest of the motor controller is wired up?
@stray jolt orange is dc+ that isn’t connected.
Is what you mean, instead of directly connecting the battery pack to the motor controller, connect to a breadboard and have dc+ sharing power with the battery
yupp thats correct, if you connect the battery pack to the breadboard you can share the 6 volts with the relay and the motor controller. Make sure you plug the 6 volt power wire for the batteries into one of the rails in breadboard. Also another note you will likely need a common ground across all of your components so i suggest you have a ground rail on the breadboard as well that all ground pins can plug into
here is a bread board rail diagram for reference btw