OS Install
NOOBS – New Out Of the Box Software
https://www.raspberrypi.org/downloads/noobs/
https://www.raspberrypi.org/learning/software-guide/
https://www.raspberrypi.org/help/videos/#noobs-setup
https://www.raspberrypi.org/documentation/installation/noobs.md
Download the latest hoop – unzip and copy it to a overwrite formatted SDCard which are then used to boot and load an appropriate OS for the RPi
Remote Desktop Control RPi from Mac using XRDP
sudo apt-get install xrdp
GPIO – General Purpose input/Output
A General Purpose Input/output (GPIO) is an interface available on most modern microcontrollers (MCU) to provide an ease of access to the devices internal properties. Generally there are multiple GPIO pins on a single MCU for the use of multiple interaction so simultaneous application.
Pinout – https://pinout.xyz
I²C – Inter-Inter Circuit
I2C is a serial communication protocol, so data is transferred bit by bit along a single wire (the SDA line). Like SPI, I2C is synchronous, so the output of bits is synchronized to the sampling of bits by a clock signal (the SCL line) shared between the master and the slave.
I²C, pronounced I-squared-C, is a synchronous, multi-master, multi-slave, packet switched, single-ended, serial computer bus invented in 1982 by Philips Semiconductor. It is widely used for attaching lower-speed peripheral ICs to processors and microcontrollers in short-distance, intra-board communication.
http://www.circuitbasics.com/basics-of-the-i2c-communication-protocol/
- The default device address for I2C is 0x18
PWM – Pulse-width modulation
Pulse-width modulation, or pulse-duration modulation, is a way of describing a digital signal that was created through a modulation technique, which involves encoding a message into a pulsing signal.
Pulse Width Modulation, or PWM, is a technique for getting analog results with digital means. Digital control is used to create a square wave, a signal switched between on and off.
PWM is a way to control analog devices with a digital output
Pulse Width Modulation (PWM) is a fancy term for describing a type of digital signal. Pulse width modulation is used in a variety of applications including sophisticated control circuitry. A common way we use them is to control dimming of RGB LEDs or to control the direction of a servo motor.
There are many different ways to control the speed of DC motors but one very simple and easy way is to use Pulse Width Modulation.
Ultrasonic Sensor HC SR04
https://randomnerdtutorials.com/complete-guide-for-ultrasonic-sensor-hc-sr04/
Projects:
Three Wheeled Smart Car – Freenove
https://github.com/Freenove/Freenove_Three-wheeled_Smart_Car_Kit_for_Raspberry_Pi
Servo – servo control accuracy is 1us = 0.09degrees