Smart Game Board – Completed! – Bogdan Berg Skip to content fa-facebook fa-linkedin fa-youtube Toggle navigation Bogdan Berg When mind wonders... Racing Simulator Aviary Mazda CX-5 Dashcam Arcade Cabinet Smart Game Board About Me Smart Game Board – Completed! Bogdan April 8, 2017 7 comments Idea The idea for this project was born from a conversation with a friend – he was wondering if creating such game board could help in teaching kids how to play Chess. And I loved the fact that both making the project, as well as then playing using it sound fun 😉 And what a great opportunity to try out some new things that I didn’t have experience with before (i.e. PCB design). Gameplay and development overview Completed project – photos Board game size Play area: 10.25 inch x 10.25 inch Complete project dimensions (including boxes for game pieces on the side, and room for electronics on the other): 24 inch x 16 inch x 5 inch What exactly does it do? Well, it’s a game board – a special one 😉 How is it special, you ask? It tracks the game state, shows possible moves, indicates when a piece has been lost and should be removed from the board, and best part is: it teaches the game rules and prevents players from cheating! (you can’t make a move that is not allowed…) So far, I implemented Checkers (the International version), but the code is structured so that it’s easy to add additional games. Next one, time permitting: Chess. Then maybe tick-tack-toe – board is 8×8 so there could be 4 games played simultaneously 🙂 There are a lot of games that can be played on a board of this size! How long did it take to make it? Altogether, this project took around 6 months – there isn’t always enough free time to dedicate to side projects, and this wasn’t the only hobby occupying my free time (various other, smaller projects always come to my mind), but I’m always aiming to finish what I start. I’d estimate that I spent about 20 hours working on the mechanical design (my first project in Fusion 360, half the time was spent on learning the basics), about 10 hours designing PCB (using KiCad, again my first time with this app so there was definitely learning curve there), probably 15 hours or so on soldering and assembly (soldering 64 sensors, 64 resistors, countless number of wires in between it all, gluing acrylic boxes for pieces, etc.) and maybe 15 hours writing software (libraries + first game: Checkers), testing, and tweaking for more pleasant gaming experience. Overall, I think it took about 60-70 hours from the initial concept to playing with my colleagues at work on the finished board. I want to build it too! If you’d like to build something similar by yourself, below you’ll find the list of components I used, and clearly (I hope 🙂 ) documented 3 main stages (mechanical design, electronics, software) in separate blog posts linked below. And don’t hesitate to ask any questions if something is not clear. This project requires access to laser cutter (some pieces require fairly high precision, i.e. the internal grid sides with the half-cut slots, which can be achieved by other means, but laser cutter makes life easier 🙂 ) and basic soldering skills. All materials can be cut on a laser cutter with bed size 24″ x 18″ or larger (there are pieces in this design very close to those dimensions [base of the board], thus they wouldn’t fit on a smaller bed). Also, a custom PCB board was used, and is the single most expensive element – more than half of the complete build cost (~$100 for custom ordered PCBs). It’s not required, but I thought it makes for a more clean design (removes the need for extra wiring, also serves as a sturdy mounting plate for the sensors, makes the final assembly feel even cooler!). Build stages Design and mechanical construction Electronics and custom PCB Software and testing Parts list Here’s a list of all used parts, for quick reference. Those parts are also called out in each of the appropriate section in the build stages linked above. Electronics Arduino MEGA – Buy on Amazon We’ll be using MEGA, and not i.e. the most popular UNO R3, as we need a lot of I/Os (64 inputs for sensors, outputs for controlling LEDs, any additional inputs i.e. for game reset button, etc.) The design could be simplified (i.e. see here), or I/O extenders could be used instead of Arduino MEGA. However, using MEGA also gives us more memory to work with, which comes in handy if we want to implement additional games Hall effect sensors (non-latching) – Buy on Amazon Quantity: 64 (+few spares just in case) Programmable LEDs (WS2812) – Buy on Amazon Quantity: 64 (but those are usually purchased in a strip, which is great as we’ll have some spares) Note: The strip we purchase has direct repercussions on the design decisions made – the size of game board cells has been selected to match the pitch of LEDs on the strip I purchased. This simplifies the design as we can use the LEDs as they come on the strip (i.e. without the need to re-solder them to achieve any other spacing), and makes the build simpler/faster. For the below strip I used, the pitch is 1.28 inch and the design follows this assumption. Magnets Requirements: magnets need to fit in the board cell (thus no bigger than the pitch between cells/LEDs), be strong enough to affect the hall sensors, yet at the same time be weak enough to allow magnets be positioned on adjacent cells, without repelling each other Link: I found out the best magnets for this project can be found in Daiso (Japanese version of dollar store, everything is $1.50 unless marked otherwise 🙂 ) – they have sets of colorful magnets, 12 in each pack (which just happens to be exactly the number of required pieces per player in checkers!) Resistors – Buy on Amazon We need a resistor for each hall effect sensor. Those will be soldered onto the custom PCB to make assembly easier. 10k Ohm will work well. Power supply – Buy on Amazon 5V, at least 5A to have a safe buffer with all LEDs lit up DC power jack (male + female) – Buy on Amazon DC power jack splitter: 1 female – 3 male – Buy on Amazon Hook-up wires – Buy on Amazon (solid core hook-up wires), Buy on Amazon (highly recommend getting few packs of those, very useful) 2 lines – for power+ ground from main rail to each custom PCB for hall sensors 8 lines – for signal between Arduino and hall sensors Straight headers – Buy on Amazon Not required, wires can be soldered directly to the PCBs, but I like the finished look and clean assembly process (when everything pops into place 😉 ) Perfboards, or prototype PCBs – Buy on Amazon I used a universal PCB as a rail for Vcc + ground, for more neat look and easier final assembly (see build photos for more details) Materials Acrylic – Buy from TAP Plastics 1/8 inch thick, extruded acrylic (cheaper than cast acrylic, and we won’t be etching that much to see any difference) Use sheet dimensions matching the bed size of your laser cutter (in my case, 24″ x 18″, and I ended up using 3-4 sheets, considering that I made some design changes in the process) Acrylic cement – Buy from TAP Plastics Smallest bottle you can buy will be more than enough Acrylic cement applicator – Buy from TAP Plastics I prefer smaller applicators (thinnest needle, smallest risk of dripping, etc.) Plywood I used 5mm thick plywood from Home Depot (sold as ‘underlayment’) You can get it in sheets 2′ x 4′ and even bigger – but you can get it cut to desired Bolts and nuts – Buy on Amazon We only need the biggest bolts from this set (1/4″-20 x 2″), but the set has 2 of them, and we need 4 – so either we’d need to order 2 sets, or pick just the bolts needed i.e. from Home Depot (cheaper option 🙂 ). Those bolts are used to attach the top “lid” of the board to the base (and this is also how the internal grid is being kept together). Tools Phillips screwdriver (only for attaching DC jack adapters) Soldering iron, solder (fume extractor and “third hand” optional 😉 ) Electronic calipers – always measure your stock… Pliers Wire stripper Acrylic cement applicator Masking tape, rubber bands – helpful during assembly, to keep various pieces together (i.e. when gluing acrylic) Misc Chess pieces – Buy on Amazon Checkers pieces – Buy on Amazon Furniture felt pads We’ll use those under the base as a padding to make sure the game board won’t scratch surfaces it’s used on (as there are bolts sticking out underneath). You can buy those cheaply from local hardware stores, Amazon, etc. I recommend going with about 1 inch diameter. Cost In my case, including extra materials used fow few iterations of various components as the design was changing, the total cost reached almost $300 (including two iterations of custom PCBs which resulted in a bill of almost $150, and original, unsuccessful attempt in soldering everything without the PCB – too many wires everywhere to keep it clean and practical 🙂 ). Now, having the design figured out, I think the cost shouldn’t exceed ~$150-$200. Obviously, the cost highly depends on what you have available at hand, which materials/components you use and what needs to be purchased. Also, once you splurge on the missing pieces, you’ll still have plenty of components left when done with this project (resistors, headers, wires, etc.). Questions? Feedback? Are you interested in this project and have any questions? Have an idea on how to make it even better? Did you build something similar that you’d like to share? (If you decide to try and replicate my build, I’d appreciate the mention!) Or maybe you happen to have a factory at your disposal and would love to bring this project to manufacturing? 🙂 Leave a comment and I’ll get back to you! Sound interesting? Let’s build it! Mechanical Construction Posted in Hardware, SoftwareTagged arduino, laser cutter Post navigation [WiP] Offroad Racer (Unity) Leaf – Lucky Charm 7 thoughts on “Smart Game Board – Completed!” Pingback:Arduino Blog » This Maker built a game board that lights up correct moves Pingback:Porch Aviary – Bogdan Berg Rui Guedes says: July 16, 2021 at 9:26 am It’s amazing my friend do you can send me the code and shematic how to conect wires? Thanks Reply Bogdan says: August 19, 2021 at 4:48 pm Hi Rui! Happy to share the code (can send it to your email), and regarding connecting the wires… that’s a bit harder to describe 😉 Please refer to the third part of this article, which focuses on electronics: http://www.bogdanberg.com/2016/09/17/smart-game-board-electronics/ and specifically I’d encourage you to see the traces on the PCB I designed, where you can see that there’s a resistor in series for the data out pin for the hall effect sensor, see: http://www.bogdanberg.com/wp-content/uploads/2017/02/smart_chess-brd-v5.2.png Hope this helps! 🙂 Reply Rui Guedes says: April 3, 2022 at 2:22 pm Hello my friend my email is magicianguedes@hotmail.com if you can’t send me the code I appreciate , sorry to respond now 😉 big hug Reply Dylan Ferris says: October 24, 2021 at 11:13 am Hi! I saw your post nearly a year ago and it inspired a friend and I to make a similar project for Chess! There’s a video here: https://www.youtube.com/watch?v=B_T1OviKhvA A more detailed look at the design and code can be found at http://remotechess.io Reply Bogdan says: October 31, 2021 at 8:32 pm Wonderful work, Dylan! And as you say on the video, it really is a “highly complex yet stylish machine” 🙂 Well done. And thank you so much for sharing. Inspiring! Reply Leave a Reply to Bogdan Cancel reply Your email address will not be published. Required fields are marked * Comment Name * Email * Website Search for: Show support Show support & buy me a coffee Recent Posts Race Weekend – Thunder at the Ridge Jet Ski! Article (interview) for ProFormance Racing School Helmet Decals ProFormance Competition Race Licensing Most Popular Racing Simulator Aviary Mazda CX-5 Dashcam Arcade Cabinet Smart Game Board About Me Cars and Racing Race Weekend – Thunder at the Ridge Article (interview) for ProFormance Racing School ProFormance Competition Race Licensing The Ridge Motorsports Park AutoX at Evergreen Speedway Driver Skills and Autocross with PCA DirtFish Rally School DIY Motion Simulator – Part 1 – Intro, Photos, Shopping List Track Day – Twilight Lapping Exotics @ RTC – Season Opening Event – ProFormance HPDE/racing school Archives August 2022 July 2022 June 2022 May 2022 April 2022 March 2022 January 2022 December 2021 August 2021 September 2020 July 2020 June 2020 May 2020 April 2020 March 2020 February 2020 June 2019 May 2019 April 2019 December 2018 September 2018 August 2018 February 2018 January 2018 December 2017 September 2017 August 2017 July 2017 June 2017 May 2017 April 2017 March 2017 February 2017 January 2017 December 2016 September 2016 August 2016 July 2016 May 2016 April 2016 March 2016 February 2016 September 2015 August 2015 April 2014 July 2011 Categories Cars (23) Crafts (8) Events (10) Hardware (45) Racing (1) Sim-racing (5) Software (13) Uncategorized (2) Video (10) Woodworking (5) Tags 3d printing 3d scan archery arduino art autocross autox aviary birds c++ car cnc construction crafts dashcam diy drone esp32 event exotics framing Fusion 360 game games generator gopro hack interview laptop laser cutter overclock parrot parrots pc powershell ProFormance racing rally Raspberry PI repair teensy tools unity vr windows phone Meta Log in Entries RSS Comments RSS WordPress.org Bogdan Berg 2017, 2018, 2019, 2020, 2021, 2022 Secondary Menu fa-facebook fa-linkedin fa-youtube Llorix One Lite powered by WordPress