Chat freely about anything...

User avatar
By zoran404
#5208 I need to have 4 input pins, and when they get voltage I need to send a signal to remote location.
Imagine 4 switches, well I need to get their status on laptop / phone.

Can esp8266 gather and send that information, or do I need something else to get the information?

Also which version of esp8266 should I get? And do I need something besides esp (and battery) to get this working?
User avatar
By villTech
#5216 if its just 4 switches, esp-03 should be more than ok.

basically, you will need:
esp module
4 switches
coonecting wire
power supply (get a recommended PS)
and you will need to modify the firmware of your esp module.

if you dont want to modify the firmware, you can just add a mcu board like arduino. and development will be easier.
User avatar
By RogerClark
#5224 When you say "get voltage" do you mean you want to measure a analog voltage, or do you just mean switches which are just on or off
User avatar
By zoran404
#5226 RogerClark, by "get voltage" I mean I'll connect input pin with my power supply over the switch and just getting on/off status from it.
Btw those aren't really switches, I'm measuring contact between 2 surfaces.

villTech, that's good. but in case I wanted to add a button or a led diode, how many total pins can I work with?
Is it ok to use micro batteries like those as power supply? http://www.topnews.in/files/micro-batteries.jpg

And I suppose to modify the firmware would require a usb to serial adapter right?