-
Thank you Gordon; That means I'll put the headers then put another module and pins to do the work to figure out the issue. I'm guessing it's me having killed the pads on the pixl.js bottom pins and for the next one I WILL put in headers so I can put in any module and throw out any bad ones.
This is one of the best IoT products ever and I just LOVE to have this on my neck!
-
@Gordon I'll try that tonight. just got the headers to solder in.
QUESTION: is the pins in the bottom also repeated anywhere else in the board. I then can bodge some wires to see if it's a hardware issue.
I keep insisting it's hardware because it changes even when the code doesn't.
I've ordered another pixl badge and I'll also try this same code with the EspruinoWifi and the LCD board I made the driver for previously. But it's a different library. but we'll prove I guess that the code isn't an issue.
-
@robin.
I understand that code. but can't see what it would do. You are essentially asking me to have it wait for the init. then wait 1.5 seconds and then call the method to connect to the internet. Is this correct?I've tried something similar in that I put the intial call on a timeout of 5 seconds and it didn't help.
plus I'm just wondering why it'll sometimes work (after a couple of days of not working) but only in debug mode.
again. it's no consitant. It's not a save or a reboot or code that changes it. It's just waiting.
@allObjects I think you're talking about the same thing that robin is talking about. Having the system wait a while and then call the request.
I have the system poll the price ever 5 minutes. I tried that every 2 minutes and waited (the 2 minutes) and the second call failed just line the first on the initial bootup.
-
@robin. the code is the exact same from the example: http://www.espruino.com/Pixl.js+Multicolour#esp8266-wiring
and doesn't change from working to not working.
NOTICE that the lights SEEM to be on. and I have a feeling that when I get home I'll measure that drop that you DON'T see in the youtube now.
-
AHHHHHH!!!!
I hadn't had any time lately (holiday and all) to do all the things you all suggested, but I had to do something. So I thought I'd record the lights. And BLAM it's of course working.
https://youtu.be/Y5T9Tj9XmiU
OF COURSE UNTIL THE NEXT Day (actually until the next Save() but I don't think that's a factor)
It's dead now
https://imgur.com/gallery/Ud6wKhXI've bought 3 more ESP-01s (the ESP8266 modules for this) and I'll buy another badge and solder in some headers instead. I don't want to damage the Pixljs again.
@Gordon is there pins equal to all the required ones in the footer for me to cut the existing ESP module and try on another pins at the top?
-
Mine has blue lights.
One quick blink as everything is turned on. then about a second later nice flashing (like it's communicating. and then dead. like someone pulled the power cord less than a second after it did it flickering dance.ok. so you think I should botch a wire from the top 3.3v and ground down to the esp8266's 3.3v and ground.
I was thinking that of that and was trying to hold wires (but I only have two hands so I don't think I got it working.
As for the dev camp. It's in Feb and I'll make sure to post videos and photos on youtube and here for anyone interested.
-
You know @gordon the pixl.js badge doesn't even seem to flicker.
and just a reminder on the first day it was FLAWLESS for several hours as I was coding.
It wasn't until the next day.Now to be sure I'm no soldering expert so although I'm incredibly humbled if @Robin thinks I did a good job I had put in the ESP8266 wrong and had to unsolder and resolder so I know I very well may have damaged it.
But there's no red light (the red light or buzzer or NOT on by the time the ESP8266 seems to turn on. and like I said it SEEMS to be happening.
I haven't had the time to put on that capacitor. But I LOVE this group because everyone is making suggestions and working with me which is Why I'm already on my 4th Espruino products (love them all) and using a bunch of the full ESP8266 modules to do a big presentation at the next South Florida Dev Camp that get's about 1,5000 people to that conference. (I'm on the IoT track so I don't expect all 1,5000 people to show up. but if they knew what I know they would show up)
-
wifi.at.debug()
gave me an error. The module looks to have a "debug"
http://www.espruino.com/modules/ESP8266WiFi_0v25.jsbut wouldn't I call it like:
wifi.debug()
I'll try that when I get home. and yes I have to find a capacitor and place it on there to see if it helps.
ALSO I did measure the 3.3 and ground (using a regular multimeter) and I see it turn on. stay on and when the lights go out it goes down to 0v so it's being killed (or it's shorting)
Please correct me if I don't understand anything hardware wise. I'm just reporting what I see.
-
@gordon Yes.
Here's the order of things.
I turn on the Pixl.js badge (with the switch on the Pixl.js badge)
The Pixl.js front red lights quickly blink.
The ESP01S BLUE light blinks around the same time and pauses for about a second.
Then the ESP01S BLUE light blink several times (I would say trying to connect) then suddenly STOP. -
@Robin
I've put that on the pixl.js badge and will run it all night. There's no reason it won't but I do appreciate the help and I'm willing to try anything.The Pixl.js badget has shown no signs that anything is wrong with it. it's just cutting the power to the esp8266. I can see that.
-
I'm very appreciative of the help, but I'm pretty sure the code is not the issue.
I say this because the code hasn't changed between it working and not working.
I've started with the code from the example provided by gordon that on day one worked perfectly but now the exact same code has the same error as all the other codes:
http://www.espruino.com/Pixl.js+Multicolour#esp8266-wiring@allObjects I have tried your code but I do believe it's not for the Pixl.js (correct me if I'm wrong) and Wifi.at.debug() was not a method in the ESP8266WiFi_0v25 module.
I haven't tried the capacitor which in my mind has the best chance since it's a hardware fix.
Help me understand what could have gone wrong. I'll have to buy a new Pixl.js badge. Are they still available? And brand new ESP8266's and try this whole thing again.... :'-(
-
@Robin
'save()' is not affecting anything. Sorry I mentioned it. you can ignore it. I was simply trying to share that it seemed to work for a second or two.day 1 - working flawlessly for hours. Went to sleep happy.
day 2 - not working all day (no changes. getting error: "No 'ready' after AT+RST")
day 3 - still not working all day. I try different things. No go. try one silly thing. It worked. Did a "Save()" then power cycled it (turned it off then on again) it no longer works. Try a bunch of things and cannot get it to connect to ANY network any time any where.Here's the code:
var WIFI_NAME = "ValidWIfiSSID"; var WIFI_PASS = "CorrectPassword"; D9.set(1); // power on Serial1.setup(115200,{rx:D0,tx:D1}); console.log("starting wifi"); var wifi = require("ESP8266WiFi_0v25").connect(Serial1, function(err) { if (err) { console.log("oh no" + err); throw err; } LED1.write(1); LED2.write(0); console.log("Connecting to WiFi"); wifi.connect(WIFI_NAME, WIFI_PASS, function(err) { if (err) throw err; // I don't get past here. I error out LED1.write(0); LED2.write(1); console.log("Connected"); getPrice(); // I get the price of bitcoin and display it. setInterval(function (){ getPrice(); // get it and display it },120000); }); });
-
@robin
1) By "new" I meant the NodeBadge but not from the conference. the one from the espruino shop but that (like we established) has the pins in the correct location for a simple ESP01S to be soldered in easily2) The Espruino Badge DOES seem to be working perfectly. And I would guess the ESP8266 does two but it just looses power (my guess)
3) I've love to try anything you'd like. I wish I could leave it turned on and open to the public for anyone to run things on it (guess that'll be ver two of the IDE gordon made)
Just tell me what you'd like me to run and I'll run it. -
@gordon Nothing changes.
1) I had it working perfectly at home.
2) Went to work (and did "throw" it into my backpack. but it looks fine
3) tried to connect it to my phone wifi. and it started giving the error. Tried work's wifi same error
4) Got home (said maybe there's something it likes about home) Same error (no 'reset')
4a) tried reapplying the solder iron to make sure everything was well connected and I hadn't moved it away.
5) went to the convention (no password on the wifi). Didn't work
6) Tried a bunch of different options. debugging debugging. BLAM it starts working. Try it again. still working. "save()"
7) turn it off and on again. NOPE.
8) and I cannot get it to work.I tried lightly pushing it to see if it was slightly off. No good.
@Robin - This is the "new" badget, not the pixl.js with a wifi shield. (I didn't get to that since I was still trying what should have worked)
@allObjects I can try what you suggested with the capasitors. but haven't had a minute to do it.
-
SO you're suggesting I try this capacitor like there is in this picture?
https://espruino.microcosm.app/api/v1/files/e671c4ad3f9dbe6c01fe2b33417c5d5656b4a5c6.jpgcause it does seem like power is simply shut off all of a sudden.
-
-
It looks like the Pixl.js did get damaged.
I threw the badge and left for my conference and here I am and the system boots up. the ESP8266 flashes once quickly blue (so it has power) and then a second later blinks a couple of times (as if it's connecting and retrieving information) and then just stops and never flashes againand I get "Uncaught no 'ready' after AT+RST"
so it means the board doesn't reply. or it's not communicating the information back to the pixl.js
I measure the power on the Vcc and ground and I get 3.2 while it's booting up and then zero. (like the pixl.js has turned it off or grounded it.
any advice?
-
-
@Gordon question:
If I wanted to do this with the regular Pixl.js what pins would I connect from the pixl.js and the ESP8266 and I have about 40 of the regular ESP8266 not these "ESP01S" modules. but I'm thinking I wouldn't be able to use them right?
I had a request from someone that saw it that's going to be at the same convention to have one for her. and I do have another Pixl.js so I'm just wondering. -
Also THANK YOU @Gordon and @Robin for your help. This was solved fairly quickly and I now have my favorite toy.
Yes Robin the flex cable is SUPER close and Yes I used an old pair of tweezers to semi protect it and the flex cable survided without a scratch surprisingly even though (especially when desoldering) I'm sure I got very close
and gordon, yes, the Pixl.js nodebadge survived perfectly. the ESP8266 of course is a new one, but it connects and seems to work perfectly.
thank you again!
-
I was just asking to make sure I wasn't missing anything.
I'm ok with http only cause I have a server that I'm using to combine all the calls anyways. but all the free calls now a day require HTTPS.The NodeBadge is a Espruino you should keep in your line up.
It is by far my favorite Espruino board. It's VERY "new developer" friendly and easy to carry around without looking like you have a bomb strapped to your body.
-
The patient survived the surgery. Of course I cut the ESP8266 out with a cutter and then did a lot of desoldering work to remove the pins.
Luckily the NodeConference badge survived and thanks to amazon a new ESP01S is attached to the back. and it worked on the first try.
@Gordon I'm using the "ESP8266WiFi_0v25" module as the documentation suggets. I don't think the Wifi module worked (but I don't remember if I tried or if it was with last very which had it plugged in wrong anyways)
BUT my question is. should I just be able to use the Wifi?the "ESP8266WiFi_0v25" module doesn't seem to be happy hitting an HTTPS endpoint which I believe the EspruinoWifi can just fine. Is it the Module I'm using?
I'll publish my code here and on github the second we sold the HTTPS part because to get HTTP I simply go through a personal host that I'm not confortable sharing with the world and having 30,000 of you hit it all at once.
Here's the patient after.
So of course I built a Bitcoin Price tracker:
-
I'm not worried about the 8266 but because the LCD ribbon is so close and it's two rows I'm going to have a hard time desodering.
amazon delivers a ESP01S for $4 (including shipping so what...3 euros) so that's on it's way. but I hope I don't kill the sockets and yes. Putting in a header would have been what I should have done but I didn't have a header or even thought about it. And I love the low profile that this kit made. Just wished I had not made this kind of mistake. -
I'm a little confused Fernando.
Are you asking for a particular page on the regular espruino page to be updated to what I wrote above?
We can do that because all the pages are available on github and we can simply make a request that they be changed.
Which page is it that you wanted to change?