dig333-devlog

<

DevLog 06

Outcomes

omundy/learn-computing/command-line

1. Follow the Command Line tutorial. Watch Basic Terminal Usage. Describe in your own words what each of the following commands will do ✏️

cd ~/
mkdir test && cd test
touch hello.py
echo "print(Hello World)" > hello.py
python hello.py

Set current directory

Creates new folder called test and makes that the directory

Makes a new empty file called hello.py

Replaces everything in the file with the written command in python

Runs the script in Python

2. Share 3 differences between the Raspberry Pi and Raspberry Pi Pico ✏️

  1. Pi has an OS while Pico does not
  2. Pi has internet capabilities while Pico does not
  3. Pi has no ADC onboard while Pico does

3. Why shouldn’t you power your Raspberry Pi from your computer USB? ✏️

Not enough voltage, draws more power than the computer USB can handle.

4. Of the ways to destroy a Raspberry Pi, which are you most likely to do? How will you keep from doing it? ✏️

Connecting incorrect currents or voltages to the GPIO, not realising that the GPIO pins are active. You can prevent that by running cleanup.

5. Raspberry Pi OS is based on what Linux distribution? What does that even mean? ✏️

It is based on Debian. Linux is an open source OS with many different forks. Debian is one of them.

6. What does it mean to “Flash” your SD Card? ✏️

Write onto it, usually in the context of putting the OS launcher onto it.

7. What does it mean if you see a red light and a flashing green light on your powered Raspberry Pi? ✏️

Could indicate activity or issues with the OS.

8. What does a package manager do? ✏️

It installs, deletes, and updates packages.

9. Describe how you might use Git with a Raspberry Pi? ✏️

You can use it to manage your projects and contribute to them over time.

10. What are two things your personal computer and a linux OS like Raspberry Pi have in common?

They both run off of Unix They both can run standard applications like a web browser.

Other experiments

Questions to bring up in class