![]() The nice thing about Processing is that there are quite a few good libraries about not and there are even a few YouTube videos I found that demonstrated how to visualise IMU data via Processing. The ultimate aim would be to show data on a web browser and use some JavaScript framework and library to display the data but this would take me too long. I wanted to use the rest of my time before a late lunch to explore Processing and 3d rendering as wanted to see if I could create a simple tool to visualise the data. I combined the SimpleAccelerometer and SimpleGyroscope examples together and opened up the SerialPlotter tool to review my data. The curious thing I found, following the installation of the library, was where the LSM9DS1 examples are placed when you have the examples list open within the IDE. Typing in "LSM9DS1" gave me a list of options to choose from:Īs you can see, I installed the Arduino version. The Arduino IDE provides a very handy Library Manager tool. I had plenty of packaging foam and duct tape lying around so I was good to go. Do some research on visual outputs for motion data (had seen some videos before using Processing for graphic output).Ĭompleting step 1 did not take too long. Download the Arduino LSM9DS1 library and run through the examples.ģ. Kit out the hockey stick with battery pack and the Arduino Nano board.Ģ. First, I needed to work out a quick plan for the morning sprint:ġ. It is time to get cracking on with project preparation. Breakfast is done and the first cup of coffee has been had. Errr, it's Sunday and the kids are still sleeping so why wake them up. The number of successful strikes and degree of accuracy data can then be related back to the central controller. The LED's on the BBC microbit will be used to provide user live feedback. These proximity sensor will determine the degree of accuracy (left or right of a plumb line) of the ball strike. The small target area (or goal) will be monitored by a BBC microbit which will have at least 1 or 2 proximity sensors attached. The purpose would then be to use this data to evaluate the hockey players technique when trying to hit a target with a hockey ball. The mission is to attach the Arduino Nano 33 BLE board to the hockey stick and use BLE to transmit the live motion sensing data (linear acceleration and angular motion) to a remote central controller. The Arduino Nano 33 BLE board comes with a 9DOF motion and orientation-sensing LSM9DS1 SiP (system-in-package) from ST Microelectronics. It is 23h00 and the mission requirements for the Hack in a Hurry ("HinaH") Hockey Stick project have now been flushed out. So, much like the popular TV series 24, I've got 24 hours to update my progress. Then prove that you can really rapid prototype with an Arduino Nano 33 BLE board within 48 hours. The reason is that I had read earlier today that the NanoRama competition deadline had been extended and it was only yesterday that I had given up in despair with my original project. It is 21h00 on Saturday the 16th of May 2020 and I've decided to make a later entry with a project idea I hatched only 30 minutes ago.
0 Comments
Leave a Reply. |