|
|
|
|
|||
|
|
Bluetooth pairing
I am still having a problem getting anything to pair with the Crius BT module. It doesn't stay in 'pairing mode' long enough (see video):
If I am really fast I can get a bluetooth scan to find it &, if I am lucky, request a pairing code. But I can't enter the code fast enough to complete the action before the red LED on the BT module stops flashing which I guess means pairing has timed-out? Is that what it looks like for other users of this module? I am running MPNG, latest version. But I think the pairing activity happens without any action from the AIOP. I think the BT module does that on its own. Does anyone know if that is correct? Or why my module is behaving this way? |
||
|
|||
|
|
||
|
|
Quote:
You should only have to Pair it once with your PC, after that it will connect automatically. |
|
|
||
|
|
||
|
|
Quote:
Again, this is a bit more from mine including the code added in blue: (you might have to delete a line if it appears twice after adding the code) Code:
/************************************/
#if defined(GPS_SERIAL)
#if defined(UBLOX)
UBLOX_init();
delay(200);
#endif
#if defined(MTK)
MTK_init();
delay(200);
#endif
SerialOpen(GPS_SERIAL,GPS_BAUD);
delay(400);
for(uint8_t i=0;i<=5;i++){
GPS_NewData();
LEDPIN_ON
delay(20);
LEDPIN_OFF
delay(80);
}
if(!GPS_Present){
SerialEnd(GPS_SERIAL);
SerialOpen(0,SERIAL_COM_SPEED);
}
#if !defined(GPS_PROMINI)
GPS_Present = 1;
#endif
GPS_Enable = GPS_Present;
#endif
/************************************/
|
|
|
||
|
|
||
|
|
Quote:
nope, didn't make a difference, even copying and pasting the whole section. For now I might just go without the GPS...everything else seems to work fine. |
|
|
||
|
|
||
|
|
Quote:
Code:
#define GPS_SERIAL 2 // should be 2 for flyduino v2. It's the serial port number on arduino MEGA
#define GPS_BAUD 57600
What GPS Module are you using? |
|
|
|
||
|
|
Quote:
It doesn't stay in pairing mode long enough for me to pair it with anything - assuming that red LED flashing means it IS in pairing mode (& that when it stops flashing it is NOT in pairing mode anymore). If I have my BT device already scanning when I apply power to the module, it IS recognised. But then it drops out of pairing before I can get to the point of clicking 'pair with this device'. This is not the usual behaviour of a BT peripheral. I believe that you can only connect mission planner to a device which has already been paired? |
|
|
||
|
|
||
|
|
Quote:
Are you sure that it is connected correctly, TX to RX & RX to TX? |
|
|
||
|
|
||
|
|
Quote:
EDIT: Whoops - scratch that. The image doesnt help as the colours are swapped where they join! |
|
|
||
|
|
||
|
|
Quote:
![]() You only need 4 connections to the CRIUS AIOP, TX, RX, VCC & GND, you can remove the other two wires from the '6 way molex' connector. |
|
|
||
|
|
||
|
|
Quote:
Better image attached. |
|
|
||
|
| Thread Tools | |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Discussion New updated Crius Multiwii SE flight controller | SGsoar | Multirotor Electronics | 72 | May 15, 2013 08:36 PM |
| Mini-HowTo Arduino and HobbyKing Multi-Rotor Control Board V3.0 or KKmulticontroller v5.5 | pprioverde | Multirotor Talk | 29 | Nov 21, 2012 09:58 PM |
| Discussion Jim, any plans for more multi rotor flight controller? | chris24g | Xtreme Power Systems | 12 | Jun 25, 2012 08:11 PM |
| Sold One New, one used ArduPilot 2560 APM1.0 Flight Controlls/autopilots | wingspinner | FPV/RPV - Equipment and Vehicles (FS/W) | 3 | May 28, 2012 12:55 AM |
| Question Quad Build Using HobbyKing Multi-Rotor Control Board V3.0 (Atmega328 PA) | SJackson | Multirotor Talk | 27 | Apr 30, 2012 08:51 PM |