Handheld BASIC Computer in Badge Format with the Arduino Uno

Поділитися
Вставка
  • Опубліковано 29 чер 2024
  • Since the new 32-bit Arduino UNO R4 has arrived, it's time to make a glorious farewell project for the classic 8-bit UNO R3! Clem's idea is to use all of the pins and turn it into a handheld BASIC computer, similar to a Sinclair ZX81 from the 1980s.
    This computer badge will use up all of the available pins and show that an 8-bit microcontroller is, in fact, a tiny computer. The badge form factor also makes it ideal for your next meetups with fellow makers.
    We have two in-depth bonus videos on the element14 Community about the code and PCB design for this project. You can see those videos and download all the code and CAD for free here! bit.ly/3O2nhzf
    Engage with the element14 presents team on the element14 Community - suggest builds, find project files, and see behind the scenes video: bit.ly/3tmdewv
    Visit the element14 Community for more great activities and free hardware: bit.ly/3q6YMpu
    Tech Spotlights: bit.ly/3qPrDhM
    RoadTest and Reviews: bit.ly/3pV5Bux
    Project14: bit.ly/31wbnJY
    #0:00 Welcome to element14 presents
    #0:32 Overview
    #1:19 Design
    #4:15 The PCBs
    #7:01 Programming
    #8:57 Problem Solving
    #12:15 The Keyboard
    #15:48 The Case
    #17:04 The Computer Badge!
    #20:21 Give Your Feedback
    #sinclairzxspectrum #zx81 #arduino #arduinoproject #arduinoprojects #arduinoprogramming #pcbdesigning #pcbdesign
  • Наука та технологія

КОМЕНТАРІ • 53

  • @ddjazz
    @ddjazz 11 місяців тому +10

    Great video , thank you for also including the mistakes and frustrations you encountered , it comes with the territory :D

    • @MAYERMAKES
      @MAYERMAKES 11 місяців тому +3

      It is all partvof the process😂

  • @Certawin
    @Certawin 11 місяців тому +4

    Neat work Clem. Cool that you got it working. Even with all your hurdles that you had to jump. And enjoy your basic badge. :)

  • @dimitrioskalfakis
    @dimitrioskalfakis 11 місяців тому +9

    nice effort. even with a limited hardware and initial design choices set in stone the software is always the key factor in the usefulness of the machine.

    • @MAYERMAKES
      @MAYERMAKES 11 місяців тому +2

      these limits were a fun chanllenge and made me focus on what matters, I just wrote a bit of example code to test functions like TONE and DWRITE ye, but most old BASIC game listings should work.

  • @andywest5773
    @andywest5773 11 місяців тому +4

    Great project! I have a fondness for computers with ROM BASIC, since that's what I grew up with.

    • @MAYERMAKES
      @MAYERMAKES 11 місяців тому +1

      Thanks, its also ehat got me interested in the whole thing. Butvi 8nly had a ti83 calculator back then.

  • @bald_engineer
    @bald_engineer 11 місяців тому +9

    14:14 Interestingly, to me anwyay, the reason the ZX-80 and 81 do the "BASIC shortcuts" is because you are tokenizing the command as you type. Other 8-bit computers processed the text string "PRINT" and converted it to a token. However, to save space in their tiny ROMs, Sinclair made the user do the tokenization.

    • @MAYERMAKES
      @MAYERMAKES 11 місяців тому +1

      Interestring!...mine is just entering the commands fully in a buffer before sending on contrast.

    • @elektron2kim666
      @elektron2kim666 3 місяці тому

      Where is "tokens" really from? We called it a byte for many years.

    • @bald_engineer
      @bald_engineer 3 місяці тому +2

      @@elektron2kim666 It’s been around since the first BASICs. A token is different from a byte. It isn’t a data type. It’s a concept.

  • @964tractorboy
    @964tractorboy 11 місяців тому +3

    A surprisingly addictive video with a great result. Well done with all the 3D-printing on top of all the other challenges. Happy conferencing!

    • @MAYERMAKES
      @MAYERMAKES 11 місяців тому +2

      Thanks, it took many iterstions to getcit all to fit.

  • @retrojon_
    @retrojon_ 11 місяців тому +2

    A possible add-on that comes to mind is some sort of paper tape reader. The reader wouldn't have to be too big (especially if it's hand-operated and doesn't need motors) also, the tape can be very compact once rolled so it would be easy to carry prewritten programs, load them, and run them! I'm gonna have to dig out my Arduino and try something similar soon!

    • @MAYERMAKES
      @MAYERMAKES 11 місяців тому +3

      Haha, by sheer coincidence i have a huge tape reader in my hoard

    • @retrojon_
      @retrojon_ 11 місяців тому +1

      ​@@MAYERMAKES Awesome! Out of curiosity, what kind of paper tape do you use? I've been trying to find some so that I could try making a reader for a computer project.

    • @MAYERMAKES
      @MAYERMAKES 10 місяців тому +1

      @@retrojon_ the original roll that was in it. its 8 bit tape and i have 5bit tape in my teletype 20mm wide

  • @raguaviva
    @raguaviva 10 місяців тому +1

    Great videos! You rock at this.

  • @anwaraddasi8892
    @anwaraddasi8892 Місяць тому +1

    Great job

  • @FedEx1k
    @FedEx1k 11 місяців тому +1

    Yes diffidently do more with this computer! Maybe possible upgrades, addons and uses.

    • @MAYERMAKES
      @MAYERMAKES 11 місяців тому +1

      Thanks, hope to get a lot of crazy ideas from the community!

  • @frankmiller1121
    @frankmiller1121 5 місяців тому

    cool project!!!

  • @Workshopshed
    @Workshopshed 11 місяців тому +1

    Double lanyard, clever

    • @MAYERMAKES
      @MAYERMAKES 11 місяців тому +1

      I could not find a double ended one, but this might even work better

  • @raffyturc
    @raffyturc 11 місяців тому +2

    you slayed it dude! nice effort!
    yeah there are some gotchas in the SMD(?) like complete C-port (adc6 adc7). and also the 'DAC' on AN0 w/c doesnt work(?). and also, practice more on your soldering skills 😅. cheers!

  • @3DTechnic-2938
    @3DTechnic-2938 4 місяці тому +1

    u should build a label printer like that as that would also have a practical use

  • @MAYERMAKES
    @MAYERMAKES 11 місяців тому +3

    There is the possibility of adding Extras to this little handheld computer! what should we add to it, a floppy drive? or something even more crazy! what are your ideas?

    • @Workshopshed
      @Workshopshed 11 місяців тому +2

      Tape drive?

    • @MAYERMAKES
      @MAYERMAKES 11 місяців тому +1

      @@Workshopshed oooh thats intriguing

  • @degerdi
    @degerdi 11 місяців тому +3

    That’s a lot of buttons

    • @MAYERMAKES
      @MAYERMAKES 11 місяців тому +2

      50 buttons, 2 switches and a poti to be exact

  • @AjinkyaMahajan
    @AjinkyaMahajan 11 місяців тому +4

    i think a composit video TV out is also possible in 2nd atmega chip making it an actual z80 machine
    Cheers!!

    • @MAYERMAKES
      @MAYERMAKES 11 місяців тому +2

      Oh yes that would be a great addon!

  • @wimletzer4193
    @wimletzer4193 11 місяців тому +1

    Nice little computer! You asked for possible extensions. Well, I would like to see a micro sd slot, to save programs. I think there's space for in the arduino not running basic.

    • @MAYERMAKES
      @MAYERMAKES 11 місяців тому

      Actually the one that runs basic has the pins left,and tinybasic could read it. yeah that could be an extension!

  • @meneerjansen00
    @meneerjansen00 Місяць тому +1

    Wish it was for sale in a store... ;)

    • @MAYERMAKES
      @MAYERMAKES Місяць тому

      it could be available some day. maybe in a cost optimized version

  • @dennisolsson3119
    @dennisolsson3119 Місяць тому

    Too late, but: you could run the display in 4 bit mode to free up 4 pins.

  • @amsmuh
    @amsmuh 11 місяців тому

    Why not use a line with a series of resistors and a ADC for reading the keys?

    • @MAYERMAKES
      @MAYERMAKES 11 місяців тому +2

      that is another method, but unreliable with so many keys, the voltage drop across each resistor gets to big quickly, the differences very little, and there is no n-key rollover possible that way,
      gohst presses also might occur. I would not rely on analog readings for key inputs in any case but if there really was only one pinn available up to six keys might work, but still no combinations possible.

  • @darrell2150beta
    @darrell2150beta 9 місяців тому +1

    CAD files download goes to a page not found page!!

    • @MAYERMAKES
      @MAYERMAKES 9 місяців тому

      Works for me, maybe just a temporary hickup. After login i click on the blue download button and get the files

    • @darrell2150beta
      @darrell2150beta 7 місяців тому

      Tried it again it said the page is not found or has been removed and to use the search to find the info

    • @element14presents
      @element14presents  7 місяців тому +1

      Fixed!

  • @Davedarko
    @Davedarko 11 місяців тому +1

    Entschuldigung Clem

    • @MAYERMAKES
      @MAYERMAKES 11 місяців тому +2

      Wofür😂?

    • @Davedarko
      @Davedarko 11 місяців тому +1

      @@MAYERMAKES hab meiner Mitbewohnerin gesagt, dass man "appropriate" aber anders ausspricht, weil sonst ist das ein anderes Wort aber ich war doof und lag falsch :D Cooles Projekt :)

    • @MAYERMAKES
      @MAYERMAKES 11 місяців тому +1

      @@Davedarko lol