PC to PPM

Projects that are not for RC, but are cool and worthy of development.
Post Reply
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

PC to PPM

Post by jhsa »

Hi guys, anyone know a project to output ppm from the computer via the audio card or USB (prefered)??
maybe using an Atmega or even an arduino board.
Controlled by a joystick through the PC would also be nice..

there are a couple commercial devices around but I like the DIY approach.

Thanks

João
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9

Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW

User avatar
gohsthb
Posts: 1412
Joined: Wed Dec 28, 2011 2:32 pm
Country: -
Location: Naperville, IL

Re: PC to PPM

Post by gohsthb »

Do you have something on the computer you want controlling it? An Arduino would probably be the simplest approach.
-Gohst
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: PC to PPM

Post by jhsa »

Maybe controlling the model with a joystick.. I would like to try to fly a model with a joystick.. small foamie model of course for a start..
Actually it would be nice to control/setting up the model real time with companion and eepe. removing props of course ;)
Then when we're happy with the result, just flash the eeprom to the modell.. we would have a better visual idea when setting the model up this way, instead of be looking at a few bars on the screen ;) we could see it on the actual model. :)

maybe one day we could even select a model in eepe/companion and fly it. A computer version of the firmwares ;) :D just a possibility as I guess that in furure companion/eepe will be running on very small pocket computers ;)

Brainstormin'

João
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9

Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW
User avatar
rperkins
Posts: 1422
Joined: Sun Jan 08, 2012 12:51 pm
Country: -

Re: PC to PPM

Post by rperkins »

Open source code
The IRRc library might be helpful. one of the demos:

USBJoystickHeli Controls a helicopter with a Logitech USB game pad connected to a Sparkfun USB Host shield. Requires the USB_Host_Shield library. The game pad is used as a mode 2 controller: throttle on left stick, elevator and rudder on right stick. Includes elevator and rudder trim buttons with button 1, 2, 3, 4. This is the sketch that was used in the

http://www.airspayce.com/mikem/arduino/IRrc/

It is for an IR heli. but once you get the usb data into the MCU then you can output some PPM instead of calling the heli.setCommand, which is part of his IR library.

He also has a demo that uses a serial port from the pc to control the heli. Maybe that would be a better fit depending on the joystick/input device you are going to use

This was the starting point for my IRmodule that I havent been working on lately :)
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: PC to PPM

Post by jhsa »

very nice projects in there.. thanks..

João
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9

Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW

Post Reply

Return to “Other Electronic Projects”