FrSky D4R-II

Post Reply
Jellono
Posts: 22
Joined: Fri Oct 23, 2015 4:18 am
Country: -

FrSky D4R-II

Post by Jellono »

Quick question,

If I enable Telemetry and use the DJT module on com1 (Black and White Wires) , can I put a HC-05 Wireless Bluetooth in com 2 to relay the data to a laptop, phone or tablet?

Dave

User avatar
MikeB
9x Developer
Posts: 17993
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: FrSky D4R-II

Post by MikeB »

At this moment, no, because I haven't got the bluetooth code in 9Xtreme. I am working on that. Beacuse I use a third COM port on the SKY/PRO/AR9X, I need to organise routing COM2 to bluetooth. Or, I need to sort selecting to use the I2C connections as a third COM port.
I intend to use the PA5 pad/signal as the control signal for the HC-05, I already have code in for that.

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
Jellono
Posts: 22
Joined: Fri Oct 23, 2015 4:18 am
Country: -

Re: FrSky D4R-II

Post by Jellono »

I assume I can install Bluetooth into the Receiver now, I see the image of Pin-outs for the expansion area and that you released a rom with Bluetooth.


If so do I use an HC-05 or HC-06 ?


Dave
User avatar
MikeB
9x Developer
Posts: 17993
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: FrSky D4R-II

Post by MikeB »

A HC-05 operates as both a MASTER and a SLAVE Bluetooth device, controlled by the firmware.
A HC-06 is only ever one or the other, depending on the firmware in it.
Clearly, a HC-05 is more useful.

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: FrSky D4R-II

Post by jhsa »

I have my Bluetooth working on COM3 (i2c lines working as a normal serial port) after a few problems. Thank you so much Mike for sorting them out..

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

Jellono
Posts: 22
Joined: Fri Oct 23, 2015 4:18 am
Country: -

Re: FrSky D4R-II

Post by Jellono »

So In looking at the below picture I see how to hook up the bluetooth , however in the purple text there is a quick side note about Soldering PA5 to Pin 34 on the Bluetooth board and the note says "Please See Relevant Picture" what picture? What is this wire for?

I assume 115200 is the baud rate?


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

Re: FrSky D4R-II

Post by jhsa »

Dave, give me 15 minutes.. I'm about to upload my BT installation to my 9xt installation thread.

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
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: FrSky D4R-II

Post by jhsa »

Have a look here.. Scroll to the bluetooth part of the guide and see if the information you need is there.

viewtopic.php?f=126&t=7987

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
ProZak
Posts: 6
Joined: Tue Nov 17, 2015 2:05 am
Country: Australia

Re: FrSky D4R-II

Post by ProZak »

Jellono wrote:So In looking at the below picture I see how to hook up the bluetooth , however in the purple text there is a quick side note about Soldering PA5 to Pin 34 on the Bluetooth board and the note says "Please See Relevant Picture" what picture? What is this wire for?
I believe this is the picture that is referring to (re: pin 34) ...

download/file.php?id=12437&mode=view
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: FrSky D4R-II

Post by jhsa »

Yes that picture is from the my link above as well. I just uploaded it a while ago..
OK, I don't know which BT dongle you have, but on my HC-05, Pin 34 is connected to the push button. And "PA5" pad on the 9XT board must be connected to Pin 34 of the Bluetooth module. The mod on the BT module (cut the track on the back of the BT module, etc..) is so that Pin 34 is brought to the header where all the other connections are. If you want you can just forget all that and solder a wire between pin 34 on the BT module and PA5 on the mainboard.. Your choice ;) I used a connector :)

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
Jellono
Posts: 22
Joined: Fri Oct 23, 2015 4:18 am
Country: -

Re: FrSky D4R-II

Post by Jellono »

jhsa wrote:you can just forget all that and solder a wire between pin 34 on the BT module and PA5 on the mainboard.. Your choice ;) I used a connector :)
João
Thanks for the information, however what is the pin for selecting host mode? and what is PA5 logic signal set by the firmware in the 9x?

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

Re: FrSky D4R-II

Post by jhsa »

I don't know what you mean by that.. Ersky9x configures the HC-05 as MASTER or SLAVE. It's not done manually..
You go to the Bluetooth menu set the BT as master or slave, and hit configure..

The software uses PA5 to enable the radio to program the module as far as I know. but Mike can obviously explain that better ;)

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 “9Xtreme upgrade board”