Digistump Forums
The Digispark => Digispark Pro Support => Topic started by: tozz88 on January 20, 2015, 11:23:10 pm
-
Okay, I dont' know if I have a dead board or just don't know what is going on. I built the BLE shield and plugged it in Then I tried loading the following sketch:
void setup() {
// initialize serial:
Serial.begin(9600);//open connection to serial module
Serial.write("AT+MODE2"); //Turns on the ability to communicate using AT commands via bluetooth
delay(1000);
}
void loop() {
Serial.println("HelloWorld");
delay(1000);
}
However, I do not see the bluetooth board when I try to scan from my phone. I also don't see a lit LED on the board which it looks like there is one.
Am I missing something? Do I need to send other commands/api calls to initiate the board and put it in pairing mode? The tutorial for the board is pretty limited and the sketch there requires a product I don't have which makes no sense (startup examples in tutorials shouldn't have dependencies on non-related products!) Regardless, there is no discussion of how to pair the device.
I have doublechecked the soldering and it looks fine. One other possible issue is the board came with 3 headers: two 9 pin and one 3 pin. Both
the 9 pin have long leads so they can be attached to the sockets of the digispark pro beneath it but the 3 pin header had short pins so it does NOT attach to the 3 pin header on the Digispark pro. Is that a problem? I used this since it is what came in the robot kit. However, if i need to buy a long 3 pin header I can do that.
Please let me know if I need to return the board and get a new one.
thanks,
Tozz88
-
Okay, got past the first hurdle. I double checked the connectivity of all the pins and realized I soldered the right angle header to the wrong row of holes. Resoldering it to the 2nd row gets me power and a blinking LED. My phone can pair with it if I use the pin 000000. Then when I connect with my terminal emulator program the led stops blinking. So far so good. However, I still don't see any output on the screen. Is there something else I need to be doing to get this in the mode to send output?
Tozz