11. Output Devices¶
Objectives¶
- Add an output device to a microcontroller board you’ve designed,and program it to do something
Group assignment Group Assignment page
- measure the power consumption of an output device.
The Eleventh week’s class of my fab academy life took place and the professor Neil class started as usual,this week assignmend as khown as Output Devices
In this week I start to make a microcontroller board using SAMD21E17A controller ic
This is the circute design
Schematic design

Afte designing I Added my name in this board using Inkscape

This is the outer pictuer

After mill the PCB I sonlder it
This componence are used

This is the final result

Then I added a smable led programming I attached A led in the board
This is the video
This is the programming coade
// the setup function runs once when you press reset or power the board
void setup() {
// initialize digital pin LED_BUILTIN as an output.
pinMode(11, OUTPUT);
}
// the loop function runs over and over again forever
void loop() {
digitalWrite(11, HIGH); // turn the LED on (HIGH is the voltage level)
delay(1000); // wait for a second
digitalWrite(11, LOW); // turn the LED off by making the voltage LOW
delay(1000); // wait for a second
}
After that I used to a 20*4 LCD Display
So I find the i2c pin in my board

This is the LCD pins

So I connected the i2c LCD display SDA SCL pins and two power
This is the connection


After that I start the programming
```
#include
include ¶
LiquidCrystal_I2C lcd(0x27,20,4); // set the LCD address to 0x27 for a 16 chars and 2 line display
void setup() { lcd.init(); // initialize the lcd lcd.init(); // Print a message to the LCD. lcd.backlight(); lcd.setCursor(3,0); lcd.print(“Hello, world!”); lcd.setCursor(2,1); lcd.print(“Fab Academy 2022”); lcd.setCursor(0,2); lcd.print(“Fablab kerala”); lcd.setCursor(2,3); lcd.print(“MB/FAB/2022”); }
void loop() { }
This is the programming after programming add the SAMD Core URL
This is the URL
https://raw.githubusercontent.com/qbolsee/ArduinoCore-fab-sam/master/json/package_Fab_SAM_index.json
```
This is the URL added
Board Installed

Select the board SAMD21E17A

Then connect the board and upload programming
File uploaded

This is the final result

All Files Download here Download