![]() I found that the only consistent way to get activate changes was to either issue AT+RESET or power cycle the module.įinal note, changes are written to flash. Though to be fair the manual does mention this. This prevents the usual method of typing by hand and hitting enter as with all modem devices. This means you will need to pre-store any commands and issue all in one go, back to back at your selected baud. The data sent match only if Oscilloscope baud rate is 9600. I am using Bluetooth serial terminal Windows 8 program to send and receive data from the Bluetooth device. I tried on TeraTerm on Windows with no success. I need to change a baud rate of my Bluetooth module, I have tried it via Windows Bluetooth settings of the particular Bluetooth device, but that doesnt work. Other is that he uses TeraTerm on Windows and I use CoolTerm on Mac. There is no SReg support to set this via S3 (carriage return character). Main ones are that he uses Keil and I am using STM32CubeIDE. A command is considered entered once the interchar timer has been exceeded (for that given baud rate). The AT command parser is poor quality (as you would expect), it requires all command strings be entered upper case (other than the name string). The diagram in Step 1 eludes to this by cross coupling the TX and RX lines to an FTDI, effectively forming a NUL modem interconnection. Features include display of received data in text. Both diagrams in this instructable are correct.Īlso note device is a DTE, so TX (pin 1, P1_6, UART_TX) is an output and RX (pin 2, P1_7, UART_RX) is an input. CoolTerm is a simple serial-port terminal application (no terminal emulation) that is geared towards hobbyists and professionals with a need to exchange data with hardware connected to serial ports such as servo controllers, robotic kits, GPS receivers, microcontrollers, etc. The manufacturers manual is confusing as it shows the antenna terminating on the right (Section 1.1 HM-10 Schematic), when it is in fact terminating on the left. 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. |