Continue Discussion 11 replies
Dec '13

titimoby

That looks interesting.Could

That looks interesting.

Could you tell us more about the way you powered all this?

I’m not familiar with the Mega: did it have some independant VIn ?

1 reply
Dec '13 ▶ titimoby

salseng

Yes it has

Yes it has an independant Vin and supports from 7V to 12V, it has integrated voltage regulator on board and regulates the voltage to 5V. So you can use 9V battries. Or if you want to supply just 5V, you need to use the USB port of the Mega, in that case you have to use external voltage regulator, I used 7805A and its common and available.

It has 2 gear motors and a servo which drain a lot of power, this is why I made a different circuit to supply power to these motors. Supplying power to these things form Arduino may damage the Arduino, even if it works, they’ll get not enough power. So it is better to supply power from a different source. I always prefer different power sources for Arduino/MCU and the other components, ie. the motors or sensors :slight_smile:

Dec '13

titimoby

what I don’t get is if you

what I don’t get is if you used:

-  only one 9V then one connection on Vin for motors and a separate regulator to 5V for the Mega.

- 2 separate 9V one on the Vin, the second on the 5V regulator.

But don’t worry, that’s just me and my too simple DFRobot 4WD with a Romeo board.

I have to learn back my eletronics knowledge from college :slight_smile:

Thanks

1 reply
Dec '13 ▶ titimoby

salseng

2 Different sources in 2 different targets

I used a 9V source for the Arduino mega and the other source to power the Motors, I’ve attached a comparable circuit design with it for your convenience :slight_smile:

I haven’t shown capacitors, but its good to use capacitors. And to supply power to the motors, I’ve used 2 9V battries in parallel. Please check the design in the top.

1 reply
Dec '13 ▶ salseng

titimoby

Thanks for the schema, it

Thanks for the schema, it really helps.

Dec '13

ericteuh

can you published your

can you published your sketch ?

1 reply
Dec '13 ▶ ericteuh

salseng

Done!

Please download the zip file! You might need some modifications :slight_smile:

Dec '13

titimoby

Thank you so much for all

Thank you so much for all the shared data. It helps me a lot to understand what I can plan next with my very basic 4WD platform.

It looks like you managed the turn in a better way than me.

My problem is very common: I can’t just apply reverse orders on left and right side like a tank :wink:

From what I read in your sketch, you have an individual control on each motor ?

I started with a Romeo board that includes two DC Motor Terminals. Maybe it’s time for me to learn how to build a H-Bridge :slight_smile:

 

1 reply
Dec '13 ▶ titimoby

salseng

Yes!

Yes it has individual control on each motor, you don’t have build an H-Bridge by yourself. You can use L293D. :slight_smile:

Mar '14

kalelonredkryptonite

Is that an Plexiglass (acrylic) sheet used for the chassis?

Is that a Plexiglass sheet for the chassis? If so, how did you drill bolt/screw holes without cracking it? Good work by the way.

1 reply