Espruino WiFi & MDBT42Q #1045
Replies: 6 comments
-
Posted at 2020-01-30 by @gfwilliams Hi! Thanks for the in-depth post and pictures - that really helps! I think you might be hitting: http://www.espruino.com/Troubleshooting#espruino-works-when-connected-to-a-computer-but-stops-when-powered-from-something-else You'll need The other one (as far as I can see) is grounding. While there are 2 wires for RX/TX on serial communications the voltages on the serial lines are relative to GND, so you actually need to connect the two GND pins on MDBT42 and Espruino Wifi together as well in order for it to function properly/reliably. Otherwise after that I reckon you'd be sorted! |
Beta Was this translation helpful? Give feedback.
-
Posted at 2020-01-30 by Andrea Hi Gordon! Thank you so much! |
Beta Was this translation helpful? Give feedback.
-
Posted at 2020-01-30 by @allObjects ...no surprise that there are serial communication issues... From the pic I do only see RX and TX to TX and RX connections and no ground wire between the two boards... For serial communication the pins are floating and TX and RX even interfere with each other... Get a GND to GND wire in and it should work like a charm... (I would put a - Signal- GND wire in even when both are powered by the same source - battery or USB from what ever - and have common/some Ground from power Ground (neg rail). |
Beta Was this translation helpful? Give feedback.
-
Posted at 2020-01-30 by Andrea Thanks allObjects, i can't wait to try it! :-) |
Beta Was this translation helpful? Give feedback.
-
Posted at 2020-01-31 by Andrea OK, now it works! For whoever needed, here is the code useful for testing ...
Attachments: |
Beta Was this translation helpful? Give feedback.
-
Posted at 2020-01-31 by @gfwilliams Perfect - thanks for posting up the finished code as well! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2020-01-30 by Andrea
Hi everyone,
I would like to create a bluetooth notification system,
by serial connection of an Espruino WiFi (connected to the internet) to an MDBT42Q.
When I unplug them from the Web IDE console and power them on batteries (charged)
MDBT42Q gives me no feedback ...
I think there is a problem with serial communication,
I have tested them separately and have never given me hardware / software problems
Could you help me understand where I'm wrong?
Attachments:
Beta Was this translation helpful? Give feedback.
All reactions