User Tools

Site Tools


notes:c4eng:fall2023:projects:ptb0

This is an old revision of the document!


PTB0

LED

The RED and GREEN LED's have to have 3.3V, 220ohm resistors, and be grounded.

GPIO MODE SETTING

The GPIO mode setting you have plays a critical role in making sure the circuit functions properly. Using commands such as gpio mode (WPI) in/out will control whether or pin is an input or output. gpio write (WPI) 0/1 will control if the pin you select receives voltage. 0 being none, 1 meaning it will receive voltage.

GPIO COMMAND-LINE TESTING

SPEAKER (PASSIVE BUZZER - SPEAKER WITH STICKER)

Passive speaker has one leg longer than the other. It also has a closed bottom while the active speaker has an open bottom.

GPIO MODE SETTING

BUTTON

GPIO MODE SETTING

VERIFYING CORRECT CIRCUIT CONNECTION

notes/c4eng/fall2023/projects/ptb0.1696431926.txt.gz · Last modified: 2023/10/04 15:05 by nbutler5