Comments on: Assignment 1: Analog and Digital Input and Output https://courses.ideate.cmu.edu/60-223/f2017/assignment-1-analog-and-digital-input-and-output/ 60-223 Fall 2017 Tue, 07 Nov 2017 00:08:48 +0000 hourly 1 https://wordpress.org/?v=4.8.24 By: soojins@andrew.cmu.edu https://courses.ideate.cmu.edu/60-223/f2017/assignment-1-analog-and-digital-input-and-output/#comment-132 Tue, 19 Sep 2017 03:33:18 +0000 https://courses.ideate.cmu.edu/60-223/f2017/?p=92#comment-132 I did some reorganizing of my files within the Google Drive link previously shared; This link should allow anyone in CMU to see the files: https://drive.google.com/drive/folders/0B70fyRiHk85qaUhKRGcxMmw1Qk0

]]>
By: mrquinn@andrew.cmu.edu https://courses.ideate.cmu.edu/60-223/f2017/assignment-1-analog-and-digital-input-and-output/#comment-113 Thu, 14 Sep 2017 16:13:42 +0000 https://courses.ideate.cmu.edu/60-223/f2017/?p=92#comment-113 https://docs.google.com/a/andrew.cmu.edu/document/d/1HipFpsN49IdSjCU0IA6ocf6E1nKN0ctWDTwj8oRIUCs/edit?usp=sharing

Here is the code!

]]>
By: gbalakr1@andrew.cmu.edu https://courses.ideate.cmu.edu/60-223/f2017/assignment-1-analog-and-digital-input-and-output/#comment-112 Thu, 14 Sep 2017 13:23:28 +0000 https://courses.ideate.cmu.edu/60-223/f2017/?p=92#comment-112 If the drive link didn’t work, this should: https://drive.google.com/file/d/0Bz7Or4Zn580COU5EcmV2VVhJYnM/view?usp=sharing

]]>
By: akshatp@andrew.cmu.edu https://courses.ideate.cmu.edu/60-223/f2017/assignment-1-analog-and-digital-input-and-output/#comment-111 Wed, 13 Sep 2017 05:33:28 +0000 https://courses.ideate.cmu.edu/60-223/f2017/?p=92#comment-111 My idea was to create a simple six button braille symbol.

As a user you can enter your braille patterns and retrieve it on the serial monitor. The green led lights up if you enter a recognized pattern of an English alphabet and the red one lights up otherwise.

Challenges I faced:

I was short on time as I had already passed the submission deadline due to other tasking commitments. I, therefore, had to complete my project in class – which was a fun challenge!

The code was initially bulky, which I did a good job on making more readable and accessible for someone evaluating.

The circuitry was more tasking that expected. Push buttons aren’t the best thing to wire up, especially with jumper cables and resistors interfering with each other.

What I want to do next:

If I get time, I’ll attach an HC05 bluetooth module to this. Once done, I can spin up a quick app that can connect to this assemblage and make learning braille for both blind students and others a complete tech solution.

link to zip file: https://drive.google.com/file/d/0B5Odh0nyHUsJTnl6VzFXTlVHbmM/view?usp=sharing

]]>
By: mrquinn@andrew.cmu.edu https://courses.ideate.cmu.edu/60-223/f2017/assignment-1-analog-and-digital-input-and-output/#comment-110 Wed, 13 Sep 2017 00:03:07 +0000 https://courses.ideate.cmu.edu/60-223/f2017/?p=92#comment-110 My project is a series of LEDs that blink in sequence, so that there is a single “blink” traveling along the line of LEDs. I integrated a knob that changes the speed at which the blink travels along the line.
Since this video I’ve added a switch that changes the direction of the blink. One thing I’d like to change is that the blink does not immediately change speeds or direction; it continues the loop along the whole line first. I’m going to try further to get it to change within the loop.

]]>
By: mrquinn@andrew.cmu.edu https://courses.ideate.cmu.edu/60-223/f2017/assignment-1-analog-and-digital-input-and-output/#comment-109 Tue, 12 Sep 2017 22:36:22 +0000 https://courses.ideate.cmu.edu/60-223/f2017/?p=92#comment-109 https://photos.app.goo.gl/0YWKq88dIyprXN1C3

]]>
By: rnarayan@andrew.cmu.edu https://courses.ideate.cmu.edu/60-223/f2017/assignment-1-analog-and-digital-input-and-output/#comment-108 Tue, 12 Sep 2017 15:12:55 +0000 https://courses.ideate.cmu.edu/60-223/f2017/?p=92#comment-108 My project was an LED cat that responds to being “pet” by “purring” and “waking up.” I used two LEDs, a vibration motor and a lever switch to achieve this. Every time you “stroke” the lever switch, the cat purrs (the vibration motor turns on) and then the LED eyes get brighter. You can stroke it up to 5 times before the cat resets. I had the most trouble getting accurate readings from the lever switch and getting the gradient to work on the LEDs. I ended setting the lever switch to PULLUP and setting it active low.

Arduino sketch and video:
https://drive.google.com/drive/folders/0B3_nRvY5FHyHcW5CeHdVZGRRUDQ?usp=sharing

]]>
By: mengyinf@andrew.cmu.edu https://courses.ideate.cmu.edu/60-223/f2017/assignment-1-analog-and-digital-input-and-output/#comment-106 Tue, 12 Sep 2017 06:46:54 +0000 https://courses.ideate.cmu.edu/60-223/f2017/?p=92#comment-106 My project is called BreathWithYourPlant. Its goal is to help us take care of our plants better and be more connected with them. It has three LEDs, red, yellow, and blue, that correspond to sunlight, food and water. So the LEDs light up when the plant needs more sunlight/food/water. The green LED is the most interesting one: it has a breathing pattern that synchronizes with the plant’s. When the plant is under more sunlight, it breathes faster (LED lights up and dims at faster speed), and vice versa. This function makes the plants more “actively living”.

In terms of building this project, I had a little trouble with the pseudo-analog input because I forgot that only the digital inputs with the “~” sign allows the LED to have a smooth output of transitioning between different levels of brightness. During the building process, it was also hard to keep track of the location of buttons, wires and resistors.

Here is the link to the video demo and arduino code:
https://drive.google.com/drive/folders/0B0lS0mmjvCWPSFB0S2IzaEE0V2s?usp=sharing

]]>
By: soojins@andrew.cmu.edu https://courses.ideate.cmu.edu/60-223/f2017/assignment-1-analog-and-digital-input-and-output/#comment-105 Tue, 12 Sep 2017 05:20:04 +0000 https://courses.ideate.cmu.edu/60-223/f2017/?p=92#comment-105 For this assignment, I plugged in 3 LEDS, red, yellow and blue, where each of its brightness is controlled by a photoresistor, a potentiometer, and as thermo-sensor, respectively.

The red LED, controlled by the photoresistor, would light up once there is more shadow casting upon the resistor, and vice versa.
The second analog switch, the potentiometer, not only the brightness of the yellow LED, but also turns on/off the both red and blue LEDs, depending on whether the potentiometer values hit between 0 and 1.
Lastly, I’ve played with a thermo-sensor that controls the brightness of the blue LED.

Video, Circuit Diagram and Arduino Code linked in below:
https://drive.google.com/open?id=0B70fyRiHk85qVnRkUnpObTR4c1U

]]>
By: tcli@andrew.cmu.edu https://courses.ideate.cmu.edu/60-223/f2017/assignment-1-analog-and-digital-input-and-output/#comment-104 Tue, 12 Sep 2017 04:52:54 +0000 https://courses.ideate.cmu.edu/60-223/f2017/?p=92#comment-104 Google Drive with video, documentation, etc…
https://drive.google.com/open?id=0BxAGrufmmWthb0tBSXh1bk1jX2c

Initial Idea:
Create an interactive led light show controlled by a potentiometer and a few switches. Brightness would be controlled by the potentiometer and the lightshow chosen would be controlled by switches.

What didn’t work:
1. With the number of lights that I wanted to implement with a dimming and brightening features, there weren’t enough AWS supported pins on the Arduino to do that. Most of my initial confusion and frustration came from not realizing that not all pins supported AWS.
2. The next gimmicky challenge that I came across was the implementation of a potentiometer as I wasn’t really 100% sure how to integrate one into the circuit. I eventually figured it out after some trial and error and in the process reworked my circuits and finalized my idea for the project.

Changes I made:
1. The original circuits that I made were more or less test circuits to make sure that I knew how to use the different components such as potentiometers, switches, and LEDs.
2. The next big change happened when I finalized my idea to creating a visual display for the setting on the potentiometer. I essentially added many more LEDs as well as moving the potentiometer to a better spot.
3. The last change that was made was just wire management as well as a little tidying up in the final phase of the project. This change included using uniform color wires, choosing wires of similar lengths, making the LEDs more uniform and aligned.

Final Product:
The final product consists of a potentiometer connected to and read by an Arduino, which in turn lights up a series of LEDs, the number of which is controlled by the resistance of the potentiometer. The resistance can be changed by turning the nob on the potentiometer and the lights move from a white LED, indicating power, to green, then yellow, and finally red, indicating the amount of voltage currently in the circuit. Finally I also implemented a switch that can turn off the entire circuit in case anything went wrong/caught on fire/short circuited.

What I learned:
1. Basic understanding of Arduino programming, building, and debugging.
2. Fundamentals of breadboarding.
3. Debugging/troubleshooting breadboard circuits

What went wrong:
1. The biggest issue that I had in the beginning was the confusion regarding the individual pin support for AWS on the Arduino. I didn’t realize that not allof the support that feature and therefore spent a lot of time debugging essentially nothing.
2. Spent a good amount of time learning the Arduino language as well as the basics of wiring up an Arduino, probably more than I should have.

What I’ll do next time:
1. The first thing that needs to be changed is the sketch for the project. I feel like much of it was simple repetition and could have been done in 1/10th of the lines I took to write.
2. Wiring. I initially wire by project pretty haphazardly and paid the price in the end when everything for extremely messy. Had to re-wire. Next time: use colors!
3. Planning. Plan things out before actually doing the project as not to waste time doing menial tasks.

]]>