![]() ![]() ↳ Let us know a bit about you and your projects.I always preach to buy two of anything affordable and keep 1 for situations such as yours.ĭelay((printDelay - (millis() - startL))) ![]() For example, you did not switch out the HC05 which is the ultimate validation. I do not think you have isolated software from hardware. However, when shortening the string to be sent (to 55 bytes), the connection and transmission still hold. The bluetooth transmission still freezes after working for awhile, (according to the HC05 led indicator, it is still connecting to the phone).Īlso, testing with just printing a fixed string without reading sensor data also produce the same result.for transmission at a baud rate of 115200, 230400, 460800. As the whole string could be 100 to 144 bytes, Iġ) changed the USART_TX_BUF_SIZE and USART_RX_BUF_SIZE to 256 for the usart.h under (C:\Users\I\Documents\Arduino\hardware\Arduino_STM32\STM32F1\system\libmaple\include\libmaple).Ģ) used serial.flush() at the beginning of every loop. ![]() There is something wrong on the bluetooth side. I tried on the same I2C connection and displaying data to the serial monitor instead of transmitting through bluetooth to mobile, and it looks good to me. It looks like that the problem comes from the bluetooth HC05 module, (not quite sure if that's the only problem though ) Thank you, I'm using Roger's core now, and tried to separate the problem. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |