NeoPixel is a brand of addressable RGB LED products from Adafruit, commonly used in maker projects for creating colorful, programmable lighting effects. These LEDs are easy to control with microcontrollers like Arduino, Raspberry Pi, and ESP32.
- Data flows sequentially from one LED to the next.
- First LED processes its data, then forwards the rest.
Applications
Decorative lighting.
Wearable technology.
Art installations.
Robotics and IoT projects.
ESP32 Development Board
Description: The ESP32 is a powerful microcontroller with Wi-Fi and Bluetooth capabilities, suitable for controlling NeoPixels due to its high processing speed and multiple GPIO pins.
NeoPixel LED
Description: Individually addressable RGB LEDs integrated with a controller chip.
Connecting Wires
Description: Insulated jumper wires or soldered connections to link components.
Breadboard
Description: A platform for assembling the circuit.
Connect:
- Neopixels GND pin to GND pin of ESP32
- Neopixels 5V pin of Neopixels to the 3.3V pin of ESP32
- Neopixels DI pin to pin 5 of ESP32
You must install this library : neopixel.py
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
import machine, neopixel import time n = 8 p = 5 np = neopixel.NeoPixel(machine.Pin(p), n) i=1 while True: if (i<10) : np[0] = (25*i, 10*i, i*10) #led 1 np[1] = (30+i*5, 24, 153) #led 2 np[2] = (5*i, 20*i, 22+i*5) #led 3 np[3] = (17*i, 20, 100) #led 4 np[4] = (12*i, 20*i, 0) #led 5 np[5] = (25, 10*i, 15) #led 6 np[6] = (12*i, 50, i*15) #led 7 np[7] = (10*i, 15*i, i*20) #led 8 np.write() i=i+1 time.sleep(1) else: i=1 |
Educational robotics refers to the use of robots and robotics technology to promote learning in educational settings. It involves the integration of technology, engineering, and computer science into the classroom, allowing students to engage in hands-on, project-based learning experiences.
In this context, our website represents an excellent resource for parents, teachers and children who wish to discover robotics.
Zaouiet Kontech-Jemmel-Monastir-Tunisia
+216 92 886 231
medaliprof@gmail.com
Robotic site created by MedAli-Teacher info