element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Members
    Members
    • Benefits of Membership
    • Achievement Levels
    • Members Area
    • Personal Blogs
    • Feedback and Support
    • What's New on element14
  • Learn
    Learn
    • Learning Center
    • eBooks
    • STEM Academy
    • Webinars, Training and Events
    • More
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • More
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • More
  • Products
    Products
    • Arduino
    • Dev Tools
    • Manufacturers
    • Raspberry Pi
    • RoadTests & Reviews
    • Avnet Boards Community
    • More
  • 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
Low Power IoT Design Challenge
  • Challenges & Projects
  • Design Challenges
  • Low Power IoT Design Challenge
  • More
  • Cancel
Low Power IoT Design Challenge
Blog Low Power IoT Design Challenge - Adding Sound
  • Blog
  • Forum
  • Documents
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Blog Post Actions
  • Subscribe by email
  • More
  • Cancel
  • Share
  • Subscribe by email
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: ralphjy
  • Date Created: 20 Oct 2021 10:35 PM Date Created
  • Views 163 views
  • Likes 0 likes
  • Comments 0 comments
  • modus toolbox 2.3.1
  • low_power_iot
  • jq6500
  • psoc® 62s2 wi-fi bt pioneer kit
  • mp3 player
Related
Recommended

Low Power IoT Design Challenge - Adding Sound

ralphjy
ralphjy
20 Oct 2021

I've recently discovered a nice integrated MP3 player  JQ6500 MP3 Player  and thought it would be a nice to add audio output to my project .

 

I'm also working to integrate the various pieces of functionality that I've been trying out.  I'm not as far along as I had hoped to be.  I'm still struggling to figure out the best way to incorporate some AI elements.

 

So far, I've integrated some basic control elements.  I have the microwave detector and the PSoC 62S2 communicating via MQTT through my RPi4 broker over WiFi.  I've incorporated the EInk display and the JQ6500 MP3 player.  I'm using FreeRTOS to integrate the various tasks and using queues to communicate between tasks.  I'll have to admit that I'm learning a lot.  Modus Toolbox is quite a capable tool, but I've found that it can be quite confusing because of the lack of interoperability of some of its features.  I'm just not far enough along the learning curve...

 

As an example, I thought adding the JQ6500 was going to be easy because I intended to control it by toggling GPIO pin states rather than using a UART.   There were lots of examples for configuring and using GPIO pins using the Device Configurator and the Peripheral Driver Library (PDL), so started down that path but I was getting lots of compilation errors.  It turns out that some of the tasks that I was modifying were using the Hardware Abstraction Layer (HAL) for GPIO and HAL and PDL(and Device Configurator) cannot be used together.  Once I figured that out, I switched to using only HAL functions.

 

Here is my project structure:

 

 

Here's a quick demo of my current functionality with sound and display:

(the sound you hear before motion is detected is me moving in my chair - I didn't realize I was making so much noise ).

 

You don't have permission to edit metadata of this video.
Edit media
x
Upload Preview

Anonymous
Element14

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 © 2022 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

  • Facebook
  • Twitter
  • linkedin
  • YouTube