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
Ben Heck Featured Content
  • Challenges & Projects
  • element14 presents
  • element14's The Ben Heck Show
  • Ben Heck Featured Content
  • More
  • Cancel
Ben Heck Featured Content
Documents Logic Gate Board Game 04: LCD's Driving Me Crazy -- Episode 293
  • Blog
  • Forum
  • Documents
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Ben Heck Featured Content to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Engagement
  • Author Author: randogless
  • Date Created: 8 Jun 2017 9:13 PM Date Created
  • Last Updated Last Updated: 2 Jun 2017 7:24 AM
  • Views 2885 views
  • Likes 2 likes
  • Comments 17 comments
Related
Recommended

Logic Gate Board Game 04: LCD's Driving Me Crazy -- Episode 293

image

element14's The Ben Heck Show

Join the Ben Heck team every week for amazing hacks! Watch them build and mod community-inspired projects using electronics!

Back to The Ben Heck Show homepage image

Logic Gate Board Game
Featured Bonus Content
See All Episodes

 

 

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

In this week's episode the team considers a library from Microchip and how the game will work. Microchip has a library that allows you to drive an LCD glass with just a microcontroller, no need for an external controller or extra RAM.  They also discuss gamification, make some diagrams of how they want to space up the screen, what goes on the screen, where to put the plugs, and figure out how the puzzle is going to work on the screen. Have advice on how gamification will work?  Let us know in the comments below!

 

 

Ben attempts to use the PIC32 MZ starter kit as a mass storage device with a computer.  Acting as a mass storage device, more puzzles could be added just by dragging and dropping from a computer. There are multiple USB ports on the end; there’s one if it’s a device and one if it’s a host such as your computer.  Ben want’s the microcontroller to act as a device like a USB thumb drive.  There’s also a programming header and a UART with a USB converter.  The hope is that there will be a single USB port on the logic gate board game that can be used for charging as well as transferring data.

 

Ben goes over programming the microcontroller using MPLAB harmony, which includes a good number of examples in its library.  The problem is it doesn’t really tell you how to use them.  What they can do is set up an area of NVM non-volatile memory, the flash that holds the program, and set it up as a small file system.  This allows them to access it from within their program to get files. The USB could also use it as a file system so the user can put files there. Although, they may want to have separate file systems so there’s an area of memory that a person can’t destroy just plugging it into their computer. Getting examples to work isn’t that difficult, the real trick is combining them all.  This includes some kind of sound, LCD, USB, and file system.

 

After aligning the LCD screen he sets up another NOR gate using the MPLAB IDE. They need to do more work on the gamification and how the screen is going to be set up but if they can combine the schematic editor with a graphics driver and create a markup language that can store puzzles in as small space as possible, they’re at a good jumping off point.

 

Karen helps Ben with the gamification using Logic Gate pieces cut out to scale. The further they get away from the Hackmanjii concept, the more difficult it becomes to grasp the gamification.  They discuss giving the game the ability to drive real external devices. Karen slaps Ben with a reality check as things veer off course and they struggle to figure out a purpose for the game.

 

 

Disclaimer

  • lcd
  • episode 293: logic gate board game
  • hack
  • lcd's driving me crazy
  • heck
  • ben
  • stem projects
  • tbhs_ep
  • Share
  • History
  • More
  • Cancel
  • Sign in to reply

Top Comments

  • beacon_dave
    beacon_dave over 8 years ago in reply to tm14 +2
    Perhaps sounds a little bit like the 1970's 'Mastermind' game with the coloured pegs https://en.wikipedia.org/wiki/Mastermind_(board_game) However Mastermind is part guesswork, part logic so not ideal…
  • tm14
    tm14 over 8 years ago in reply to tm14 +1
    Another way to verify solution with sounds would be to step through each possible set of inputs at a fast speed (needed if you have more than 4 bits of inputs). At each step, if the result is correct,…
  • josefcs
    josefcs over 8 years ago +1
    I thought of the following, please see (and excuse) attached crude drawings. In general, on the left hand side, there is a row of LEDs. In the middle, there ist the LCD screen. On the right hand side,…
Parents
  • beacon_dave
    beacon_dave over 8 years ago

    makerkaren - not sure if this has been mentioned before, but I spotted this logic gate puzzle game on Khan Academy today:

    https://www.khanacademy.org/computer-programming/logic-gate-puzzler/1522357785

    https://www.khanacademy.org/computer-programming/logic-gate-challenge/1551984770

    It may generate some ideas.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
Comment
  • beacon_dave
    beacon_dave over 8 years ago

    makerkaren - not sure if this has been mentioned before, but I spotted this logic gate puzzle game on Khan Academy today:

    https://www.khanacademy.org/computer-programming/logic-gate-puzzler/1522357785

    https://www.khanacademy.org/computer-programming/logic-gate-challenge/1551984770

    It may generate some ideas.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
Children
  • tm14
    tm14 over 8 years ago in reply to beacon_dave

    Yeah, super find Dave!  And it's open source MIT license.

     

    Will the code work on the PIC32?

    Can you drag and drop with the touch screen?  We're not adding a mouse, right?

    Is there enough memory to run the program?

    Is the display big enough with enough resolution?

    May have to dumb the program down to work.

     

    It's educational, but it needs some help in the fun department.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • makerkaren
    makerkaren over 8 years ago in reply to beacon_dave

    Those are neat! Gotta make sure I don't get sucked in for too long. I'm a sucker for puzzles.

    • Cancel
    • Vote Up +1 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