-
-
-
@Gordon - it might make sense to put a note of that in the IDE settings screen "9600 is used by all boards except ESP8266 and ESP32, which use 115200"
I find the switch annoying enough that I never connect to ESP8266 and ESP32 by the IDE - I just go in with hterm, set up the wifi, then connect by telnet.
-
While a little unpleasant due to the size of the parts, since all the parts you need to add are two terminal devices, it definitely can be done with an iron. Honestly, for two terminal parts, even small ones, I find soldering iron to be easier than hot-air. I only use air for large or no-lead parts.
You put a bit of solder onto one pad for each part, hold in place with tweezers, and melt the solder on that side to solder that end, then go back and solder the other end. Might not even need additional flux.
-
-
-
-
-
The huge response to this thread says something about interest in integrated protoboard, it would appear.
I love integrated protoboard - but the downside is that it makes it harder to reuse the board, and Espruino boards aren't cheap enough to throw around; I suspect this is part of why people aren't more excited about protoboard (well, that and the aversion of so many electronics hobbyists to soldering, particularly SMDs) I found it very useful on the Espruino board, though.
-
-
@JumJum - I'm a bit confused by that post.
Is is currently possible to build for WROVER? It's not clear to me if the thing we're hoping for from Espressif is to allow WROOM or WROVER to be supported with the same binary, or if something is needed from them to support the PSRAM at all.
-
-
As many of you know, I sell circuit boards on Tindie, and I very much like boards with integrated prototyping board. I recently had a project I planned to use with an Espruino Board, but I found that the Espruino Board on the previous version of the board had been beat up enough in terms of things being soldered straight onto the board (and back in those days, my technical skills weren't where they are now), and I realized it would be really nice to have a version where the prototyping area was larger, with mouting holes, and that sort of thing.
This is the result:
It's a direct ripoff of the Espruino Board, plus added protoboard (it matches the footprint of my other 2"x4" protoboard)- circuit is nearly identical - I made a couple of changes:
- Different buttons.
- SOT-223 regulator instead of that itty bitty one Gordon used (ZLDO1117 3.3v reg - ZLDO is the best series of 1117s, particularly in terms of quiescent current).
- No bluetooth footprint.
- C14 not broken out to a pin (I couldn't route it, and I use the crystal anyway)
- ESP-01M footprint - much less board space than ESP-12.
- D-spec instead of C-spec STM32F103 (RCT was out of stock anyway).
- Changes to part packages for easier hand assembly.
I've also successfully gotten Espruino building for it (it "just worked" - mad props to Gordon et. al. for the provisioning script).
I may eventually start selling these on Tindie - as of now, I'm not planning to sell them (if any active posters are particularly interested in something like this, I could mail out a few, let me know). Just wanted to share some pics at this point, and express my amazement with how easy it was to build working Espruino firmware.
Oddly enough, uploading it the first time has been the hardest part. I've been unable to make it upload from my Linux system at home, and it's been flaky on my windows system - sometimes it will upload at 57600 baud, othertimes it won't upload, no matter what I do.
- Different buttons.
-
This is a problem with espruino for animations...
Remember the pingpong light project? (Which worked - there are 8 strings around my room of 10 lights each.) On esp8266's running espruino.
Why only 10 per string? Js execution speed on the esp8266 controllers. Not that the esp8266 is the fastest microcontroller in town, of course
-
Thanks.
I've created an issue for the incomplete API documentation. https://github.com/espruino/EspruinoDocsĀ/issues/441
-
-
When I run scripts/provision.sh on the home linux box running Linux Mint, it works fine.
When I try to run it on a linux instance on Amazon, I am told:
-bash: /home/vagrant/.bashrc: No such file or directory
I asked two expert friends, and they were both baffled. The more knowledgable of them said "whether or not a vagrant user is created will be highly dependent on the packaging" and that "it depends on a user that 100% will not exist on anything that isn't a vagrant vm, unless said server is very weird" - when I told him that it worked on my mint machine at home (which I don't have access to until thursday), he insisted that I must have run a different script. Apparently vagrant is something to do with VMs?
So - can anyone tell me if it's possible to set up an Amazon EC2 instance and build Espruino on it, and if so, what incantations must be recited?
Thanks!
-
I use a 1117-series 3.3v regulator (specifically the ZLDO series, since they've got the best specs of the 1117 clones - very low quiescent current, and lowish dropout). I would not try to use any regulator physically smaller than SOT-223 (TO-220 for throughole people is more than sufficient) - they inevitably can't dissipate the heat (that's probably why it worked at first for you - the reg was cold. Then you plugged it in, it started heating up, and shortly after, it started to go into thermal shutdown or folded back the output voltage until it started cooling down, and it stopped working) .
I've seen people try to use SOT-23 regs, and running off 5v, the one Gordon used on the pico can just barely handle an ESP8266 - but ESP32 is a little more demanding.
-
Hmm. Per this page: http://www.espruino.com/ESP32 UART2 is on 16 and 17... (and it works beautifully on these pins)
So something isn't making sense here...
Another thing that's strange here is that - at least at 115200 baud - on ESP32 side, the on('data') callback is called only once, with the whole blob of data, rather than once per char...
-
Hmm, yeah - it seems like something that would be good to fix, since it is a nuisance during development to have to power cycle the board after each upload.
I will try manually doing server.close()
I am using the telnet connection - I think this is one of the most compelling features of the ESP8266/ESP32. It's so much more convenient than having to fiddle with wires to upload.
For doing the time with the header, how do I access the headers from within Espruino? It doesn't appear to be supported (based on my reading of the reference) As I understand it, the callbacks provide an httpCRs and httpCRq object - but the API reference for these does not mention any method to get the headers.
-
I think for international users, weekends are a lot easier to do than weekdays, since most of us have work during the week. Obviously as US person, I prefer later in the day - but I'm pretty flexible about times on the weekend - I can always go back to bed.
I'm free just about any weekend (except the weekend of 6/16, as my GF is dragging me to a wedding). I can sometimes do tuesdays and thursdays (since I happen to work from home those days) - but whether I'll have another meeting/phonecall/urgent assignment is hard to predict.
-
-
-
The "undefined" looks normal, as you're printing to the console the result of wifi.ping() which doesn't return anything.
The memory hemorrhage, though... 85 jsvars per iteration!