Log In
Or create an account ->
Imperial Library
Home
About
News
Upload
Forum
Help
Login/SignUp
Index
Title Page
Copyright and Credits
Mastering Arduino
Dedication
Packt Upsell
Why subscribe?
packt.com
Contributors
About the author
About the reviewers
Packt is searching for authors like you
Preface
Who this book is for
What this book covers
To get the most out of this book
Download the example code files
Download the color images
Conventions used
Get in touch
Reviews
The Arduino
History of the Arduino
What is the Arduino?
Touring the Arduino UNO R3
Powering the Arduino
Using the VIN/GND pins to power the Arduino
Using the DC supply input to power the Arduino
Using the USB connector to power the Arduino
Arduino shields
Arduino pin
Digital pins
Analog input pins
PWM pins
Power pins
Serial pins
SPI pins
Different Arduino boards
Arduino Micro
Arduino Mega 2560
Lilypad
Arduino Nano
Generic boards
Summary
Basic Electronics
Electronic building block
Power supply
Input
Output
Control circuit
Multimeter
Electronic components
Resistor
Potentiometer
Switches
Transistor
LED
Capacitor
Integrated circuit
What is electricity?
Current
Voltage
Resistance
Ohm's law
What is power?
Resistor color codes
Summary
Circuit Diagrams
What is a circuit?
Fritzing
Fritzing diagrams
Schematic diagrams
Parallel and series circuits
Series circuits
Resistance
Voltage
Current
Parallel circuits
Resistance
Voltage
Current
Voltage drop
Light up LED
Summary
Basic Prototyping
Setting up a work area
Using a solderless breadboard
Dupont (jumper) cables
Prototyping
Four building blocks of an electronic project
Creating a diagram
Building the prototype
First prototype
Summary
Arduino IDE
Arduino Sketch
Arduino IDE
Exploring the IDE
Configuring the Arduino within the IDE
Arduino web editor
Exploring
Configuring the Arduino within the IDE
Examples
Arduino libraries
Serial monitor
Hello World
Echo
Summary
Programming the Arduino - The Basics
Curly brackets
Semicolons
Comments
Variables
Data types
Boolean
Byte
Integer
Long
Double and float
Character
Arrays
Character arrays
Constants
Arithmetic functions
Comparison operators
Logical operators
Casting
Decision making
Looping
Functions
Summary
Programming the Arduino - Beyond the Basics
Setting digital pin mode
Digital write
Digital read
Analog write
Analog read
Structures
Unions
Adding tabs
Working with tabs
Object-oriented programming
String library
Summary
Motion Sensor
Introduction
Components needed
Circuit diagrams
Code
Running the project
Challenge
Summary
Environment Sensors
Introduction
Components needed
Circuit diagrams
Code
Running the project
Challenge
Summary
Obstacle Avoidance and Collision Detection
Introduction
Crash sensor
Obstacle avoidance sensor
Ultrasonic range finder
Components needed
Circuit diagrams
Code
Running the project
Challenge
Summary
Fun with Lights
Introduction
Components needed
Circuit diagrams
Code
RGB LED
NeoPixel shield
Running the project
Challenge
Summary
Fun with Sound
Introduction
Components needed
Circuit diagrams
Code
Using the tone function
Playing a ringtone in the RTTTL format
Challenge
Summary
Using LCD Displays
Introduction
Components needed
Circuit diagrams
Code
Drawing a line
Displaying text
Rotating text
Basic shapes
Filled shape
Rectangle
Filled rectangle
Rounded rectangle
Filled rounded rectangle
Challenge
Summary
Speech Recognition and Voice Synthesizing
Introduction
Components needed
Circuit diagrams
Code
Running the project
Challenge
Summary
DC Motors and Motor Controllers
Introduction
Components needed
Circuit diagrams
Code
Running the project
Challenge
Summary
Servo Motors
Introduction
Components needed
Circuit diagrams
Code
Challenge
Summary
Using a Relay
Introduction
Components needed
Circuit diagrams
Code
Challenge
Summary
Remotely Controlling the Arduino
Introduction
Components needed
Circuit diagrams
Code
Challenge
Summary
Creating a Robot
Introduction
Chassis and movement
Motors and power
Autonomous robot–obstacle avoidance and collision detection
Remotely controlling a robot
User feedback
Making things rotate
Non-robotic projects
Weather station
Smart thermostat
Proximity sensor
Challenge
Summary
Bluetooth LE
Introduction
Bluetooth LE radio
Network topology
Bluetooth LE broadcasting
Bluetooth LE connections
Bluetooth LE profiles
Generic access profile (GAP)
Generic attribute (GATT) profile
HM-10 Bluetooth module
Components needed
Circuit diagrams
Project 1 – serial communication
Test command
Query software version
Restore factory default
Restart module
Query MAC (Media Access Control) address
Set name
Query name
Set the advertising interval
Query the advertising interval
Set advertising type
Query advertising type
Set baud rate
Query baud rate
Set characteristic id
Set service id
Query service id
Set role
Query role
Clear last connected device
Try to connect to last connected device
Try to connect to an address
Set pin code
Query pin code
Set module power
Query module power
Set bond mode
Query bond mode
Set notify information
Query notify information
Project 2 – controlling LED
Project 3 – environmental sensor
What is new with Bluetooth 4.1, 4.2 and 5.0?
Bluetooth 4.1
Bluetooth 4.2
Bluetooth 5.0
Bluetooth mesh
Challenge
Summary
Bluetooth Classic
Introduction
Bluetooth radio
Network topology
Components needed
Circuit diagrams
Project 1 – configuring the Bluetooth modules
Test command
Reset command
Query firmware
Restore defaults
Query module address
Set/Query module mode
Set/Query UART parameters
Set/Query connection mode
Set/Query bind address
Project 2 – serial connection, sending data
Project 3 – joystick remote control
Summary
Another Book You May Enjoy
Leave a review - let other readers know what you think
← Prev
Back
Next →
← Prev
Back
Next →