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
STEM Projects
  • Learn
  • Learning Center
  • STEM Academy
  • STEM Projects
  • More
  • Cancel
STEM Projects
Blog Shedule & Homework Robot - Hardware (part #6)
  • Blog
  • Forum
  • Documents
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join STEM Projects to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: yuritikhonov
  • Date Created: 28 Jun 2015 3:45 PM Date Created
  • Views 340 views
  • Likes 0 likes
  • Comments 0 comments
  • schedule_bot
  • teachers_pet
  • classroomrobot
  • robot
  • matlab
  • teachers pet robotics design challenge
  • arduino
Related
Recommended

Shedule & Homework Robot - Hardware (part #6)

yuritikhonov
yuritikhonov
28 Jun 2015

Good day comrades!

 

I finally have some free time, and today I bring to your attention a new article! This time, I'll tell you about the hardware of my robot.

image

The project includes the following electronic components:

  • Parallax continuous rotation servo (2 pcs).
  • Parallax robotics shield kit (1 pcs).
  • Arduino Uno (1 pcs).
  • Sound card (from previous articles, 1 pcs).
  • AA batteries (5 pcs).
  • Micro SD card slot (for the next stage, 1pcs)

 

To date the robot is fully assembled, but if necessary it will not be difficult to modify a bit its construction, in particular using microSD card slot and replacing Arduino Uno by Arduino Due. However, the initial idea of the project may be realized just now.

As for melody playback, it works, of course:

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

 

Also, I tried the robot in motion. To do this, I wrote a simple program that makes the robot move in a random route:

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

 

The program of his movement as a whole is very simple and everyone can try it on his robot:

#include <Servo.h>
#define LSERVO 13
#define RSERVO 12
#define SPD 0

Servo Lservo, Rservo;

int getRand(void)
{
  long r = random(0+SPD, 180-SPD);
  r = (r / 10) * 10;
  return (int)r;
}

void setup(void)
{
  Lservo.attach(LSERVO);
  Rservo.attach(RSERVO);
  Lservo.write(90);
  Rservo.write(90);
  randomSeed(analogRead(0));
}

void loop(void)
{
  Rservo.write(getRand());
  Lservo.write(getRand());
  delay(1000);
}

 

Before finishing the article, I want to do important announcements:

  1. My [survey] is nearing completion and the next week I’ll finally decide in what direction I’ll have to go on.
  2. I like very much the melody from the Star Wars, but I think you have your favorite melody you want to be performed by my robot. Any suggestions? Write it in [this] topic.
  3. Due to the fact that the dates of the competition [were changed] I'm not going to rush things and immediately post the 7th article, instead I’ll spend more time writing and debugging the robot’s software, and only after that I'll post the following article.

 

Thank you. See you soon!

  • 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