Posts

Week 7 Personal Reflection- Maker Space

What was the build that you are most proud of and why? The multiple LEDS. This is the first one that I completed and was successful on the first try. I was able to figure out the wires and the code right away. Then I was proud of myself because we had to combine the LED with the POT for an extended challenge and I was able to successfully complete this as well. I  felt like this is the point where it all finally clicked and I really understood what we were doing and how it all worked. I truly felt accomplished and I was so proud of myself! From this point on in the class my confidence was so good. Normally on the challenges I struggled with something and had to get help, but this was truly 100% on my own with just the book!     Where were you when you started and where did you end up? When we first started, I honestly had no idea what we were doing and how to do it. I was just copying down the code not really understanding anything. Each week I slowly underst...

Challenge Week 6 Iron Chef Motor Resistor

Image
1. Explanation of the project- Create a project using the motor and transistor. My challenge has a motor that is controlled by a POT. When turned up, it turns on an LED and when turned down it turns the other one on and the first one off.  2. Code 3. Picture of the circuit including Arduino and Breadboard 4. Electronic Diagram:  5. Video Explanation:  6. Challenge Thinking: I started by just getting the motor and the resistor set up. Once I got my board set up, I started on the code. I started with the MotorOnThenOff   code, which turns it off and on like a blinking LED. I typed in all typed in all the code and got an error message that no port was provided. It kept saying to choose a port. I guess my computer has finally reached its limit. I had actually bought a new one and was waiting until this class was over to start using it since all my ardurino program was already on my old one. I had to go ahead and download it to my new computer. Once I did that, I opened a...

Challenge Week 5 Photo Resistor

Image
  1. Project : Photo Resistor: This changes resistance based on the amount of light the sensor receives .   2. Code:  3. Picture of the circuit:   4. Electronic Diagram: 5. Video explanation :  Code Explanation :       6. Challenge thinking: Started with adding wires and parts to the board. First the wires to ground to positive and 5v to negative.  Next the photoresistor into f5 and 6, a 10K resistor on one side connecting to i 1 and 5 then a wire to the negative side of the board from the resistor. On the other side of the 10K resistor, I connected  a wire to Analog port A0. The other side of the resistor connects to the negative side of the board with a wire. The LED into h20 positive and h21 negative.  Then a wire connects it to port 9 on the positive side and a 330K resistor to the negative side which connects to the negative side of the board.  The code: Started with the  const int sensorPin = A1; const int ...

Challenge Build 4: Dice

Image
  Challenge: Design, build, program and test an electronic dice machine. Code:  Completed Board: Electronic Diagram: Video Explanation: Challenge Thinking: I started by going to the Arduino site and looking at the circuit and code. This all looked very confusing. I first thought I would not be able to complete it because it suggested using different resistor than what I had in my kit. I decided to try using the 330k and the 10K. I then hooked up all the LEDs and the button. After I connected a 330K resistor to each LED on the positive side and the resistor to a port (2-8).The negative side of the LED was connected to the negative side of the board. Then I connected each side of the board to the negative to negative and the positive to positive to give each side ground and 5v power. After that I connected the  button to a 10k resistor and to the positive side. The last wire from the button connected to port 9 on the circuit. When I first compiled it, nothing worked so I un...

Circuit 3 RGB LED and 4 Multiple LED

Image
Circuit 3 Project: Driving an RGB LED; change colors with one LED RGB; use the circuit to create a color combinations   2. The code: The code seemed a little intimidating and confusing. I understood that digitalWrite parts of how to turn different pins high and low made different colors. The for() function is what confused me. This time I made sure to select my Arduino board before starting and copied the example code so I would not lose it. I also made a new sketch for just the code and typed it all out.   I ran the code the first time and got an error. Compilation error: a function-definition is not allowed here before '{' token I looked back at the example code to double check it. I was missing a close bracket at the end of the digitalWrite That fixed the problem! Completed Code: RGB LED 3. Completed Board 4. Electronic Diagram 5. Video explaining the project and how it works. This is the first video I made: When I first got it working, it was not showing all the col...