USB Power Adapters #4671
Replies: 1 comment
-
Posted at 2015-05-11 by AlexOwen I've just noticed it also seems to wipe the code I've uploaded each time I connect it to a charger. Or at least it doesn't start working on my laptop again until I reupload the code. Posted at 2015-05-11 by @gfwilliams Have you tried just typing Uploading the code doesn't save it into Espruino's flash memory, it only keeps it in RAM (which gets wiped the second you disconnect the board from power). Posted at 2015-05-11 by AlexOwen Thank you for that! I didn't realise I'd have to do that, that'll teach me to not RTM. Although doing this did lead to a different problem: when the board was plugged in to the mains for power and my laptop via a USB/UART adapter there was a lot of corruption in the data sent over serial. Although, I managed to find the solution to that on my own: For anyone else that has the same issue, I solved it by connecting the ground pin on the USB/UART to the ground pin on the Espruino board, which hopefully isn't dangerous and makes the ground common between the two devices and removes the interference causing the bad signals. The corruption was especially bad when the charger was plugged into my laptop. Posted at 2015-05-11 by DrAzzy You always need to connect the grounds of two devices in order for them to communicate directly. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2015-05-11 by AlexOwen
Hi,
I'm trying to use the Espruino board with a USB mains charger (a phone one), but it doesn't seem to be powering up. The charger works with my phone, and I've tried 3 different ones (all rated at 2A), but none seem to power it. The board works fine when I plug it into my laptop.
Any ideas?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions