LibrePilot Forum

Users => Vehicles - Other => Topic started by: facenorbert on August 17, 2019, 04:34:31 pm

Title: Controlling CC3D gimbal movements using esp8266
Post by: facenorbert on August 17, 2019, 04:34:31 pm
Hello I just wonder after playing with my newly build CC3D 2 axis servo gimbal, if there is a possibility to control movements using esp8266 module instead traditional radio receiver as a PWM signal provider to receiver port.
Thank you
Title: Re: Controlling CC3D gimbal movements using esp8266
Post by: f5soh on August 17, 2019, 09:13:27 pm
Hi,

A esp8266 can output two PWM signals (https://arduino-esp8266.readthedocs.io/en/2.5.2/libraries.html#servo) (like ESP-01), control can be done using a small web page with sliders or input values (no need to develop a small app in this case) periodically or on demand sent to esp.
Title: Re: Controlling CC3D gimbal movements using esp8266
Post by: facenorbert on August 17, 2019, 10:06:11 pm
I've got one of these  esp 32s node mcu.
If you could please provide some details how to set all up. I am newbie
Title: Re: Controlling CC3D gimbal movements using esp8266
Post by: f5soh on August 17, 2019, 10:39:10 pm
I think the easy way is use arduino for coding but can be also done using nodeMCU and a LUA script.

There is plenty of IOT examples on the internet used for RGB dimmer like this one (https://randomnerdtutorials.com/esp8266-rgb-color-picker/)

Will need a small amount of changes to match your needs.
Title: Re: Controlling CC3D gimbal movements using esp8266
Post by: facenorbert on August 19, 2019, 08:20:13 am
I think the easy way is use arduino for coding but can be also done using nodeMCU and a LUA script.

There is plenty of IOT examples on the internet used for RGB dimmer like this one (https://randomnerdtutorials.com/esp8266-rgb-color-picker/)

Will need a small amount of changes to match your needs.

OK I'll try it.thank you