User Tools

Site Tools


digispark:tutorials:bt

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
digispark:tutorials:bt [2014/11/09 20:54]
digistump
digispark:tutorials:bt [2016/06/09 12:03] (current)
Line 2: Line 2:
  
 =====Product Description:​===== =====Product Description:​=====
-[[https://​s3.amazonaws.com/​digispark/​images/​m/​ble.jpg|{{https://​s3.amazonaws.com/​digispark/​images/​t/​ble.jpg}}]] +[[https://​s3.amazonaws.com/​digispark/​images/​m/​bt1.jpg|{{https://​s3.amazonaws.com/​digispark/​images/​t/​bt1.jpg}}]] 
-[[https://​s3.amazonaws.com/​digispark/​images/​m/​ble.jpg|{{https://​s3.amazonaws.com/​digispark/​images/​t/​ble.jpg}}]]+[[https://​s3.amazonaws.com/​digispark/​images/​m/​bt4.jpg|{{https://​s3.amazonaws.com/​digispark/​images/​t/​bt4.jpg}}]]
  
  
Line 34: Line 34:
 Empty kit bag (or if using a raw PCB, acquire parts) and verify contents. ​ Empty kit bag (or if using a raw PCB, acquire parts) and verify contents. ​
  
-[[https://​s3.amazonaws.com/​digispark/​images/​m/​ble.jpg|{{https://​s3.amazonaws.com/​digispark/​images/​t/​ble.jpg}}]]+[[https://​s3.amazonaws.com/​digispark/​images/​m/​bt1.jpg|{{https://​s3.amazonaws.com/​digispark/​images/​t/​bt1.jpg}}]]
  
 Insert 6 pin right angle socket into top of PCB - insert it into the set of 6 holes that say "BLE BT4" below them - this is the second set from the right edge of the board. Solder socket pins on the bottom of the board Insert 6 pin right angle socket into top of PCB - insert it into the set of 6 holes that say "BLE BT4" below them - this is the second set from the right edge of the board. Solder socket pins on the bottom of the board
  
-[[https://​s3.amazonaws.com/​digispark/​images/​m/​ble.jpg|{{https://​s3.amazonaws.com/​digispark/​images/​t/​ble.jpg}}]]+[[https://​s3.amazonaws.com/​digispark/​images/​m/​bt2.jpg|{{https://​s3.amazonaws.com/​digispark/​images/​t/​bt2.jpg}}]]
  
 Cut two lengths of male headers each 9 pins long and one 3 pins long. Insert into corresponding positions (on the bottom of the board) and solder each pin on the top. Cut two lengths of male headers each 9 pins long and one 3 pins long. Insert into corresponding positions (on the bottom of the board) and solder each pin on the top.
Line 46: Line 46:
 **Note:** If you are using stackable headers, use them here instead of the standard male headers. **Note:** If you are using stackable headers, use them here instead of the standard male headers.
  
-[[https://​s3.amazonaws.com/​digispark/​images/​m/​ble.jpg|{{https://​s3.amazonaws.com/​digispark/​images/​t/​ble.jpg}}]]+[[https://​s3.amazonaws.com/​digispark/​images/​m/​bt3.jpg|{{https://​s3.amazonaws.com/​digispark/​images/​t/​bt3.jpg}}]]
  
 Insert the HC-05 BLE breakout module into the 6 pin socket as shown - ensure the module is facing up and the 4 pins are in the center of the socket (leaving one empty spot on each side). Insert the HC-05 BLE breakout module into the 6 pin socket as shown - ensure the module is facing up and the 4 pins are in the center of the socket (leaving one empty spot on each side).
  
-[[https://​s3.amazonaws.com/​digispark/​images/​m/​ble.jpg|{{https://​s3.amazonaws.com/​digispark/​images/​t/​ble.jpg}}]]+[[https://​s3.amazonaws.com/​digispark/​images/​m/​bt4.jpg|{{https://​s3.amazonaws.com/​digispark/​images/​t/​bt4.jpg}}]]
  
- 
-[[https://​s3.amazonaws.com/​digispark/​images/​m/​ble.jpg|{{https://​s3.amazonaws.com/​digispark/​images/​t/​ble.jpg}}]] 
  
 =====Programming:​===== =====Programming:​=====
 +
 +**Mobile app examples for Android (phonegap/​cordova based):**
 +(these can be edited with only a working knowledge of Javascript and HTML - see phonegap.com for more about how it all works - Arduino code included in files) ​
 +
 +https://​github.com/​digistump/​Digispark_Cordova_BTShieldEcho
 +
 +https://​github.com/​digistump/​Digispark_Cordova_BTShieldRobot
  
  
Line 61: Line 66:
 Grab blueterm: https://​play.google.com/​store/​apps/​details?​id=es.pymasde.blueterm&​hl=en Grab blueterm: https://​play.google.com/​store/​apps/​details?​id=es.pymasde.blueterm&​hl=en
 Send 0 or 1 from blueterm to the bluetooth device. The LED will turn on and off. Send 0 or 1 from blueterm to the bluetooth device. The LED will turn on and off.
-If prompted for a pairing code it is 12345+If prompted for a pairing code it is 1234, 12345, or 000000 
 <​code>​ <​code>​
 int ledpin=1; //on board led int ledpin=1; //on board led
digispark/tutorials/bt.1415595292.txt.gz · Last modified: 2014/11/09 20:54 by digistump