The Magic HalloWing (electronic Magic 8-ball) #HalloWing #Adafruit #Gaming @cogliano

The Magic Hallowing

Via Dan the Geek comes a Magic 8-ball like project using the Adafruit HalloWing board.

I have created another game, the “Magic Hallowing”. Inspired by the children’s toy “Magic 8-Ball”, this Arduino sketch turns an Adafruit Hallowing into a fortune teller. Ask it a yes or no question, like “Will the Orioles have a winning season this year?”, shake the Hallowing, and the answer will appear on the screen, like “Don’t count on it”. Disclaimer: this is for recreational purposes only and should not be used to answer real life questions (but you already knew that).

The Magic Hallowing utilizes Adafruit’s HalloWing M0 Express. It contains the ATSAMD21G18 microcontroller by Microchip and has a ton of features. The Magic Hallowing sketch utilizes the HalloWing’s TFT display for displaying the answers and an accelerometer to monitor the shaking of the device. The list of answers generated by the Magic Hallowing are the same ones used the original Magic 8-Ball toy as described on Wikipedia. Also, the display  fades in and out when displaying answers and the main title to make it look more mysterious.

There is an excellent article about setting up the Arduino IDE for Hallowing on Adafruit’s website. Specifically, you will need to install the following Arduino libraries for this sketch as discussed under the “Using the TFT” and the “Full Test Sketch” sections in the article:

  • Adafruit ST7735
  • Adafruit GFX
  • Adafruit LIS3DH
  • Adafruit Unified Sensor

Once the Arduino IDE and libraries are installed, you will need to install The Magic Hallowing sketch, which can be found on my Github page at https://github.com/ZContent/Adafruit_Magic_Hallowing

See more and maybe consider following @cogliano on Twitter.


Have an amazing project to share? The Electronics Show and Tell is every Wednesday at 7:30pm ET! To join, head over to YouTube and check out the show’s live chat and our Discord!

Join us every Wednesday night at 8pm ET for Ask an Engineer!

Join over 38,000+ makers on Adafruit’s Discord channels and be part of the community! http://adafru.it/discord

CircuitPython – The easiest way to program microcontrollers – CircuitPython.org


New Products – Adafruit Industries – Makers, hackers, artists, designers and engineers! — New Products 11/15/2024 Featuring Adafruit bq25185 USB / DC / Solar Charger with 3.3V Buck Board! (Video)

Python for Microcontrollers – Adafruit Daily — Python on Microcontrollers Newsletter: A New Arduino MicroPython Package Manager, How-Tos and Much More! #CircuitPython #Python #micropython @ThePSF @Raspberry_Pi

EYE on NPI – Adafruit Daily — EYE on NPI Maxim’s Himalaya uSLIC Step-Down Power Module #EyeOnNPI @maximintegrated @digikey

Adafruit IoT Monthly — The 2024 Recap Issue!

Maker Business – Adafruit Daily — Apple to build another chip at TSMC Arizona

Electronics – Adafruit Daily — SMT Tip – Stop moving around!

Get the only spam-free daily newsletter about wearables, running a "maker business", electronic tips and more! Subscribe at AdafruitDaily.com !


No Comments

No comments yet.

Sorry, the comment form is closed at this time.