Week 20. Jan 14.18 2019 - michelle-qin/Portfolio GitHub Wiki
The arduino board for the SnakePendulum was implemented to the kiosk and it turned out there were slight issues/modifications needed to the code. For one, the red and green pins needed to be switched. The time period also needed to be elongated from 10/20 seconds to 90 seconds. As we tested the code, new issues arose (but they were separate from the code). The pendulum didn't move when the button was pressed to move it (however, the piston light turned green, indicating that the code was correct). To fix this, Mr. Gibson tinkered with the air pressure levels in the piston and it turned out to work. Another issue that we noticed: when the pendulum was in movement, the pendulum was shaky. We suspect this has to do with the weight of the balls. This is potentially problematic as it could mess with the ball's movement. Project Design team is working on modifications.
Since my code seems to be working as it should (so far no code-specific errors), I committed it to GitHub. The most recent code can be found there.
I'm currently still experimenting and learning how to use the adafruit circuit playground express. I'm following a great, thorough tutorial on Adafruit to get familiar with the basics, which will hopefully give me a strong foundation to code the actual product that will be implemented in the "Ball Wall" project. Currently, I'm coding the playground using Python. Here are some of the essential pieces I've learned so far:
- Blink a LED at different time lengths
- Turn on/off a LED using 1 and 2 buttons
- Fade a LED
- Generate and play a sine wave sound
- Use the capacitive touch
- Use the light sensor
My goals for next week: Today (Friday), Mr. Harlow told me the new project parts have arrived and a student this afternoon will wire the parts together so I should be able to program it next week. My goal is to transfer the knowledge/skills I've gained this week to the new product (programming environment is the same for both boards).