{"id":2136,"date":"2017-08-21T22:13:48","date_gmt":"2017-08-21T20:13:48","guid":{"rendered":"http:\/\/www.itluxembourg.lu\/site\/?page_id=2136"},"modified":"2022-02-24T10:34:27","modified_gmt":"2022-02-24T08:34:27","slug":"using-the-new-hk-orangerx-modules-with-bluetooth","status":"publish","type":"page","link":"https:\/\/www.itluxembourg.lu\/site\/orangerx-modules-pinout\/using-the-new-hk-orangerx-modules-with-bluetooth\/","title":{"rendered":"Using the new HK OrangeRX modules with Bluetooth"},"content":{"rendered":"<h1>Introduction<\/h1>\n<p>A few month ago Hobbyking introduced new OrangeRX modules with some changes. They are available separately as <a href=\"https:\/\/hobbyking.com\/en_us\/orangerx-openlrsng-433mhz-rx.html\" target=\"_blank\" rel=\"noopener noreferrer\">RX<\/a>\u00a0and <a href=\"https:\/\/hobbyking.com\/en_us\/orangerx-openlrsng-433mhz-with-bluetooth-tx-module.html\" target=\"_blank\" rel=\"noopener noreferrer\">TX<\/a>, or as a <a href=\"https:\/\/hobbyking.com\/en_us\/orangerx-openlrsng-433mhz-tx-module-and-receiver-combo-w-bluetooth.html\" target=\"_blank\" rel=\"noopener noreferrer\">combo TX + RX<\/a>. Before buying please read the remark about the RX module below.<\/p>\n<p><a href=\"https:\/\/hobbyking.com\/en_us\/orangerx-openlrsng-433mhz-tx-module-and-receiver-combo-w-bluetooth.html\" target=\"_blank\" rel=\"noopener noreferrer\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-2144\" src=\"https:\/\/www.itluxembourg.lu\/site\/wp-content\/uploads\/2017\/08\/86182_3.jpg\" alt=\"\" width=\"440\" height=\"322\" srcset=\"https:\/\/www.itluxembourg.lu\/site\/wp-content\/uploads\/2017\/08\/86182_3.jpg 565w, https:\/\/www.itluxembourg.lu\/site\/wp-content\/uploads\/2017\/08\/86182_3-510x374.jpg 510w, https:\/\/www.itluxembourg.lu\/site\/wp-content\/uploads\/2017\/08\/86182_3-300x220.jpg 300w\" sizes=\"auto, (max-width: 440px) 100vw, 440px\" \/><\/a>I didn&#8217;t test them yet, but rcgroups user <a href=\"https:\/\/www.rcgroups.com\/forums\/member.php?u=370844\" target=\"_blank\" rel=\"noopener noreferrer\">Wayno Complaino<\/a>\u00a0had good results and shared them in the <a href=\"https:\/\/www.rcgroups.com\/forums\/showthread.php?2037442-Ultimate-LRS-40-km-APM-Telemetry-RC-link-for-54-%28using-2-OrangeRX-1W-TX%29\" target=\"_blank\" rel=\"noopener noreferrer\">ULRS rcgroup thread<\/a>.<\/p>\n<p>Be careful to choose the 433MHz version for ULRS, follow the links above to get to the correct products.<\/p>\n<h2>TX Module<\/h2>\n<p>The TX module is a regular OrangeRX 1W TX module with two differences :<\/p>\n<ul>\n<li>it includes a small Bluetooth board fitted in the same case<\/li>\n<li>the RFM module is shielded, which is good as the Bluetooth module is close to the RFM module (glued to the shield).<\/li>\n<\/ul>\n<p>Photos <a href=\"https:\/\/www.rcgroups.com\/forums\/showthread.php?2037442-Ultimate-LRS-40-km-APM-Telemetry-RC-link-for-54-%28using-2-OrangeRX-1W-TX%29\/page709#post37580098\" target=\"_blank\" rel=\"noopener noreferrer\">provided by Wayno<\/a> :<\/p>\n<p><a href=\"https:\/\/www.itluxembourg.lu\/site\/wp-content\/uploads\/2017\/08\/image003.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-2140\" src=\"https:\/\/www.itluxembourg.lu\/site\/wp-content\/uploads\/2017\/08\/image003.jpg\" alt=\"\" width=\"373\" height=\"280\" srcset=\"https:\/\/www.itluxembourg.lu\/site\/wp-content\/uploads\/2017\/08\/image003.jpg 1000w, https:\/\/www.itluxembourg.lu\/site\/wp-content\/uploads\/2017\/08\/image003-510x383.jpg 510w, https:\/\/www.itluxembourg.lu\/site\/wp-content\/uploads\/2017\/08\/image003-300x225.jpg 300w, https:\/\/www.itluxembourg.lu\/site\/wp-content\/uploads\/2017\/08\/image003-768x576.jpg 768w\" sizes=\"auto, (max-width: 373px) 100vw, 373px\" \/><\/a><\/p>\n<p><a href=\"https:\/\/www.itluxembourg.lu\/site\/wp-content\/uploads\/2017\/08\/image002.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-2141\" src=\"https:\/\/www.itluxembourg.lu\/site\/wp-content\/uploads\/2017\/08\/image002.jpg\" alt=\"\" width=\"375\" height=\"500\" \/><\/a><\/p>\n<h3>Programming via ICSP (USBasp)<\/h3>\n<p>This module can be programmed via ICSP with an arduino programmer such as USBasp.<\/p>\n<h3>Programming via FTDI (ULRS CC)<\/h3>\n<p>This module can be programmed via FTDI.<\/p>\n<h4>Baudrate<\/h4>\n<p>It&#8217;s mandatory to configure ULRS CC to <strong>flash these modules as if they were &#8216;Wolfbox&#8217; modules<\/strong>.\u00a0The difference is in the baudrate used to flash them, other than that the pinout is similar to OrangeRX modules.<\/p>\n<h4>DTR pin<\/h4>\n<p>The TX module doesn&#8217;t have a DTR pin, you&#8217;ll have to solder a DTR pin before connecting the FTDI cable. The board already has a hole for this pin, and the required capacitor.<\/p>\n<p><a href=\"https:\/\/www.itluxembourg.lu\/site\/wp-content\/uploads\/2017\/08\/add-a-dtr-pin.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-2226\" src=\"https:\/\/www.itluxembourg.lu\/site\/wp-content\/uploads\/2017\/08\/add-a-dtr-pin.png\" alt=\"\" width=\"1000\" height=\"750\" srcset=\"https:\/\/www.itluxembourg.lu\/site\/wp-content\/uploads\/2017\/08\/add-a-dtr-pin.png 1000w, https:\/\/www.itluxembourg.lu\/site\/wp-content\/uploads\/2017\/08\/add-a-dtr-pin-510x383.png 510w, https:\/\/www.itluxembourg.lu\/site\/wp-content\/uploads\/2017\/08\/add-a-dtr-pin-300x225.png 300w, https:\/\/www.itluxembourg.lu\/site\/wp-content\/uploads\/2017\/08\/add-a-dtr-pin-768x576.png 768w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><\/a><\/p>\n<h3>Power supply<\/h3>\n<p>The TX has the same switching regulator module as the OrangeRX, and does accept up to 36V.<\/p>\n<h2>RX Module<\/h2>\n<h3><strong>Warnings<\/strong><\/h3>\n<ul>\n<li>The RX module has an issue that makes it unreliable : its microcontroller is powered at 5V and directly connected to the RFM chip, which only accepts 3.6V. It creates unstability and it&#8217;s mandatory to do this modification : Replace the R7 resistor by a 7.5k resistor (mod proposed by <a href=\"https:\/\/www.rcgroups.com\/forums\/showthread.php?2037442-Ultimate-LRS-Hassle-Free-Full-Mavlink-16-Channels-Fly-More\/page974#post41105313\" target=\"_blank\" rel=\"noopener noreferrer\">CHOYADO<\/a>).<\/li>\n<\/ul>\n<ul>\n<li>The RX is a completely different new 1W module, tried by very few users.<\/li>\n<li>It has no bootloader, so an USBasp (or similar) programmer is required.<\/li>\n<li>A user reported strong RF interferences with the servos, that he could only stop by using an RF attenuator. No such problem was reported with all other modules (OrangeRX, Wolfbox or ULRS Mini) so we don&#8217;t recommend using this module for the moment.<\/li>\n<li>This module is quite new and support for it could be added in the future depending on user feedbacks.<\/li>\n<\/ul>\n<h3>Description<\/h3>\n<p>The RX module is also based on RFM23BP (1W module) and is powered at 5V by a switching regulator.<\/p>\n<p><a href=\"https:\/\/www.itluxembourg.lu\/site\/wp-content\/uploads\/2017\/08\/image004.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-2139\" src=\"https:\/\/www.itluxembourg.lu\/site\/wp-content\/uploads\/2017\/08\/image004.jpg\" alt=\"\" width=\"375\" height=\"281\" srcset=\"https:\/\/www.itluxembourg.lu\/site\/wp-content\/uploads\/2017\/08\/image004.jpg 1000w, https:\/\/www.itluxembourg.lu\/site\/wp-content\/uploads\/2017\/08\/image004-510x383.jpg 510w, https:\/\/www.itluxembourg.lu\/site\/wp-content\/uploads\/2017\/08\/image004-300x225.jpg 300w, https:\/\/www.itluxembourg.lu\/site\/wp-content\/uploads\/2017\/08\/image004-768x576.jpg 768w\" sizes=\"auto, (max-width: 375px) 100vw, 375px\" \/><\/a><a href=\"https:\/\/www.itluxembourg.lu\/site\/wp-content\/uploads\/2017\/08\/image005.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-2138\" src=\"https:\/\/www.itluxembourg.lu\/site\/wp-content\/uploads\/2017\/08\/image005.jpg\" alt=\"\" width=\"376\" height=\"502\" srcset=\"https:\/\/www.itluxembourg.lu\/site\/wp-content\/uploads\/2017\/08\/image005.jpg 1000w, https:\/\/www.itluxembourg.lu\/site\/wp-content\/uploads\/2017\/08\/image005-510x680.jpg 510w, https:\/\/www.itluxembourg.lu\/site\/wp-content\/uploads\/2017\/08\/image005-225x300.jpg 225w, https:\/\/www.itluxembourg.lu\/site\/wp-content\/uploads\/2017\/08\/image005-768x1024.jpg 768w\" sizes=\"auto, (max-width: 376px) 100vw, 376px\" \/><\/a><\/p>\n<h3>Programming via ICSP (USBasp)<\/h3>\n<p>It can be flashed through the 6 pins ICSP port, <a href=\"https:\/\/www.rcgroups.com\/forums\/showthread.php?2037442-Ultimate-LRS-40-km-APM-Telemetry-RC-link-for-54-%28using-2-OrangeRX-1W-TX%29\/page790#post38148571\" target=\"_blank\" rel=\"noopener noreferrer\">this is confirmed to work<\/a> :<\/p>\n<p><a href=\"https:\/\/www.itluxembourg.lu\/site\/wp-content\/uploads\/2017\/08\/FR9HXLZGAPV8IA4.MEDIUM1.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-2149\" src=\"https:\/\/www.itluxembourg.lu\/site\/wp-content\/uploads\/2017\/08\/FR9HXLZGAPV8IA4.MEDIUM1.jpg\" alt=\"\" width=\"536\" height=\"277\" srcset=\"https:\/\/www.itluxembourg.lu\/site\/wp-content\/uploads\/2017\/08\/FR9HXLZGAPV8IA4.MEDIUM1.jpg 536w, https:\/\/www.itluxembourg.lu\/site\/wp-content\/uploads\/2017\/08\/FR9HXLZGAPV8IA4.MEDIUM1-510x264.jpg 510w, https:\/\/www.itluxembourg.lu\/site\/wp-content\/uploads\/2017\/08\/FR9HXLZGAPV8IA4.MEDIUM1-300x155.jpg 300w\" sizes=\"auto, (max-width: 536px) 100vw, 536px\" \/><\/a><\/p>\n<p>Alternatively, <a href=\"https:\/\/hobbyking.com\/en_us\/atmel-atmega-socket-firmware-flashing-tool.html\" target=\"_blank\" rel=\"noopener noreferrer\">this adapter from HK<\/a> should work :<\/p>\n<p><a href=\"https:\/\/hobbyking.com\/en_us\/atmel-atmega-socket-firmware-flashing-tool.html\" target=\"_blank\" rel=\"noopener noreferrer\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-2390\" src=\"https:\/\/www.itluxembourg.lu\/site\/wp-content\/uploads\/2018\/01\/27195-3.jpg\" alt=\"\" width=\"565\" height=\"414\" srcset=\"https:\/\/www.itluxembourg.lu\/site\/wp-content\/uploads\/2018\/01\/27195-3.jpg 565w, https:\/\/www.itluxembourg.lu\/site\/wp-content\/uploads\/2018\/01\/27195-3-510x374.jpg 510w, https:\/\/www.itluxembourg.lu\/site\/wp-content\/uploads\/2018\/01\/27195-3-300x220.jpg 300w\" sizes=\"auto, (max-width: 565px) 100vw, 565px\" \/><\/a><\/p>\n<h3>Programming via FTDI (ULRS CC)<\/h3>\n<p>This modules doesn&#8217;t have a bootloader and requires an USBasp programmer or similar, for programming.<\/p>\n<p>However once a bootloader is programmed, you can then with some hardware modifications use also an FTDI cable.<\/p>\n<h3>Mandatory mods<\/h3>\n<p>The two following mods are mandatory to use ULRS with the RX module :<\/p>\n<h4>Reduce the microcontroller voltage<\/h4>\n<p>The RX module has a design issue that makes it unreliable : its microcontroller is powered at 5V and directly connected to the RFM chip, which only accepts 3.6V. This creates unstability.<\/p>\n<p>There are two ways to lower the microcontroller voltage to 3.6V :<\/p>\n<ul>\n<li>Use two diodes as explained <a href=\"https:\/\/www.rcgroups.com\/forums\/showpost.php?p=41106291&amp;postcount=14608\">here<\/a> (mod proposed by <a href=\"https:\/\/www.rcgroups.com\/forums\/showthread.php?2037442-Ultimate-LRS-Hassle-Free-Full-Mavlink-16-Channels-Fly-More\/page974#post41106291\">RICKY24<\/a>). This is the recommended option, as the RFM is still powered at 5V.<\/li>\n<li>Alternatively replace the R7 resistor by a 7.5k resistor (mod proposed by <a href=\"https:\/\/www.rcgroups.com\/forums\/showthread.php?2037442-Ultimate-LRS-Hassle-Free-Full-Mavlink-16-Channels-Fly-More\/page974#post41105313\" target=\"_blank\" rel=\"noopener noreferrer\">CHOYADO<\/a>). In this case there will be a power reduction.<\/li>\n<\/ul>\n<h4>Reverse the PPM and RSSI pins<\/h4>\n<p>On this modules the RSSI and PPM pins are inverted, <a href=\"https:\/\/www.rcgroups.com\/forums\/showpost.php?p=44596395&amp;postcount=15754\">this mod<\/a> will correct it (mod proposed by <a href=\"https:\/\/www.rcgroups.com\/forums\/showthread.php?2037442-Ultimate-LRS-Hassle-Free-Full-Mavlink-16-Channels-Fly-More\/page974#post41106291\">RICKY24<\/a>)<\/p>\n<h3>Remark about the RX PPM pinout<\/h3>\n<p>The wiring of this board is slightly different from the regular OrangeRX module. Here the PPM signal is found on the RSSI pin.<\/p>\n<p>You can still obtain the RSSI by selecting RSSI as PWM in ULRS CC, so it will be sent as an RC channel or use the hardware mod described above.<\/p>\n<h3>Power supply<\/h3>\n<p>The RX uses a XL1530 switching regulator, which accepts up to 18V .<\/p>\n<h2>Results<\/h2>\n<ul>\n<li>According to rcgroups user Wayno Complaino, <a href=\"https:\/\/www.rcgroups.com\/forums\/showthread.php?2037442-Ultimate-LRS-40-km-APM-Telemetry-RC-link-for-54-%28using-2-OrangeRX-1W-TX%29\/page710#post37582706\" target=\"_blank\" rel=\"noopener noreferrer\">this works fine with ULRS<\/a>, <a href=\"https:\/\/www.rcgroups.com\/forums\/showthread.php?2037442-Ultimate-LRS-40-km-APM-Telemetry-RC-link-for-54-%28using-2-OrangeRX-1W-TX%29\/page711#post37587891\" target=\"_blank\" rel=\"noopener noreferrer\">including the BT module<\/a>.<\/li>\n<li>Please <a href=\"https:\/\/www.rcgroups.com\/forums\/showthread.php?2037442-Ultimate-LRS-40-km-APM-Telemetry-RC-link-for-54-%28using-2-OrangeRX-1W-TX%29\/page891#post39646970\" target=\"_blank\" rel=\"noopener noreferrer\">see additional remarks from rcgroups user gcp900<\/a>.<\/li>\n<\/ul>\n<h2>Why is an USBasp Programmer required for the RX module ?<\/h2>\n<p>Why do we need an <a href=\"https:\/\/hobbyking.com\/fr_fr\/usbasp-avr-programming-device-for-atmel-proccessors.html?___store=fr_fr&amp;gclid=EAIaIQobChMIn-z8raDH2gIVDl8ZCh1eCgaHEAAYASAAEgKNsvD_BwE&amp;gclsrc=aw.ds\" target=\"_blank\" rel=\"noopener noreferrer\">USBasp programmer<\/a> for the RX, while an FTDI cable is sufficient for the TX ?<\/p>\n<p>The reason is the bootloader, but let&#8217;s dig into this in more details.<\/p>\n<p>The microcontroller can contain either :<\/p>\n<p>0) nothing at all<br \/>\n1) a firmware (like ULRS for example)<br \/>\n2) a bootloader<br \/>\n3) or a bootloader + a firmware<\/p>\n<ul>\n<li>In cases 2) and 3) there&#8217;s a bootloader and you can use an FTDI cable to flash a firmware on it. After this operation we will be in case 3) bootloader + firmware<\/li>\n<li>In cases 0) and 1) there&#8217;s no bootloader, the only way to flash a firmware is to use a programmer such as USBasp. After that we are then in case 1) firmware.<\/li>\n<li>If you are in cases 0) or 1) and want to be in 2) bootloader, you&#8217;ve got to use a programmer like USBasp to flash a bootloader.<\/li>\n<li>If you&#8217;re in case 2) or 3) and use a programmer rather than FTDI cable, you&#8217;ll then be in case 1) firmware (but bootloader erased).<\/li>\n<\/ul>\n<p>It looks like a lot of different cases, but the idea is that you can only use an FTDI cable if there&#8217;s a bootloader.<\/p>\n<p>And that&#8217;s the difference between the RX and TX modules in the HK OrangeRX combo :<\/p>\n<ul>\n<li>The TX has a bootloader and firmware 3) so you\u00a0<u>can<\/u>\u00a0use an FTDI cable<\/li>\n<li>The RX has no bootloader 1) so you\u00a0<u>must<\/u>\u00a0use an USBasp programmer.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Introduction A few month ago Hobbyking introduced new OrangeRX modules with some changes. They are available separately as RX\u00a0and TX, or as a combo TX + RX. Before buying please<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":683,"menu_order":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-2136","page","type-page","status-publish","hentry"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.itluxembourg.lu\/site\/wp-json\/wp\/v2\/pages\/2136","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.itluxembourg.lu\/site\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.itluxembourg.lu\/site\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.itluxembourg.lu\/site\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.itluxembourg.lu\/site\/wp-json\/wp\/v2\/comments?post=2136"}],"version-history":[{"count":39,"href":"https:\/\/www.itluxembourg.lu\/site\/wp-json\/wp\/v2\/pages\/2136\/revisions"}],"predecessor-version":[{"id":3145,"href":"https:\/\/www.itluxembourg.lu\/site\/wp-json\/wp\/v2\/pages\/2136\/revisions\/3145"}],"up":[{"embeddable":true,"href":"https:\/\/www.itluxembourg.lu\/site\/wp-json\/wp\/v2\/pages\/683"}],"wp:attachment":[{"href":"https:\/\/www.itluxembourg.lu\/site\/wp-json\/wp\/v2\/media?parent=2136"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}