User Tools

Site Tools


notes:c4eng:fall2023:projects:stl0

This is an old revision of the document!


STL0

PREPARATION

INSTALL CUSTOM WIRINGPI

yourpi:~$ wget https://project-downloads.drogon.net/wiringpi-latest.deb

NOTE: domain say “dr-OH-gon”, it does NOT say “dragon”

yourpi:~$ sudo dpkg -i wiringpi-latest.deb

USING WIRINGPI: THE gpio TOOL

“gpio readall” will open up a table showing the physical pin layout of your pi. It will also tell you whether a pin is set to input or output, and the voltage currently associated with the pin.

“gpio mode (pin # ex: gpio.0) out” will change the mode from input to output.

“gpio write (pin #) 1” will change the voltage of a pin from 0 to 1.

USING WIRINGPI: SETTING MODE OF PINS

USING WIRINGPI: WRITING TO PINS

ELECTRICITY

VOLTAGE / VOLTS

GROUND

AMPERAGE / AMPS

RESISTANCE / OHMS

DIGITAL ELECTRONICS

LIGHT EMITTING DIODE

RESISTOR

SERIES CIRCUIT

COMPONENTS

BREADBOARD

T-COBBLER / INTERFACE TO PI GPIO PINS

GPIO.0 is actually GPIO17 on your T-cobbler

LED

Brief Definition:

A light-emitting diode (LED) is a semiconductor device that emits light when current flows through it./
cd src/fall2023/c4eng/

RESISTOR

TARGET CIRCUIT

notes/c4eng/fall2023/projects/stl0.1694820906.txt.gz · Last modified: 2023/09/15 23:35 by nbutler5