Skip to content

Thermo Fisher Badge 2019 Version 2. OLED 128x32 screen, Attiny85, Tetris, Text Eprom Storage, and Atari Fonts

Notifications You must be signed in to change notification settings

thorgod/ThermoFisherBadge2019

Repository files navigation

Thermo Fisher Badge 2019

🔮 Puzzle Sumbit Awnsers / View Solution 🔩 PCB Soldering 💽 Firmware 🍆 PCB Order 📦 BOM

Board Design, Program, and Assembly by Michael Leuer
MIT Licence


Code Based on the following sources.

https://github.com/MichMich/Electrocard
https://github.com/richardkchapman/TinyOLED
https://github.com/datacute/Tiny4kOLED
https://github.com/datacute/TinyOLED-Fonts
https://github.com/jjshortcut/PockeTetris/

Features

  • 🔥 OLED Images
  • ⚡️ Attiny85 Atmel Chip
  • 😍 Tetris
  • 💪 EPROM
    • Save Name
    • Save High Score
  • 📝 Battery Monitoring
  • 😱 Atari Fonts
  • :godmode: 99.9% Flash Ram Used (8 bytes left.)
  • ~7 Hours battery life (Guessed)

QUICK USAGE GUIDE

    To be able to switch modes you need to solder the buttons down. View link on how to solder buttons.

There are four modes:

Rotation, Save Txt, Tetris, Settings

Default: Rotation

Every 5 seconds it switches between:

  1. Thermo Fisher Logo
  2. Line1: [Name] Line2: [Thermo Fisher]
  3. AWS Logo
  4. Scrolls -> Line1: [Name] Line2: [AWS Re:Invent]

Save Text: Hold TOP button

~5-10 seconds

It will bring up TXT letting you know you can change your text or name. The # is under the text indicating what letter you are changing

  • TOP Button: Increment Position
  • LEFT Button: Select previous letter
  • RIGHT Button: Select next letter
  • Hold TOP Button: Saves to Memory current text

Tip: Hold top button untill you see saved

Tetris: Hold LEFT button

It will start tetris.

  • TOP Button: Rotates Piece
  • LEFT Button: Moves Piece Left
  • RIGHT Button: Moves Piece Left

Tip: Turn board 90 degrees. Its easier to hold and play

Settings/High Score/Battery Monitoring: Hold RIGHT button

It will bring up a screen displaying the current battery voltage. It is in MV, a fully charged battery will display 3500mv - it can run down to 800mv I think. (3.5V-.8mv)

Battery Life (Replacement)

CR2032 is the type of battery I used. Battery Life is unknown, but calcutions:

220mAh Is battery life. OLED 19.7mA (50% Pixels) Attiny Mirco Counter 5 mA at 8 MHz

(5+19.7)=25mA to 30mA (Guessing)

220mAh/30mA= 7.333 220mAh/24mA= 9.166

Battery Life is around ~7 Hours to 9 Hours

HOW TO PROGRAM

Programmer

There are several ways of programing an Attiny85. I will explain a two of them. Pick one.

1. SparkFun Programmer ISP (The one I used)

https://www.sparkfun.com/products/11801?_ga=2.197781223.930268666.1574204062-751361143.1571946351

  1. Install

View this tutorial. [https://learn.sparkfun.com/tutorials/tiny-avr-programmer-hookup-guide/all

2. Ardunio ISP

Follow the guide on this link https://www.studiopieters.nl/miniaturizing-attiny85/

In platoformio.ini you willl need to change

upload_protocol = arduinoisp

You might need more stuff, also change com port to correct

platform = atmelavr
framework = arduino
board = attiny85
upload_protocol = arduinoisp
upload_flags = -P$UPLOAD_PORT -b$UPLOAD_SPEED
upload_port = COM4
upload_speed = 19200

I have not tried programing with ardunio ISP but it is possible

Setup VS Code

  1. Install visual studio code
  2. Add the extension PlatformIO

Building

In VS Code ProjectIO click on

The Check Button to build

Uploading Click Upload

The arrow button is how to upload.

Contributors

Thanks goes to everyone that helped make it happen

  • Michael Leuer
  • Nick Rivette
  • Scott Woollard
  • Adam Schmitz
  • Gurpartap Singh

About

Thermo Fisher Badge 2019 Version 2. OLED 128x32 screen, Attiny85, Tetris, Text Eprom Storage, and Atari Fonts

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published