39 Experiments with Raspberry Pi and Arduino
This book is about Raspberry Pi 3 and Arduino camera projects.
The book explains in simple terms and with tested and working example projects, how to configure and use a Raspberry Pi camera and USB based webcam in camera-based projects using a Raspberry Pi.
Example projects are given to capture images, create timelapse photography, record video, use the camera and Raspberry Pi in security and surveillance applications, post images to Twitter, record wildlife, stream live video to YouTube, use a night camera, send pictures to smartphones, face and eye detection, colour and shape recognition, number plate recognition, barcode recognition and many more.
Installation and use of popular image processing libraries and software including OpenCV, SimpleCV, and OpenALPR are explained in detail using a Raspberry Pi. The book also explains in detail how to use a camera on an Arduino development board to capture images and then save them on a microSD card.
All projects given in this book have been fully tested and are working. Program listings for all Raspberry Pi and Arduino projects used in this book are available for download on the Elektor website.
Over 45 Builds for the Legendary 555 Chip (and the 556, 558)
The 555 timer IC, originally introduced by the Signetics Corporation around 1971, is sure to rank high among the most popular analog integrated circuits ever produced. Originally called the IC Time Machine, this chip has been used in many timer-related projects by countless people over decades.
This book is all about designing projects based on the 555 timer IC. Over 45 fully tested and documented projects are presented. All projects have been fully tested by the author by constructing them individually on a breadboard. You are not expected to have any programming experiences for constructing or using the projects given in the book. However, it’s definitely useful to have some knowledge of basic electronics and the use of a breadboard for constructing and testing electronic circuits.
Some of the projects in the book are:
Alternately Flashing Two LEDs
Changing LED Flashing Rate
Touch Sensor On/Off Switch
Switch On/Off Delay
Light-Dependent Sound
Dark/Light Switch
Tone Burst Generator
Long Duration Timer
Chasing LEDs
LED Roulette Game
Traffic Lights
Continuity Tester
Electronic Lock
Switch Contact Debouncing
Toy Electronic Organ
Multiple Sensor Alarm System
Metronome
Voltage Multipliers
Electronic Dice
7-Segment Display Counter
Motor Control
7-Segment Display Dice
Electronic Siren
Various Other Projects
The projects given in the book can be modified or expanded by you for your very own applications. Electronic engineering students, people engaged in designing small electronic circuits, and electronic hobbyists should find the projects in the book instructive, fun, interesting, and useful.
Over 45 Builds for the Legendary 555 Chip (and the 556, 558)
The 555 timer IC, originally introduced by the Signetics Corporation around 1971, is sure to rank high among the most popular analog integrated circuits ever produced. Originally called the IC Time Machine, this chip has been used in many timer-related projects by countless people over decades.
This book is all about designing projects based on the 555 timer IC. Over 45 fully tested and documented projects are presented. All projects have been fully tested by the author by constructing them individually on a breadboard. You are not expected to have any programming experiences for constructing or using the projects given in the book. However, it’s definitely useful to have some knowledge of basic electronics and the use of a breadboard for constructing and testing electronic circuits.
Some of the projects in the book are:
Alternately Flashing Two LEDs
Changing LED Flashing Rate
Touch Sensor On/Off Switch
Switch On/Off Delay
Light-Dependent Sound
Dark/Light Switch
Tone Burst Generator
Long Duration Timer
Chasing LEDs
LED Roulette Game
Traffic Lights
Continuity Tester
Electronic Lock
Switch Contact Debouncing
Toy Electronic Organ
Multiple Sensor Alarm System
Metronome
Voltage Multipliers
Electronic Dice
7-Segment Display Counter
Motor Control
7-Segment Display Dice
Electronic Siren
Various Other Projects
The projects given in the book can be modified or expanded by you for your very own applications. Electronic engineering students, people engaged in designing small electronic circuits, and electronic hobbyists should find the projects in the book instructive, fun, interesting, and useful.
50+ Android Apps with Raspberry Pi, ESP32 and Arduino
This book is about developing apps for Android compatible mobile devices using the MIT App Inventor online development environment. MIT App Inventor projects can be in either standalone mode or use an external processor. In standalone mode, the developed application runs only on the mobile device (e.g. Android). In external processor-based applications, the mobile device communicates with an external microcontroller-based processor, such as Raspberry Pi, Arduino, ESP8266, ESP32, etc.
In this book, many tested and fully working projects are given both in standalone mode and using an external processor. Full design steps, block programs, circuit diagrams, QR codes and full program listings are given for all projects.
The projects developed in this book include:
Using the text-to-speech component
Intonating a received SMS message
Sending SMS messages
Making telephone calls using a contacts list
Using the GPS and Pin-pointing our location on a map
Speech recognition and speech translation to another language
Controlling multiple relays by speech commands
Projects for the Raspberry Pi, ESP32 and Arduino using Bluetooth and Wi-Fi
MIT APP Inventor and Node-RED projects for the Raspberry Pi
The book is unique in that it is currently the only book that teaches how to develop projects using Wi-Fi and Node-RED with MIT App Inventor. The book is aimed at students, hobbyists, and anyone interested in developing apps for mobile devices.
All projects presented in this book have been developed using the MIT App Inventor visual programming language. There is no need to write any text-based programs. All projects are compatible with Android-based mobile devices. Full program listings for all projects as well as detailed program descriptions are given in the book. Users should be able to use the projects as they are presented, modifying them to suit their own needs.
The Raspberry Pi is a $35 credit-card sized computer with many applications, such as in desktop computing, audio and video playback, and as a controller in many industrial, commercial and domestic applications.
This book is about the Raspberry Pi computer and its use in control applications. The book explains in simple terms, with examples, how to configure the RPi, how to install and use the Linux operating system, how to write programs using the Python programming language and how to develop hardware based projects.
The book starts with an introduction to the Raspberry Pi computer and covers the topics of purchasing all the necessary equipment and installing/using the Linux operating system in command mode. Use of the user-friendly graphical desktop operating environment is explained using example applications. The RPi network interface is explained in simple steps and demonstrates how the computer can be accessed remotely from a desktop or a laptop computer.
The remaining parts of the book cover the Python programming language, hardware development tools, hardware interface details, and RPi based hardware projects. All the 23 projects given in the book have been tested and are working.
The following headings are given for each project:
Project title
Project description
Project block diagram
Project circuit diagram
Project program description using the Program Description Language (PDL)
Complete program listing
Description of the program
The book is ideal for self-study, and is intended for electronic/electrical engineering students, practising engineers, research students, and hobbyists.
40+ Projects using Arduino, Raspberry Pi and ESP32
This book is about developing projects using the sensor-modules with Arduino Uno, Raspberry Pi and ESP32 microcontroller development systems. More than 40 different sensors types are used in various projects in the book. The book explains in simple terms and with tested and fully working example projects, how to use the sensors in your project. The projects provided in the book include the following:
Changing LED brightness
RGB LEDs
Creating rainbow colours
Magic wand
Silent door alarm
Dark sensor with relay
Secret key
Magic light cup
Decoding commercial IR handsets
Controlling TV channels with IT sensors
Target shooting detector
Shock time duration measurement
Ultrasonic reverse parking
Toggle lights by clapping hands
Playing melody
Measuring magnetic field strength
Joystick musical instrument
Line tracking
Displaying temperature
Temperature ON/OFF control
Mobile phone-based Wi-Fi projects
Mobile phone-based Bluetooth projects
Sending data to the Cloud
The projects have been organized with increasing levels of difficulty. Readers are encouraged to tackle the projects in the order given. A specially prepared sensor kit is available from Elektor. With the help of this hardware, it should be easy and fun to build the projects in this book.
It is becoming important for microcontroller users to quickly learn and adapt to new technologies and architecture used in high performance 32-bit microcontrollers. Many manufacturers now offer 32-bit microcontrollers as general purpose processors in embedded applications.
ARM provide 32 and 64-bit processors mainly for embedded applications. These days, the majority of mobile devices including mobile phones, tablets, and GPS receivers are based on ARM technology. The low cost, low power consumption, and high performance of ARM processors makes them ideal for use in complex communication and mixed signal applications.
This book makes use of the ARM Cortex-M family of processors in easy-to-follow, practical projects. It gives a detailed introduction to the architecture of the Cortex-M family. Examples of popular hardware and software development kits are described.
The architecture of the highly popular ARM Cortex-M processor STM32F107VCT6 is described at a high level, taking into consideration its clock mechanisms, general input/output ports, interrupt sources, ADC and DAC converters, timer facilities, and more. The information provided here should act as a basis for most readers to start using and programming the STM32F107VCT6 microcontroller together with a development kit.
Furthermore, the use of the mikroC Pro for ARM integrated development environment (IDE) has been described in detail. This IDE includes everything required to create a project; namely an editor, compiler, simulator, debugger, and device programmer.
Although the book is based on the STM32F107VCT6 microcontroller, readers should not find it difficult to follow the projects using other ARM processor family members.
59 Experiments with Arduino IDE and Python
The main aim of this book is to teach the Arduino IDE and MicroPython programming languages in ESP32 based projects, using the highly popular ESP32 DevKitC development board. Many simple, basic, and intermediate level projects are provided in the book using the Arduino IDE with ESP32 DevKitC. All projects have been tested and work. Block diagrams, circuit diagrams, and complete program listings of all projects are given with explanations. In addition, several projects are provided for programming the ESP32 DevKitC using MicroPython. The projects provided in this book are designed to teach the following features of the ESP32 processor:
GPIOs
Touch sensors
External interrupts
Timer interrupts
I²C and I²S
SPI
PWM
ADC
DAC
UART
Hall sensor
Temperature sensor
Infrared controller
Reading and writing to SD card
Reading and writing to flash memory
RTC timer
Chip ID
Security and encryption
Wi-Fi and network programming
Bluetooth BLE programming
Communication mobile devices
Low power design
ESP-IDF programming
The projects have been organized with increasing levels of difficulty. Readers are encouraged to tackle the projects in the order given. A specially prepared hardware kit is available from Elektor. With the help of this hardware, it should be easy and fun to build the projects in this book.
Based on PIC microcontrollers and Arduino
Every mobile phone includes a GSM/GPRS modem which enables the phone to communicate with the external world. With the help of the GSM modems, users can establish audio conversations and send and receive SMS text messages. In addition, the GPRS modem enables users to connect to the internet and to send and receive large files such as pictures and video over the internet.
This book is aimed for the people who may want to learn how to use the GSM/GPRS modems in microcontroller based projects. Two types of popular microcontroller families are considered in the e-book: PIC microcontrollers, and the Arduino. The highly popular mid-performance PIC18F87J50 microcontroller is used in PIC based projects together with a GSM Click board. In addition, the SIM900 GSM/GPRS shield is used with the Arduino Uno projects. Both GSM and GPRS based projects are included in the e-book.
The book will enable you to control equipment remotely by sending SMS messages from your mobile phone to the microcontroller, send the ambient temperature readings from the microcontroller to a mobile phone as SMS messages, use the GPRS commands to access the internet from a microcontroller, send temperature readings to the cloud using UDP and TCP protocols and so on.
It is assumed that the reader has some basic working knowledge of the C language and the use of microcontrollers in simple projects. Although not necessary, knowledge of at least one member of the PIC microcontroller family and the Arduino Uno will be an advantage. It will also be useful if the user has some knowledge of basic electronics.
Learn to program displays and GUIs with Python
This book is about Raspberry Pi 4 display projects. The book starts by explaining how to install the latest Raspbian operating system on an SD card, and how to configure and use the GPIO ports.
The core of the book explains the following topics in simple terms with fully tested and working example projects:
Simple LED projects
Bar graph LED projects
Matrix LED projects
Bitmap LED projects
LED strips
LCDs
OLED displays
E-paper displays
TFT displays
7-inch touch screen
GUI Programming with Tkinder
One unique feature of this book is that it covers almost all types of display that readers will need to use in their Raspberry Pi based projects. The operation of each project is fully given, including block diagrams, circuit diagrams, and commented full program listings. It is therefore an easy task to convert the given projects to run on other popular platforms, such as Arduino or PIC microcontrollers.
Python program listings of all Raspberry Pi projects developed in this book are available for download at Elektor.com. Readers can use these programs in their projects. Alternatively, they can modify the programs to suit their applications.
Traitement du signal numérique simple et abordable
Le but de cet ouvrage est d'enseigner les principes de base du Traitement Numérique du Signal (DSP) et de l'introduire d'un point de vue pratique en utilisant le strict minimum de mathématiques. Seul le niveau de base de la théorie des systèmes à temps discret est donné, suffisant pour implémenter des applications DSP en temps réel. Les implémentations pratiques sont décrites en temps réel à l'aide de la très populaire carte de développement de microcontrôleur ESP32 DevKitC. Avec le microcontrôleur ESP32, peu coûteux et extrêmement populaire, vous devriez être en mesure de concevoir des projets DSP élémentaires avec des fréquences d'échantillonnage comprises dans la plage audio. Toute la programmation est effectuée à l'aide du populaire IDE Arduino en conjonction avec le compilateur en langage C.
Après avoir posé une base solide de la théorie DSP et des discussions pertinentes sur les principaux outils logiciels DSP du marché, le livre présente les projets audio et DSP suivants :
Utilisation d'un microphone numérique basé sur I²S pour capturer le son audio
Utilisation d'un amplificateur audio et d'un haut-parleur de classe D basés sur I²S
Lecture de musique MP3 stockée sur une carte SD via un amplificateur et un haut-parleur basés sur I²S
Lecture de fichiers de musique MP3 stockés dans la mémoire flash ESP32 via un amplificateur et un haut-parleur basés sur I²S
Radio Internet mono et stéréo avec amplificateurs et haut-parleurs basés sur I²S
Sortie de synthèse vocale avec un amplificateur et un haut-parleur basés sur I²S
Utilisation du contrôle du volume dans les systèmes d'amplificateurs et de haut-parleurs basés sur I²S
Un compteur d'événements parlants avec un amplificateur et un haut-parleur basés sur I²S
Un générateur d'onde sinusoïdale réglable avec amplificateur et haut-parleur basés sur I²S
Utilisation du module ADC/DAC rapide 24 bits Pmod I²S2
Conception de filtre FIR numérique passe-bas et passe-bande en temps réel avec conversion A/D et D/A externe et interne
Conception de filtre IIR numérique passe-bas et passe-bande en temps réel avec conversion A/D et D/A externe et interne
Transformations de Fourier rapides (FFT)
Getting started with the world’s best open-source PCB tool
The latest iteration of KiCad, the world’s best free-to-use Printed Circuit Board tool, is packed with features usually found only in expensive commercial CAD tools. This modern, cross-platform application suite built around schematic and design editors, with auxiliary applications is a stable and mature PCB tool. KiCad 8 is a perfect fit for electronic engineers and makers.
Here are the most significant improvements and features in KiCad 8, both over and under the hood:
Modern user interface, completely redesigned from earlier versions
Improved and customizable electrical and design rule checkers
Theme editor allowing you to customize KiCad on your screen
Ability to import projects from Eagle, CADSTART, and more
Python scripting API
Improved integrated SPICE circuit simulator
Multi-sheet schematics
Filters define selectable elements
Enhanced interactive router helps you draw single tracks and differential pairs with precision
New or enhanced tools to draw tracks, measure distances, tune track lengths, etc.
Advanced interactive router
Built-in bill of materials generator
Realistic ray-tracing capable 3D viewer
Customizable teardrops
Plug-in manager for quick installation of themes, libraries and functionalities such as autorouters and BOM generators
This book will teach you to use KiCad through a practical approach. It will help you become productive quickly and start designing your own boards. Example projects illustrate the basic features of KiCad, even if you have no prior knowledge of PCB design.
The author describes the entire workflow from schematic entry to the intricacies of finalizing the files for PCB production and offers sound guidance on the process. Further full-fledged projects, of incremental difficulty, will be presented in a second book, together with a variety of advanced recipes.