DShot Motor Controller For Raspberry Pi 5 #piday #raspberrypi
Marian Vittek created a Dshot protocol for controlling brushless motors from a Raspberry Pi’s without burdening the CPU. Reported on by Hackster.io:
Typically, implementing DSHot on the Raspberry Pi 5 single-board computer would mean doing so in software — tying up the CPU when it might be needed for other tasks, with the potential for stuttering and responsiveness issues if the CPU is overloaded. Vittek’s implementation, though, takes advantage of the recently-released piolib library to offload the work to the RP1 — an in-house chip, the creation of which inspired the Raspberry Pi RP2040 and RP2350 microcontrollers, which normally handles the Raspberry Pi 5’s on-board low-speed interfaces.
More information is available in Vittek’s Reddit post, while the project source code is available on GitHub under the permissive MIT license. Anyone interested in making use of the Raspberry Pi 5’s RP1 chip in the same way will find piolibin Raspberry Pi’s utils GitHub repository under the permissive BSD three-clause license.
Each Friday is PiDay here at Adafruit! Be sure to check out our posts, tutorials and new Raspberry Pi related products. Adafruit has the largest and best selection of Raspberry Pi accessories and all the code & tutorials to get you up and running in no time!
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