Note: Pins count from 1 top left, counter clock to 34 top right with the CC2541 chip facing you, antenna at the top. If you are using the bare HM-10 module, make sure to cross connect RTS and CTS (pins 3 and 4, P1_4 and P1_5, UART_CTS and UART_RTS) otherwise the serial comms won't work. Void setup() presensorValue = sensorValue sending int sensorValue = 0 int presensorValue = 0 ![]() receiving int led = 3 // the pin that the LED is attached to #include Servo myservo // create servo object to control a servo To make this wearable and flat, I have flexible cable coming out of it. The solid RED LED indicator on the BLE means the connection has been establish. Each micro controller below runs the same code! So as soon as the BLE is on, it starts to look for the assigned address, it takes less than a second. I did not use any SMD male pins to save some vertical space, because this needs to be wearable. I want this board to be part of my wearable project, that is why it's ULTA compact. I took out the FTDI cable pads and upload my program with ISP pins to save some space on my board.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |