While I totaly get this topic isnt 100% node-red, I hope you all don't mind me kicking it off / discussing it here. I find this vibrant forum to be one the best I've ever used. And ultimately, I will share for others (and it does integrate with Node-red :)
Hi guys, so continuing on from this thread, I followed your advice and got some ESP8266 & other bits n bobs, I've got PlatformIO working with VSCode and I've done the obligatory hello world (blynk).
Now on to something a bit more adventurous but i need a bit of help and advice (if i thought it was confusing enough buying the bits - finding good info on all the terminology is much worse haha)
So my first project idea was an MQTT doorbell. I prised open my doorbell button but I suspect its NOT 433.9 MHz (the crystal had 26.x MHz on it) - no worries - plan B - the doorbell receiver has plenty of room inside to mount an ESP8266. On to the plan.
mount an ESP8266 inside doorbell receiver (picture 3 below)
connect a point on the doorbell PCB (that signals "door bell has been pushed") to an input on the ESP
connect (piggyback) the 3 other side buttons from the to the ESP
Program it to send MQTT topic/payload on reception of doorbell push (I can do this bit no problem )
Node-red instance to subscribe to MQTT topic and send telegram messages & trigger smart speaker (I can do this bit too :))
Fairly straight forward right?
Q. Can this Makerfire D1 Mini ESP8266 ESP-12F be powered via the G and 5V connectors? (picture below). The drawings/info isn't 100% clear & there are no sample wiring diagrams for this particular board
If not possible to power this board with 5V to G and 5V, what would I need to do to power this particular PCB?
Q. Which of the pins on this ESP PCB are actually usable as digital inputs?
I have identified a point on the doorbell PCB that outputs +2.8V when "sounding" can I wire this straight to D0? etc. or do i need to something else before hand?
The buttons (VOL, << & >>) on the side of the doorbell appear to have 5V on them (un-pressed) and drop to zero when pressed - can these be connected straight to D2 D3, D4? etc. or do i need to something else before hand?
Can I make this re-programmable via WiFi? - once its all boxed up it would be nice to be able to re-program it via WiFi.
The note at the bottom of this picture suggests something can handle 5V
Although this may seem a stupid reply, I shall post all the same.
First question you asked:
I would guess it can be. As USB is 5v and it has a USB connector.
But PLEASE get a second opinion on that. I am not 100% confident on the reply.
I'm not following this.
a) Why would the button have volume controls on it?
b) If it is 5v, it may be dangerous. Most of the boards these days are 3.3v. 5v would do damage. But question (a) kind of makes this redundant in some ways.
Believe it or not, I know most of this but I am soooo rusty - its been more years than it hasn't, since I've done anything with electronics.
Question, so I connect the 3.3v signal out to D0? D1? D2? D3? any? are they all ok?
And which of the Dx inputs are usable in this manner (e.g. 3.3 switching to zero) and if you know, do i set them up as this pinMode(D0,INPUT); or this pinMode(D0,INPUT_PULLUP);?
any help you or anyone else can offer would be great.
Measure the voltage on the 5v pin/pad. If you see 5v, then you can confidently connect 5v to that pin - but don't also have the USB cable plugged in. That may cause problems if there is a voltage difference between the USB's 5 volts and the power supply's 5v.