element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Pi-Fest
  • Challenges & Projects
  • Design Challenges
  • Pi-Fest
  • More
  • Cancel
Pi-Fest
Blog Pi-Fest - Entry Theme Player with Raspberry Pi Pico (Blog5)
  • Blog
  • Forum
  • Documents
  • Polls
  • Files
  • Leaderboard
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: asokfair
  • Date Created: 9 Aug 2022 3:08 AM Date Created
  • Views 1930 views
  • Likes 9 likes
  • Comments 1 comment
  • asokfair
  • Pi-Fest Design Challenge
  • circuitpython
  • raspberry pi pico
  • embeddedclub
  • pifest
  • pi-fest
  • MakeSomeNoise
Related
Recommended

Pi-Fest - Entry Theme Player with Raspberry Pi Pico (Blog5)

asokfair
asokfair
9 Aug 2022
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:

image

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
image

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).
image
image

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.
image
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


 



  
  • Sign in to reply
Parents
  • dougw
    dougw over 3 years ago

    Nice build.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
Comment
  • dougw
    dougw over 3 years ago

    Nice build.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
Children
No Data
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube