IDX builds a Raspberry Pi solution for The Arnold Classic in 2018

8 June 2018

The Arnold Classic 2018: A place for those with a passion for sport, fitness, and an overall desire to challenge themselves, compete, and ultimately be blessed with the eternal spoils of victory after an arduous two-and-a-half days of pushing their bodies and minds to their absolute limits.

Enter IDX, what challenge faces the mighty IDX you ask? Will we deadlift four hundred kilograms worth of ice-cold steel, and prove ourselves stronger than a ‘mountain’? Will we sprint that one-hundred-meter sprint faster than a ‘bolt’ of lightning? Will we outplay the E-Sport community to be crowned the ultimate gamers in the land?

Well… not quite, but we did create an awesome solution for managing the chess timers in the Big Chess School tournament, using some cutting-edge technology, including but not limited to:

  • Raspberry PI Model B is our hardware platform running Raspbian Stretch
  • Node as our underlying server
  • Node-Red to handle the Raspberry PI’s GPIO
  • MQTT to handle message transmission to and from the web server and its client’s
  • Javascript/ReactJs for the user interface.

The Raspberry PI plugged into the impressive “PI, Modbus PSU & IO Interface” developed by our friends over at Danntech, this was placed inside of a giant chess queen supplied by Big Chess. Which housed and powered the PI as well as some sparkly lights and buttons that the school kids would be smashing to start and stop their timers:

The requirement was to have three of these rigs all running in parallel so that multiple games could proceed at once, we had a web server running on a laptop mounted to the bottom of one of the screens, this laptop also hosted the MQTT broker.

Each Raspberry Pi had a Node-Red setup which would interpret the GPIO values and publish them to any subscribers, the subscribers were defined in ReactJs using the IDs of the TVs or a special admin ID used by a separate device for sending the team logos to each screen, when a message was received by a subscriber the Raspberry Pi would know what it needed to do:
start, pause, resume, reset, or change team logos.

Our overall setup looked like this:

The little Raspberry Pi devices held strong for their full two and a half days of competing, without a single report of delays or crashes. with that in mind, I think it’s fair to say that Raspberry PI Model B with Node, Node-Red, MQTT, Javascript and ReactJs as your support, you are the true champion of this event.

Categories: Articles, IDX News
<a href="https://blog.idx.co.za/author/thaven/" target="_self">Thavendren Naicker</a>

Thavendren Naicker

Software Developer

Thaven brings a decade of expertise from the fields of information technology, banking, process automation, and engineering. He finds joy in various hobbies such as playing sports, trail running, hiking, and both playing and creating video games.

Show your love!

Recent Posts

Deploying Anybus ComBricks for Network Optimisation

Deploying Anybus ComBricks effectively requires careful planning and integration with existing network components such as PLCs, OLMs, and repeaters. This comprehensive guide provides details for implementing ComBricks in different network configurations, covering...

Innovative Solutions for the Solar Energy Sector

Industrial Data Xchange (IDX) is a South African-based ICT company specialising in data communications systems. With extensive expertise in industrial automation and connectivity, IDX provides professional engineering services for both new and existing communications...

Win a free Certified PROFIBUS Installer with Troubleshooting course

Join us at the Africa Automation Technology Fair for an exclusive chance to win a FREE Certified PROFIBUS Installer with Troubleshooting course! This is your opportunity to enhance your skills, gain industry-recognised certification, and stay ahead in the world of...

Effective system adoption through a people-centred approach

Our vision: ‘Operational excellence unlocked at every level’ drives our commitment to ensuring the timely and effective deployment and adoption of industrial communication systems, enabling clients to experience strategic benefits as early as possible. Successful...

Sign up for our newsletter

Get exclusive updates and a sneak peek into our world every two months. Stay connected, stay informed.

Related Posts

Our expertise lies in establishing, maintaining, and leveraging plant data for business benefit. Through our innovative solutions, we work alongside you to streamline processes, enhance efficiency, and reduce costly downtime.

CONTACT US

Main: +27 (11) 548 9960
Sales: +27 (11) 548 9970

SOCIAL MEDIA

Copyright @2024 Industrial Data Xchange. All rights reserved.