2019-08-04 (Su) PillarGame

Part of this project will be to share with teammates how to control everything without understanding every line of my program. In fact, my goal is to make it as intuitive as possible for someone to change LED colors and rotate the cylinder. I started a text file to document my protocol so anyone can reference the list and send the appropriate commands.

All the code for the peripheral Bluetooth module was saved, and a new copy served as the basis for the central device which will run on an Arduino Mega. The Mega will be connected to a Raspberry Pi and send it serial data using my protocol. The heavy lifting of the gameplay will happen in the computer while the microcontrollers will handle the external hardware. A couple of the functions remained in the Mega, like detecting whether or not a Bluetooth module was physically connected, but most were stripped out.

Upon startup, the central Bluetooth module will now automatically connect to the peripheral one. This was a feature I thought was built into some modules, but significant time and effort have gone into ensuring the modules will see each other and connect properly. The MAC address of the peripheral module had to be hard-coded since there will be other Bluetooth devices at the hackathon.
Automated Bluetooth connection

The rest of the posts for this project have been arranged by date.

First time here?

Completed projects from year 1
Completed projects from year 2
Completed projects from year 3
Completed projects from year 4
Completed projects from year 5
Completed projects from year 6

Disclaimer for http://24hourengineer.blogspot.com and 24HourEngineer.com

This disclaimer must be intact and whole. This disclaimer must be included if a project is distributed.

All information in this blog, or linked by this blog, is not to be taken as advice or solicitation. Anyone attempting to replicate, in whole or in part, is responsible for the outcome and procedure. Any loss of functionality, money, property, or similar, is the responsibility of those involved in the replication.

All digital communication regarding the email address 24hourengineer@gmail.com becomes the intellectual property of Brian McEvoy. Any information contained within these messages may be distributed or retained at the discretion of Brian McEvoy. Any email sent to this address, or any email account owned by  Brian McEvoy, cannot be used to claim property or assets.

Comments to the blog may be utilized or erased at the discretion of the owner. No one posting may claim property or assets based on their post.

This blog, including pictures and text, is copyright to Brian McEvoy.