|
|
|
|
|
|
Germany
Joined Mar 2007
200 Posts
|
Did you ever try to read the joystick under linux?
We need to access the joystick, fill the bytes, calc the checksum and send it via IR. I think I will use the USB2Serial with FTDI chip from here (Just ordered a USB2Serial Cable with FTDI chipset). I especially like the "bitbang" mode: sending '1's and '0's with 72kHz to emulate the 38kHz carrier is very visual! So generating the packages seems to be not too complicated, but I never tried to use the joystick interface. Darkstar. |
|
|
|
|
|
|
Joined Mar 2010
5,105 Posts
|
that becomes
suddenly complex. If the heli 'dead reckons' it's position, it won't be for long.
You'd need some sort of position datum to work from. too heady for me. I'm happy to get a battery charged. Hm, wouldn't it be easier to hook a joystick to a IR controller, without the PC in the loop? |
|
Latest blog entry: Minigun: auction ends in 3 Hours.
|
|
|
|
|||
|
Germany
Joined Mar 2007
200 Posts
|
Quote:
Quote:
Darkstar. |
||
|
|||
|
|
|
|
Germany
Joined Mar 2007
200 Posts
|
Update of the timings (also for own documentation):
carrier frequency: 38.17kHz (all timings in µs) constant length, package-to-package 154819 header: 3699 pulse, 1004 space zero: 814 pulse, 242 space (=1056, ratio ~ 2/3 to 1/3) one: 398 pulse, 658 space (=1056, ratio ~ 1/3 to 2/3) end: 387 pulse, 115937 space length of data: 32 bits byte,bit explanation 1,1 fix (always zero) 1,2...8 throttle 2,1...4 rudder 2,5...8 elevator 3,1 1=left rudder, 0=right rudder 3,2 1=nose up, 0=nose down 3,3 1=trim left, 0=trim right 3,4...8 trim 4,1...2 channel: 11=A, 10=B, 01=C 4,3...8 checksum As soon as the USB2Serial is here I will send some commands to the helicopter to see if its working. Darkstar. |
|
|
|
| Thread Tools | |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Discussion FrSky 2.4ghz - Telemetry protocol discussions | PLMS | Radios | 1370 | Apr 24, 2013 12:58 AM |
| Discussion SanHuan 6023 or Syma S107 ? | Tuc | Coaxial Helicopters | 20 | Mar 21, 2010 09:15 AM |
| New Product New larger SanHuan coax w/ gyro | rich95 | Coaxial Helicopters | 0 | Oct 21, 2009 04:34 PM |
| Sold Scorpion IR Receiver and IR Remote Control - $10 shipped | dswitkin | Aircraft - Electric - Power Systems (FS/W) | 2 | Aug 30, 2009 09:20 PM |
| For Sale CHEAP - Miniature Helicopter (Sanhuan) $15 Shipped | ropuri | Aircraft - Electric - Helis (FS/W) | 1 | Jan 31, 2007 03:00 PM |