Mixiaoxiao / Arduino-HomeKit-ESP8266

Native Apple HomeKit accessory implementation for the ESP8266 Arduino core.
MIT License
1.48k stars 278 forks source link

Use Homekit-ESP8266 to control a stepper driver. #234

Open robban1113 opened 10 months ago

robban1113 commented 10 months ago

Hi guys! First of all I want to say thank for a great library(even though I don't master it myself yet)!

I'm renovating my apartment but now everything stands still due to an issue.

The think is I'm new into Arduino and programming and have tried to make a smart device to my home. I know that there is plenty of options that makes it possible to control a stepper motor thru wifi but I want to be able to integrate it to my Homekit app without having to use Homebridge.

In this project I use Wemos D1 mini, ULN2003 driver and 28BYJ-48 stepper motor to control my blinds. Early on I tried to use the "simplest led" example to check if I could control the d1 mini which works great and I like how easy it is to integrate it to my Homekit app.

The issue for me is that I don't know how to make it control my stepper motor instead of making the built in LED. Could someone please provide me with the code so that I can make this possible? Please!

robban1113 commented 10 months ago

Created a repository if that helps. https://github.com/robban1113/Blinds

robban1113 commented 10 months ago

Updated the accessory category in the .C file.

theolecoutre commented 8 months ago

Hello, have you tried using this library by maximkulkin ?

I'm using this library with an ESP8266, an ULN2003 and a 28BYJ-48 as you, and it's working pretty well.