Skip to content

11. Output devices

Our assignment this week is to:

Group assignment:

Measure the power consumption of an output device Document your work to the group work page and reflect on your individual page what you learned

Individual assignment:

Add an output device to a microcontroller board you’ve designed and program it to do something

Learning outcomes

Demonstrate workflows used in controlling an output device(s) with MCU board you have designed

Have you answered these questions?

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) Described your design and fabrication process or linked to previous examples. Explained the programming process/es you used. Outlined problems and how you fixed them Included original design files and code Included a ‘hero shot/video’ of your board

Trying to work on an Arduino shield…technically not directly related to this week’s assignment, but wanting to find a spot to store process of importing new symbols and footprints somewhere for future reference.

https://app.ultralibrarian.com/content/help/?kicad.htm

https://support.snapeda.com/en/articles/2651507-how-to-import-into-kicad

Extract the content of the downloaded .zip file. In KiCad, go to Tools > Open Eeschema. Select Preferences > Component Libraries. In the Component library files section, click Add. Select the .lib library file. Go to Tools > Open PcbNew. Click Preferences > Footprint Libraries Wizard.

Import Symbols Using the KiCad (*.lib) file:

In KiCad, go to Tools > Edit Schematic Symbols.

Click on Preferences > Manage Symbol Libraries.

On the Global Libraries tab, click on Browse Libraries (the small folder icon below) and select the .lib file. Then click Open. The library will appear, click OK.

Toggle the search tree on, and navigate to the symbol you imported. Double-click over it to open the file.

Import Footprints Using the *.kicad_mod file:

In KiCad, go to Tools > Edit PCB Footprints.

Click on Preferences > Manage Footprint Libraries.

On the Global Libraries tab, click on Browse Libraries (the small folder icon below) and navigate to the Folder of the downloaded .kicad_mod file. Then click Open, and the library will appear. If the path doesn’t have the same name. you can rename it as the part.

In the table, make sure that the Plugin Type is set to KiCad. Then click OK.

Toggle the search tree on, and navigate to the footprint you imported. Double-click over it to open the file.

Tutorials about making your own symbols and footprints

https://www.youtube.com/watch?v=c2niS9ZRBHo

This week I worked on defining my final project idea and started to getting used to the documentation process.

Research

“Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.”

“Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.”

Artificial muscles: https://www.youtube.com/watch?v=gzdZGKHdfsc Servo motors: https://howtomechatronics.com/how-it-works/how-servo-motors-work-how-to-control-servos-using-arduino/ Solenoids https://bc-robotics.com/tutorials/controlling-a-solenoid-valve-with-arduino/ http://mechatronicsdata.blogspot.com/p/pneumatics.html https://softroboticstoolkit.com https://softroboticstoolkit.com/resources-for-educators/pneuwrist-brace https://softroboticstoolkit.com/resources-for-educators/soft-gripper https://softroboticstoolkit.com/resources-for-educators/sdm-finger https://softroboticstoolkit.com/low-cost-ep-circuit

OLED

neopixel: https://learn.adafruit.com/adafruit-dotstar-leds/overview https://learn.adafruit.com/adafruit-neopixel-uberguide?view=all https://www.adafruit.com/product/2226

Code Example

Use the three backticks to separate code.

// the setup function runs once when you press reset or power the board
void setup() {
  // initialize digital pin LED_BUILTIN as an output.
  pinMode(LED_BUILTIN, OUTPUT);
}

// the loop function runs over and over again forever
void loop() {
  digitalWrite(LED_BUILTIN, HIGH);   // turn the LED on (HIGH is the voltage level)
  delay(1000);                       // wait for a second
  digitalWrite(LED_BUILTIN, LOW);    // turn the LED off by making the voltage LOW
  delay(1000);                       // wait for a second
}

Video

From Vimeo

Sound Waves from George Gally (Radarboy) on Vimeo.

From Youtube

3D Models


Last update: November 13, 2023