CADIO Website:
egycad.com/cadio/
CADIO Downloads Center:
egycad.com/cadio/downloads/
CADIO Developers Docs:
egycad.com/cadio/docs/discover-cadio/
CADIO Firmware For ESP8266:
egycad.com/cadio/docs/firmware/esp8266-firmware/
CADIO Firmware For ESP32:
egycad.com/cadio/docs/firmware/esp32-firmware/
---------------------------------------------------------------
While preparing for this video, I was thinking about the best way to illustrate the idea, and in the end, I built this linear actuator.
It should simulate any device using a motor spinning in two directions, to make something travel between a starting point, and an ending point, like shutters, curtains, garages, electric driven doors, or any similar devices.
And just like all those devices, my simulation circuit ends with three wires, using them we can control the moving direction.
To control this device, we need a two relays module. And a shutter switch, which is simply two pushbuttons with a common pin.
We connect the motor three wires to the relays. The relays signal pins to the ESP GPIOs 12 and 14. The shutter switch to GPIOs 4 and 5.
In CADIO info file devices table, we select the device type as shutter.
Then select the open and close relays GPIOs.
As well the open and close switches GPIOs.
That's it! The device will appear in the app, and the first thing we should do, is tell CADIO about our device's full opening time, which is simply the time our device takes to move from the start point to the end point, in my case, it's 8 seconds as default.
Now we can open and close our device using CADIO app.
We can adjust the opening position using this slider.
Holding any switch will make the device move to the switch direction, it will still move until we release the switch.
A double click on any switch will make the device fully open, or fully close, and we won't have to hold the switches for a long time. And while it is moving, a simple click will make it stop immediately in its current position.
And just like any CADIO device, we can set timers and schedules, control it with voice and RF remote controllers, and all other features.
Please let me know in the comments if my idea of building this linear actuator was a good idea! I would be very happy to read your comments and know your opinion.
And if you are interested, subscribe to our channel, bookmark our website, feel free to Try CADIO, feel free to contact us.
コメント