Final Project
I have now finished my project. I have added bluetooth to the punching bag so I can see the results on my phone wirelessly. This is so when you are training you can use an armband to hold your phone so you don’t have to leave fight position when look at your results. In order to add the bluetooth I had to change my Serial coding. I added a library call SoftwareSerial that has easy to use bluetooth coding. Something that was really confusing to me was difference between the write function and the print function. The write function is strictly for variables and the print function for writing . The wiring is equally as confusing. On the bluetooth module there is a TX (Transmission) pin and a RX(Receiving) pin.Originally I connect the TX pin to the TX pin on the Arduino and the RX to the RX pin on the Arduino. But now in hindsight that doesn’t make any sense because then the receiver on the bluetooth module isn’t receiving any information and the transmission pin isn’t transmitting any thing . Later on I connect TX to RX and RX to TX and the bluetooth module worked .
Materials:Bill of Materials
Code: Smart Bag Coding
Schematic: Smart Punching Bag Wiring (pdf) Smart Punching Bag Wiring Fzz (fzz)
Stand Parts:Stand