Week 10 : Output Devices
Objectives of the Week
- Linked to the group assignment page.
- Documented how you determined power consumption of an output device with your group.
- Documented what you learned from interfacing output device(s) to microcontroller and controlling the device(s).
- Linked to the board you made in a previous assignment or documented your design and fabrication process if you made it.
- Explained the programming process/es you used.
- Explained any problems you encountered and how you fixed them.
- Included original source code and any new design files.
- Included a 'hero shot' of your board.
Group Assignment Contribution
#
For More about Group Assignment
Individual Assignment Contribution
LCD Display 16*2
16x2 LCD Display Datasheet
Usage
Liquid Crystal Displays (LCDs) are widely used in electronic projects, embedded systems, consumer electronics, industrial equipment, and automotive dashboards. These displays work by using liquid crystals that align to block or allow light through. Common LCD types include character LCDs (like 16x2) and graphic LCDs. They are often controlled using microcontrollers like Arduino, Raspberry Pi, or STM32 and are suitable for displaying text, menus, and basic graphics.
Advantages
- Low Power Consumption: LCDs consume less power, making them ideal for battery-operated devices.
- Wide Availability: Available in various sizes and formats (character, graphic, TFT).
- Readable in Sunlight: Many LCDs have good visibility under direct light.
- Cost-Effective: Affordable and widely used in educational and industrial settings.
- Simple Interface: Easy to interface with most microcontrollers using parallel or I2C communication.
Disadvantages
- Limited Viewing Angles: LCDs tend to have narrow viewing angles compared to newer technologies.
- Lower Contrast: Not as vibrant or sharp as OLED displays.
- Slow Response Time: May not be suitable for fast-refresh applications like gaming or animations.
- Backlight Dependency: Requires a backlight for visibility in the dark, increasing power consumption.
OLED Display
OLED Datasheet
Usage
Organic Light Emitting Diode (OLED) displays are modern, energy-efficient screens used in smartphones, smartwatches, embedded systems, and premium consumer electronics. OLEDs emit light directly from the pixels, eliminating the need for a backlight. Common types include 0.96" and 1.3" I2C OLEDs, frequently used with microcontrollers for displaying text, icons, and small graphics.
Advantages
- High Contrast Ratio: Displays true black by turning off pixels entirely.
- Wide Viewing Angles: Maintains visibility and clarity from multiple angles.
- Thin and Lightweight: Extremely compact, ideal for space-constrained applications.
- Faster Response Time: Excellent for animations and real-time interfaces.
- Low Power for Dark Themes: Consumes less power when displaying black or fewer lit pixels.
Disadvantages
- Cost: Generally more expensive than LCD displays of similar size.
- Burn-in Risk: Static images over long periods may cause pixel burn-in.
- Lower Brightness in Sunlight: Can be less readable under direct sunlight than LCDs.
- Limited Lifespan: Organic compounds degrade over time, especially blue pixels.
MG995 Servo Motor
MG995R datasheet
Usage
The MG995 is a popular high-torque digital servo motor commonly used in robotics, RC cars, automation systems, and DIY mechanical projects. It provides precise control over angular position using PWM signals and is compatible with microcontrollers like Arduino. It's ideal for controlling joints, arms, and mechanisms in robotic applications requiring torque and durability.
Advantages
- High Torque Output: Offers up to 10 kg-cm of torque, suitable for heavy mechanical loads.
- Metal Gears: Durable gear assembly ensures longer operational life and resistance to wear.
- Wide Compatibility: Easily integrated with Arduino, Raspberry Pi, and other platforms.
- Digital Control: Provides precise angle control using PWM.
- Affordable: Budget-friendly for hobbyists and educational use.
Disadvantages
- No Continuous Rotation: Limited to 180° movement, not suitable for full rotation tasks.
- Power Hungry: Requires a stable 5–6V power supply with sufficient current.
- Vibration and Noise: Can be noisy and jittery under load or incorrect signal.
- Weight: Slightly bulky for very compact applications.
Making Interface with Microcontroller
From the last week, we have done a Input board that used for controlling the Joystick with microcontroller
Now in thie week, we have done a Output board that used for controlling the Oled with microcontroller
Finally Leaving my files here
Arduino Uno Datasheet
Xiao ESP32C3 Datasheet
Source Code