Skip to main content

Posts

Showing posts from June, 2011

Arduino code for Gaui 330X quad copter

I've been doing some work with arduino and GAUI 330X. In this example we controlling the throttle speed of the engines. On the 330X throttle is also used to reset and config the ESCs (4 small boards that control the power to the engines and speed).
I removed the blades and replace those with plastic circles, so I can test the code without having the 330x flying all over the place.
Since I don't own a radio/receiver, it took me a while to get the 330X configure and working.
This example, should allow you to configure the ESCs, and start the 330X, and throttle the engine up and down with the potenciometer.
One thing I didn't realize for a while is that the ESCs are the ones that beep (not the GU334), and since all four are connected to the GU3344 is difficult to configure them because they all beep at same time and are not really synchronized, so you can't really figure out what is the current state of each one.
Probably in the future, I need to figure out a easy way to conf…

DFU Mode Arduino UNO without soldering

I did these steps after I loaded and "empty" sketch to the board.

Code: void setup(){}
void loop(){}
-----------------------------------------------------------------INSTALL THE DFU PROGRAMMER (console commands)
-----------------------------------------------------------------$ sudo aptitude install dfu-programmer

-----------------------------------------------------------------
DOWNLOAD AND VERIFY THE FIRMWARE (console commands)
-----------------------------------------------------------------
$ wget --no-check-certificate https://github.com/arduino/Arduino/raw/master/hardware/arduino/firmwares/arduino-usbserial/Arduino-usbserial-uno.hex
$ md5sum Arduino-usbserial-uno.hex
8e01ee236e70bbea43f7eb4e11c9688a Arduino-usbserial-uno.hex

-----------------------------------------------------------------
PUT ARDUINO UNO IN DFU MODE (see Picture)
-----------------------------------------------------------------
0) connect your board to the pc1) insert 2 wires in GND pins according to t…