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

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...

Building success on the fundamentals of operational excellence

In the previous article, we explored how operational excellence extends beyond traditional management, emphasising a culture of continuous improvement. We highlighted the importance of industrial communication systems in enhancing real-time decision-making and...

Reduce energy consumption in buildings with AC Cloud Control

Intesis’ Air Conditioning (AC) Cloud Control is a cloud-based remote-control system that allows comfortable and intuitive control of air conditioners and heat pumps. Based on a brand-agnostic cloud-based platform, it brings remotely accessible smart intelligent...

Revolutionising HVAC systems for a more sustainable future

Heating, Ventilation, and Air Conditioning (HVAC) systems are key in buildings' energy consumption and greenhouse gas emissions. With buildings responsible for over one-third of global energy consumption, optimising HVAC systems is crucial for a sustainable future....

Steady growth in industrial network market

Market shares 2024 according to HMS Networks – fieldbus, industrial Ethernet and wireless.  Every year, HMS Networks conducts a comprehensive analysis of the industrial network market, aiming to estimate the distribution of new connected nodes by type and protocol...

Moving beyond master and slave terminology

The terms "master" and "slave" have long been used in technology to describe the relationship between a controlling device (master) and a subordinate or controlled device (slave). This terminology, while deeply embedded in various technical disciplines, has its roots...

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.