Looking at moving my 2 x DS18B20 and 8 channel relay from my RPI 2 (works fine) to a stand alone ESP…
Have been chatting to Craig ( ) on the basics of this…
I have one of the early ESP8266 boards, but I see there are many new versions since.
Would the ESP-12 be able to run the above devices; enough IO’s etc?
Whats the “best” ESP out there at the moment, processor, memory etc?
I like the ESP-07s because of the external antenna connection. Having two antennas, the onboard chip one and the external maximizes range. It does have less IO though.
The ESP 12s have a micro strip antenna and a little more IO on that front edge.
So far the 12’s are working well for my application. My range is not such that I require additional signal range (all indoors with adequate coverage), but my I/O needs are pretty high. I’m running the same DS12B20’s with a relay board as well.
Doing some more testing over this weekend, was contemplating multiplexing…may not need it if I prioritize my needs better. But for the cost, I could always just add another esp.
Just follow my how to, @HighTech. You shouldn’t need to modify any header (.h) files. Ifnyou want to use.the mkt1000, you need to add a couple new .h files I created, but it is not good practice to modify the existing library files.
I’m happy as a hog in slop!
Let’s see if I can make a swarm of’em work!
I figured (by brute trial and error) that
GPIO 4 is, in fact Pin 4 in setup configure.
I’ll need to configure GPIO 12, 13, 14 and 16
as inputs (pulled high by internal pullup resistor)
for the ALLIE!
Please, tell me that “inputs” can be pulled up via internal pullup resistors-
also, in setup/configure inputs,
I can’t see what “pins” GPIO 12, 13, 14 and 16 go to-
the configuration only gives me 0 - 13…
I’m kind of…trying to use them…
On my ESP QUAD,
I use GPIO 12, 13, 14 and 16 output to relays.
I designed my “inputs” as GPIO 5, 4
(and 2 and 0 if using GPIO 2 and 0 is possible).
I don’t know if you’re still in the community- but hey! I JUST got my Esp12-e design working. My NEXT step is to use either the SPI or 1Wire or I2C (whichever works on the Esp12-e), to use a GPIO I/O expander. THAT would give you all the I/O you could possibly need from one Esp12-e!
well- I got my ESP12e Quad Relay built-
problems with the I/O, though.
My relays are addressed usin GPIO 12, 13, 14 and 16.
The problem is- I can’t seem to address GPIO 13, 14, or 16.
I CAN access GPIO 12 (D12),
so I have (1) relay that actually works.
The GPIO left pins ALL work- D0 (it works), D2, D4 and D5. I’m just…not using them. I suppose I could wirewrap them to GPIO 2,4 and 5
Yeah, @bestes, this is a limitation I noticed the other day too. The I/O selection for Digital actuators only goes to 12.
The work around is to use virtual registers and use the GPIO write call in your CAYENNE_IN(VX) function to set your output state. Remember to preset the I/O direction in setup().