element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • 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 & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • 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
Design For A Cause 2021
  • Challenges & Projects
  • Design Challenges
  • Design For A Cause 2021
  • More
  • Cancel
Design For A Cause 2021
Blog Desktop Merry-go-round #4 Making the GoAround
  • Blog
  • Forum
  • Documents
  • Polls
  • Files
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: fyaocn
  • Date Created: 27 May 2021 1:11 AM Date Created
  • Views 517 views
  • Likes 3 likes
  • Comments 0 comments
Related
Recommended

Desktop Merry-go-round #4 Making the GoAround

fyaocn
fyaocn
27 May 2021

      • 1 The Build of Merry-Go-Around
      • 2 Play Melody
      • 3 Motor Drive
      • 4 Next to do

1 The Build of Merry-Go-Around

Make the support frame and decorated with favorite avatar, the plate can turn with DC motor.

image

2 Play Melody

The best part of Nano 33 IoT is arduino library. Import Musicbuzz.h

#include <MusicBuzzer.h>


/*
  Author: Everton Ramires
  More Tutorial: https://www.youtube.com/channel/UC7zG4YQJc8v-9jNGQknOx5Q


  Based on the great work of robsoncouto at github (https://github.com/robsoncouto/arduino-songs).


  CURRENT SONG OPTIONS:
  (PT-BR)OPÇÕES ATUAIS DE MUSICAS:




  music.asabranca();
  music.babyelephantwalk();
  music.bloodytears();
  music.brahmslullaby();
  music.cannonind();
  music.cantinaband();
  music.doom();
  music.furelise();
  music.gameofthrones();
  music.greenhill();
  music.greensleeves();
  music.happybirthday();
  music.harrypotter();
  music.imperialmarch();
  music.jigglypuffsong();
  music.keyboardcat();
  music.merrychristmas();
  music.miichannel();
  music.minuetg();
  music.nevergonnagiveyouup();
  music.odetojoy();
  music.pinkpanther();
  music.princeigor();
  music.professorlayton();
  music.pulodagaita();
  music.silentnight();
  music.songofstorms();
  music.startrekintro();
  music.starwars();
  music.supermariobros();
  music.takeonme();
  music.tetris();
  music.thegodfather();
  music.thelick();
  music.thelionsleepstonight();
  music.vampirekiller();
  music.zeldaslullaby();
  music.zeldatheme();
*/


#define BUZZER_PIN 6


void setup()
{
  music.init(BUZZER_PIN);
}


void loop()
{
  music.nevergonnagiveyouup(); //YOU'VE BEEN RICK ROLLED
  delay(2000);
}

 

Select pin 6, connected with on 0.8ohms speaker, the PWM drives the speaker for melodies of your choice.

Only 4 lines is needed.

But it would be better , 100ohms resistor shall be wired in series against overload of the speaker.

 

3 Motor Drive

3-6V DC motor with gear is used. But drive current shall be 50mA mininum, one driver is needed. I have tried with relay, L298N, ULN2003, it would be perfect with 5V relay.

But the nano 33 IoT can provide voltage level of 3.3V, the Relay is Ok from 4V-6V as input driver, One voltage shift is needed.

The order need some time to delivery. So, I have to wait for a while.

 

4 Next to do

Put all the parts together, the Merry Go around can be conntrol remotely from Wifi to turn with blinking led and melody.

The vocal control shall be used with remote microphone and AI cloud. AI on the edge is not fully functioned at least for now.

  • Sign in to reply
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