Preview

Arduino Code Project Report

Good Essays
Open Document
Open Document
2020 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Arduino Code Project Report
Assignment Summary
The following project was carried out in partial fulfillment of the module Mecatronics System Design. This project includes research, design and development of Arduino code and a suitable circuit in order to create a dusk indicator using a voltage comparator.
Task 1
Activate a yard light represented by an LED using an LDR. The level of light dected by the LDR should be compared to the value currently set by a linear potentiometer. The ower can vary the potentiometer to vary how dark it needs to be before the yard light turns on.
Task 2
Task 2 requires adding complexity by incorporating 2 levels of LED brightness, depending on the level of darkness. IF the light level falls just below the potentiometer level the LED shoud
…show more content…
Most programmable microcontrollers that are used today are embedded in other consumer products or machinery including phones, peripherals, automobiles and household appliances for computer systems. Due to that, another name for a microcontroller is "embedded controller." Some embedded systems are more sophisticated, while others have minimal requirements for memory and programming length and a low software complexity. Input and output devices include solenoids, LCD displays, relays, switches and sensors for data like humidity, temperature or light level, amongst …show more content…
Then the process of writing the code that was needed for the circuit to operate as desired begun.
Once the code was produced and the Arduino software had approved it (after the debugging stage), the code was then uploaded to the Arduino Uno.
Next was the connection of the Arduino, the Breadboard and the components listed above. This can be a tricky process, so care was taken to ensure that the circuit was wired as the code created was written. To avoid any mistakes being made every member of the group checked to see if they could spot any mistakes that might have crept in. Then the circuit was powered and checked if it behaved as desired.
Once all of the above had be done correctly and worked as it was intended, the group combined to think of ways to improve the process and to add complexity to what was originally required.
The following were the resulting ideas for the complexity to be added:
• Back up LED if first LED blows or becomes un-operational for whatever reason
• Alarm system to detect and warn if LED has failed
• Similar alarm system to alert if LDR becomes

You May Also Find These Documents Helpful

  • Satisfactory Essays

    ECT114 week 3 lab

    • 299 Words
    • 2 Pages

    3. Analyze the switch logic circuit in Figure 1. The light ON is considered a logic HIGH, and the light OFF is considered a logic LOW.…

    • 299 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    1. A Simple Circuit - Arrange the components according to the picture shown. You will need to plug the USB cable from the myDAQ into your computer to provide power to the Protoboard. Notice that the LED has a flat notch on one side. Make sure the notch is initially oriented on the bottom as shown in the picture. In this arrangement, the flow of conventional current is from the top (5V) to the bottom (0V) through the resistor and the LED. What do you think the role is of the resistor in this circuit?…

    • 1662 Words
    • 6 Pages
    Good Essays
  • Good Essays

    Brandico Barr Module 3

    • 608 Words
    • 3 Pages

    1. Name and describe the components needed to make a complete circuit. You would need a bulb(converts electrical energy to radiant energy), a battery(possible power source), a switch(used to connect and disconnect the circuit), a buzzer(converts electrical energy to mechanical energy), a motor(converts electrical energy to mechanical energy), a resistor(slow down electron movement), a voltmeter(measures the voltage) and an ammeter(measures the current in unit amperes).…

    • 608 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    5. Do you feel everyone contributed equally to the final group submission and how did the group attempt to resolve any inequities (please do not name individuals in your answer).…

    • 485 Words
    • 2 Pages
    Satisfactory Essays
  • Better Essays

    Module 11 Final Exam

    • 1584 Words
    • 7 Pages

    UI Response if there should arise an occurrence of distinctive lighting conditions (Like daylight, lower light and so on)…

    • 1584 Words
    • 7 Pages
    Better Essays
  • Powerful Essays

    Light Dependent Resistor

    • 826 Words
    • 4 Pages

    The Light Dependent Resistor will be put into the clamp (keeping the orientation aligned with the bulb), and a space will be measured of 5cm between the end of the bulb and the beginning of the LDR. The clamp will be moved to the 5cm mark.…

    • 826 Words
    • 4 Pages
    Powerful Essays
  • Satisfactory Essays

    Coding Application Report

    • 2395 Words
    • 10 Pages

    The following Coding Application statements are intended to familiarize you with the coding process in a more concentrated and definitive manner. Please feel free to share with your instructor and with your fellow students your findings and methods. If you have questions this is the time to ask for clarity and explore the outcomes.…

    • 2395 Words
    • 10 Pages
    Satisfactory Essays
  • Powerful Essays

    Ap Bio Pre Lab

    • 1662 Words
    • 7 Pages

    Light Intensity |Initial |Dark |100% |65% |25% |10% |2% | |Trials |1 |1 |1 |1 |1 |1 |1 | |…

    • 1662 Words
    • 7 Pages
    Powerful Essays
  • Good Essays

    Circuits 2014

    • 604 Words
    • 3 Pages

    You now have the raw material to create a circuit. Take a moment to look over the site and find all the different materials. To build a circuit you will need several wires, a light bulb, a voltage source, a voltmeter, and a non – contact ammeter. Play with it to see how to grab and manipulate these tools.…

    • 604 Words
    • 3 Pages
    Good Essays
  • Powerful Essays

    Altera Quartus Experiment

    • 19294 Words
    • 78 Pages

    5. Since the above operations were all completed correctly, this step aimed to program and tests the designed circuit with the DE1 development board and record the numbers showed by 7-segment displays.…

    • 19294 Words
    • 78 Pages
    Powerful Essays
  • Better Essays

    You wake up, look in the mirror and realize there's something horribly wrong. You squint just to make sure you're seeing what you think you're seeing... an ugly cold sore. Yikes!…

    • 1033 Words
    • 5 Pages
    Better Essays
  • Good Essays

    Ever want a room that has multiple purposes? That’s what a dimmer switch is made for. From it being a meeting room to a romantic dinner room, it all depends on how much light there is. A dimmer switch is a helpful electrical component that lets you adjust the light levels from nearly dark to extremely bright by simply turning a knob or sliding a lever. When you're decorating a home, light is everything. The light level in a room controls what you can and can't do. It can also make a big impact on how you feel. For example, a romantic dinner for two isn’t so romantic under a 1,500 watt light bulb. Also for some people, it may not be too easy to read with a single light bulb either. We will be conducting experiments testing which variable resistor has the most and least resistance to the electricity. Now, instead of having one specific shade of light, we can adjust it to however bright or dim we want it to be to help in different situations.…

    • 2065 Words
    • 9 Pages
    Good Essays
  • Good Essays

    Build a simple series circuit that consists of 4-6 pieces of wire, 1 light bulb, and 1 battery (voltage source). In order to complete the circuit, the red circles at the end of each must overlap. Please note that the light bulb also has TWO circles. Your circuit is complete and working when the light comes on and the blue dots begin moving.…

    • 871 Words
    • 4 Pages
    Good Essays
  • Good Essays

    circuit and the bulb glows. When the liquid does not allow the electric current to…

    • 953 Words
    • 4 Pages
    Good Essays
  • Powerful Essays

    Set up a series circuit with the ammeter, switch, nichrome wire resistor (Figure 1), light bulb (Figure 2) connected in a series and connect the voltmeter in parallel with the nichrome wire or light bulb resistor. Use two alligator clips as a switch…

    • 1549 Words
    • 7 Pages
    Powerful Essays