This is the prototype for my fully automatic cat feeder. I'm currently working on Version 2. I typically program ESP controllers using ESP Home (in YAML) to connect them with Home Assistant. Since I couldn't control the stepper motor directly via the ESP8266 (using YAML), I implemented the stepper motor control using an Arduino. The feeding automation is running (hard coded) on the ESP8266 (as I can control it through Home Assistant), which sends signals to the Arduino to rotate the stepper motor . Additionally, I have placed a vibrator at the opening to prevent the food from getting stuck.
#Automatic Cat Feeder
10 messages · Page 1 of 1 (latest)
For some reason, sometimes the stepper motor rotates when I activate the vibrator. The stepper motor receives its signal only from the ESP8266, not from the Arduino. The stepper motor is programmed to open/close by approximately 40° upon receiving a signal. The problem now is that when I open the lid and then start the vibrator, the lid sometimes opens another 40°. When the lid is supposed to close again, it only rotates back by 40°, leaving the lid still open by 40° due to the error signal from the vibrator.
On request, I can share the Arduino and YAML code here.
dont know, i tried servo motors too, but they didn't want to respond or spin like crazy. i will give it a try soon again, but since i was in a hurry the arduino solution came handy
yeah I've used that type of stepper before with esphome. Do you have the driver boards?
Ok. Start a thread (so we don't just flood your show-off) in #general-support if you want help with it
i have the uln2003 driver board
i will, as soon as i start with the coding again