mastodon.ie is one of the many independent Mastodon servers you can use to participate in the fediverse.
Irish Mastodon - run from Ireland, we welcome all who respect the community rules and members.

Administered by:

Server stats:

1.7K
active users

#radiocontrol

0 posts0 participants0 posts today

RC Airplanes are a wonderful and relaxing (depending on your craft, lol) hobby.
And it's also quite affordable with ready-to-go starter kits for just over $100.

But if you want to join an RC club to get access to an actual flying field, you have to shell out $50-$85 per year for the AMA (Academy of Model Aeronautics) membership in the US, and an additional $100 per year for most flying fields.

I mean, if you're serious about your hobby (any hobby), that might indeed be chump-change to you, but it's really not a trivial amount of money at all.

Playing with two servos today.

Controlling those 2 servos remotely with ESP32. Now, the communication with MC8RE is via SBUS.

Unfortunately, the library for SBUS doesn't support Arduino Due. So, ESP32 it was. Still, programmed with Arduino IDE.

Here's the guide for what I've done: kravemir.org/how-to/remotely-c

#arduino #esp32 #servo #radiocontrol #remotecontrol

kravemir.orgRemotely control 2 axis servo with Arduino and MC8BReceive data from SBUS, transform to corresponding servo control values, and with smoothing of values to prevent jitter.
Continued thread

Reading multiple PWM(s) with interrupts works the same with ESP32 chip, and still using Arduino IDE.

The ESP32 has a more compact package, but less I/O pins.

Here's a video with demonstration, that I've made:

youtube.com/watch?v=SgEUJ-Az4C

However, SBUS is a better way to read data from MC8RE, as 8th channel of MC8B-Mini isn't present in the receiver's PWM outputs.

Though, reading multiple PWM(s) via interrupts was an interesting learning experiment.