Praktische Einführung in 3D-Modellierung vom Gehäuse bis zu Frontplatten
Ein historisches Bauteil einbetten, eine professionell anmutende Heimstätte für eine Leiterplatte schaffen oder ein komplexes Gerät mit Chassis konstruieren – diese und viele andere Herausforderungen werden mit FreeCAD zu einem anregenden Vergnügen. Hat man die grundlegenden Prozesse erst einmal verinnerlicht, sind der Fantasie praktisch keine Grenzen mehr gesetzt.
Der Einstieg in ein neues Programm ist immer schwierig – besonders wenn es sich um ein so vielfältiges Werkzeug wie FreeCAD handelt. Überschaubare, aber zugleich gut verwendbare Einzelteile liefern in diesem Buch den Anfangspunkt. Das Zusammensetzen dieser Komponenten führt anschließend zu Baugruppen.
In der Vielfalt der Möglichkeiten von FreeCAD wird ein gangbarer Weg gezeigt. Das beschriebene Vorgehen ist exemplarisch – die Beispiele lassen sich daher leicht auf eigene Aufgaben anwenden. Die Geräte wurden vom Autor angefertigt und mit Fotos illustriert.
Eine 3D-Konstruktion erfordert etwas Aufwand, der sich aber lohnt: Neben einer beeindruckenden Darstellung von Projekten wird zugleich die Möglichkeit geliefert, z. B. Blechteile zur Fertigung abzuwickeln und für die Werkstatt aussagekräftige Zeichnungen zu exportieren.
Schon bald werden Sie auf FreeCAD nicht mehr verzichten wollen!
Ungefähr seit dem Jahr 2000 bieten Fahrzeuge Zugriff auf Diagnosedaten, Messwerte und erkannte Fehler, die mit preiswerten Geräten ausgelesen werden können. Die Daten helfen Ihnen nicht nur bei der Fehlersuche, sondern auch beim Gebrauchtwagenkauf oder dem reibungslosen Bestehen der nächsten Hauptuntersuchung. Die zunehmende Komplexität und Vernetzung der integrierten elektronischen Kontroll- und Steuerungssysteme im Fahrzeug erfordert vom Kfz-Mechatroniker sowie dem ambitionierten Selbstschrauber ein tiefgreifendes Verständnis der Thematik. Dieses Sachbuch bietet Ihnen eine umfassende Einführung zu den in Kraftfahrzeugen vorhandenen genormten On-Board-Diagnosemöglichkeiten (OBD II), deren Ursprünge, Stand der Entwicklung, Protokollaufbau und Anwendung. Das Buch richtet sich an eine breite Leserschaft, die selbst die Möglichkeiten nutzen will, um nicht mehr auf kostspielige Werkstattbesuche angewiesen zu sein oder sich für eine Eigenentwicklung von Diagnosesystemen und eine praxisnahe Beschreibung der Protokolle interessiert. Durch den Einsatz günstiger Diagnoseadapter (ELM 327 etc.) können Sie sich auf dem Smartphone Live-Daten anzeigen lassen und Cockpitinstrumente nachrüsten oder eigene Anwendungssoftware für verschiedene Systeme erstellen. Themenauswahl Historische Entwicklung der Diagnosemöglichkeiten und Standards Funktionsumfang von OBD II mit allen zehn Diagnosemodi und Readinesscode World Wide Harmonized OBD (WWH-OBD) und HD OBD (Heavy Duty: Nutzfahrzeuge) Anschlüsse gemäß SAE J1962, SAE J1939, SAE J1708 und DoIP (ISO 13400) Protokollaufbau nach SAE J1850, ISO 9141, ISO 14230 und CAN Übersicht gängiger Diagnoselösungen für Hobbyanwender Eigenbau von Diagnosesystemen mit Arduino und Raspberry Pi Alle Parameter Identifier (Messwerte) für OBD II Umfangreiche Liste der Fehlercodes zum Nachschlagen
Die WiFi-Module der chinesischen Firma Espressif haben schon längst die Maker-Community erobert, bieten sie doch zu einem konkurrenzlosen Preis MCU- und WiFi-Funktionalität. Mit einfachen Mitteln lässt sich ein Arduino mit einem ESP-Modul um WiFi erweitern. Die globale Bastler-Gemeinde ersetzte schon bald die integrierte Firmware mit eigener Firmware, sodass Entwickler ESP-Boards wie Arduino-Boards programmieren können. Der neue ESP32 geht einen Schritt weiter und ist in jeder Beziehung leistungsfähiger als der ESP8266. Zudem besitzt er nun Bluetooth-Funktionalität. Der ESP32 verfügt über einen 240-MHz-Zweikern-Mikroprozessor mit einer Performanz von 600 DMIPS. Neben 520 KByte SRAM befinden sich 16 MByte Flashspeicher an Board. Zur Kommunikation mit der Außenwelt enthält das System-on-a-Chip die 802.11-b/g/n-WiFi-Komponente HT40 und Bluetooth-Funktionalität. Als Sensoren bietet der ESP32 einen Hall-Sensor, eine zehnfache, kapazitive Touch-Schnittstelle, einen analogen Verstärker für niedrige Signale und einen 32-kHz-Kristallquartz. Der Bestseller-Autor Erik Bartmann hat sich ausführlich mit dem neuen ESP32 beschäftigt. Heraus gekommen ist dabei Das ESP32-Praxisbuch, in dem er die Leser Schritt für Schritt in die Arbeit mit diesem preiswerten WiFi-Mikrocontroller einführt.
From Rubbing Amber to Swiping Glass
"The story of electricity, told one connection at a time."Why does rubbing amber attract dust? How did we go from that curious effect to a world where screens respond to a single touch? And how did we get from mysterious sparks to tiny chips packed with billions of transistors?
For centuries, electricity puzzled and fascinated those who encountered its curious effects—long before it even had a name. From the earliest observations of static charge to the complex electronics that shape our lives today, this book traces the gradual, and often surprising, story of how humanity came to understand and harness this powerful force.
This book offers an engaging and accessible account of the people, ideas, and inventions that transformed electricity from a scientific curiosity into the foundation of our digital age. Along the way, you’ll meet a host of inquisitive minds—some famous, others less so—whose persistence and creativity helped unravel the mysteries of the natural world and gave rise to the technologies we now take for granted.
Covering everything from Leyden jars and batteries to transistors, microcontrollers and the internet, this book presents a clear and enjoyable overview of electronics and its relatively short, yet rich, history.
Whether you have a technical background or simply a curiosity about how things work, From Rubbing Amber to Swiping Glass offers a thoughtful look at how far we’ve come—and a gentle nudge to wonder what might come next.
For Speed, Area, Power, and Reliability
This book teaches the fundamentals of FPGA operation, covering basic CMOS transistor theory to designing digital FPGA chips using LUTs, flip-flops, and embedded memories. Ideal for electrical engineers aiming to design large digital chips using FPGA technology.
Discover:
The inner workings of FPGA architecture and functionality.
Hardware Description Languages (HDL) like Verilog and VHDL.
The EDA tool flow for converting HDL source into a functional FPGA chip design.
Insider tips for reliable, low power, and high performance FPGA designs.
Example designs include:
Computer-to-FPGA UART serial communication.
An open-source Sump3 logic analyzer implementation.
A fully functional graphics controller.
What you need:
Digilent BASYS3 or similar FPGA eval board with an AMD/Xilinx FPGA.
Vivado EDA tool suite (available for download from AMD website free of charge).
Project source files available from author’s GitHub site.
From Theory to Practical Applications in Wireless Energy Transfer and Harvesting
Wireless power transmission has gained significant global interest, particularly with the rise of electric vehicles and the Internet of Things (IoT). It’s a technology that allows the transfer of electricity without physical connections, offering solutions for everything from powering small devices over short distances to long-range energy transmission for more complex systems.
Wireless Power Design provides a balanced mix of theoretical knowledge and practical insights, helping you explore the potential of wireless energy transfer and harvesting technologies. The book presents a series of hands-on projects that cover various aspects of wireless power systems, each accompanied by detailed explanations and parameter listings.
The following five projects guide you through key areas of wireless power:
Project 1: Wireless Powering of Advanced IoT Devices
Project 2: Wireless Powered Devices on the Frontline – The Future and Challenges
Project 3: Wireless Powering of Devices Using Inductive Technology
Project 4: Wireless Power Transmission for IoT Devices
Project 5: Charging Robot Crawler Inside the Pipeline
These projects explore different aspects of wireless power, from inductive charging to wireless energy transmission, offering practical solutions for real-world applications. The book includes projects that use simulation tools like CST Microwave Studio and Keysight ADS for design and analysis, with a focus on practical design considerations and real-world implementation techniques.
A Combat Guide against E-waste and Throwawayism
This book is for anyone who enjoys tinkering with analog and digital hardware electronics. Regardless of the sophistication of your workspace, only basic tools are required to achieve truly satisfying results. It is intended as a reference guide among other hardware repair publications you may have in your library. However, the book goes a step further than most other repair guides in addressing issues in the modern era of discarded electronics called e-waste.
E-waste should be put to good use. Producing anything new requires not just precious resources and labor, but also energy to make and deliver it to global retail shelves. Your talents and love of electronics can be put to good use by rescuing and resurrecting at least selected units from this endless stream of e-waste. Examples include either restoring through repair, or salvaging reusable electronic and mechanical components for your next project.
Smart tips are provided throughout the book, and much information is tabulated for easy reference. The book expands age-old repair and hacking techniques applied for repair on the workbench into clever methods and applications to achieve effective results with discarded or “non-servicable” electronic consumer products. The final chapter provides real-life examples using all of the previously discussed content in a summarized form for each example repair type.
Kick off with the MAX1000 and VHDPlus
Ready to Master FPGA Programming? In this guide, we’re diving into the world of Field Programmable Gate Arrays (FPGAs) – a configurable integrated circuit that can be programmed after manufacturing. Imagine bringing your ideas to life, from simple projects to complete microcontroller systems!
Meet the MAX1000: a compact and budget-friendly FPGA development board packed with features like memory, user LEDs, push-buttons, and flexible I/O ports. It’s the ideal starting point for anyone wanting to learn about FPGAs and Hardware Description Languages (HDLs).
In this book, you’ll get hands-on with the VHDPlus programming language – a simpler version of VHDL. We’ll work on practical projects using the MAX1000, helping you gain the skills and confidence to unleash your creativity.
Get ready for an exciting journey! You’ll explore a variety of projects that highlight the true power of FPGAs. Let’s turn your ideas into reality and embark on your FPGA adventure – your journey starts now!
Exciting Projects You’ll Find in This Book
Arduino-Driven BCD to 7-Segment Display Decoder
Use an Arduino Uno R4 to supply BCD data to the decoder, counting from 0 to 9 with a one-second delay
Multiplexed 4-Digit Event Counter
Create an event counter that displays the total count on a 4-digit display, incrementing with each button press
PWM Waveform with Fixed Duty Cycle
Generate a PWM waveform at 1 kHz with a fixed duty cycle of 50%
Ultrasonic Distance Measurement
Measure distances using an ultrasonic sensor, displaying the results on a 4-digit 7-segment LED
Electronic Lock
Build a simple electronic lock using combinational logic gates with push buttons and an LED output
Temperature Sensor
Monitor ambient temperature with a TMP36 sensor and display the readings on a 7-segment LED
Downloads
Software
Developing CoAP applications for Thread networks with Zephyr
This book will guide you through the operation of Thread, the setup of a Thread network, and the creation of your own Zephyr-based OpenThread applications to use it. You’ll acquire knowledge on:
The capture of network packets on Thread networks using Wireshark and the nRF Sniffer for 802.15.4.
Network simulation with the OpenThread Network Simulator.
Connecting a Thread network to a non-Thread network using a Thread Border Router.
The basics of Thread networking, including device roles and types, as well as the diverse types of unicast and multicast IPv6 addresses used in a Thread network.
The mechanisms behind network discovery, DNS queries, NAT64, and multicast addresses.
The process of joining a Thread network using network commissioning.
CoAP servers and clients and their OpenThread API.
Service registration and discovery.
Securing CoAP messages with DTLS, using a pre-shared key or X.509 certificates.
Investigating and optimizing a Thread device’s power consumption.
Once you‘ve set up a Thread network with some devices and tried connecting and disconnecting them, you’ll have gained a good insight into the functionality of a Thread network, including its self-healing capabilities. After you’ve experimented with all code examples in this book, you’ll also have gained useful programming experience using the OpenThread API and CoAP.
Example projects with Node-RED, MQTT, WinCC SCADA, Blynk, and ThingSpeak
This comprehensive guide unlocks the power of Modbus TCP/IP communication with Arduino. From the basics of the Modbus protocol right up to full implementation in Arduino projects, the book walks you through the complete process with lucid explanations and practical examples.
Learn how to set up Modbus TCP/IP communication with Arduino for seamless data exchange between devices over a network. Explore different Modbus functions and master reading and writing registers to control your devices remotely. Create Modbus client and server applications to integrate into your Arduino projects, boosting their connectivity and automation level.
With detailed code snippets and illustrations, this guide is perfect for beginners and experienced Arduino enthusiasts alike. Whether you‘re a hobbyist looking to expand your skills or a professional seeking to implement Modbus TCP/IP communication in your projects, this book provides all the knowledge you need to harness the full potential of Modbus with Arduino.
Projects covered in the book:
TCP/IP communication between two Arduino Uno boards
Modbus TCP/IP communication within the Node-RED environment
Combining Arduino, Node-RED, and Blynk IoT cloud
Interfacing Modbus TCP/IP with WinCC SCADA to control sensors
Using MQTT protocol with Ethernet/ESP8266
Connecting to ThingSpeak IoT cloud using Ethernet/ESP8266
Program and build Arduino-based ham station utilities, tools, and instruments
In addition to a detailed introduction to the exciting world of the Arduino microcontroller and its many variants, this book introduces you to the shields, modules, and components you can connect to the Arduino. Many of these components are discussed in detail and used in the projects included in this book to help you understand how these components can be incorporated into your own Arduino projects. Emphasis has been placed on designing and creating a wide range of amateur radio-related projects that can easily be built in just a few days.
This book is written for ham radio operators and Arduino enthusiasts of all skill levels, and includes discussions about the tools, construction methods, and troubleshooting techniques used in creating amateur radio-related Arduino projects. This book teaches you how to create feature-rich Arduino-based projects, with the goal of helping you to advance beyond this book, and design and build your own ham radio Arduino projects.
In addition, this book describes in detail the design, construction, programming, and operation of the following projects:
CW Beacon and Foxhunt Keyer
Mini Weather Station
RF Probe with LED Bar Graph
DTMF Tone Encoder
DTMF Tone Decoder
Waveform Generator
Auto Power On/Off
Bluetooth CW Keyer
Station Power Monitor
AC Current Monitor
This book assumes a basic knowledge of electronics and circuit construction. Basic knowledge of how to program the Arduino using its IDE will also be beneficial.
Program, build, and master over 60 projects with Python
The Raspberry Pi 5 is the latest single-board computer from the Raspberry Pi Foundation. It can be used in many applications, such as in audio and video media centers, as a desktop computer, in industrial controllers, robotics, and in many domestic and commercial applications. In addition to the well-established features found in other Raspberry Pi computers, the Raspberry Pi 5 offers Wi-Fi and Bluetooth (classic and BLE), which makes it a perfect match for IoT as well as in remote and Internet-based control and monitoring applications. It is now possible to develop many real-time projects such as audio digital signal processing, real-time digital filtering, real-time digital control and monitoring, and many other real-time operations using this tiny powerhouse.
The book starts with an introduction to the Raspberry Pi 5 computer and covers the important topics of accessing the computer locally and remotely. Use of the console language commands as well as accessing and using the desktop GUI are described with working examples. The remaining parts of the book cover many Raspberry Pi 5-based hardware projects using components and devices such as
LEDs and buzzers
LCDs
Ultrasonic sensors
Temperature and atmospheric pressure sensors
The Sense HAT
Camera modules
Example projects are given using Wi-Fi and Bluetooth modules to send and receive data from smartphones and PCs, and sending real-time temperature and atmospheric pressure data to the cloud.
All projects given in the book have been fully tested for correct operation. Only basic programming and electronics experience are required to follow the projects. Brief descriptions, block diagrams, detailed circuit diagrams, and full Python program listings are given for all projects described.
Learn to 3D Model & 3D Print with Tinkercad
With this book and the complementary videos, you’ll be 3D printing in no time at all. This course is meant to have you make casings for electronic components but also goes into optimizing your print technique as well as adding a little flair to your 3D creations. The course is perfect for you if you just bought your (first) 3D printer and want to print your own designs as soon as possible while also being able to get more background information.
You’ll get to know the workings of a 3D printer and what software to use to model your object, not forgetting to make it print perfectly. We’ll even use the magic of 3D printing to create things that appear impossible to make (this fast and simple) with any other rapid-prototyping technique.
At the end of this course, it’ll be second nature for you to design an object for 3D printing and fine-tune your print-setting to get the perfect print!
The book includes the following 7 video tutorials:
Introduction
Basic 3D modeling for 3D printing
Modeling a casing
Post-processing
Pushing the limits
Movable parts
Snap fits
This book covers a series of exciting and fun projects for the Arduino, such as a silent alarm, people sensor, light sensor, motor control, internet and wireless control (using a radio link). Contrary to many free projects on the internet all projects in this book have been extensively tested and are guaranteed to work!
You can use it as a projects book and build more than 45 projects for your own use. The clear explanations, schematics, and pictures of each project make this a fun activity. The pictures are taken of a working project, so you know for sure that they are correct.
You can combine the projects in this book to make your own projects. To facilitate this, clear explanations are provided on how the project works and why it has been designed the way it has That way you will learn a lot about the project and the parts used, knowledge that you can use in your own projects.
Apart from that, the book can be used as a reference guide. Using the index, you can easily locate projects that serve as examples for the C++ commands and Arduino functionality. Even after you’ve built all the projects in this book, it will still be a valuable reference guide to keep next to your PC.
Easy and Affordable Digital Signal Processing
The aim of this book is to teach the basic principles of Digital Signal Processing (DSP) and to introduce it from a practical point of view using the bare minimum of mathematics. Only the basic level of discrete-time systems theory is given, sufficient to implement DSP applications in real time. The practical implementations are described in real time using the highly popular ESP32 DevKitC microcontroller development board. With the low cost and extremely popular ESP32 microcontroller, you should be able to design elementary DSP projects with sampling frequencies within the audio range. All programming is done using the popular Arduino IDE in conjunction with the C language compiler.
After laying a solid foundation of DSP theory and pertinent discussions on the main DSP software tools on the market, the book presents the following audio-based sound and DSP projects:
Using an I²S-based digital microphone to capture audio sound
Using an I²S-based class-D audio amplifier and speaker
Playing MP3 music stored on an SD card through an I²S-based amplifier and speaker
Playing MP3 music files stored in ESP32 flash memory through an I²S-based amplifier and speaker
Mono and stereo Internet radio with I²S-based amplifiers and speakers
Text-to-speech output with an I²S-based amplifier and speaker
Using the volume control in I²S-based amplifier and speaker systems
A speaking event counter with an I²S-based amplifier and speaker
An adjustable sinewave generator with I²S-based amplifier and speaker
Using the Pmod I²S2 24-bit fast ADC/DAC module
Digital low-pass and band-pass real-time FIR filter design with external and internal A/D and D/A conversion
Digital low-pass and band-pass real-time IIR filter design with external and internal A/D and D/A conversion
Fast Fourier Transforms (FFT)
Programming and Projects for the Minima and WiFi
Based on the low-cost 8-bit ATmega328P processor, the Arduino Uno R3 board is likely to score as the most popular Arduino family member so far, and this workhorse has been with us for many years. Recently, the new Arduino Uno R4 was released, based on a 48-MHz, 32-bit Cortex-M4 processor with a huge amount of SRAM and flash memory. Additionally, a higher-precision ADC and a new DAC are added to the design. The new board also supports the CAN Bus with an interface.
Two versions of the board are available: Uno R4 Minima, and Uno R4 WiFi. This book is about using these new boards to develop many different and interesting projects with just a handful of parts and external modules, which are available as a kit from Elektor. All projects described in the book have been fully tested on the Uno R4 Minima or the Uno R4 WiFi board, as appropriate.
The project topics include the reading, control, and driving of many components and modules in the kit as well as on the relevant Uno R4 board, including
LEDs
7-segment displays (using timer interrupts)
LCDs
Sensors
RFID Reader
4×4 Keypad
Real-time clock (RTC)
Joystick
8×8 LED matrix
Motors
DAC (Digital-to-analog converter)
LED matrix
WiFi connectivity
Serial UART
CAN bus
Infrared controller and receiver
Simulators
… all in creative and educational ways with the project operation and associated software explained in great detail.
A Fast-Lane Ride From Concept to Project
The core of the book explains the use of the Raspberry Pi Zero 2 W running the Python programming language, always in simple terms and backed by many tested and working example projects. On part of the reader, familiarity with the Python programming language and some experience with one of the Raspberry Pi computers will prove helpful. Although previous electronics experience is not required, some knowledge of basic electronics is beneficial, especially when venturing out to modify the projects for your own applications.
Over 30 tested and working hardware-based projects are given in the book, covering the use of Wi-Fi, communication with smartphones and with a Raspberry Pi Pico W computer. Additionally, there are Bluetooth projects including elementary communication with smartphones and with the popular Arduino Uno. Both Wi-Fi and Bluetooth are key features of the Raspberry Pi Zero 2 W.
Some of the topics covered in the book are:
Raspberry Pi OS installation on an SD card
Python program creation and execution on the Raspberry Pi Zero 2 W
Software-only examples of Python running on the Raspberry Pi Zero 2 W
Hardware-based projects including LCD and Sense HAT interfacing
UDP and TCP Wi-Fi based projects for smartphone communication
UDP-based project for Raspberry Pi Pico W communication
Flask-based webserver project
Cloud storage of captured temperature, humidity, and pressure data
TFT projects
Node-RED projects
Interfacing to Alexa
MQTT projects
Bluetooth-based projects for smartphone and Arduino Uno communications
Learn programming for Alexa devices, extend it to smart home devices and control the Raspberry Pi
The book is split into two parts: the first part covers creating Alexa skills and the second part, designing Internet of Things and Smart Home devices using a Raspberry Pi.
The first chapters describe the process of Alexa communication, opening an Amazon account and creating a skill for free. The operation of an Alexa skill and terminology such as utterances, intents, slots, and conversations are explained. Debugging your code, saving user data between sessions, S3 data storage and Dynamo DB database are discussed.
In-skill purchasing, enabling users to buy items for your skill as well as certification and publication is outlined. Creating skills using AWS Lambda and ASK CLI is covered, along with the Visual Studio code editor and local debugging. Also covered is the process of designing skills for visual displays and interactive touch designs using Alexa Presentation Language.
The second half of the book starts by creating a Raspberry Pi IoT 'thing' to control a robot from your Alexa device. This covers security issues and methods of sending and receiving MQTT messages between an Alexa device and the Raspberry Pi.
Creating a smart home device is described including forming a security profile, linking with Amazon, and writing a Lambda function that gets triggered by an Alexa skill. Device discovery and on/off control is demonstrated.
Next, readers discover how to control a smart home Raspberry Pi display from an Alexa skill using Simple Queue Service (SQS) messaging to switch the display on and off or change the color.
A node-RED design is discussed from the basic user interface right up to configuring MQTT nodes. MQTT messages sent from a user are displayed on a Raspberry Pi.
A chapter discusses sending a proactive notification such as a weather alert from a Raspberry Pi to an Alexa device. The book concludes by explaining how to create Raspberry Pi as a stand-alone Alexa device.
For Raspberry Pi, ESP32 and nRF52 with Python, Arduino and Zephyr
Bluetooth Low Energy (BLE) radio chips are ubiquitous from Raspberry Pi to light bulbs. BLE is an elaborate technology with a comprehensive specification, but the basics are quite accessible.
A progressive and systematic approach will lead you far in mastering this wireless communication technique, which is essential for working in low power scenarios.
In this book, you’ll learn how to:
Discover BLE devices in the neighborhood by listening to their advertisements.
Create your own BLE devices advertising data.
Connect to BLE devices such as heart rate monitors and proximity reporters.
Create secure connections to BLE devices with encryption and authentication.
Understand BLE service and profile specifications and implement them.
Reverse engineer a BLE device with a proprietary implementation and control it with your own software.
Make your BLE devices use as little power as possible.
This book shows you the ropes of BLE programming with Python and the Bleak library on a Raspberry Pi or PC, with C++ and NimBLE-Arduino on Espressif’s ESP32 development boards, and with C on one of the development boards supported by the Zephyr real-time operating system, such as Nordic Semiconductor's nRF52 boards.
Starting with a very little amount of theory, you’ll develop code right from the beginning. After you’ve completed this book, you’ll know enough to create your own BLE applications.
Architecture, Programming and Applications
The MSP430 is a popular family of microcontrollers from Texas Instruments. In this book we will work with the smallest type, which is the powerful MSP430G2553. We will look at the capabilities of this microcontroller in detail, as it is well-suited for self-made projects because it is available in a P-DIP20 package.
We will take a closer look at the microcontroller and then build, step by step, some interesting applications, including a 'Hello World' blinking LED and a nice clock application, which can calculate the day of the week based on the date.
You also will learn how to create code for the MSP microcontroller in assembler. In addition to that, we will work with the MSP-Arduino IDE, which makes it quite easy to create fast applications without special in-depth knowledge of the microcontrollers.
All the code used in the book is available for download from the Elektor website.
A Handbook on DIY
Nowadays, security problems are rarely properly solved or correctly addressed. Electronic security is only part of the chain in making a system secure. Electronic security is usually addressed as network or software security, neglecting other aspects, but the chain is only as strong as its weakest link.
This book is about electronic hardware security, with an emphasis on problems that you can solve on a shoestring DIY budget. It deals mostly with secure communications, cryptosystems, and espionage. You will quickly appreciate that you can’t simply buy a trustworthy and reliable cryptosystem off the shelf. You will then realise that this applies equally to individuals, corporations, and governments.
If you want to increase your electronic security awareness in a world already overcrowded with networks of microphones and cameras, this is a book for you. Furthermore, if you want to do something DIY by designing and expanding upon simple electronic systems, please continue reading. Some of the devices described are already published as projects in the Elektor magazine. Some are still ideas yet to be worked out.
Complexity is the main enemy of security, so we'll try to keep to simple systems. Every chapter will analyse real-life espionage events or at least several hypothetical scenarios that will hopefully spark your imagination. The final goal is to build a security-conscious mindset (or “to get into a head of a spy”) which is necessary to recognise possible threats beforehand, to design a truly secure system.
Don’t bother reading if:
you think you and your secrets are 100% safe and secure
you think somebody else can effectively handle your security
you think conspiracy theories only exist in theory – Telefunken’s masterpiece the “FS-5000 Harpoon” was built on one!
Build your own AI microcontroller applications from scratch
The MAX78000FTHR from Maxim Integrated is a small development board based on the MAX78000 MCU. The main usage of this board is in artificial intelligence applications (AI) which generally require large amounts of processing power and memory. It marries an Arm Cortex-M4 processor with a floating-point unit (FPU), convolutional neural network (CNN) accelerator, and RISC-V core into a single device. It is designed for ultra-low power consumption, making it ideal for many portable AI-based applications.
This book is project-based and aims to teach the basic features of the MAX78000FTHR. It demonstrates how it can be used in various classical and AI-based projects. Each project is described in detail and complete program listings are provided. Readers should be able to use the projects as they are, or modify them to suit their applications. This book covers the following features of the MAX78000FTHR microcontroller development board:
Onboard LEDs and buttons
External LEDs and buttons
Using analog-to-digital converters
I²C projects
SPI projects
UART projects
External interrupts and timer interrupts
Using the onboard microphone
Using the onboard camera
Convolutional Neural Network
Develop innovative hardware-based projects in C
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.
The C language is taught in most technical colleges and universities and almost all engineering students are familiar with using it with their projects. This book is about using the Raspberry Pi with C to develop a range of hardware-based projects. Two of the most popular C libraries, wiringPi and pigpio are used.
The book starts with an introduction to C and most students and newcomers will find this chapter invaluable. Many projects are provided in the book, including using Wi-Fi and Bluetooth to establish communication with smartphones.
Many sensor and hardware-based projects are included. Both wiringPi and pigpio libraries are used in all projects. Complete program listings are given with full explanations. All projects have been fully tested and work.
The following hardware-based projects are provided in the book:
Using sensors
Using LCDs
I²C and SPI buses
Serial communication
Multitasking
External and timer interrupts
Using Wi-Fi
Webservers
Communicating with smartphones
Using Bluetooth
Sending data to the cloud
Program listings of all Raspberry Pi projects developed in this book are available on the Elektor website. Readers can download and use these programs in their projects. Alternatively, they can customize them to suit their applications.
Multitasking und Multiprocessing sind zu einem sehr wichtigen Thema in mikrocontrollerbasierten Systemen geworden, insbesondere in komplexen kommerziellen, häuslichen und industriellen Automatisierungsanwendungen. Mit zunehmender Komplexität von Projekten werden immer mehr Funktionalitäten von den Projekten gefordert. Solche Projekte erfordern die Verwendung mehrerer miteinander verbundener Aufgaben, die auf demselben System ausgeführt werden und die verfügbaren Ressourcen wie CPU, Speicher und Eingabe-Ausgabe-Ports gemeinsam nutzen. Infolgedessen hat die Bedeutung von Multitasking-Operationen in Mikrocontroller-basierten Anwendungen in den letzten Jahren stetig zugenommen. Viele komplexe Automatisierungsprojekte nutzen mittlerweile eine Art Multitasking-Kernel. Dieses Buch ist projektbasiert und sein Hauptziel besteht darin, die grundlegenden Funktionen des Multitasking mit der Programmiersprache Python 3 auf dem Raspberry Pi zu vermitteln. Das Buch stellt viele vollständig getestete Projekte bereit, die die Multitasking-Module von Python verwenden. Jedes Projekt wird vollständig und detailliert beschrieben. Für jedes Projekt werden vollständige Programmlisten bereitgestellt. Der Leser soll die Möglichkeit haben, die Projekte so zu nutzen, wie sie sind, oder sie an ihre eigenen Bedürfnisse anzupassen.
Die folgenden Python-Multitasking-Module wurden beschrieben und in den Projekten verwendet:
Gabel
Faden
Einfädeln
Unterprozess
Mehrfachverarbeitung
Das Buch umfasst einfache Multitasking-Projekte wie die unabhängige Steuerung mehrerer LEDs bis hin zu komplexeren Multitasking-Projekten wie Ein-/Aus-Temperaturregelung, Ampelsteuerung, 2-stelliger und 4-stelliger 7-Segment-LED-Ereigniszähler, Reaktionstimer und Schrittmotor Steuerung, tastaturbasierte Projekte, Parkplatzsteuerung und vieles mehr. Die grundlegenden Multitasking-Konzepte wie Prozesssynchronisation, Prozesskommunikation und Speicherfreigabetechniken wurden in Projekten zu Ereignisflags, Warteschlangen, Semaphoren, Werten usw. beschrieben.