![]() ![]() Starkey states that "This is a pretty crude project which brings up a Sony DualShock 4 (PS4) controller on Pico-W." but in our eyes, if it works, it works. You are free to download, modify and redistribute the design under Creative Commons Attribution 4.0 International License. But we thought we could a better job at designing one ourselves that also includes the Arduino pins. ![]() Replace the corresponding line with your MAC address, flash the code to the Inventor 2040 W, set your controller to pairing mode and you are good to go. Raspberry Pi has a pinout diagram for the Pico board here. Get 10 off by downloading it today The Raspberry Pi Pinout Diagram Introduction All Raspberry Pi models come with 40 GPIO pins on the main board (except for the Pico, which I have a separate guide for it here ). To simplify the process of connecting a Sony PlayStation 4 controller, Starkey has provided hard coded MAC address values from lines 59 to 66 in /src/bt_hid.c. Raspberry Pi without Python is like a car without an engine, you miss all the fun parts. Bluetooth on the Raspberry Pi Pico W (which Inventor 2040 W is based upon) is still only viable for use with the C language, and so Starkey has written the robot project code using C, and has helpfully provided a Github repository full of information on how to download, build and flash the UF2 file to your own Inventor 2040 W. The software side of the project is what caught our attention. ![]() The robot chassis is a Tiny4WD from Coretec Robotics (aka Brian Corteil / CannonFodder) sporting a transparent neon yellow acrylic frame. ![]() Starkey's hardware choice was Pimoroni's Inventor 2040 W, a board that we reviewed upon its release. Raspberry Pi Pico exposes 26 multi-function GPIO pins from a total of 36 GPIO pins available in RP2040 microcontroller. ![]()
0 Comments
Leave a Reply. |