Nah if it's 5v already should be good to power the nodemcu board
There's an onboard lm1117 to bring it down to 3.3V for the esp
Can you tell me how difficult what I'm trying to accomplish is? I want to hook up 10 of these to 1 servo each and a LiOn solar battery. I need to the ESP's to subscribe to an MQTT topic and rotate the servos so they can open/close my blinds. I don't mean pull the blinds up, just rotate the wheel that opens/closes the slats of the blinds.
On a scale of 1 - 10 what am I getting myself into
I plan to wire the servo directly off the LiOn battery not through the ESP. So I will have power running to the ESP and the servo.
@geman220 You will need a continuous rotation servo to do that. Further, you will need to sense the end stop (blind all the way up and all the way down)
@skorokithakis I believe there are writups on how to write an Arduino Library; plenty. Did you search and review any of those?
@Makuna no, I didn't know it was the same process. I'll have a look, thanks
@geman220 should be pretty easy to do what you want, I have code to do most of it
I am getting this error I have been at it for weeks but cant figure it out ".pioenvs\esp12e\FrameworkArduinoVariant/pins_arduino.h:29:31: fatal error: ../generic/common.h: No such file or directory
i am getting this error after i cloned the latest repo
I am using platformio
do you have the file variants/generic/common.h in your local copy of the repo?
But the file isn't been created in the .pioenvs when i build my project
It seems that platformio copies the current variant, instead of including it into search path.
Yes .. can you suggest any solution for it ?
well, as a workaround, you can copy variants/generic/common.h into your .pioenvs\esp12e\FrameworkArduinoVariant directory and modify pins_arduino.h to include common.h instead of ../generic/common.h
regarding proper solution for this, i think it might be better to ask on platformio channel
Alright thanks :)
Got a few hardware related questions. Here: https://community.openhab.org/t/mqtt-ir-transmiter-receiver/9433 he uses a esp-01, while I would use a wemos d1 mini. So he connects the IR-receiver to GPIO0, if I use same gpio (which i think also on wemos d1 mini has a pullup) I don't need to connect additional resistors. What about if I use different GPIO, do I need to connect resistor between gpio and 3.3v? On GPIO3 he connect an amplifier, why is that?
I have tried to ask this in the platformio channel too . The work around doesnt work because platformio overwrite .pioenvs on every compilation
@skorokithakis Any chance you know of a good tutorial or read on how to get started on learning how to program something like this project?