|
Post by neilmcc on Feb 1, 2024 20:46:42 GMT
Hello, We have completed build of kit v1.3, power on OK, software uploaded to Arduino OK. We had problems with setting up the Bluetooth - trying to set car name as "Project175" but the bluetooth device name doesnt change. Got the bluetooth into slow blink mode ok but resetting the Arduino doesnt do anything and about a minute later it goes back to blinking fast again. Retried many times, so sticking with the default "HC_05". The Calibration Web Interface works fine on USB (I can see it is picking up the Total voltage value) but on Bluetooth it just locks and the calibration screen doesnt appear. The App appears to connect OK on Bluetooth and stay connected but is not showing any values (expect to see voltage). The voltage value isnt being written to the data log file either. It looks to me like the Bluetooth thinks its connected but the data isnt getting through. Probably the autoconfiguration on the Bluetooth module is not working and the Arduino and the HC-05 Bluetooth module are on different baud rates? Not sure if this is a hardware fault in one of the modules or a software fault? Regards, Neil
|
|
|
Post by Rowan on Feb 2, 2024 10:15:50 GMT
Hi Neil,
Sorry you're having issues. Could I check - are you using an Arduino Nano 328P, or an Arduino Nano Every? If it's the 328p, only one serial interface will work at a time - either bluetooth or USB, otherwise they clash with each other.
I have only very recently published the V2 code for the eChook Nano - it worked for all my testing, and a few other teams that have tried it, but my suspicion is we're going to find it's a software bug.
|
|
|
Post by neilmcc on Feb 2, 2024 12:58:06 GMT
Hi Rowan, Thanks for the quick reply. We've got the Arduino Nano 328P. I have tried changing the baud rate in the code to 9600 - that fixed the comms problem, so the problem is definitely in the autoconfiguration of the Bluetooth module. In your documentation - troubleshooting section it mentions the auto configuration procedure but the hyperlink is broken?
|
|
|
Post by Rowan on Feb 2, 2024 14:34:29 GMT
Hi Neil, Good bit of diagnosis there. You're right, if the intial calibration failes there will be a baud rate mismatch. I've just checked flashing a fresh HC-05 module and had the same outcome you've had. Flashing an older version of the eChook nano code allowed it to configure properly. My suggestion: 1. Download and flash V1.1 of the eChook code: github.com/eChook/eChook-Arduino-Nano/releases/tag/v1.12. Go through the conficuration process 3. Reflash the latest eChook code once the BT module is configured. I'll get a fix out for the new code once I work out what's causing the issue.
|
|