Hi Everyone,
This is the final blog of this project , explains the overall concept and works. The previous blogs are listed here
Blog1 , Blog2 , Blog3, Blog4
Concept
The concept of this project is to play background music on a person entry. The raspberry pi pico is used in this
project to play bgm (mp3 files). PIR sensor is used to detect the motion or person entry. NeoPixel RGB LED rings used
to produce the party effect with lighting.This entire setup can be
mounted on the wall or entrance point. This idea can be used in simple party /stage performance events.
Block Diagram:
Design
The Raspberry pi pico is the main controller, it is interfaced with PIR sensor (BL14) and it senses the motion over interrupt.
On the other end the MAX class D amplifier board is interfaced over a I2S bus, The output of this amplifier is mono and
played on the 3W speaker. GM Panel boards and speakers are used in this project. The Pico runs with 5V supply. To deliver
5V I have used the GM USB module to convert the 230V AC into 5V. All the necessary wirings are done behind the switch panel.
Software
The Mu Editor is used for coding which is circuit python. Couple of library's from adafruit are used to run the NeoPixel Ring with
Rainbow effect. The lights animations change based on the music. The mp3 files are stored in the board's internal memory. The code can
be downloaded from here. https://github.com/embeddedclub/circuitpython
This is the final blog of this project , explains the overall concept and works. The previous blogs are listed here
Blog1 , Blog2 , Blog3, Blog4
Concept
The concept of this project is to play background music on a person entry. The raspberry pi pico is used in this
project to play bgm (mp3 files). PIR sensor is used to detect the motion or person entry. NeoPixel RGB LED rings used
to produce the party effect with lighting.This entire setup can be
mounted on the wall or entrance point. This idea can be used in simple party /stage performance events.
Block Diagram:
Design
The Raspberry pi pico is the main controller, it is interfaced with PIR sensor (BL14) and it senses the motion over interrupt.
On the other end the MAX class D amplifier board is interfaced over a I2S bus, The output of this amplifier is mono and
played on the 3W speaker. GM Panel boards and speakers are used in this project. The Pico runs with 5V supply. To deliver
5V I have used the GM USB module to convert the 230V AC into 5V. All the necessary wirings are done behind the switch panel.
Software
The Mu Editor is used for coding which is circuit python. Couple of library's from adafruit are used to run the NeoPixel Ring with
Rainbow effect. The lights animations change based on the music. The mp3 files are stored in the board's internal memory. The code can
be downloaded from here. https://github.com/embeddedclub/circuitpython
support for lib here https://learn.adafruit.com/getting-started-with-raspberry-pi-pico-circuitpython/neopixel-leds
Board Setup
The project was initially built on breadboard and then moved into the GM switch panel board.
Dummy plates are used to mount the PIR sensor and NeoPixel Ring. This complete setup is fixed into the
6 Module wall mounted box. The 230v Ac power supply is given to the USB charging module (Rated 2A , 5V Output).
Working Demo
The setup is powered ON. The PIR sensor detects the motions and plays the BGM music randomly with NeoPixel RGB animation.
3W speaker really sounds good.
Extending this project with a bigger actual speaker and larger series of hanging lights will give the party effect. Hope i have made
some nose with Raspberry Pi Pico and you can hear it here.https://www.youtube.com/watch?v=jdMXweclg3E
some nose with Raspberry Pi Pico and you can hear it here.https://www.youtube.com/watch?v=jdMXweclg3E