Output Devices

Over View of Assignments

What are Output Devices ?

An output device is any piece of hardware item which utilizes whatever data and commands from your micro controller/processor in order to perform a task. This leads to the results of data processing carried out by an information processing system (such as a microcontroller) which converts the electronically generated information into human-undestandable form

The output is what results from an electronic circuit. Any of the following components may be used as outputs:

  • an LED
  • a RGB LED
  • a buzzer
  • a piezo
  • a DC motor
  • a stepper motor
  • a servo motor
  • a solenoid
  • a relay
  • a seven-segment display. and many more.....
  • Read More

    Detail explanation of the Electronic Components

    ATTiny 45 Multi Board

    i have used the ATTiny45 for this weeks assignment i have made a multi board where i have connected the all the pins to one pin header so i can use all the I/O pins as per the required i have included the place holder for the OLED display and the speaker

    i had used the eagle as per the experience from the electronics design week and now below yoiu can see the snapshots

    concept Shot

    board designed in Eagle schematics

    concept Shot

    board designed in Eagle after route

    concept Shot

    traces image for milling

    Teamshot Shot

    Cut part image for milling

    After the milling process is completed i have been soldered as the electronics production week and finally i have the complete board

    Teamshot Shot

    part list image for Soldering

    Now Download the Orginal files Eagle files and PNG files

    We used arduino code to test and control the RGB LED.

    RGB LED glows as per pattern

    Here you can find the code used for the programming

    1. int redPin = 1;
    2. int greenPin = 2;
    3. int bluePin = 0;
    4. #define COMMON_ANODE
    5. void setup()
    6. {
    7. pinMode(redPin, OUTPUT);
    8. pinMode(greenPin, OUTPUT);
    9. pinMode(bluePin, OUTPUT);
    10. }
    11. void loop()
    12. {
    13. setColor(255, 0, 0);
    14. delay(1000);
    15. setColor(0, 255, 0);
    16. delay(1000);
    17. setColor(0, 0, 255);
    18. delay(1000);
    19. setColor(255, 255, 0);
    20. delay(1000);
    21. setColor(80, 0, 80);
    22. delay(1000);
    23. setColor(0, 255, 255);
    24. delay(1000);
    25. }
    26. void setColor(int red, int green, int blue)
    27. {
    28. #ifdef COMMON_ANODE
    29. red = 255 - red;
    30. green = 255 - green;
    31. blue = 255 - blue;
    32. #endif
    33. analogWrite(redPin, red);
    34. analogWrite(greenPin, green);
    35. analogWrite(bluePin, blue);
    36. }

    Hero Shot

    Now here we comes to the Hero Shot of this Week

    Hero Shot

    The ATTiny 45 Multi Board

    Conclusion

  • We had great time working with the multiple Output Devices
  • i had experienced some problems with the voltage regulator
  • I was able to understand how the output devices work
  • © 2017, made with by scitechindian

    Creative Commons License

    This work done by SYED JUNAID AHMED is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.