<p>"Raspberry Pi Programming Guide" is a text that gives the reader a bit of insight into this form of technology. It is European based and is just making a debut in North America so many are curious about it and what exactly this technology can do. The aim that the author has with this text is to h
C Programming on Raspberry Pi
โ Scribed by Dogan Ibrahim
- Year
- 2021
- Tongue
- English
- Leaves
- 376
- Category
- Library
No coin nor oath required. For personal study only.
โฆ Table of Contents
Chapter 1 โ Installing the Operating System on Raspberry Pi
1.1 โ Overview
1.2 โ Raspbian Buster installation steps on Raspberry Pi 4
1.3 โ Using networked connection
1.4 โ Remote access
1.5 โ Using Putty
1.5.1 โ Configuring Putty
1.6 โ Remote access of the Desktop
1.7 โ Static IP address
1.8 โ Summary
Chapter 2 โ Raspberry Pi Program Development
2.1 โ Overview
2.2 โ The nano text editor
2.3 โ Example project
2.4 โ Creating and running a Python program on Raspberry Pi
2.5 โ Creating and running a C program on Raspberry Pi
2.6 โ Summary
Chapter 3 โ C Programming for Raspberry Pi
3.1 โ Overview
3.2 โ The C Language
3.2.1 โ Variables
3.2.2 โ Screen output and keyboard input
3.2.3 โ Comparison
3.2.4 โ Operators
3.2.5 โ Auto increment/decrement operators
3.2.6 โ Logical operators
3.2.7 โ Flow control
3.2.8 โ Arrays
3.2.9 โ String variables
3.2.10 โ Arithmetic functions
3.2.11 โ String functions
3.2.12 โ Character macros
3.2.13 โ Alternative numeric input
3.2.14 โ User functions
3.2.15 โ File processing
3.2.16 โ Structures
3.2.17 โ Unions
3.2.18 โ Pointers
3.3 โ Summary
Chapter 4 โ Hardware Programming using C
4.1 โ Overview
4.2 โ The general purpose input-output ports (GPIO)
4.3 โ Interfacing with GPIO
4.3.1 โ Loads requiring small currents
4.3.2 โ Loads requiring higher currents
4.3.3 โ Using relays
4.4 โ Project 1: Flashing LED - compilers available
4.4.1 โ Using the pigpio library
4.4.2 โ Using the wiringPi library
4.4.3 โ Other C libraries/compilers for Raspberry Pi
4.5 โ Using the Geany editor
4.6 โ The hardware
4.7 โ Summary
Chapter 5 โ Hardware Projects using C
5.1 โ Overview
5.2 โ Project 1 - Rotating LEDs
5.3 โ Project 2 - Christmas lights
5.4 โ Project 3 - Binary up counter with LEDs
5.5 โ Project 4 - Binary up/down counter with LEDs
5.6 โ Project 5 - LED dice
5.7 โ Project 6 - LED colour wand
5.8 โ Project 7 - Changing the brightness of an LED
5.9 โ Project 8 - Generating random sounds using a buzzer
5.10 โ Project 9 - Display temperature and relative humidity
5.11 โ Project 10 - ON/OFF temperature controller
5.12 โ Summary
Chapter 6 โ LCD Projects
6.1 โ Overview
6.2 โ HD44780 LCD module
6.3 โ Project 1 - Displaying text
6.4 โ Project 2 - Second counter
6.5 โ Project 3 - Creating a custom character
6.6 โ Project 4 - Creating multiple custom characters
6.7 โ Project 5 - Displaying current date and time
6.8 โ Project 6 - Displaying the temperature and humidity
6.9 โ Summary
Chapter 7 โ I2C Bus Interface
7.1 โ Overview
7.2 โ The I2C Bus
7.3 โ Project 1 - Port expander
7.4 โ Project 2 - EEPROM memory
7.5 โ Project 3 - TMP102 temperature display
7.6 โ Project 4 - I2C LCD
7.7 โ Project 5 - Using the pigpio library with I2C - TMP102 temperature display
7.8 โ Summary
Chapter 8 โ SPI Bus Interface
8.1 โ Overview
8.2 โ Raspberry Pi SPI pins
8.3 โ Project 1 - Port expander
8.4 โ Summary
Chapter 9 โ Using Analogue-to-Digital Converters (ADCs)
9.1 โ Overview
9.2 โ Project 1 - Analogue temperature sensor thermometer
9.3 โ Summary
Chapter 10 โ Using Digital-to-Analogue Converters (DACs)
10.1 โ Overview
10.2 โ The MCP4921 DAC
10.3 โ Project 1 - Generating square wave signal with any peak voltage
10.4 โ Project 2 - Generating sawtooth wave signal
10.5 โ Summary
Chapter 11 โ Using Serial Communication
11.1 โ Overview
11.2 โ Raspberry Pi serial port
11.3 โ Project 1 - Serial communication between Raspberry Pi and Arduino Uno
11.4 โ Summary
Chapter 12 โ Other Useful Functions wiringPi
12.1 โ Overview
12.2 โ Project 1 - Using external interrupts - event counter
12.3 โ Project 2 - Using the tone library - generating 1kHz signal
12.4 โ Project 3 - Using the tone library - sweep frequency tone generation
12.5 โ Project 4 - Using the tone library - reading the frequency from the keyboard
12.6 โ Project 5 - Using the tone library - melody maker
12.7 โ Timing library
12.8 โ Multitasking threads
12.9 โ Project 6 - Multi-threading - flashing 3 LEDs at different rates
12.10 โ Project 7 - Multi-threading - Two-digit 7-segment LED counter
12.11 โ Hardware PWM
12.12 โ GPIO utility
12.13 โ Support for other chips and add-on boards
12.14 โ Summary
Chapter 13 โ Other Useful Functions - pigpio
13.1 โ Overview
13.2 โ Project 1 - Using external interrupts - event counter
13.3 โ Timing
13.4 โ Timer interrupts
13.5 โ Project 2 - Using timer interrupts - flashing LED
13.6 โ Project 3 - Using timer interrupts - 2 digit 7-segment LED counter
13.7 โ Project 4 - Multi-threading - flashing 3 LEDs at different rates
13.8 โ Project 5 - Hardware PWM- generate 1kHz PWM wave with hardware
13.9 โ File handling
13.10 โ Waves
13.11 โ picscope
13.12 โ pigpiod
13.13 โ Summary
Chapter 14 โ Communication over Wi-Fi
14.1 โ Overview
14.2 โ UDP and TCP/IP
14.3 โ UDP communication
14.4 โ Project 1 - Communicating with an Android smartphone using UDP (Raspberry Pi is the server)
14.5 โ Project 2 - Sending temperature readings to Android smartphone (Raspberry Pi is the server)
14.6 โ Project 3 - Communicating with an Android smartphone using UDP (Raspberry Pi is the client)
14.7 โ Project 4 - Sending time-stamped temperature readings to Android smartphone (Raspberry Pi is
14.8 โ Project 5 - Web Server application - controlling two LEDs
14.9 โ Summary
Chapter 15 โ Bluetooth Communication
15.1 โ Overview
15.2 โ Project 1 - Bluetooth communication with a smartphone - sending and receiving text messages
15.3 โ Project 2 - Bluetooth communication with a smartphone - controlling two LEDs
Chapter 16 โ Automatically Running Programs on Startup
16.1 โ Overview
16.2 โ Scheduling a program to run at specified times
Chapter 17 โ Sending Data to the Cloud
17.1 โ Overview
17.2 โ Project - Sending temperature and humidity data to the cloud
โ Index
๐ SIMILAR VOLUMES
The Raspberry Pi has traditionally been programmed using Python. Although this is a very powerful language, many programmers may not be familiar with it. C on the other hand is perhaps the most commonly used programming language and all embedded microcontrollers can be programmed using it. ------
<div> <p>The Raspberry Pi Pico is a remarkable microcontroller. It has a power and sophistication that would have been unthinkable just a short time ago. For the sort of jobs it is ideal for, it has plenty of processing power and enough memory to make tasks that would have once required careful pla
<p><span>There is a new edition of this book: </span><span>Programming The Raspberry Pi Pico/W In C, Second Edition</span><span><br><br>The </span><span>Raspberry Pi Pico</span><span> is a remarkable microcontroller. It has a power and sophistication that would have been unthinkable just a short tim
<i><p>Is Raspberry Pi 2 what you want to learn? Always wondered how one becomes proficient in this programming language? Does it interest you how Raspberry Pi works?</p></i> <i>Purchase Raspberry Pi 2 to discover everything you need to know about Programming.<p></p></i> <i><p>Step by step to incre
A technology book for kids! Do you want to learn how computers work? This book introduces you to the world of computing with the Raspberry Pi - the small, inexpensive, and super-cool microcomputer that teaches real tech skills. Use the Pi to create things while learning all about computers, from the