-
• #2
Use a ceramic capacitor, they are not polarized. Ceramic is what you want for this anyway
That looks like 1206. So any of these:The resistors are needed (one of them is the pullup on reset), but the specific value isn't critical. They're just pullups.
-
• #3
DrAzzy is right - the components are needed.
Gordon reply this also on my question for the same shim ;)
But I still do not have the smd components here - to try it :/
I also wondering, why the ESP8266-01 is working without resistors and capacitor?ok, my ESP-01 is not working really stable, it have still problems on http requests. But connection to WiFi is working...
-
• #4
01 needs a cap, ime, otherwise it dies when it tries to do anything. They didn't put enough caps onto the module, which is a shame - this has been a pain point for Arduino users too, and it would have only cost them a few cents a unit to do right.
-
• #5
@user55329 so you tried the
test
function on the ESP8266 page - do you get anything out of it at all, even with different baud rates?The extra components shouldn't be required, but as @DrAzzy says the capacitor could be handy to make WiFi connections more reliable. The resistors were just to allow the ESP12 to enter proper low power sleep modes - but it should be fine without them.
It'd be worth checking with a meter to make sure that the 0.05" pins on the end of the Espruino are actually connected to the PCB, and not shorted together.
I just pasted the circuit diagram below - you could check that the pins are all connected to the ESP8266 as expected.
Just in case anyone else checks this, you can install a Pinned pico without removing the pins. Just put the Pico down flat on a desk and then get a knife and push the 2 strips of black plastic away from the board. You can then pull them off the pins, and can solder the Pico on the board while keeping the pins sticking out the bottom.
@Jorgen did you try without the components? You should still be able to get something out of it, even if it's not reliable without the cap.
... but then I don't have an ESP12 here to test with I'm afraid - so I'm kind of reliant on your feedback.
1 Attachment
-
• #6
@Gordon the ESP-01 is working, but I have problem with http.get and other http requests.
Sometimes it throws an error on reset - so it is really unstable at the moment :/
Perhaps I have to flash the ESP with new firmware (but this is not as easy, because it is soldered on the shim...)
The ESP-12 did not work on the shim... Ok I have the new version ESP-12E (with the extra pins, but I put some tape below, to not get shorten. The ESP lights up, but pico can not speak with the module. I try the most common baud rates - but no success :/ -
• #7
@Jorgen did you try recently with the ESP01? late last week I made some fixes/tweaks to it.
For the ESP12 it could be the same problem that @user55329 is having I guess. Does it seem to have a TX activity light like the ESP01 does? Does that flash at all at startup?
There's not much that can be different - you could try shorting out resistor R1 if you don't have any SMD resistors to hand...
-
• #8
The ESP01 I'm using with your new module for ESP0.25 - and it works good so far; without of the http module. I can not get request or can not post informations.
The ESP12 only flashes once blue on plugin the Pico to USB port.
With the demo source code it brings an error after reset, because there is no response:_____ _ | __|___ ___ ___ _ _|_|___ ___ | __|_ -| . | _| | | | | . | |_____|___| _|_| |___|_|_|_|___| |_| http://espruino.com 1v79.171 Copyright 2015 G.Williams >echo(0); =undefined >Uncaught No 'ready' after AT+RST at line 2 col 22 if (err) throw err; ^ in function "callback" called from line 1 col 125 ...k("No 'ready' after AT+RST"); ^ in function "b" called from line 1 col 16 {c=void 0;b&&b()} ^ in function called from system
It seems like, the RX/TX is not correctly working?...
-
• #9
Maybe... are you sure it's not the baud rate? Did you try the
test
function with different baud rates on the ESP8266 page? -
• #10
The test function brings me always
_____ _ | __|___ ___ ___ _ _|_|___ ___ | __|_ -| . | _| | | | | . | |_____|___| _|_| |___|_|_|_|___| |_| http://espruino.com 1v79.171 Copyright 2015 G.Williams >echo(0); =undefined "" >
I try 9600, 115200 and 57600
-
• #11
strange - I'd get a multimeter and buzz out to make sure A2/A3 aren't shorted, and also that they connect to the ESP8266 pins shown on the circuit diagram above.
-
• #12
The ESP-01 is the one with the 8 pins in 2x4 arrangement, right? If the hardware is unchanged, that doesn't work reliably without an external cap, at least in my experience. I think I put on either a 1 or a 10uf ceramic (you can even tack a through-hole cap on the far side of those 8 pins if not using the shim), and that seemed to work.
-
• #13
Tried all baud rates. Absolutely no response on Serial2.
No LED signal from the ESP-12 (not 100% sure there is an LED, but it's not in front of me ATM). Will check the connections. Was waiting for the resistors and capacitors to arrive but didn't realize I was expecting a light even without them. Thanks for the suggestions.
-
• #14
I'm pretty sure the ESP-12 has at least one LED. I think two - one for power, and one for activity. Check continuity from each pin to the corresponding 0.05" pin/pad/w.e. on the Pico.
-
• #15
The ESP-12 has only one blue smd LED. I have a lot of these modules for other projects and the LED will light on startup and on connection to WiFi etc...
But in my case it will only blink once I plugin the Pico to USB-Port.
I'll try tomorrow to measure the A2/A3 that they aren't shorted... -
• #16
@RandyHarmon does your module flash when you plug the Pico into USB as well?
The flash is pretty standard behaviour for ESP8266 - it's just transmitting a 'hello world' sort of message when it boots.
So then I guess the issue is why it's not doing anything when the Espruino is sending data to it - I'd definitely check out the RX and TX wires are connected and not shorted.
-
• #17
Also, what's the bottom of the ESP12 module like? Is there solder resist on it?
Looks like the board from OSHPark doesn't have solder resist on the vias, which means they'll be more likely to short out if the bottom of the ESP12 is exposed.
-
• #18
underside of my ESP-12 has resist covering the vias.
-
• #19
Just wanted to update this - you need GPIO15 to be shorted to GND as well... Unfortunately it wasn't done on the Shim, but it's right next to GND so is easy enough to short out.
I'm no hardware guru, so apologies for the obvious naiveté(s). I'm only a little out on limb, but it's just stuff, so some trial and error is par for the course; I'll come out stronger at the end. Thanks in advance for your forbearance and assistance.
https://github.com/espruino/EspruinoBoard/blob/master/Pico/Adaptors/eagle/esp8266_esp12.brd
I had 3 of these made, and ordered the corresponding esp12's (ESP8266 as SMD board) from Adafruit. In retrospect, the pin version would have been easier for prototyping, but this looks so clean! Anyway: so far, so good. I removed the pins from my pico and got it and the esp12 soldered onto the shim board, woo hoo! Espruino works in the IDE, so I didn't cause any shorts, but no love on access to Serial2 per the guidelines.
Fast forward to morning: It seems on inspection of the Eagle file, that I failed to recognize that there are three 4.7k resistors and a 10µF capacitor that also need to be added in order to complete the design. Yep, there's the pads for them. First: is that correct? Second, how do I know which way to connect the capacitor?
Thanks in advance,
Randy
2 Attachments