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
Project Videos
  • Challenges & Projects
  • element14 presents
  • Project Videos
  • More
  • Cancel
Project Videos
Documents Handheld BASIC computer in Badge Format with the Arduino Uno -- Episode 612
  • Documents
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Project Videos to participate - click to join for free!
Related
Recommended
Engagement
  • Author Author: tariq.ahmad
  • Date Created: 19 Jul 2023 4:47 PM Date Created
  • Last Updated Last Updated: 6 Nov 2023 12:11 PM
  • Views 25346 views
  • Likes 12 likes
  • Comments 42 comments

Handheld BASIC computer in Badge Format with the Arduino Uno -- Episode 612

Since the new 32-Bit Arduino Uno R4 has arrived, it is time to make a glorious farewell project to the classic 8-Bit UNO R3, by using all the pins and turning it into a handheld BASIC computer, quite similar to a ZX81 from the 80s! It is finally time to build a badge that uses up all the pins and shows that an 8-Bit microcontroller is in fact a tiny computer! The badge form factor makes it ideal for your next meetup with fellow makers!

Watch the Video:

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

Can the Arduino UNO Function as a Computer?

Clem introduces us to the extraordinary world of the Arduino Uno R3 and its farewell project, reminding us that the microcontrollers we use on Arduinos are more than just components; they are real computers. Inspired by the possibilities, he embarks on a journey to create an Arduino Uno-based handheld computer that rivals the capabilities of the ZX-81.

TinyBASIC Plus v0.15

The Hardware is more than BASIC

His project begins with Tiny Basic, a complete BASIC programming environment for Arduino. Tiny BASIC barely fits on an ATmega 238p on its own, so Clem utilizes a secondary chip to read the keyboard and drive the screen, offloading these tasks from the main processor running the operating system. This ensures that we have 1k of RAM left for writing programs (in the same ballpark as the Zx81). To make it fully portable, Clem incorporates a second processor to handle the keyboard and LCD screen, allowing the main microcontroller to focus solely on the operating system.

CAD Screenshot

Even a BASIC Computer needs a Keyboard

With a custom PCB, Clem designs a badge-sized handheld computer. A tiny keyboard for the thumbs and a character LCD for text output complete the device. Throughout the process, Clem faces challenges in LED addressing and keyboard functionality but manages to get it all working.

3D Printed Enclosure

Complimented by a 3D Printed Enclosure

The finished handheld computer badge is a testament to the power and versatility of the Arduino Uno R3. By utilizing all available pins and space on the chip, Clem successfully transforms the Arduino Uno into a handheld computer with capabilities like the ZX-81. The project serves as a fitting tribute to the beloved Arduino Uno R3 and showcases the potential for DIY electronics with microcontrollers.

Creating this handheld computer badge exemplifies the essence of the Arduino community—innovation, exploration, and a passion for pushing the boundaries of what's possible with electronics.

Bonus Content:

  • Download Code and CAD Files!

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

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

Bill of Material:

Product Name Manufacturer Quantity Buy Kit
Arduino uno R4 minima ARDUINO 1 Buy Now
FORDATA Alphanumeric LCD, 20 x 4, Black on Yellow / Green, 5V, English, Euro, Transflective FORDATA 1 Buy Now
MULTICOMP PRO LED, Green, SMD, 0603 [1608 Metric], 20 mA, 2.3 V, 577 nm MULTICOMP PRO 55 Buy Now
C&K COMPONENTS Tactile Switch, PTS645 Series, Top Actuated, Through Hole, Round Button, 130 gf, 50mA at 12VDC C&K COMPONENTS 50 Buy Now
MICROCHIP 8 Bit MCU, AVR ATmega Family ATmega328 Series Microcontrollers, AVR, 20 MHz, 32 KB, 32 Pins, TQFP Microchip 2 Buy Now
IQD FREQUENCY PRODUCTS Oscillator, Crystal, 16 MHz, 50 ppm, SMD, 7mm x 5mm, 5 V, CFPS-72 Series IQD FREQUENCY PRODUCTS 2 Buy Now
MICROCHIP Fixed LDO Voltage Regulator, 2.1V to 6V, 210mV Dropout, 5Vout, 500mAout, SOT-223-3 MICROCHIP 2

Buy Now

 

Additional Products:

CASE 3d printed with MAYER MAKES ENGINEERING RESIN
+ Blue dye

element14 presents

element14 presents  |  About Clem  |  Project Videos

  • sinclair
  • pocket computer
  • arduino uno
  • tiny BASIC
  • retro computer
  • uno r4
  • uno r3
  • zx81
  • 80s computer
  • arduino uno r3
  • friday_release
  • e14p_CMM
  • basic computer
  • Share
  • History
  • More
  • Cancel
Actions
  • Share
  • More
  • Cancel
  • Sign in to reply

Top Comments

  • Jan Cumps
    Jan Cumps over 2 years ago in reply to Jan Cumps +1
    can't add a Youtube video anymore it seems, but here's a direct link: https://youtu.be/ThXslt1hTV0
  • mayermakes
    mayermakes 8 months ago in reply to ElectronicDuke

    So you have a source /link for the new one.
    I used the bare atmega328 chips on a custom pcb as also noted in the BOM, but the project would also run on two Arduino uno R3.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • ElectronicDuke
    ElectronicDuke 8 months ago

    YT video mentions that this project was only for the Arduino UNO R3 SMD version at the beginning.  Why is the R4 on the BOM?

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

    If you want to get the pcb made there is now a discount code valid at Aisler!
    use this link: https://aisler.net?utm_campaign=mayermakes_23
    and apply code: thanks_mayermakes_23
    at checkout. that should give you 10€ off your order!

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • beacon_dave
    beacon_dave over 2 years ago in reply to baldengineer

    It is likely to be easier to work with mechanically.

    It doesn't really have to be true punched tape though. So a tie with something that resembles punched tape on the front, but there could be something else on the back of it that actually stores the program data which is easier to work with.

    I think simply the motion of threading and pulling your tie through a slot in the badge to load a program, and perhaps a different tie from your pocket, will be enough to get some smiles/laughs.

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

    oh that is a good idea! double duty for the storage medium

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • baldengineer
    baldengineer over 2 years ago in reply to beacon_dave

    You could use the punch tape as the lanyard, maybe.

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

    You could perhaps pair it with a TI DLP Lightcrafter pico projector module to give the badge some enhanced graphics capability.

    Either basic graphic drawing from within Basic or scripting the recalling of graphics from an image store contained within the projector peripheral. 

    The badge and pico projector module look of comparable size so you could remove the badge and stack it on top of the projector module to give an ad-hoc presentation.

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

    So far, I have only built the list. Slight smile

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

    oh yes, that is indeed interesting. Ir diodes /receiver pairs like in tv remotes, I could even think of a storage media cartridge that uses IR to transmit that data.
    so you could store your programs on a third device and recall them later!°

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

    Some form of simple badge-to-badge comms could be fun. Could also be used to load/save programs. IrDA perhaps ?

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