Control a Servo Motor with the micro:bit’s Tilt Angle
The micro:bit is a simple, rugged, easy to program microcontroller aimed at the education market and you get a lot for your money. The unit is programmed with a browser interface. That means no huge development environments to install on your hardrive making the time from unboxing to “Hello World” literally minutes. The simplest way to push code into the micro:bit is with the JavaScript Blocks editor. However, Java and Python can also be used.
With three mouse drags we created a program to have a servo motor track the tilt angle of the micro:bit. It doesn’t get much easier.
Have an amazing project to share? The Electronics Show and Tell is every Wednesday at 7:30pm ET! To join, head over to YouTube and check out the show’s live chat and our Discord!
Python for Microcontrollers – Adafruit Daily — Python on Microcontrollers Newsletter: A New Arduino MicroPython Package Manager, How-Tos and Much More! #CircuitPython #Python #micropython @ThePSF @Raspberry_Pi
EYE on NPI – Adafruit Daily — EYE on NPI Maxim’s Himalaya uSLIC Step-Down Power Module #EyeOnNPI @maximintegrated @digikey