5 ms·
These are really nice $5 chips with Wifi programmable with the Arduino toolset. Tons of IoT people use these to integrate various instrumentation and control in
by acidburnNSA 7y ago
These are really nice $5 chips with Wifi programmable with the Arduino toolset. Tons of IoT people use these to integrate various instrumentation and control into their houses or science projects. For instance, you can hook one up to a temperature sensor and a relay and control your heater. There are probably millions of these installed, hooked up to important hardware. So this makes wardriving fun again, I guess, if not destructive.
- gerdesj 7y agoJust to give you some idea of how easy these are to use: In 20 mins with a small breadboard, a few Dupont wires, a Nodemcu ESP8266, a DHT22 with a pull up resister I've got a desk temperature sensor. Add: https://esphome.io/ https://esphome.io/ ... and it talks MQTT and connects straight into Home Assistant.
- exhilaration 7y agoNo soldering needed?
- gerdesj 7y agoYes, no soldering. Here's an example of the sort of thing that is sat on my desk: https://lastminuteengineers.com/esp8266-dht11-dht22-web-server-tutorial/ https://lastminuteengineers.com/esp8266-dht11-dht22-web-serv... If a NodeMCU board is too big for you then an ESP 01S is smaller and even cheaper. Less I/O options though but very useful. Needs a writer and wires to program. You can get one with a relay that is capable of switching 16A. https://frenck.dev/diy-smart-doorbell-for-just-2-dollar/ https://frenck.dev/diy-smart-doorbell-for-just-2-dollar/ - here's an example of a project. $2 is a bit ambitious I spend £7 for two of them on Amazon. That's two ESP-01S and two relays! I don't do Arduino. esphome is a lot easier for me. You use pip to get the thing installed under your user account. Write a .yaml file which is largely copy and paste from examples and then install it through a USB cable the first time and then over the air after that.
- exhilaration 7y agoThank you, I've got software expertise but no hardware at all, I've been looking for something like this.
- gerdesj 7y agoThe ESP 01S is particularly good once you get to grips with writing to them because you can power them from any old phone charger that spits out 5V. You simply cut off the plug, look for the wire with the white stripe on it to determine polarity, strip the ends and screw into the relay block. Be prepared to wave goodbye to your spare time and seriously consider a separate VLAN/SSID for these things.
- Tempest1981 7y agoHeh, I came across your site last week, so thank you! (Oh, maybe it's not your site) I got the DHT22 to work at 3.3V. But an old 1-Wire DS18B20 I have is very finicky. The pullup needs to be 500-800 ohms. Any experience with 1-wire at 3.3V? (Parasitic power mode). Worked great on a 5V nano.
- Havoc 7y agoHmm. Actually have all of that except the esp on hand
- deleted 7y ago[deleted]
- Havoc 7y agoHow do you power them conveniently though? I can wrap my head around doing the soldering. But power means either power adapter or battery? If I’m doing power I might as well use a raspberry.
- stevekemp 7y agoI tend to power my devices via a simple USB phone-charger. Like the parent I have a few temperature/humidity sensors dotted around the house. Using a PI would be overkill and I'd have to keep the system packages up to date, worry about failing storage-device, etc.
- Tempest1981 7y agoYep. Most have a micro-USB connector which supplies power, and handles uploading/logging. So when you're done debugging, you just need a phone charger with a long enough cable.
- Havoc 7y ago>simple USB phone-charger. Damn. Was hoping that isn't the answer. Phone chargers everywhere are ugly & in the way >I'd have to keep the system packages up to date, worry about failing storage-device, etc. Fair point