Thread Tools
This thread is privately moderated by Malc C, who may elect to delete unwanted replies.
Old Feb 17, 2013, 01:46 PM
paulinfrance is offline
Find More Posts by paulinfrance
Living in the south of France
paulinfrance's Avatar
Thanks but i have 3 thumbs and therefore Forget the build,,,
i have posted in the Head Tracker 'open source' and with any luck i might be able to buy one that works without drifting,,,,
Sign up now
to remove ads between posts
Old Feb 17, 2013, 01:59 PM
freedom2000 is offline
Find More Posts by freedom2000
Registered User
freedom2000's Avatar
Quote:
Originally Posted by paulinfrance View Post
Thanks but i have 3 thumbs and therefore Forget the build,,,
i have posted in the Head Tracker 'open source' and with any luck i might be able to buy one that works without drifting,,,,
C'est toi qui vois

JP
Old Mar 22, 2013, 03:08 AM
irun4fundotca is online now
Find More Posts by irun4fundotca
Flying Wood For Fun
irun4fundotca's Avatar
good work
now that I figured it out it makes sense

ive been working on an ppm/arduino based one, just not good at code so im stumped at finishing

https://www.rcgroups.com/forums/show...6&postcount=44

progress so far have some inputs swapped still
arduino flightstick (0 min 10 sec)
RCG Plus Member
Last edited by irun4fundotca; Dec 29, 2013 at 04:34 PM.
Old Dec 29, 2013, 08:53 AM
freedom2000 is offline
Find More Posts by freedom2000
Registered User
freedom2000's Avatar

JP Joystick Android 2 ppm


Hi all,

I have refurbished my old PIC18F4550 to connect it to my new Nexus5 Android smartphone together with a joystick.

Here is the result :

Joystick Android 2 ppm (5 min 43 sec)


The USB board is an HID device, it's plugged together with the joystick on the USB host of the smartphone. No external power is needed, all the juice is drawn from the smartphone.

The Android software allows to decom the joystick and perform mixing + reversing channnels if needed.

Tested with Microsoft force feedback Pro2 and Logitec gamepad.
Modification probably needed for others joysticks (but simple to do !)

JP
Old Dec 29, 2013, 01:37 PM
Telemachus is offline
Find More Posts by Telemachus
Heli Humbled Daily
Using a USB OTG cable?
Old Dec 29, 2013, 01:52 PM
freedom2000 is offline
Find More Posts by freedom2000
Registered User
freedom2000's Avatar
Quote:
Originally Posted by Telemachus View Post
Using a USB OTG cable?
Yes exactly !
JP
Old Dec 29, 2013, 04:35 PM
irun4fundotca is online now
Find More Posts by irun4fundotca
Flying Wood For Fun
irun4fundotca's Avatar
I think I'm going to try a whirl at building one too

see what I can accomplish
RCG Plus Member
Old Dec 29, 2013, 04:42 PM
Telemachus is offline
Find More Posts by Telemachus
Heli Humbled Daily
Brilliant freedom.

did you have to change the programming on the pic at all, or does it automatically get to detected with the firmware we have been using for ever on this thread?

I am yet to find a decent flight simulator on Android, but theres gotta be one.
Old Dec 29, 2013, 05:03 PM
freedom2000 is offline
Find More Posts by freedom2000
Registered User
freedom2000's Avatar
Quote:
Originally Posted by Telemachus View Post
Brilliant freedom.

did you have to change the programming on the pic at all, or does it automatically get to detected with the firmware we have been using for ever on this thread?

I am yet to find a decent flight simulator on Android, but theres gotta be one.
Hi,

No the firmware is mine, not the original from this thread.
My board is a simple HID device. I have my own protocol to send to the board 8 digital channels.
Then the PIC transforms these values into PPM signal.
On Android side, I connect to the joystick I connect to my board. I read the joysticks values and transform them into the digital values sent to my board.
Quite simple in fact !

JP
Old Dec 29, 2013, 05:26 PM
Telemachus is offline
Find More Posts by Telemachus
Heli Humbled Daily
Now I am confused. What does your board do exactly?
Old Dec 29, 2013, 05:37 PM
freedom2000 is offline
Find More Posts by freedom2000
Registered User
freedom2000's Avatar
Quote:
Originally Posted by Telemachus View Post
Now I am confused. What does your board do exactly?
Don't be confused it's simple !
1) you plug the joystick into the USB host connected to the smartphone
2) you plusg my board to the usb host connected to the smartphone
3) you plug the output of my board to the trainer port of the Tx (8 channels PPM)
4) you launch the App into the smartphone
5) you switch on the Tx

6) you fly (with the joystick)

So my board + the Android App converts a joystick into PPM signal
Please look at the video, it should be clear.

JP
Old Dec 30, 2013, 03:56 AM
MoFl is offline
Find More Posts by MoFl
Registered User
MoFl's Avatar
Quote:
Originally Posted by freedom2000 View Post
Don't be confused it's simple !
...
So my board + the Android App converts a joystick into PPM signal
Awsome!

But Telemachus' confusion is understandable, because your project is Joystick to PPM (to use a PC joystick to contro a plane), while this thread is about the opposite (PPM to USB, in order to use your transmiter as a joystick for PC RC flight simulators).

Maybe you could open a dedicated thread for this interesting project.

Thanks for sharing, anyway.
Old Dec 30, 2013, 04:11 AM
Telemachus is offline
Find More Posts by Telemachus
Heli Humbled Daily
In fact why use a joystick at all? You could fly with the touchscreen on your phone!

you have motivated me to try one of my radio USB simulator controllers on my Android with a USB on-the-go cable, however.

really nice project!
Old Dec 30, 2013, 04:34 AM
freedom2000 is offline
Find More Posts by freedom2000
Registered User
freedom2000's Avatar
Quote:
Originally Posted by Telemachus View Post
you have motivated me to try one of my radio USB simulator controllers on my Android with a USB on-the-go cable, however.

really nice project!
Thanks !
@MoFI & @Telemachus : Sorry for the confusion, this thread was indeed originaly devoted to "how to build a USB joystick" and slightly drifted to "USB host topic" -> how to host a joystick.

Regarding the original topic, please follow this link.

In conclusion with the same board and different firmwares you can have both devices :
1)Tx --> Rx --> board --> USB joystick
2) joystick-->Android-->board-->Tx-->Rx-->plane

Quote:
Originally Posted by Telemachus View Post
In fact why use a joystick at all? You could fly with the touchscreen on your phone!
This was a request from an heli pilot (a real copter pilot) who wanted to fly his copter exactly as if he was in the cockpit.

JP
Old Dec 30, 2013, 07:36 AM
Tahorg is offline
Find More Posts by Tahorg
Registered User
There is the much more easy way - only 1 stm32 board and LCD screen. If the board is used anyway - why to use android?


Thread Tools

Similar Threads
Category Thread Thread Starter Forum Replies Last Post
Question JW24RC - Model RC to USB joystick converter chip skratchbilder Radios 0 Dec 16, 2004 08:43 PM
Quattro USB adapter: RC, Analog Joystick -> USB PiNa Simulators 2 Sep 22, 2004 02:09 PM
Radio Shack USB joystick adapter. HankF Simulators 0 Jul 23, 2003 02:46 PM