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 Magic GIF Ball Powered By Raspberry Pi -- Episode 495
  • 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: 21 Apr 2021 9:27 PM Date Created
  • Last Updated Last Updated: 23 Apr 2021 7:24 AM
  • Views 8512 views
  • Likes 6 likes
  • Comments 29 comments

Magic GIF Ball Powered By Raspberry Pi -- Episode 495

element14 presents
Magic GIF Ball Powered By Raspberry Pi

element14 Presents  |  DJ Harrigan's VCP Profile  |  Project Videos

 

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

 

Life is full of tough choices, so why not let a children’s toy make those decisions for you? The Magic 8-Ball is a classic toy for finding out if your crush feels the same way about you or for finding out if the Soviets are about to invade your playground. While this may have been a fine toy for the 20th century, communication has changed quite a bit recently, so for today’s build DJ will be reimagining the technology for a more modern audience. Should you stick around and build your own? It is decidedly so.

 

Bill of Material:

 

Product NameManufacturerQuantityBuy Kit
Raspberry Pi 3 Model A+Raspberry Pi1Buy Now
PowreBoost 1000Adafruit1Buy Now
PLA FilamentVERBATIM1Buy Now
Tactile SwitchAPEM1Buy Now

 

Additional Parts:

 

Product Name

LiOn Battery 1800 mAh

1.3 240x240 IPS LCD ST7789

Adafruit Pushbutton Power Switch

Attachments:
MagicGIFBall_Resources.zip
  • pool
  • magic 8-ball
  • billiards
  • 3D Printing
  • retro
  • mattel
  • raspberry pi
  • element14 presents
  • toy
  • gif
  • fortune teller
  • dj harrington
  • friday_release
  • e14presents_djharrigan
  • Share
  • History
  • More
  • Cancel
Actions
  • Share
  • More
  • Cancel
  • Sign in to reply

Top Comments

  • colintravis
    colintravis over 4 years ago +4
    It seems like a few of the components that were printed are missing from the resources package. The insert for the battery, and the insert for the tilt sensor seem to be missing from the folder.
  • sasanamir
    sasanamir over 4 years ago +3
    Be happy to pay you to make one!
  • kaic_lab
    kaic_lab over 4 years ago +2
    Love this idea. So much fun.
Parents
  • hoskins355
    hoskins355 over 3 years ago

    I am making one, I see the python file, and have printed everything and got all parts, but where do I store image files? in the same directory as the script. And what do I need to name them ? It looks like from the code it is something like "mgb_answer_1.gif"

    Any help would be appreciated.

     

    What pins did you connect that button to?

     

    Ok I got the script running and added gif files 1 to 24 and got the button connected. All seems to be working, except by screen is blank. I do see the backlight just no image. Any Ideas?

     

    Update: Got mine working, I had used a different display and the driver was slightly different. I had to convert my gif to jpg then loop through them to animate the gif, but it looks great. I also changed the code to be less random, it now loops through all images once randomly then repeats so I do not see the same image twice, until we have gone through the whole list. I also made mine with a power cord. It takes 20 to 30 sec to boot, so I think it makes more sense to have it always on and it plays when you pick it up. I also used a tilt switch.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • roadreaper
    roadreaper over 3 years ago in reply to hoskins355

    Where did you get the file to print the battery retainer?  It's not in the pack I down loaded.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • hoskins355
    hoskins355 over 3 years ago in reply to roadreaper

    I made mine use a usb cable for power. It was kind of slow to boot, so I just leave mine plugged in so it is always ready. I ran the usb cable out the hole used for the button. But if you need a battery holder that should be pretty easy to design in fusion 360.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
Comment
  • hoskins355
    hoskins355 over 3 years ago in reply to roadreaper

    I made mine use a usb cable for power. It was kind of slow to boot, so I just leave mine plugged in so it is always ready. I ran the usb cable out the hole used for the button. But if you need a battery holder that should be pretty easy to design in fusion 360.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
Children
No Data
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