Sunday, April 7, 2013

And now what ???

After some months of studies, the blog need to improve.

So I'm migrating to wordpress, and my first project will be start on it.

http://doingDrones.wordpress.com

In this new blog I'm going to improve and learn all the knowledge needed to build a drone.

I'll try to do all the steps from zero.

By the moment it's the most simple design, a terrestrial vehicle with wheels  (it could have legs, or jump , crawl, so it's no so trivial )

The idea of this vehicle it's to be a base of test  and to improve, so it will be as simple as possible.

I'll try to use almost information I've searched on internet about similar things, and modify to accommodate to my project, like engines, batteries, gear, etc.


But for start, I'm going to design my own vehicle

 (arduino + cubieboard ) ^imagination = everything you can do




I hope to see you in my new blog, I'm doing this for the community to share and improve our knowledge.

Thanks for all and I'll see you at http://doingDrones.wordPress.com
And I'm thinking about this other board Udoo
http://www.udoo.org/


Tuesday, April 2, 2013

Drive a DC motor (send data to the arduino)

Exercise 3┬║ Drive a DC motor

The simplest and not for a real use.

Till now, I was communicating from the arduino to the cubieboard, this is quite important, but now, I've to send the information from the cubieboard to the arduino.

For example, I send the amount of milliseconds that the dc-motor must be running.

The circuit is on of the most simplest
You can find all the information here (very good tutorials)
http://www.jeremyblum.com/2011/01/31/arduino-tutorial-5-motors-and-transistors/

I took this schema

http://www.jeremyblum.com/2011/01/31/arduino-tutorial-5-motors-and-transistors/

and here is the circuit, I had to change some values about resistor, transistor, etc. Cause I've to reutilizes some old components

By the moment this circuits just is used to show how we can send information from the cubieboard to the arduino, in the real world I'll make this circuits with Half-H drivers (L293 or similar) like this

And here the code at the arduino, to send the data from cubieboard I used the command
cu -s 115200 -l /dev/ttyS0

Obvious it can be do better, but just is to show the idea.