Posts

Installing Raspberry Pi Connect

Image
 Get raspberry pi working and install raspberry pi connect. For this step you need to connect your raspberry pi to a monitor, keyboard and mouse and power it up.  This step assumes you have already installed the Operating system onto an sd card. The documentation to install raspberry pi connect is here. You also need a raspberry pi ID.  That is available here .  Now you need to set up the wi-fi connection on your laptop and on your pi.  You need to allow your phone to act as a wifi hotspot on your phone. Iphone Instructions .  Android instructions From the previous instructions you should have a hotspot name and a password for your hotspot.  Now you need to set up the wifi connection on your laptop and pi. Instructions Pi  Instructions Apple laptop    Instructions PC If you have done all the instructions above you should now be able to go to a browser on any machine and connect to your pi using a remote connection.  Test this by co...

Week 1

 Activities. 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. Noel will tell you about himself. Connect Laptop to Pi (Almost everyone has done these steps)   Raspberry Pi has a new tool called Raspberry Pi connect. Allow Raspberry Pi Connect on install or from config Get a Raspberry Pi Id (on the client browser) Get a verification code on the console rpi-connect signin That should return https://connect.raspberrypi.com/verify/XXXX-XXXX Visit that on the client browser Uniquely name the connection Sign in Details at  https://www.raspberrypi.com/documentation/services/connect.html Config Pi to allow SPI Download code for course from github using git. Practice some useful linux commands Find out which directory you are in. pwd list things in the directory ls telling directorie...

Week 9

Image
  Pi Experiment ADC (Analog to Digital Chip) MCP3008 Datasheet for ZK8868 CH0 -7 The 8 channels you wish to measure relative voltage of.  Max??? VDD (Voltage at the drain) Powers the chip 5V Max 7V VREF Voltage of the thing you are measuring 5V Max ???? AGND Analog ground.  The Ground of the circuit you are measuring the voltage of CLK Clock  Syncs the output of the chip with the input of the Pi DOUT Where the digital signal comes out DIN Used to load channel information to the chip. !CS/SHDN Used to turn on and off the chip (Normal convention is to show CS active low with a bar above but I could not get that using my blogging tool and css was going to far so I used the lesser known convention) DGND Used to connect to the digital inputs ground. What comes out of DOUT.  A series of 1's and 0's which represent a number relative to the VRef max. MCP is a 10 bit output (depends on chip) if the CH0 voltage out is 5V and the VREF is 5V then the DOUT will be 1111111111...

Week 8

  Pi Experiment Pi receiving inputs through button pushes Pull up/down resistors How Pi can use pull up/down resistors internally Programming Arrays Lists Next Week ADC chip MCP3008 Potentiometer Leads (As an extra I will have a photoresistor and 10kOhm resistor you do not need them)

Week 7

 Pi Experiment Adafruit Servo experiment How a servo motor works Modify the program to take inputs from the user to turn the servo. Programming Functions How to call How to use arguments How to use output Next Week  1kOhm resistor 10kOhm resistor Push Button switch Leads Alligator to male leads (not essential) 500 Ohm resistor (+ or - 100 Ohm) LED 

Week 6

 Pi Experiment HBridge chip Changing the program to work in auto mode.  Forward and back. Programming Loops, String comparison, inputs from the user. What to bring next Week Adafruit servo motor

Week 5

 All about transistors https://noelpi.blogspot.com/2023/11/controlling-motor-with-transistor.html Programming Operators Conditional statements Next Week Normal stuff (pi, leads, 500 ohm resistor, motor , hbridge  L293D Dual Full Bridge Motor Driver IC )