Search This Blog

Wednesday 1 November 2017

Testbed part 2 - using ESP-01S

Here's the "mothership" with the optional 3.3v LDO plugged in to supply the ESP-01S with the 3.3v it needs:


Note, that's an "ESP-01S" and not the much more common "ESP-01". The S has 1M FLASH which makes OTA updates possible, and that's why there's no USB or FTDI on the board - thing of the past!

The touch sensor is a little gem - firstly, they are bounce-free. They are either on or off folks, which makes the very easy to program. I don't think I'm ever going to use a push button again! They are also sensitive enough to react from inside a plastic project case. I shall be using them inside all my IOT wall switches, hot-glued to the inside of the case front. Their best feature though is if you look around you can get 10 or 20 (including header pins) for a couple of bucks / euros. I got mine from ebay: 10 of them for eu1.39 - mad!

For the more adventurous, they can be "reprogrammed" to act in the reverse sense: as they come they go HIGH when touched, thus sit at LOW until then. That's fine unless you want to wire it to GPIO2 of an ESP8266 which needs to be HIGH at power-on...You just have to "short" a solder bridge or solder in an SMD zero-ohm resistor.

The 3.3v LDO (actually and AMS1117) breakout was also from ebay and only a few cents / pence etc each.

The best gadget though is the OpenSmart adapter. Again ebay, again very cheap. It allows the horribly unfriendly (who in god's name ever thought of it?) pinout of the -01/S modules to fit into a breadboard, with signal names conveniently silkscreened on it.

Take my word - if you are experimenting with or programming either variant, you need one of these!


No comments:

Post a Comment