So on Wednesday's class Dragan & I had a divine programming revolution. Not only did we get our Waveshield working thanks to Evan's help but we even got a sample prototype up and running. What ended up being wrong with the Waveshield library was the folder that was nested in the Waveshield library folder should not have been there. The actual Waveshield library folder was nested in another folder so once we moved that individual folder into Arduino's libraries folder, everything became A-OK. Honestly, how would anyone have known that? Especially newbs like us. Anyhoo, we first ran the dap_hc example sketch successfully, which allowed us to cycle through all our test messages on our SD card in a continuous loop listening through our headphones.
After these tests, we were now ready to connect some sensors to the wave shield to act as tripping mechanisms. We decided to use buttons. We got three buttons on the long breadboard and when each button was pressed, it played a designated message from the SD card. The code for this was a bit tricky to understand and manipulate to how we wanted to use it. But eventually towards the end of class, we got it to work and showed Katerie our Waveshield triumph. She was proud of us.....*tear*
Next steps:
-Use other sensors like Ultrasonic Rangefinders
-Finalize message and put them on SD cards
-Begin placing them in the "designated" areas of the house from the blueprint Katerie drew
No comments:
Post a Comment