|
Post by Rowan on Jun 15, 2023 10:10:34 GMT
In the latest version of the code I did a code tidy up - part of this was removing the code that flashed LEDs 1 and 2 on the prototype board as it wasn't really necessary (they were there in case teams wanted to program them to indicate something, not really used by default and were removed from later boards). There should have been no changes that affected functionality though. I've just taken a look through all the changes I made and can't see a reason for the behaviour you're seeing. Can I suggest re-flashing the previous code version (available here) and seeing if it fixes the issue? If it does I'll take another look through and work out how I've broken it! If it doesn't there might be another cause, and the reflash just be coincidental timing. Thanks, Rowan.
|
|
|
Post by Rowan on Jun 9, 2023 19:33:41 GMT
Hey, good to hear those old prototypes are still in use!
The constantly connecting and disconnecting in the App happens when there is no data being recieved over bluetooth. On the Arduino itself ther are TX and RX leds flashing?
What has changed since it last worked? Have you just flashed the latest version of the code?
|
|
|
Post by Rowan on Apr 27, 2023 7:38:31 GMT
In the app, top left corner, does it show a file size for the log file? If that displays >0kb, it's directly referencing a file in the phones downloads folder so really should be there...
|
|
|
Post by Rowan on Apr 24, 2023 10:23:31 GMT
Hi,
The file is called eChook-log.csv and is stored in your phones download folder - you should be able to find it easily with a file explorer app (Google Files, ES, etc) if the sharing function isn't working.
Could I ask which version of Android you're using?
Thanks,
Rowan.
|
|
|
Post by Rowan on Apr 3, 2023 18:55:47 GMT
For others with any issues - We found the source of this one, the live data upload didn't work if the phones language is set to Dutch. Setting the phone's language to English fixed it.
So - if live data isn't working and the phones language is not English, try changing it.
I know this might be really annoying, it's on my TODO list to fix. Sorry!
|
|
|
Post by Rowan on Mar 31, 2023 9:44:16 GMT
As I've said before, we need to organise a time where you can try to access it and I can watch what's happening on the server at the same time to work out why the data isn't showing up for you.
email me and we'll get it organised. The email address is just below in my signature.
|
|
|
Post by Rowan on Mar 28, 2023 7:43:04 GMT
Hi Raf - I've replied to your message, we'll sort it
|
|
|
Post by Rowan on Mar 25, 2023 9:54:25 GMT
That is very odd! Sounds a like a bug in that version of the Arduino IDE if it's repeatable. I'm glad you found a solution.
Live data wise, email me and I'll check what's happening server side for you.
|
|
|
Post by Rowan on Mar 24, 2023 12:55:35 GMT
Excellent, what actually fixed it in the end? Live data wise I've just checked my end and the service is running up and running. In the app, could you double check that the username and password are entered correctly, and that the toggle for "Enable eChook Live Data" is on? Failing that, drop me an email (in my signature) and I can check the server logs when you're trying to connect and work out what's going on. Cheers, Rowan.
|
|
|
Post by Rowan on Mar 23, 2023 10:12:46 GMT
Ah, ok. Do you have a different computer you can try it on?
|
|
|
Post by Rowan on Mar 23, 2023 8:23:08 GMT
Hi Raf, That error comes up because the arduino IDE can't open the COM port on the computer. First thing to check is that you have the right COM port selected - unplug the arduino, see which port disappears in the COM port selection menu, plug it back in, select the newly appeared port. After that, check that no other software is open that might be using the port. If it's still not working go into device manager and check what the port is being identified as - it should be in the Ports(COM & LPT) category and show as "USB-SERIAL CH340 (COM5)" If this isn't the case try re-installing the drivers - either following the quick guide in our eChook documentation, or there's a good sparkfun tutorial here: learn.sparkfun.com/tutorials/how-to-install-ch340-drivers/allIf none of that works I'll have another think! Let me know how it goes
|
|
|
Post by Rowan on Feb 15, 2023 15:05:20 GMT
Nice! Glad it worked
|
|
|
Post by Rowan on Feb 13, 2023 15:16:01 GMT
That definitely sounds like a dead CH340 chip I'm afraid. For USB programming that arduino is dead unless you can replace the chip. Alternatively if you're determined to use that arduino you can use a second arduino as a programmer/communication bridge for it. docs.arduino.cc/built-in-examples/arduino-isp/ArduinoISPIt's worth checking over your board and trying to find anything that might have caused it before plugging in a new arduino.
|
|
|
Post by Rowan on Feb 13, 2023 8:28:17 GMT
Hi Si,
I'm incredibly sorry - for some reason this post completely slipped under my radar!
I don't have any specific suggestions, but the eChook app isn't particularly picky and doesn't need anything high spec, but a good battery does help if you're running all three races in a day. I've had good experiences with Xiaomi/Redmi phones in the past - but you'll need to turn off their aggressive battery saving. You can probably find redmi 7 phones for ~£60...
|
|
|
Post by Rowan on Feb 13, 2023 8:10:41 GMT
Hi Juljus,
You've done a thorough check! Is the arduino otherwise working, lights flashing, sending data over bluetooth etc?
Did you test with the arduino plugged into the eChook board? If so, could you check again with it unplugged - That will check that something on the board isn't pulling the 5v rail down a little too much and upsetting the CH340 chip.
If that was tested with the arduino unplugged it sounds like something has killed the CH340g chip which isn't common but I have seen with another team - we never actually worked out exactly what was causing it, but we went over the eChook board and reflowed all the solder joints and afaik it's not killed an Arduino since.
Unfortunately, it's quite likely you need a new Arduino but it's worth trying to work out what happened to this one before plugging a new one in. If you're handy with soldering and have a reflow station it's possible to swap a new CH340g in.
|
|