Servo control! #NoCode #IoT “Adafruit Industries – Makers, hackers, artists, designers and engineers!


The Adafruit IO team has just released an update for Adafruit IO and the no-code IoT firmware, WipperSnapper. This update brings the ability to control the position of a servo motor from Adafruit IO, without writing a line of code. Servos can be used in any IoT project where you need to physically display a value or open a door/window/lock.

Combine Adafruit IO actions with servos for rules-based IoT projects

We have also enabled servo control from an Adafruit IO Action. For example, the action below tells a servo to write a pulse width of 2500uS if the temperature sensor (also connected to a WipperSnapper device) is above 70 degrees Celsius. The servo could be attached to a door and open it if the temperature is too high.

How we implemented servos in Adafruit IO

The Adafruit store has many different types of servo motors that can be rotated 180 degrees (90 degrees in each direction). While most servo motors (standard, non-continuous) generally adhere to the “default” servo pulse widths provided by the Arduino library (1ms to 2ms), the defaults may not give you a full 180 degree movement. Instead of setting the angle of the servo, Adafruit IO’s servo support includes a “generic servo component” that allows you to set the minimum and maximum pulse width for your servo, in uS. Also, if your servo uses a non-standard frequency (other than 50Hz), it can be changed from here.

As always, if you have any suggestions or bugs to report regarding these new features, please let us know in the forums.

Read Quick Start Guide: Adafruit IO WipperSnapper to get started for free today >>>

Stop the breadboard and soldering – start crafting right away! Adafruit’s Circuit Playground is packed with LEDs, sensors, buttons, alligator clips, and more. Build projects with Circuit Playground in minutes with the drag-and-drop MakeCode programming site, learn computer science using the CS Discoveries class at code.org, jump into CircuitPython to learn Python and hardware together, TinyGO , or even use the Arduino IDE. Circuit Playground Express is the newest and best Circuit Playground board, with support for CircuitPython, MakeCode and Arduino. It has a powerful processor, 10 NeoPixels, a mini speaker, infrared reception and transmission, two buttons, a switch, 14 crocodile clips and numerous sensors: touch capacitive, IR proximity, temperature, light, motion and sound. A whole world of electronics and coding awaits you, and it fits in the palm of your hand.

Join over 35,000 creators on Adafruit’s Discord channels and join the community! http://adafru.it/discord

Do you have an amazing project to share? The Electronic Show and Tell takes place every Wednesday at 7 p.m. ET! To sign up, head over to YouTube and check out the show’s live chat – we’ll post the link there.

Join us every Wednesday night at 8 p.m. ET for Ask an Engineer!

Follow Adafruit on Instagram for top secret new products, behind the scenes and more https://www.instagram.com/adafruit/

CircuitPython – The easiest way to program microcontrollers – CircuitPython.org

Get the only spam-free daily newsletter on wearable devices, running a “maker business”, e-tips and more! Subscribe on AdafruitDaily.com!

No comments yet.

Adafruit has a “Be Great to Each Other” feedback policy. Help us keep the community here positive and helpful. Stick to the topic, be respectful of creators of all ages and skill levels. Be nice and don’t spam – Thanks!

Previous Firefox 104.0.2 fixes crashing, media playback and touch issues
Next Samsung One UI 4.1.1 Update and Bug Tracking (Continued)