I'm using a clone arduino nano with a 328P and on-board serial-USB using a CH340G iC. I'm not able to get my orangeRX (model R615) to bind. I'm not sure I fully understand the process in the first place but let me describe what I know.
I'm using MW 2.4 (also note I have no other orange / DSMX / DSM2 equiment so I cant simply bind some other way then move it over to the MW...)
Devo 7E with Deviation (running the 3/5/15 nightly)
Arduino nano clone w/ 328P
This is the Rx section of code (as-is while I'm trying to bind)
Code: Select all
/**************************************************************************************/
/******** special receiver types ********************/
/**************************************************************************************/
/**************************** PPM Sum Reciver ***********************************/
/* The following lines apply only for specific receiver with only one PPM sum signal, on digital PIN 2
Select the right line depending on your radio brand. Feel free to modify the order in your PPM order is different */
//#define SERIAL_SUM_PPM PITCH,YAW,THROTTLE,ROLL,AUX1,AUX2,AUX3,AUX4,8,9,10,11 //For Graupner/Spektrum
//#define SERIAL_SUM_PPM ROLL,PITCH,THROTTLE,YAW,AUX1,AUX2,AUX3,AUX4,8,9,10,11 //For Robe/Hitec/Futaba
//#define SERIAL_SUM_PPM ROLL,PITCH,YAW,THROTTLE,AUX1,AUX2,AUX3,AUX4,8,9,10,11 //For Multiplex
//#define SERIAL_SUM_PPM PITCH,ROLL,THROTTLE,YAW,AUX1,AUX2,AUX3,AUX4,8,9,10,11 //For some Hitec/Sanwa/Others
// Uncommenting following line allow to connect PPM_SUM receiver to standard THROTTLE PIN on MEGA boards (eg. A8 in CRIUS AIO)
//#define PPM_ON_THROTTLE
/********************** Spektrum Satellite Reciver *******************************/
/* The following lines apply only for Spektrum Satellite Receiver
Spektrum Satellites are 3V devices. DO NOT connect to 5V!
For MEGA boards, attach sat grey wire to RX1, pin 19. Sat black wire to ground. Sat orange wire to Mega board's 3.3V (or any other 3V to 3.3V source).
For PROMINI, attach sat grey to RX0. Attach sat black to ground. */
#define SPEKTRUM 1024
//#define SPEKTRUM 2048
#define RX_SERIAL_PORT 0 // Forced to 0 on Pro Mini and single serial boards; Set to your choice of 0, 1, or 2 on any Mega based board (defaults to 1 on Mega).
//**************************
// Defines that allow a "Bind" of a Spektrum or Compatible Remote Receiver (aka Satellite) via Configuration GUI.
// Bind mode will be same as declared above, if your TX is capable.
// Ground, Power, and Signal must come from three adjacent pins.
// By default, these are Ground=4, Power=5, Signal=6. These pins are in a row on most MultiWii shield boards. Pins can be overriden below.
// Normally use 3.3V regulator is needed on the power pin!! If your satellite hangs during bind (blinks, but won't complete bind with a solid light), go direct 5V on all pins.
//**************************
// For Pro Mini, the connector for the Satellite that resides on the FTDI can be unplugged and moved to these three adjacent pins.
#define SPEK_BIND //Un-Comment for Spektrum Satellie Bind Support. Code is ~420 bytes smaller without it.
#define SPEK_BIND_GROUND 4
#define SPEK_BIND_POWER 5
#define SPEK_BIND_DATA 6
/******************************* SBUS RECIVER ************************************/
/* The following line apply only for Futaba S-Bus Receiver on MEGA boards or PROMICRO boards.
You have to invert the S-Bus-Serial Signal e.g. with a Hex-Inverter like IC SN74 LS 04 */
//#define SBUS PITCH,YAW,THROTTLE,ROLL,AUX1,AUX2,AUX3,AUX4,8,9,10,11,12,13,14,15,16,17 // dsm2 orangerx
//#define SBUS ROLL,PITCH,THROTTLE,YAW,AUX1,AUX2,AUX3,AUX4,8,9,10,11,12,13,14,15,16,17 // T14SG
//#define RX_SERIAL_PORT 1
//#define SBUS_MID_OFFSET 988 //SBUS Mid-Point at 1500
/******************************* HOTT RECIVER ************************************/
/* Graupner Hott HD */
//#define SUMD PITCH,YAW,THROTTLE,ROLL,AUX1,AUX2,AUX3,AUX4
//#define RX_SERIAL_PORT 1
So when I try to bind I disconnect the MPU6050 board from A4/A5 (the only I2C port on the 328P based nano) and un-comment the 4 bind lines above (do I need to comment out "#define SPEKTRUM 1024" and "#define RX_SERIAL_PORT 0 " while I'm trying to bind with the other 4 lines active?). I then plug in the orange Rx to A4, A5 and A6, compile, upload, power off, power back up and open the GUI, connect and try to hit bind but nothing happens, no lights flash or anything and because the MPU6050 is now disconnected all the readings on the GUI go crazy (and I get an ever rising I2C error count) but that's it. Also note (as I believe it should be) the purple/blue "RX BIND" button appears on the lower left of the GUI only when the 4 bind lines are active, if I comment those back out the button isnt there.
I've got no idea what I'm doing here, I have tried to speculate what the issue is but everything I look into, thinking it's going to be it isnt it and I get no closer, I've been working at this a few days now. I'm not ready to fly, still finishing up my 3D printed frame and waiting on new props but I have it all setup on the bench and it should be fine for testing (especially just for getting this thing bound).
Thanks in advance for any help!
edited to add: Also note I found this post on RCG, while I wasn't comfy giving it 5v I did use my bench PS to give the orange sat unlimited 3.3v, it could of drawn up to 2A if needed, so I know that's not the problem.