Neil Cameron was a research scientist in quantitative genetics at Roslin Institute (of "Dolly" the sheep fame) with expertise in data analysis and computer programming. Neil has previously taught at University of Edinburgh and Cornell University. Neil has a deep interest in electronics and "how things work" with a focus on programming an Arduino and its application to a range of comprehensive projects for everyday electronics which has inspired Neil to write this book.
Preface
Chapter 1. Introduction
. Arduino Uno
. Breadboards
. Arduino IDE software
. Arduino IDE sketch
. Run the Blink sketch
. Electricity explained
. Revise the Blink sketch
. Pulse width modulation
. Opening and saving sketches
Each chapter following chapter 1 is "Arduino applied to...X" with a complete project example.
Chapter 2. Switches
. Tactile switch
. Comparison operators
. Debouncing a switch
. Hardware switch debounce
. Ball switch
Chapter 3. Sensors
. Variables
. Humidity sensor
. Library installation
. Light dependent resistor
. Light dependent resistor and several LEDs
. Voltage divider
. Ultrasonic distance sensor
. Hall effect sensor
. Sound sensor
. Infrared sensor
. Infrared distance module
. Passive infrared sensor
. Accelerometer and gyroscope
Chapter 4. Liquid crystal display
. Contrast adjustment with PWM
. Scrolling text
. LCD with I2C bus
. I2C with temperature and pressure sensor
. 16x4 LCD cursor positioning
. Display entered values on LCD
. LCD character set
Chapter 5. Seven segment LED display
. Basic schematic
. PWM and LED brightness
. Shift register
. Shift register, PWM and LED brightness
. Alpha-numeric characters
Chapter 6. Four-digit seven-segment display
. Functions
. One shift register
. Two shift registers
Chapter 7. 8x8 dot matrix display
. One shift register
. Two shift registers
. Column scanning
Chapter 8. Servo and Stepper motors
. Servo motor
. Servo motor and a potentiometer
. Stepper motor
. Stepper motor and a potentiometer
. Stepper motor gear ratio
Chapter 9. Rotary encoder
. Rotary encoder and stepper motor
Chapter 10. Infrared sensor
. Infrared emitter and sensor
. Infrared emitter and receiver
Chapter 11. Radio frequency identification
. Display content of MIFARE Classic 1K and 4K
. Mimic RFID and secure site
. Master card validation
. Read and write to Classic 1KB card
Chapter 12. Data logging to an SD card
. SD card module
. Temperature and light intensity logging
. Date and time logging
. Logging weather station data
. Increment filename for data logging
. Listing files on an SD card
Chapter 13. Screen displays
. TFT LCD screen
. Displaying images from SD card
. Screen, servo motor and ultrasonic distance sensor
. OLED display
. Touch screen
Chapter 14. Sensing colours
. Red green blue (RGB) LED
. 565 colour format
. Colour recognition sensor
Chapter 15. Camera
. Camera image capture setup
. Capturing camera images
Chapter 16. Bluetooth communication
. Bluetooth communication applications
. Message scrolling with MAX7219 dot matrix module
. MAX7219 and the Bluetooth Terminal HC-05 app
. Message speed and potentiometer
. MAX7219 and the ArduDroid app
Chapter 17. Wireless communication
. Transmit or receive
. Transmit and receive
Chapter 18. Build Arduino
. ATmega328P microcontroller
. ATmega328P pin layout
. Building an "Arduino"
. Installing the bootloader
Chapter 19. Global navigation satellite system
. GNSS messages on Serial Monitor
. ublox u-centre
. Arduino and GNSS
. GPS data logging to SD card
. GPS and ST7735 screen
. Displaying GPS data
Chapter 20. Interrupts and timed events
. Interrupts
. Types of interrupt
. Additional interrupt pins
. Interrupts and rotary encoder
. Timed events: delay()
. Timed events: millis()
. Timed events: Timer1
. Timer register manipulation
Chapter 21. Power saving
. AVR library
. LowPower library
. Power down and an infrared sensor
Chapter 22. Sound and square waves
. Piezo transducer and buzzer
. Musical notes
. Sensor and sound
. Generating square waves
. Square wave and servo motor
Chapter 23. DC motors
. Motor control set in the sketch
. Motor speed
. Motor control with infrared remote control
. Motor control with wireless communication
. Motor control with accelerometer
. Motor control with photoelectric encoder
Chapter 24. Robot wheels
. Robot car
. PID controller
. Balancing robot
. Determining PID coefficients
. Circular buffer
. Quaternion measurements
Chapter 25. WiFi communication
. NodeMCU ESP8266
. WeMos D1 mini
. WiFi and webserver
. WiFi and HTML
. WiFi and internet access
Appendix
. Resistor banding
. Uploaded Libraries
. Quaternion measurements
. Who's who in electronics
. Sources of electronic components