Hey Guys!
I have succeded to blink an led with the flow card. but when i connect the servo PWM to where i have the led connected the servo does not move.
the servo is connected to 5+ and - and here i have a ground from the esp card allsow
Don’t understand what is the problem, is it the connections, or is it the code,
as Robert says, first make the conections and drive-code to the servo working and then the Homey-duino code.
Also you did not tell what ESP you are using.
If your code is not working, show your code.
thanks for good replays! I am new to the coding scene and i thought it would be easyer. like i got a code working with digitalwrite and to turn on a led and thats with homeyduino code. and tought that it would work with the servo. like easy on off on the servo
Yee that i understand. but i can´t understand where to put it in the homeyduino code. i understand the arduino setup and loop but not where in homeyduino code.
I am researching how to make my old “pull bell” work with a my video doorbell (unifi g4 pro). I can trigger a homey flow on a “doorbell push” event. I would like to use a servo motor to pull the wire of my old bell and have it ring when a person rings the g4 doorbell. Thought an ardruino i.c.w. a servo would be a possible solution.
There are many examples of code to control the servo from a stock ardruino. I am wondering what extra code is needed to control it from a Homey flow.
Any suggestions? I have a non wifi ardruino r3 uno, but think it’s better to go for a wifi version so (i hope) i can directly control it from homey.