Espritmodel.com Telemetry Radio
Reply
Thread Tools
This thread is privately moderated by Malc C, who may elect to delete unwanted replies.
Old Feb 17, 2013, 12:46 PM
Living in the south of France
paulinfrance's Avatar
Joined Aug 2011
437 Posts
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,,,,
paulinfrance is offline Find More Posts by paulinfrance
Reply With Quote
Sign up now
to remove ads between posts
Old Feb 17, 2013, 12:59 PM
Registered User
freedom2000's Avatar
Joined Aug 2007
314 Posts
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
freedom2000 is offline Find More Posts by freedom2000
Reply With Quote
Old Mar 22, 2013, 02:08 AM
Flying Wood For Fun
irun4fundotca's Avatar
Canada, ON, Sydenham
Joined Jan 2012
6,438 Posts
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

http://www.rcgroups.com/forums/showp...6&postcount=44

progress so far have some inputs swapped still
arduino flightstick (0 min 10 sec)
irun4fundotca is online now Find More Posts by irun4fundotca
RCG Plus Member
Last edited by irun4fundotca; Dec 29, 2013 at 03:34 PM.
Reply With Quote
Old Dec 29, 2013, 07:53 AM
Registered User
freedom2000's Avatar
Joined Aug 2007
314 Posts
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
freedom2000 is offline Find More Posts by freedom2000
Reply With Quote
Old Dec 29, 2013, 12:37 PM
Heli Humbled Daily
Riverside, CA
Joined Jul 2006
2,973 Posts
Using a USB OTG cable?
Telemachus is offline Find More Posts by Telemachus
Reply With Quote
Old Dec 29, 2013, 12:52 PM
Registered User
freedom2000's Avatar
Joined Aug 2007
314 Posts
Quote:
Originally Posted by Telemachus View Post
Using a USB OTG cable?
Yes exactly !
JP
freedom2000 is offline Find More Posts by freedom2000
Reply With Quote
Old Dec 29, 2013, 03:35 PM
Flying Wood For Fun
irun4fundotca's Avatar
Canada, ON, Sydenham
Joined Jan 2012
6,438 Posts
I think I'm going to try a whirl at building one too

see what I can accomplish
irun4fundotca is online now Find More Posts by irun4fundotca
RCG Plus Member
Reply With Quote
Old Dec 29, 2013, 03:42 PM
Heli Humbled Daily
Riverside, CA
Joined Jul 2006
2,973 Posts
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.
Telemachus is offline Find More Posts by Telemachus
Reply With Quote
Old Dec 29, 2013, 04:03 PM
Registered User
freedom2000's Avatar
Joined Aug 2007
314 Posts
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
freedom2000 is offline Find More Posts by freedom2000
Reply With Quote
Old Dec 29, 2013, 04:26 PM
Heli Humbled Daily
Riverside, CA
Joined Jul 2006
2,973 Posts
Now I am confused. What does your board do exactly?
Telemachus is offline Find More Posts by Telemachus
Reply With Quote
Old Dec 29, 2013, 04:37 PM
Registered User
freedom2000's Avatar
Joined Aug 2007
314 Posts
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
freedom2000 is offline Find More Posts by freedom2000
Reply With Quote
Old Dec 30, 2013, 02:56 AM
Registered User
MoFl's Avatar
Espaņa, AL, Sevilla
Joined Apr 2007
515 Posts
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.
MoFl is offline Find More Posts by MoFl
Reply With Quote
Old Dec 30, 2013, 03:11 AM
Heli Humbled Daily
Riverside, CA
Joined Jul 2006
2,973 Posts
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!
Telemachus is offline Find More Posts by Telemachus
Reply With Quote
Old Dec 30, 2013, 03:34 AM
Registered User
freedom2000's Avatar
Joined Aug 2007
314 Posts
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
freedom2000 is offline Find More Posts by freedom2000
Reply With Quote
Old Dec 30, 2013, 06:36 AM
Registered User
Holon, Israel
Joined Apr 2009
15 Posts
There is the much more easy way - only 1 stm32 board and LCD screen. If the board is used anyway - why to use android?
Tahorg is offline Find More Posts by Tahorg
Reply With Quote
Reply


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 07:43 PM
Quattro USB adapter: RC, Analog Joystick -> USB PiNa Simulators 2 Sep 22, 2004 01:09 PM
Radio Shack USB joystick adapter. HankF Simulators 0 Jul 23, 2003 01:46 PM