-
@Mabe You don't hang about :) Worth the £8.00? My iron has no temp adjustment at all, so I figured this would be better, potentiometer or not?
-
-
-
-
@the1laz thanks yes that makes some sense.
@Gordon On the subject of board design, having "tried" to solder shim to Pico it has occurred to me that a slightly longer Pico with the docking holes for the esp8266-01 would have been perfect. Just drop the legs in and solder the underside. Could even put pinheader in so removable. The design above obviously has to be fatter to accommodate the pads. And if only providing a wifi service to the board 01 would be fine the lack of Gpio not a factor, though I'm told the 12 style boards have better wifi range. -
I'm too new at this but my immediate thought was why not use ESP8266 as the host for Espruino and have the board be the shim - with the USB and extra storage et al. I don't really understand why it would use two chips, which are both capable of running Espruino.
I've missed stuff, I'm sure I must have. My apologies in advance.
-
Straight forwards normally. You've missed nothing in your JS code as far as I can see. What build have you flashed?
But also, note the build post in this forum (http://forum.espruino.com/conversations/279176/) has the latest build at the end of the thread. If you are using an early build you could well be seeing wacky stuff as well as using a deprecated API. Could this be it?
-
-
-
No this is good here, but gitter sometimes faster - that's the only reason I mentioned it.
That is a good question. Using
wifi.save()
, puts you outside of the normal callback approach, but you can assess connected status and do your own if test withwifi.getStatus()
?http://www.espruino.com/Reference#t_l_Wifi_getStatus
I have code to refactor now that the ESP8266 port is really quite polished. The above will be my approach. We need the "station" property and will be looking for "connected" as the value.
-
@MarcoM. Can I help you on this? I've covered many of the steps you're talking about, but though I haven't seen those particularly obstacles maybe I can. Also do you know of the Espruino Gitter channel?
-
@tve @gordon reference save compression - great work - my stuff fits again. Thanks!
>save(); =undefined Erasing Flash..... Writing............... ERROR: Too big to save to flash (12606 vs 12284 bytes) Deleting command history and trying again... Erasing Flash..... Writing.......... Compressed 22400 bytes to 7810 Checking...
@user59584 suggest you try this build
-
@DrAzzy, that's a thought, I've seen your stuff, didn't know you did for others. Maybe I can PM you rather than hijack this thread?
-
@gordon I looked at Eagle - briefly. Thanks for the info on export and the other manufacturers, will check them out
-
-
See this closed issue which implies better compression is on the way. There may be more to it, but it's certainly on the radar.
https://github.com/espruino/Espruino/issues/773
For now if you connect via Wifi using the Web IDE you'll get the full error message. Depending on how far off you are you may be able to make some optimisations to your code which may help.
-
-
-
-
@DrAzzy, yes digitalPulse(). As for caveats, there are perhaps some misconceptions. I came at it reading and being told that the ESP8266 hardware's timer may not be accurate enough to facilitate accurate pulses, but seeing Arduino examples out there I was skeptical, and it turns out that's not the case.
Hat tip to @tve who helped me optimise my transmit code, but the major stumbling block was that pinMode needs to be set explicitly - we don't need to do that when running the core Espruino. With pinMode set my original code worked fine, although the switching was less reliable that the optimised code mentioned. Happy to share anything you need here.
-
@allObjects I can't see the pics on that link, but I think I've seen that, I think you posted pics of it in here, or someone did? It's very innovative, but I wouldn't want to try and scale it ;)
-
-
I'll be following progress on your prototyping boards. I have some ESP8266-12 on order, but in their defence i've had a lot of mileage from the several ESP8266-01 boards I have, despite the restricted GPIO and memory constraints. Two GPIO is enough for a lot of applications. I have a DS18B20 sensor and 433Mhz radio running reliably.
The 01 is possibly the version most Espruino users will have to hand too given it's application as a wifi adapter for the Pico - that's how I got started with them
One disadvantage with the 01 is obviously how breadboard unfriendly it is.
-
Just on the power thing, I've been running from USB via a USART adapter with a 100uF capacitor soldered between the VCC and GND (ESP8266-01) and have no issues - even when running a DS18B20 and 433Mhz radio from the same adapter. Nice big capacitor seems to be key - and I've read mounting as close to the ESP8266 as possible, is also a good idea
Get off the fence @DrAzzy tell us what you really think :)
I'll check ebay for the kit you mention. I suppose the appeal of this thing is the price. It looks better than the iron I have, and I paid more for that. I'm guessing it's not anything professionals would use, but for the entry level bods like me maybe it's ok. I don't know. I'll get one anyway. £8.00!!!!