Also, I got no luck with my tests with the SIM800L:
If I use the following code in the right pane of the web IDE, I can get a correct output .. which shows an error:
Serial2.setup(115200, { rx: A3, tx : A2 });
Serial2.on('data', function(d) { USB.write(d); }); // log stuff received from SIM800L to web ide console
USB.on('data', function(d) { Serial2.write(d); });
ouputs the following, when I short then release RST to Gnd:
So, 'yay!' -> some output is better than no output, but I can't investigate/test AT commands if the module can't boot properly ..
What's weird, though, is that I had the same error when no providing enough power to the module, which was solved using +5V & a 1N4007 diode, but here I get the same faulty output either powering the module from Espruino's +5V through diode or another USB port + separate +5V ??!
The LED either pulses twice when getting power from the Pico's +5V or 8 times when getting external power, but either way, always faulty output :(
-> I'll try diggin google to find more on this, but if you have any though/doc part I'd be interested in, feel free, you're more than welcomed ;p
Last but not least, I made a commit for the said update of the web IDE -> can't wait to use it ;p
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
hello ;)
I digged a little in the Web ide source code , & added a quick update to "urlHandler.js" to have these
Load this into Espruino
buttonsSupport is added to handle "http://www.espruino.com/webide?codefile=" URLs, which seems cleaner that using the same "http://www.espruino.com/webide?code=" URL & looking for some 'http..' prefix ( I had to choose, but we could also have both a 'general' URL handler & 'dedicated' ones as well ? ( .. ) )
=> Now we can have that Cake ! :D
Send stuff to Espruino !
Also, I got no luck with my tests with the SIM800L:
If I use the following code in the right pane of the web IDE, I can get a correct output .. which shows an error:
ouputs the following, when I short then release RST to Gnd:
So, 'yay!' -> some output is better than no output, but I can't investigate/test AT commands if the module can't boot properly ..
What's weird, though, is that I had the same error when no providing enough power to the module, which was solved using +5V & a 1N4007 diode, but here I get the same faulty output either powering the module from Espruino's +5V through diode or another USB port + separate +5V ??!
The LED either pulses twice when getting power from the Pico's +5V or 8 times when getting external power, but either way, always faulty output :(
-> I'll try diggin google to find more on this, but if you have any though/doc part I'd be interested in, feel free, you're more than welcomed ;p
Last but not least, I made a commit for the said update of the web IDE -> can't wait to use it ;p
+