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
microbit
  • Learn
  • Learning Center
  • STEM Academy
  • microbit
  • More
  • Cancel
microbit
micro:bit Blog [PROJECT] BBC Micro:bit – Atari Punk Console by Cabe
  • Blog
  • Forum
  • Documents
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join microbit to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: Catwell
  • Date Created: 21 Feb 2019 5:32 AM Date Created
  • Views 1994 views
  • Likes 6 likes
  • Comments 1 comment
  • intermediate micro:bit projects
  • tutorial
  • stem
  • project
  • microbit
  • intermediate_microbit_projects
  • diy
  • cabeatwell
  • stem projects
Related
Recommended

[PROJECT] BBC Micro:bit – Atari Punk Console by Cabe

Catwell
Catwell
21 Feb 2019

The Atari Punk Console, a name that Kaustic Machines dubbed, is an astable square wave driving a monostable oscillator. This was done with two 555 timer ICs, typically. The output was sound that resembled those produced by the old Atari 2600. It’s origin lays in a 1980 Radioshack book called “Engineer’s Notebook: Integrated Circuit Applications.”

image

This image, above, is the typical setup for the Atari Punk Console. (Image credit: Wikipedia)

 

In this project, I thought I would attempt to reproduce the sound using a BBC Micro:bit. It’s not exactly the same, but it’s fairly close. Two potentiometers will control this device too.

  

The software works as follows:

- Power it up, it immediately produces tones.

- Potentiometers are read, and the tones adjusted.

 

 

First, let’s gather all the necessary components you’ll need to build this project.

1x BBC Micro:bit

1x Kitronik Inventor’s Kit

2x Half-Breadboards

Project Wires Female - Male

2x 10k Potentiometer

1x Piezo Buzzer (Alternative option - Powered speaker.)

1x 5v 2A power supply

 

Video demonstration of the project:

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

 

STEP 1

Load the code onto the Micro:bit.

 

I am providing the hex file you need to drag and drop onto the Micro:bit, and the python code as two separate files. For the below process, just use the hex file.

Plug the MicroUSB cable into the Micro:bit, and plug the other end of the cable to a PC or MAC.

 

At this point, you are going to copy over the code to the Micro:bit. I am providing the program (code) in this post that needs to be copied over. When the Micro:bit plugs into a computer, it shows up as a USB flash drive. All you have to do is copy the file over to the Micro:bit, like it’s a USB Flash Drive, and the Micro:bit will reset, and the program is active.

 

You can remove the Micro:bit from the computer at this point. The program will start running, and without the rest of the circuit, it will not function.

●

A little bit about the code:

 

This is the section of code where all the magic happens. Reading the values at the analog pins is pretty easy.

image

 

The rest of the code is commented fairly well if you want to see what is going on in it.

 

 

STEP 2

I used the breakout board for this project. It’s great for testing and setting up where space and reliability isn’t an issue. It also helps to quickly get at the pins on the Micro:bit.

One small breadboard is recommended for having some space and stability for the potentiometers.

 

 

Lay the Micro:bit and Kitronik Inventor’s Kit on a table. Insert the edge-card end of the Micro:bit into the Inventor’s Kit socket and stick a breadboard to the bottom part of the Inventor’s Kit.

 

STEP 3

Wire up the schematic to the breakout board.

image

Note: The wipers of the potentiometers, the middle pins, are connected to the signal pins 1 & 2 on the Micro:bit.

 

image

 

STEP 4

Setup

Plug USB 5V power to the Micro:bit.

 

You should hear some sort of sound coming out of the piezo buzzer or speaker.

The system will start with a single tone melody.

 

Button “A” switches between modes for the potentiometer.

POT1 and POT2 control “distance” and “pitch” of the sound. Press “A” and the potentiometers control “duration” and “envelope.”

 

 

Button “B” will add a note to the sequence up to 10 notes.

 

Conclusion:

This is the first step to creating something like the Atari Punk Console circuit on a Micro:bit.

It isn't a basic square wave generator as the regular 555 timer version. But, it will produce a clearer sound.

 

Have a story tip? Message me at: cabe(at)element14(dot)com

http://twitter.com/Cabe_Atwell

Attachments:
Cabe Atwell microbit atari punk console.zip
  • Sign in to reply

Top Comments

  • dubbie
    dubbie over 6 years ago +1
    Cabe, I like it. It reminds me of the very first proper electronic circuit that I soldered together, on my knees in front of a coal fire. It was supposed to be a sound effects circuit made using transistors…
  • dubbie
    dubbie over 6 years ago

    Cabe,

     

    I like it. It reminds me of the very first proper electronic circuit that I soldered together, on my knees in front of a coal fire. It was supposed to be a sound effects circuit made using transistors which I think was similar in concept to the 555 circuit. I believe that it worked only once as I am sure I heard something, just for a moment, and then silence for evermore, no matter what I did. I can still remember the frustration and disappointment. Still I went on and did electronics at University anyway.

     

    Dubbie

    • Cancel
    • Vote Up +1 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 © 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