Pi Camp
- Get to know each other
- Hook up and secure your Pi
- Learn a bit about the GUI and the Command Line
- Learn the basics of the Pi Machine
- Look at where we are going
- Build a basic circuit
-
- Ice breaker
- Who are you
- Why are you here
- What do you want to learn
- Set up the Pi
- Add heat sinks
- Install the Case - Your
case will most likely be different from the one shown
- Insert the SD Card.
- Connect the keyboard, mouse and
video
- Keyboard and mouse will be via keyboard dongle.
- video will be through the HDMI port.
- Power on. You
should see something like:
- Without the mushrooms. Those are Deid's
- What are the buttons (icons)? Describe them.
- Change the password and remember
it.
- Terminal session
- passwd command
- Some useful Linux terminal session commands
- man - show manual for a command
- ls and ls -l - list
- cd - change directory
- pwd - print working directory
- passwd - change password
- chmod 755 etc. - change permissions of a file or
directory
- mkdir - make a directory
- rmdir - remove a directory
- ssh - secure shell
- gedit - edit a file
- ip addr - show IP address
- mv - move or rename a file.
- sudo and - switch user and run a command
- halt - shut down the system
- gedit and nano edit a file as root
- Run the Hello World Program.
- Reboot and log on to ensure
that your new password works
- Pi Overview - What is in your kit.
- Pi
- Prototype Board
- Smoke - more later
- Turning the Pi Off - need to shut it down safely.
- Have the students turn a light on and
off on My Pi. http://<ipaddr>/onoff.html
(need to get this ip address) e.g.
http://192.168.0.123/onoff.html
- This is "equivalent" to hello world when testing hardware
...
- Demo of an on off circuit.
Replace this with Eileen's
- A bit about LEDs and resistors.
- Wire on off circuit with 9 V battery,
(switch?), LED and ~470Ω resistor.
Remember + and - for the LED
- Lets have some red and black tape to mark polarity if
needed.
Questions:
- Which lead is the positive lead
in an LED?
- Does the position of the resistor
matter?