Analog input for X8R

Electronic projects that are either related to the firmwares for the 9x, or simply great for radio control applications.
tigar
Posts: 162
Joined: Wed Dec 28, 2011 5:31 am
Country: -

Re: Analog input for X8R

Post by tigar »

jhsa wrote:I'm still thinking about what the problem could have been :(

João
I have on order a new ftdi breakout board. It might be it, although it doesnt explain why it worked with the old versions...

User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: Analog input for X8R

Post by jhsa »

that is what is making me think.. why work with the older version of the IDE and not with the latest..
Which FTDI do you own? I have the "sparkfun FTDI basic breakout"..

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
tigar
Posts: 162
Joined: Wed Dec 28, 2011 5:31 am
Country: -

Re: Analog input for X8R

Post by tigar »

A Chinese one from ebay. The one with the square, printer like, USB plug
Clivew
Posts: 338
Joined: Tue Dec 27, 2011 8:08 pm
Country: -
Location: Stroud, Glos, England

Re: Analog input for X8R

Post by Clivew »

Brilliant software Mike,
I just tried it out with Arduino Pro Mini.
Really good is the way you've "damped" the falling voltage so it doesn't alarm
with a picosecond :roll: dip of the LiPo voltage :D
Good work, thankyou!

Clive

MikeB wrote:Reason for project.
FrSky have chosen not to put any analog input ports on the X8R receiver. Many users would find one such input very useful.

Implementation:
Use a small Arduino to read an analog signal and send this to the X8R using the SPort protocol.
I used a Mini Lite, but the Pro Mini is the basically the same device.

Connections:
SPort +V ---> Arduino +9V
SPort -V ---> Arduino 0V
SPort signal <--- Arduino I/O 4

Arduino 0V <--- Analog ground
Arduino A3 <--- Analog input 0-3.3V (tolerates 4.5V)

Here is my first code effort.
SPortAnalog.zip
Unzip the files as an Arduino sketch and download to the Arduino Mini.

Mike.
aadamson
Posts: 123
Joined: Fri Oct 18, 2013 6:47 pm
Country: -

Re: Analog input for X8R

Post by aadamson »

For those interested, this thread I believe is a similar effort, with a simple board in the works.

http://openrcforums.com/forum/viewtopic.php?f=96&t=4373

Alan

User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: Analog input for X8R

Post by jhsa »

well, some people might not want to build boards and they have arduinos, so, why not using them? ;)

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
tigar
Posts: 162
Joined: Wed Dec 28, 2011 5:31 am
Country: -

Re: Analog input for X8R

Post by tigar »

Any updates on this?
I am using it with good results except some "telemetry lost" warnings every now and then...
User avatar
MikeB
9x Developer
Posts: 17990
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: Analog input for X8R

Post by MikeB »

Not at present, as said on another thread "Too many projects not enough time!". I have done the design, linked above, that uses a small ATTINY processor and provides the same function. I'm waiting for the FrSky UART sensor that has two analog ports before I look at any updates.

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
User avatar
bob195558
Posts: 2377
Joined: Sun Dec 16, 2012 7:24 pm
Country: United States
Location: New England, Vermont
Contact:

Re: Analog input for X8R

Post by bob195558 »

:|
I am not sure but will this new Smart Port to UART Converter from FrSky give us the option to have
two external analog Telemetry Ports (A1 & A2) with the X8R Receiver?

(Dec. 04, 2013) New Release: FCS-40A, FLVSS, GPS and SP2UART (Smart Port to UART Converter, w/ 2 ADC ports).

Click on this for more info: (http://frsky-rc.com/media/mediaItem.php?m_id=26)
SP2UART   <br />Smart Port to UART Converter, w/ 2 ADC ports
SP2UART
Smart Port to UART Converter, w/ 2 ADC ports
I have not been able to find it for sale any where in the US as of Jan. 06 2014.
Er9x on 9x radio, with Smartieparts Programmer and TelemetrEZ Board.
ErSky9x on Taranis, Sky9x, 9Xtreme radios.
3D-Printing: (https://openrcforums.com/forum/viewforum.php?f=129).

Post Reply

Return to “General RC Electronic Projects and Discussion”