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
    • 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
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Dev Tools
    • Manufacturers
    • Raspberry Pi
    • RoadTests & Reviews
    • Avnet Boards Community
    • Product Groups
  • 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
Project Videos
  • Challenges & Projects
  • element14 presents
  • Project Videos
  • More
  • Cancel
Project Videos
Documents Episode 439 - Mechanical Arcade Game with Barebones Arduino
  • Documents
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Project Videos requires membership for participation - click to join
Actions
  • Share
  • More
  • Cancel
Engagement
  • Author Author: tariq.ahmad
  • Date Created: 23 Mar 2020 4:58 PM Date Created
  • Last Updated Last Updated: 30 Jun 2022 5:58 PM
  • Views 1919 views
  • Likes 10 likes
  • Comments 19 comments
Related
Recommended

Episode 439 - Mechanical Arcade Game with Barebones Arduino

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

Clem reads all your comments on element14.com. A lot of people want to save money by shrinking their Arduino projects down to the bare microcontroller! So Clem builds a mechanical arcade style game by prototyping it on a classic Arduino Uno and migrating it to a standalone ATmega328P with internal 8Mhz clock, to show you the absolute minimum configuration needed to get your project running on custom hardware!

Supplemental Content:

  • From Arduino to a Microcontroller on a Breadboard:https://www.arduino.cc/en/Tutorial/ArduinoToBreadboard
  • Episode 439: Mechanical Arcade Game with Barebones Arduino: Full Reveal
  • Take the Arduino Quiz:Arduino Fundamentals: Part I: Quiz
  • Join the NanoRama Competition: NanoRama

Bill of Material:

Product Name Manufacturer Quantity Buy Kit
OLIMEX Programmer, PDI, TPI, Program tiny AVR using TPI Interface & mega AVR using ISP Interface olimex 1 Buy Now
MICROCHIP 8 Bit MCU, AVR ATmega Family ATmega328 Series Microcontrollers, 20 MHz, 32 KB, 2 KB, 28 Pins, DIP Microchip 1 Buy Now
TE CONNECTIVITY IC & Component Socket, 28 Contacts, DIP Socket, 2.54 mm, 7.62 mm, Phosphor Bronze TE 1 Buy Now
MULTICOMP 3D Printer Filament, 1.75 mm, PLA, Black, 1 kg Multicomp 1 Buy Now
KINGBRIGHT LED, Low Power, Red, Through Hole, T-1 3/4 (5mm), 20 mA, 2 V, 617 nm Kingbright 17 Buy Now
MULTICOMP PRO Through Hole Resistor, 180 ohm, MCF Series, 250 mW, ± 5%, Axial Leaded, 250 V Multicomp 20 Buy Now
MULTICOMP Solder Flux, Rosin, Soldering, Pen Applicator, 10 ml, 9.3 g ChipQuick 1 Buy Now
APEM Joystick, 2, 6 A, 250 V, 4 Position Apem 2 Buy Now
TEXAS INSTRUMENTS Shift Register, HC Family, 74HC595, Serial to Parallel, 1 Element, 8 bit, DIP, 16 Pins TI 2 Buy Now

 

Additional Parts:

 

Product Name

Screws, Steel rod, Steel balls, Wood  and acrylic for the plates

PCB  ordered from Aisler.net. (files not released due to errors in the design
Attachments:
MechArcadeGame_Resources.zip
image
Mechanical Arcade Game with Barebones Arduino

element14 Presents  |  About Clem  |  Project Videos

  • standalone microcontroller
  • shift register
  • arduino barebones
  • avr
  • arduino on breadboard tutorial
  • te
  • clem
  • microchip
  • joystick
  • arduino arcade game
  • arduino on breadboard
  • bare arduino chip
  • e14presents_mayermakes
  • arduino flash bootloader
  • diy game
  • apem
  • custom hardware
  • standalone atmega328
  • atmega328p
  • pinball
  • multicomp
  • arduino tutorial
  • shrink your arduino project
  • mechanical game
  • flashing bootloader
  • olimex
  • arduino game
  • arduino
  • how to shrink arduino
  • diy pinball
  • arcade game
  • friday_release
  • mayermakes
  • isp programmer
  • e14p_CMM
  • Share
  • History
  • More
  • Cancel
  • Sign in to reply

Top Comments

  • DAB
    DAB over 2 years ago +3
    Nice build, but you need to add a tilt detector to keep the game fair. DAB
  • Workshopshed
    Workshopshed over 2 years ago +3
    A barebones Arduino project can be a good entry point into designing your own PCBs. If you get one already with the bootloader pre-installed then you can programme it using a USB to TTL adaptor. That's…
  • airbornesurfer
    airbornesurfer over 2 years ago +2
    I appreciate the level of difficulty involved in my game! Reminds me of learning to hover back in flight school!
  • dubbie
    dubbie over 2 years ago in reply to Workshopshed

    Andy,

     

    Yes, I see it now. That looks about right. Maybe I'll have a go at making one again some time. If only I could find my own circuit diagram!

     

    Dubbie

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • Workshopshed
    Workshopshed over 2 years ago in reply to dubbie

    Dubbie, yes, there is a capacitor on the reset line (see my circuit above) this so you can use the transition of the "Data ready" signal to reset the chip ready for programming.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • dubbie
    dubbie over 2 years ago in reply to mayermakes

    Clemens,

     

    Yes, this looks like it, although I'm sure there was a capacitor on the reset line somewhere, which I think was to delay the reset on power up to 'trick' (?) the Arduino IDE into thinking it was a proper Uno. Yes, you did have to have a serial to TTL serial converter  but you only need one for all projects and it is only used when programming. I must admit that at the University we did design the PCB so that the USB to serial (MM232R) could be broken off when no longer needed, but in the end we used it to power the boards from a USB port and avoided having to give students batteries.

     

    Dubbie

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • mayermakes
    mayermakes over 2 years ago in reply to dubbie

    thanks.

     

    to program mthe Atmega328p i used the ICSP interface of the bare chip and the Arduino IDE. YOur can replace the programmer with an arduino running the ArduinoISP sketch.
    but to just Upload in the conventional way there must be at least a Serial to USB converter involved either as Ftdi cable or an interface chip(like it is mounted on the arduino uno).

    the configuration you mean should be this one:

    https://www.hackster.io/116600/standalone-arduino-applied-in-projects-ed173e

    to programm the chip in this config, you still need to acces it either with a USB to Serial converter(FTDI cable) or ICSP

    the config with the 16mhz crystal is the same as descibed in the settings for an arduino uno, so no bootloader change is needed(if its already on the chip)

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • mayermakes
    mayermakes over 2 years ago in reply to Workshopshed

    Fully agree! thanks for sharing yout thoughts!

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • dubbie
    dubbie over 2 years ago

    A great and simple game but still with considerable challenge. I  liked the particular mechanism used to move the ball about, quite onnovative - I have never seen anything like it before.

     

    For making a barebones Arduino it is possible to just implement the reset and programming components along with the Arduino chip. I think it is about 2 or 3 capacitors and a resistor, possibly a crystal as well. Saves on all the messing about you did with programmers as you can then programme the Arduino in-situ directly from the Arduino IDE. If I can find a copy of the circuit I'll put it up. I have used it many times in the past to make very low cost Arduino based gizmos to use as give-aways at University Open Days (so they had to be cheap) as well as for laboratory classes.

     

    Dubbie

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • Workshopshed
    Workshopshed over 2 years ago

    A barebones Arduino project can be a good entry point into designing your own PCBs. If you get one already with the bootloader pre-installed then you can programme it using a USB to TTL adaptor. That's how I made the one for the UV Monitor. You can also use a Uno as a programmer to put the bootloader onto a blank ATMega (or set the fuses) https://github.com/NicoHood/HoodLoader2/wiki/Burn-the-bootloader-from-another-Arduino

     

    imageimage

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • cstanton
    cstanton over 2 years ago in reply to clem57

    Currently there's no part for that item in Newark, so you'll have to click to 'view it on the farnell store' or similar prompt.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • mayermakes
    mayermakes over 2 years ago in reply to clem57

    Exactly.

    but the link should lead you to your respective vendor site.

    Bitteschön.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • clem57
    clem57 over 2 years ago in reply to mayermakes

    So you are in Austria? Vielen Dank

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
>
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 © 2023 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