Week 1

 Activities.

  1. Tell us about yourself.  Why are you here?  Are you just keen to learn anything or are you here to get the skills to do a project.  If so what is the project.  What are your previous experiences with programming and electronics.
  2. Noel will tell you about himself.
  3. Connect Laptop to Pi (Almost everyone has done these steps)
      Raspberry Pi has a new tool called Raspberry Pi connect.
    1. Allow Raspberry Pi Connect on install or from config
    2. Get a Raspberry Pi Id (on the client browser)
    3. Get a verification code on the console
      rpi-connect signin
    4. That should return
      https://connect.raspberrypi.com/verify/XXXX-XXXX
      Visit that on the client browser
    5. Uniquely name the connection
    6. Sign in
      Details at https://www.raspberrypi.com/documentation/services/connect.html
    7. Config Pi to allow SPI
    8. Download code for course from github using git.
  4. Practice some useful linux commands
    1. Find out which directory you are in.
      • pwd
    2. list things in the directory
      • ls
    3. telling directories from files
      • colour in console
        • blue: directories
        • green: executable files
        • red: compressed files
        • cyan: symbolic links
        • yellow: device files
        • magenta: image files
        • white: regular files
    4. long listings to see permissions (and to tell directories from files)
      • ls -l
    5. listing all
      • ls -a
      • ls -la lists long for all files
    6. changing into a directory
      • cd
    7. changing up a directory
      • cd ..
    8. challenge changing into a directory above
      • cd ../<directory>
    9. cat
    10. more
    11. Output to text file
      • > Output overwrite,  >>Output append
    12. ls ~ (~ symbol takes you to the uses home directory)
    13. sudo raspi-config
      sudo allows you to elevate your privileges.  Say you wanted to allow anyone to read a certain file.  You would use for example 
      chmod ugo=rxw <file> in your own user directory as you have the right to change permissions of your own files.  However if you wanted to change the permissions for a file above your user directory you would need to do....
      sudo chmod ugo=rxw <file>
      Use sudo carefully as it is there to protect you from yourself. 
    14. Using nano

Comments

Popular posts from this blog

Week 4

Github and code