Tag Archives: LED

RFID Project to Lock and Unlock Control of Servo

In this video lesson we explore a project where control access to a servo is activated by an RDID tag. In order to position the servo with the pushbuttons, the system must be unlocked by a RDID tag. When the system is locked, the LED is red, when the system is unlocked, the LED is green. When using the breadvolt, or any battery power supply on a breadboard project, do not turn the power supply on while the Raspberry Pi Pico is connected to USB, as you could generate voltage conflicts. It is an either or. If the USB is connected, the power supply should be OFF. Or if you are going to connect the USB, first turn off the power supply.

RFID-SERVO
This schematic allows servo control to be granted via RFID tag

For your convenience, this is the code we developed below.

 

Simple Client Server Project for the Raspberry Pi Pico W

In this video lesson we demonstrate a simple client server project on the Raspberry Pi Pico W. The Pico is configures as the server, and your desktop pc or laptop is configures to be the client. You will be running python on your PC. The project requests the user on the PC to specify a desired color. The color is then sent to the Pico, the Server.

For this lesson we are not using the breadvolt power supply, but we will use it in future lessons. For this lesson, you do not need to attach it, and if you do attach it, leave it ‘off’.

Below is the schematic for the Server Side of the project:

LED and Buttons
Schematic for Circuit to Demonstrate a Client Server Example on Pi Pico

For your convenience, this is the code we developed in the video

Remember you must create a secrets.py file, and save it on the Pi Pico in the lib folder. You need to specify YOUR WiFi name and password in the file.

And finally, here is the code to run on the client side on your PC

 

Create a Bouncing Pixel on the Arduino Uno R4 WiFi LED Matrix

In this video lesson we create a bouncing pixel on the Arduino Uno R4 LED Matrix. For your convenience we include the code developed in the video below.

 

MicroPython MultiCore Programming on the Raspberry Pi Pico Using Threading

In this video I show how to use both cores on the Raspberry Pi Pico W. We will explore an example using threading where we will operate 2 LED and a servo.

 

Create a Dimmable LED with a Potentiometer on the Raspberry Pi

In this video lesson, we show how to create a dimmable LED on the raspberry pi using a potentiometer. Below is the schematic of the circuit we will be using.

Dimmable LED
Pot Controlled Dimmable LED

Then we used the following code to read values through the ADC0834 analog to digital chip, and then apply a PWM signal to control the brightness of the LED.