PiHut Codemas Advent Calendar Day 12 - RGB LEDS with a Raspberry Pi Pico
Today is the final part of this Raspberry Pi Pico Pihut miniseries, and in drawer 12 we find a WS2812 RGB LED strip.
We get code running with it using the Neopixel library and control the LED strip via a button and potentiometer. We get creative and wire the ADC into controlling the hues of a rainbow!
Music: Sweet Sound - by me. Comical Banjo - by Jason Shaw on https://audionautix.com, released under the Creative Commons Attribution 4.0 International License. God Rest Ye Merry Gentlman - DJ Williams - Youtube sound library Joy to the world - DJ Williams - Youtube sound library Jingle Bells - DJ Williams - Youtube sound library
Helena, my lab helper and daughter assists in building a robot based on the Kitronic v2 motor driver board - a board adding this capability to the BBC Microbit.
We write some code for it using Python to do the basics - and discuss the board.
Link to information about the driver board used: https://shop.pimoroni.com/collections/micro-bit/products/motor-driver-board-for-the-bbc-micro-bit
To help with translating and transcribing my videos: http://www.youtube.com/timedtext_cs_panel?tab=2&c=UCVllQ0CH357h7jTpzLB9hCA
Support me on Patreon - so I can remove ads and make more videos: https://www.patreon.com/orionrobots (ps there are perks for supporters!)
This video does not contain a paid product placement.
...
https://www.youtube.com/watch?v=c7jLPN8uqz8
First day with an electronic sound Advent Calendar
Mostly tinkering with an LED that includes a resistor
There are no paid promotions in this video
...
https://www.youtube.com/watch?v=wO5uF3sl8Tw
Take a look with me at the Robot Cupboard in my lab - a backdrop for many of my videos - and at the robots and projects that lurk within. Some of which have been seen, some haven't yet been shown.
In the video: esp8266, logibloks, the uArm based armbot, the maplin robot arm, A Lego Mindstorms NXT robot, Arachnid Labs cards, MIntygeek, Arduino's, Raspberry Pi's and robots.
To help with translating and transcribing my videos: http://www.youtube.com/timedtext_cs_panel?tab=2&c=UCVllQ0CH357h7jTpzLB9hCA
Support me on Patreon - so I can remove ads and make more videos: https://www.patreon.com/orionrobots (ps there are perks for supporters!)
This video does not contain a paid product placement
...
https://www.youtube.com/watch?v=9i3bSW3xsgA
In the previous live session, I soldered together a recording light on perf-board (https://www.youtube.com/watch?v=r_g3Zb8F69c) - in this video I start testing and troubleshooting it. The plan was to try and talk to it via serial and then WiFi, then clean it up. What happened instead was lots of troubleshooting part by part. In theory it should still have the original code I made, so this is mostly a test of my perfboard design and soldering.
I needed to move some of the wires, measured voltages plenty (Thou Shalt Measure Voltages) and found I needed to tie different sets of pins to get more sense. Unfortunately I did not get it fully working - and will probably need to analyse it with the scope.
Later testing (After the video) I found that the bootloader is outputting on 76800 - which I didn't try in the video. I suspect there will be more debugging but we now get: "rst cause:1, boot mode:(3,0)" - which may still indicate a GPIO pin at the wrong state (needing to be pulled up or down).
To help with translating and transcribing my videos: http://www.youtube.com/timedtext_cs_panel?tab=2&c=UCVllQ0CH357h7jTpzLB9hCA
Support me on Patreon - so I can remove ads and make more videos: https://www.patreon.com/orionrobots (ps there are perks for supporters!)
...
https://www.youtube.com/watch?v=Vs2-_9Dd9mM
In my PiWars 2019 robot build, I had some trouble with the bottom plate, designed to fit under the robot and hold the motor batteries.
In this video I talk through the issues and 3d print a new one, along with an update on the state of my PiWars robot at the time of filming.
PiWars is a Raspberry Pi based robotics competition building autonomous robots with a Raspberry Pi. If you would like to build a similar robot, I suggest taking a look at my book on the subject titled "Learn Robotics Programming" at https://www.packtpub.com/hardware-and-creative/learn-robotics-programming
...
https://www.youtube.com/watch?v=RWvHWIobZMU
In this video I continue my video series on Spiderbot, an 18 Servo Hexapod built using an Adafruit 16 servo controller and an Esp8266/NodeMCU board. I add turning and going backwards to the walking gaits I already have working. I encounter a few challenges and deal with them.
See the previous part of this series at: https://youtu.be/4Qb_wa9hWxw
The code on github: https://github.com/orionrobots/esp8266_video_series/tree/master/spiderbot
If you'd like to contribute to me and my videos, and for exclusive perks take a look at my Patreon account: https://www.patreon.com/orionrobots
(If I get enough supporters - Ads are the first thing that will go!)
To help with translations and transcriptions please use: http://www.youtube.com/timedtext_cs_panel?tab=2&c=UCVllQ0CH357h7jTpzLB9hCA
The music used in this video is my own.
There are no paid product placements in this video.
...
https://www.youtube.com/watch?v=HA8QogFv0FU
I need to connect many sensors to the raspberry pi on my robot.
The black hat hacker from Pimoroni has a ribbon cable and Io extender so I can bring more of the electronics down to the lower levels,closer to batteries, and also reduce the top heavy nature of the robot a bit.
I'll be moving the piconzero onto the extender, and attaching two more HC-SR04 sensors to it, giving a total of 3. I'm tempted to move to power shim down there too, so I can then swap the pi out but keep the rest of the robot connections the same.
Much soldering to do tonight including a board to interface the sensors. And lots of coding too. Panic time!
...
https://www.youtube.com/watch?v=r-rxfTIvV9E
Today I'm in the lab with Pheobe, and we open and build day 7 of the Pihut Codemas Calendar (18th Dec), adding a PIR motion sensor to the Raspberry Pi Pico circuit.
We get creative with it, and invite Jon to test our creation.
This is not a paid promotion.
...
https://www.youtube.com/watch?v=ozqDmSj6VTY