Sunday, March 10, 2013

Troubles with the rc2usb Module

So, the excitement of using the newly released FT230X for serial over USB, turned to a headache:


One is the original and one is a copy "borrowed" from a cheep USB to Serial cable. The message was 0xAA, but all I got was zeros.


Same problem with live data from the board. Annoying little bug!

Turns out, that revision B & C (one of which I have), still has some kinks in it. In my case, opening the virtual COM port too quickly caused the FT230X chip to start sending garbage. Though to be fair, this particular case might be the drivers fault, since it worked a lot more reliably on another machine with an older kernel.

The solution, wait 20-30 seconds after plugging the board in to the computer before opening a connection.

But the good news is, over-clocking the ATmega328 from 16MHz to 20MHz works like a charm!

Saturday, January 12, 2013

Manufacturing rc2usb Module

Photo Etching method was available, so this is how it happened:


Print out a stencil for the pcb.


Expose the pcb with the stencil to the UV light.


Etch it in acid.


Clean thoroughly!


Plate it and clean thoroughly again.


Cut and drill.

Congratulations, it's a circuit board. Now all it takes now is a bag of components and some soldering.


All done! Both chips respond back, which means the board is now ready for the software development part.

Thursday, January 3, 2013

Designing rc2usb Module

Studying the solutions out there, for connecting an RC controller to the computer, a design for an RC receiver was devised.

A custom board, based on the ATmega328 (because most of the reference material is based on Arduino, they are really cheap right now and I already have a programmer for Atmel chips). With the newly released FT230X for serial over USB (because, let's try something new).

As such it should be able to read up to 8 channels from the RC receiver, with two connectors for servo testing. One with pass trough from channel 8 to manually control the servo, and one wired to the micro controller which will periodically  turn it left and right (useful to quickly test a servo with no RC controller or power supply for it near by).


FT230X part of the schematic


ATmega328 part of the schematic:


PCB design of the rc2usb board.

Well, this is the theory any way! Will it work as designed? only time will tell.

P. S. There is a tiny mistake on the schematics: capacitors C9 & C10 should be 47pF not 100nF. Damn you Copy & Paste!

Saturday, December 1, 2012

RC Receiver Data Transmission

It's getting cold outside, so connecting the real RC transmitter to a flying simulator would be awesome!

Actually, it is so awesome, there are a number of projects like that already on the internet. Like RCArduino (reading RC controller with an Arduino), or PPM RC to USB (reading RC controller's PPM signal).

But here, something different is required, something that reads the RC receivers signal to the servo, converts it to an 8bit value, and sends it over the USB port. That way, any receiver could be connected and any channel read.

So, step one, check how the signal of a RC receiver looks like:


It looks like a standard servo PWM signal (1ms for far left, 1.5ms for center and 2ms for far right), with no delay between switching from one channel to the next.

Sunday, November 11, 2012

Upgrading the Camera Stand Again

Fixed the right camera hanging to the side by cutting and bending the holding plate with the screw. Just 2.5° difference, but it makes all the difference. Still slightly rotated, but around the center, which is less of a distortion.

(Do not look at the picture without 3D glasses!)


But why stop there. Since this will be on a plane someday, let's fixate the camera so it wont rotate around the mounting screw.


And for convenience, a small cut out to the holding plate, so that the camera latch can open and expose the battery and memory card (screwing and unscrewing the camera to the stand over and over again becomes old really fast).



Saturday, November 3, 2012

Rolling


Finally, standing on wheels!

Trimmed away decorative plastic from the landing gear. Saved about 35 grams.