De Aller-Bedste Bøger - over 12 mio. danske og engelske bøger
Levering: 1 - 2 hverdage

Bøger udgivet af Elektor Verlag

Filter
Filter
Sorter efterSorter Populære
  • af Dogan Ibrahim
    423,95 kr.

    The Raspberry Pi Pico and Pico W are based on the fast, efficient, and low-cost dual-core ARM Cortex M0+ RP2040 microcontroller chip running at up to 133 MHz and sporting 264 KB of SRAM and 2 MB of Flash memory. Besides spacious memory, the Pico and Pico W offer many GPIO pins, and popular peripheral interface modules like ADC, SPI, I²C, UART, PWM, timing modules, a hardware debug interface, and an internal temperature sensor.The Raspberry Pi Pico W additionally includes an on-board Infineon CYW43439 Bluetooth and Wi-Fi chipset. At the time of writing this book, the Bluetooth firmware was not yet available. Wi-Fi is however fully supported at 2.4 GHz using the 802.11b/g/n protocols.This book is an introduction to using the Raspberry Pi Pico W in conjunction with the MicroPython programming language. The Thonny development environment (IDE) is used in all of the 60+ working and tested projects covering the following topics:Installing the MicroPython on Raspberry Pi Pico using a Raspberry Pi or a PCTimer interrupts and external interruptsAnalogue-to-digital converter (ADC) projectsUsing the internal temperature sensor and external sensor chipsUsing the internal temperature sensor and external temperature sensor chipsDatalogging projectsPWM, UART, I²C, and SPI projectsUsing Bluetooth, WiFi, and apps to communicate with smartphonesDigital-to-analogue converter (DAC) projectsAll projects are tried & tested. They can be implemented on both the Raspberry Pi Pico and Raspberry Pi Pico W, although the Wi-Fi-based subjects will run on the Pico W only. Basic programming and electronics experience are required to follow the projects. Brief descriptions, block diagrams, detailed circuit diagrams, and full MicroPython program listings are given for all projects. The full program listings of all the projects discussed in the book may be downloaded free of charge from www.elektor.com/20335.

  • af Dogan Ibrahim
    373,95 kr.

    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 cardPython program creation and execution on the Raspberry Pi Zero 2 WSoftware-only examples of Python running on the Raspberry Pi Zero 2 WHardware-based projects including LCD and Sense HAT interfacingUDP and TCP Wi-Fi based projects for smartphone communicationUDP-based project for Raspberry Pi Pico W communicationFlask-based webserver projectCloud storage of captured temperature, humidity, and pressure dataTFT projectsNode-RED projectsInterfacing to AlexaMQTT projectsBluetooth-based projects for smartphone and Arduino Uno communicationsAll programs discussed in this book are contained in an archive file you can download free of charge from the Elektor website www.elektor.com/20445.

  • af William Pretty
    278,95 kr.

    This book discusses the basic components of any alarm system.All alarm systems have two basic functions. First, they monitor their environment looking for a change such as a door or window opening or someone moving about in the room. Second, they alert the legal owner or user to this change. The system described in this book uses a scanning type software to detect intruders. It behaves like a guard dog, pacing up and down the fence line on the lookout for either an intruder or a familiar person. If you have an alarm key, you can disarm the system and enter.With the scanning method, the software is easy to write and explain. It can scan eight alarm zones plus two special fire zones in about one second.You don't have to be an electrical engineer to install an alarm system, just a decent carpenter, painter, and plasterer! Because this alarm system runs on 12 volts, you don't have to be a licensed electrician either to install it. The alarm system presented here uses Python software on the Raspberry Pi combined with some elementary electronic circuits. The code described in the book, as well as CAD files and a bill of materials for the alarm panel, are available for free downloading. The book provides the reader with examples of typical configurations coming straight from the author's experience. After reviewing the hardware components typically used in common alarm systems, the author shows how to plan one yourself.To implement a modular alarm, no matter if it is for a single house or for a business or restaurant, the book shows how to skillfully combine a Raspberry Pi with small auxiliary electronic circuits. These are not installation instructions but food for thought that will enable readers to find a solution to their needs.

  • af Alex Pozhitkov
    208,95 kr.

    The book you are about to read provides a step-by-step guide for building a renewable energy power plant at home. Our goal was to make the book as practical as possible. The material is intended for immediate application with a small amount of theory. Yet, the theory is important as a foundation that saves time and effort by disabusing the readers of potential misconceptions. Specifically, upon having a firm understanding of photovoltaic physics, you will not be inclined to fruitlessly search for 90% efficient solar panels! We want our readers to be the "doers". If the book gets covered in grime and some pages become torn while you are building your power plant - this is the best compliment to us. The book covers solar and wind energy. Also, a curious power source based on manure is discussed as well, giving the doers an opportunity to further develop the manure fuel cell. It is important to note that there are many companies offering installation of complete solar solutions. Upon installing the panels, the system is not owned by the customer. Therefore, there is no freedom for experimentation and optimization. Also, none can beat the cost of a DIY solution as well as the ultimate satisfaction. All that is written here is a result of us building a renewable energy solution in Southern California. As the book was completed, the energy began flowing!

  • af Peter Dalmaris
    468,95 kr.

    This book is a learning guide and a reference. Use it to learn Node-RED, Raspberry Pi Pico W, and MicroPython, and add these state-of-the-art tools to your technology toolkit. It will introduce you to virtual machines, Docker, and MySQL in support of IoT projects based on Node-RED and the Raspberry Pi Pico W.This book combines several elements into a platform that powers the development of modern Internet of Things applications. These elements are a flow-based server, a WiFi-enabled microcontroller, a high-level programming language, and a deployment technology. Combining these elements gives you the tools you need to create automation systems at any scale. From home automation to industrial automation, this book will help you get started.Node-RED is an open-source flow-based development tool that makes it easy to wire together devices, APIs, and online services. Drag and drop nodes to create a flowchart that turns on your lights at sunset or sends you an email when a sensor detects movement. Raspberry Pi Pico W is a version of the Raspberry Pi Pico with added 802.11n Wi-Fi capability. It is an ideal device for physical computing tasks and an excellent match to the Node-RED.Quick book factsProject-based learning approach.Assumes no prior knowledge of flow-based programming tools.Learn to use essential infrastructure tools in your projects, such as virtual machines, Docker, MySQL and useful web APIs such as Google Sheets and OpenWeatherMap.Dozens of mini-projects supported by photographs, wiring schematics, and source code. Get these from the book GitHub repository.Step-by-step instructions on everything.All experiments are based on the Raspberry Pi Pico W. A Wi-Fi network is required for all projects.Hardware (including the Raspberry Pi Pico W) is available as a kit.

  • af Dogan Ibrahim
    373,95 kr.

    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 asLEDs and buzzersLCDsUltrasonic sensorsTemperature and atmospheric pressure sensorsThe Sense HATCamera modulesExample 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. Readers can find the program listings on the Elektor website www.elektor.com/20703.

  • af Thomas Duden
    316,95 kr.

    Embedding a vintage component, creating a professional looking home for a circuit board, or even designing a complex apparatus complete with a chassis - these and many other challenges turn into a stimulating pleasure with FreeCAD. Once you have internalized the basic processes, there are virtually no limits to your imagination. Starting to use a new software is never straightforward - especially with a tool as versatile as FreeCAD. Manageable, but at the same time easily usable individual components provide the starting point in this book. Putting these components together later results in assemblies. In the FreeCAD universe, a workable trajectory is demonstrated. The described procedure is illustrative so the examples are easily applied to custom tasks. The devices were made by the author and illustrated with photos. Creating a 3D design is requiring some effort but the initial investment pays off soon. Besides the impressive spatial representation of the projects, the extracted drawings yield a solid base for documentation and production. Extended FreeCAD capabilities like the unfolding of sheet metal parts enormously add to efficiency and pushes models forward into practical assembly. Soon you will definitely not want to do without FreeCAD!

  • af Bernhard Steppan
    423,95 kr.

    Many people would like to learn Java but getting started is not easy since programming with Java requires at least two things: mastering the programming language and the development environment. With the help of many examples, this book shows how the language is structured. In addition, it employs the Eclipse development environment as an example of a powerful tool to teach developing Java programs. In Basics, the first part of the book, you acquire your Java and Eclipse basic knowledge. This part lays the programming foundations, gives you an overview of Java technology, and shows you what is special about object-oriented programming. In the second part called Java Language, everything revolves around the subtleties of the Java language and this is where the first small Java applications are created, aided by a fine blend of the knowledge part and practical exercises. Java Technology is both the name and the focus of the third part which also introduces you to the rules to observe when programming, what class libraries are and what advantages they have. In addition, you will learn how to test programs, what algorithms are, and how to program them. The fourth part, Java Projects, enables you to apply all the previous elements in an application with a graphical user interface. The project shows how to develop a larger application piece by piece with the Eclipse development environment. The Appendix concludes with a section on frequent errors that can occur when working with Eclipse, and a Glossary. All sample programs discussed in the book, and bonus material, are contained in an archive file which is available free of charge from the Elektor website www.elektor.com/20550.

  • af Dogan Ibrahim
    373,95 kr.

    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 soundUsing an I²S-based class-D audio amplifier and speakerPlaying MP3 music stored on an SD card through an I²S-based amplifier and speakerPlaying MP3 music files stored in ESP32 flash memory through an I²S-based amplifier and speakerMono and stereo Internet radio with I²S-based amplifiers and speakersText-to-speech output with an I²S-based amplifier and speakerUsing the volume control in I²S-based amplifier and speaker systemsA speaking event counter with an I²S-based amplifier and speakerAn adjustable sinewave generator with I²S-based amplifier and speakerUsing the Pmod I²S2 24-bit fast ADC/DAC moduleDigital low-pass and band-pass real-time FIR filter design with external and internal A/D and D/A conversionDigital low-pass and band-pass real-time IIR filter design with external and internal A/D and D/A conversionFast Fourier Transforms (FFT)

  • af John Allwork
    373,95 kr.

    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.

  • af Hans Henrik Skovgaard
    423,95 kr.

    If you are looking for a small yet powerful IoT device, you are likely to come across the ESP8266 and compatible products on the market today. One of these, the Wemos/Lolin D1 Mini Pro board strikes a remarkable balance between cost and performance. A small and very affordable prototype board, the D1 Mini Pro stands out with its WiFi functionality and a 16-Mbytes flash memory for easy creation of a flash file system. In addition, there are sufficient input and output pins (only one analog input though) to support PWM, I²C, and One-Wire systems to mention but a few. The book describes the operation, modding, construction, and programming of home appliances including a colorful smart home accessory, a refrigerator/greenhouse controller, an AC powerline monitor, a door lock monitor, and an IKEA Trådfri controller.As a benefit, all firmware developed for these DIY, "IoT-ized" devices can be updated over-the-air (OTA).For most of the designs in the book, a small printed circuit board (PCB) and an enclosure are presented so readers can have a finished and attractive-looking product. Readers having - or with access to! - a 3D printer can "print" the suggested enclosures at home or in a shop.Some of the constructions benefit from a Raspberry Pi configured as a gateway or cms server. This is also described in detail with all the necessary configuring.You don't need to be an expert but the prerequisites to successful replication of the projects include basic skills with PC software including the ability to surf the Internet. In terms of hardware, you should be comfortable with soldering and generally assembling the PCBs presented in the book.All custom software written for the IoT devices, the PCB layouts, and 3D print files described in the book are available for free downloading from www.elektor.com/20370.

  • af Dogan Ibrahim
    373,95 kr.

    The Arduino Uno is an open-source microcontroller development system encompassing hardware, an Integrated Development Environment (IDE), and a vast number of libraries. It is supported by an enormous community of programmers, electronic engineers, enthusiasts, and academics. The libraries in particular really smooth Arduino programming and reduce programming time. What's more, the libraries greatly facilitate testing your programs since most come fully tested and working.The Raspberry Pi 4 can be used in many applications such as audio and video media devices. It also works in industrial controllers, robotics, games, and in many domestic and commercial applications. The Raspberry Pi 4 also offers Wi-Fi and Bluetooth capability which makes it great for remote and Internet-based control and monitoring applications.This book is about using both the Raspberry Pi 4 and the Arduino Uno in PID-based automatic control applications. The book starts with basic theory of the control systems and feedback control. Working and tested projects are given for controlling real-life systems using PID controllers. The open-loop step time response, tuning the PID parameters, and the closed-loop time response of the developed systems are discussed together with the block diagrams, circuit diagrams, PID controller algorithms, and the full program listings for both the Raspberry Pi and the Arduino Uno.The projects given in the book aim to teach the theory and applications of PID controllers and can be modified easily as desired for other applications. The projects given for the Raspberry Pi 4 should work with all other models of Raspberry Pi family.The book covers the following topics:Open-loop and closed-loop control systemsAnalog and digital sensorsTransfer functions and continuous-time systemsFirst-order and second-order system time responsesDiscrete-time digital systemsContinuous-time PID controllersDiscrete-time PID controllersON-OFF temperature control with Raspberry Pi and Arduino UnoPID-based temperature control with Raspberry Pi and Arduino UnoPID-based DC motor control with Raspberry Pi and Arduino UnoPID-based water level control with Raspberry Pi and Arduino UnoPID-based LED-LDR brightness control with Raspberry Pi and Arduino UnoThe full program listings of all the projects discussed in the book may be downloaded free of charge from www.elektor.com/20274.

  • af Koen Vervloesem
    423,95 kr.

    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.

  • af Peter Dalmaris
    423,95 kr.

    This book will help you practice your new KiCad 6 skills by challenging you in a series of two real-world projects, supported by a comprehensive set of recipes with detailed instructions on how to achieve a variety of simple and complex tasks.Design the PCBs for an Arduino-powered datalogger and a custom ESP32 board. Understand the finer details of the interactive router and how to manage KiCad project teams with Git, and much more.KiCad 6 is a modern, cross-platform application suite built around schematic and design editors. This stable and mature PCB tool is a perfect fit for electronic engineers and hobbyists. With KiCad 6, you can create PCBs of any complexity and size without the constraints associated with the commercial packages.Here are the most significant improvements and features in KiCad 6, both over and under the hood:Modern user interface, completely redesigned from earlier versionsImproved and customizable electrical and design rule checkersTheme editor allowing you to fully customize the look of KiCad on your screenAbility to import projects from Eagle, CADSTART, and moreEnhanced bus handlingFull control over the presentation of information by the layout editor: set the visibility, color, and attribute of any board element, and create presetsFilters define which elements of a layout are selectableEnhanced interactive router helps you draw single tracks and differential pairs with precisionNew or enhanced tools to draw tracks, measure distances, tune track lengths, etc.Enhanced tool for creating filled zonesA customizable coordinate system facilitates data exchange with other CAD applicationsRealistic ray-tracing capable 3D viewerHuge community of contributors that make KiCad better every dayRich repositories of symbol, footprint, and 3D shape libraries

  • af Miroslav Cina
    373,95 kr.

  • af Ashwin Pajankar
    323,95 kr.

  • af Luka Matic
    373,95 kr.

  • af Dogan Ibrahim
    353,95 kr.

    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 buttonsExternal LEDs and buttonsUsing analog-to-digital convertersI²C projectsSPI projectsUART projectsExternal interrupts and timer interruptsUsing the onboard microphoneUsing the onboard cameraConvolutional Neural Network

  • af Dogan Ibrahim
    638,95 kr.

    STM32 Nucleo family of processors are manufactured by STMicroelectronics. These are low-cost ARM microcontroller development boards. This book is about developing projects using the popular STM32CubeIDE software with the Nucleo-L476RG development board. In the early Chapters of the book the architecture of the Nucleo family is briefly described.The book covers many projects using most features of the Nucleo-L476RG development board where the full software listings for the STM32CubeIDE are given for each project together with extensive descriptions. The projects range from simple flashing LEDs to more complex projects using modules, devices, and libraries such as GPIO, ADC, DAC, I²C, SPI, LCD, DMA, analogue inputs, power management, X-CUBE-MEMS1 library, DEBUGGING, and others. In addition, several projects are given using the popular Nucleo Expansion Boards. These Expansion Boards plug on top of the Nucleo development boards and provide sensors, relays, accelerometers, gyroscopes, Wi-Fi, and many others. Using an expansion board together with the X-CUBE-MEMS1 library simplifies the task of project development considerably.All the projects in the book have been tested and are working. The following sub-headings are given for each project: Project Title, Description, Aim, Block Diagram, Circuit Diagram, and Program Listing for the STM32CubeIDE. In this book you will learn about STM32 microcontroller architecture;the Nucleo-L476RG development board in projects using the STM32CubeIDE integrated software development tool;external and internal interrupts and DMA;DEBUG, a program developed using the STM32CubeIDE;the MCU in Sleep, Stop, and in Standby modes;Nucleo Expansion Boards with the Nucleo development boards. What you need a PC with Internet connection and a USB port;STM32CubeIDE software (available at STMicroelectronics website free of charge)the project source files, available from the book's webpage hosted by Elektor;Nucleo-L476RG development board;simple electronic devices such as LEDs, temperature sensor, I²C and SPI chips, and a few more;Nucleo Expansion Boards (optional).

  • af Felix Bittmann
    323,95 kr.

    If you have mastered the basics of Python and are wanting to explore the language in more depth, this book is for you. By means of concrete examples used in different applications, the book illustrates many aspects of programming (e.g. algorithms, recursion, data structures) and helps problem-solving strategies. Including general ideas and solutions, the specifics of Python and how these can be practically applied are discussed. Python 3 for Science and Engineering Applications includes: practical and goal-oriented learningbasic Python techniquesmodern Python 3.6+ including comprehensions, decorators and generatorscomplete code available onlinemore than 40 exercises, solutions documented onlineno additional packages or installation required, 100% pure Python Topics cover: identifying large prime numbers and computing Piwriting and understanding recursive functions with memorisationcomputing in parallel and utilising all system coresprocessing text data and encrypting messagescomprehending backtracking and solving Sudokusanalysing and simulating games of chance to develop optimal winning strategieshandling genetic code and generating extremely long palindromes

  • af Tam Hanna
    438,95 kr.

    Engineers dread designing 3D models using traditional modeling software. OpenSCAD takes a refreshing and completely different approach. Create your models by arranging geometric solids in a JavaScript-like language, and use them with your 3D printer, CNC mill, or process communication.OpenSCAD differs from other design systems in that it uses programmatical modeling. Your model is made up of primitives that are invoked using a C-, Java- or Python-like language. This approach to model design is close to the "mechanical work" done in the real world and appeals to engineers and others who are not a member of the traditional creative class.OpenSCAD also provides a wide variety of comfort functions that break the 1:1 relationship between code and geometry. This book demonstrates the various features of the programming language using practical examples such as a replacement knob for a LeCroy oscilloscope, a wardrobe hanger, a container for soap dispensers, and various other real-life examples.Written by an engineer with over 15 years of experience, this book is intended for Linux and Windows users alike. If you have programming experience in any language, this book will have you producing practical three-dimensional objects in short order!

  • af Dogan Ibrahim
    373,95 kr.

    Multitasking and multiprocessing have become a very important topic in microcontroller-based systems, namely in complex commercial, domestic, and industrial automation applications. As the complexity of projects grows, more functionalities are demanded from the projects. Such projects require the use of multiple inter-related tasks running on the same system and sharing the available resources, such as the CPU, memory, and input-output ports. As a result of this, the importance of multitasking operations in microcontroller-based applications has grown steadily over the last few years. Many complex automation projects now make use of some form of a multitasking kernel.This book is project-based and its main aim is to teach the basic features of multitasking using the Python 3 programming language on Raspberry Pi. Many fully tested projects are provided in the book using the multitasking modules of Python. Each project is described fully and in detail. Complete program listings are given for each project. Readers should be able to use the projects as they are, or modify them to suit their own needs.The following Python multitasking modules have been described and used in the projects:ForkThreadThreadingSubprocessMultiprocessingThe book includes simple multitasking projects such as independently controlling multiple LEDs, to more complex multitasking projects such as on/off temperature control, traffic lights control, 2-digit, and 4-digit 7-segment LED event counter, reaction timer, stepper motor control, keypad based projects, car park controller, and many more. The fundamental multitasking concepts such as process synchronization, process communication, and memory sharing techniques have been described in projects concerning event flags, queues, semaphores, values, and so on.

  • af Koen Vervloesem
    398,95 kr.

    Ever since the Raspberry Pi was introduced, it has been used by enthusiasts to automate their homes. The Raspberry Pi is a powerful computer in a small package, with lots of interfacing options to control various devices. This book shows you how you can automate your home with a Raspberry Pi. You'll learn how to use various wireless protocols for home automation, such as Bluetooth, 433.92 MHz radio waves, Z-Wave, and Zigbee. Soon you'll automate your home with Python, Node-RED, and Home Assistant, and you'll even be able to speak to your home automation system. All this is done securely, with a modular system, completely open-source, without relying on third-party services. You're in control of your home, and no one else.At the end of this book, you can install and configure your Raspberry Pi as a highly flexible home automation gateway for protocols of your choice, and link various services with MQTT to make it your own system. This DIY (do it yourself) approach is a bit more laborious than just installing an off-the-shelf home automation system, but in the process, you can learn a lot, and in the end, you know exactly what's running your house and how to tweak it. This is why you were interested in the Raspberry Pi in the first place, right?Turn your Raspberry Pi into a reliable gateway for various home automation protocols.Make your home automation setup reproducible with Docker Compose.Secure all your network communication with TLS.Create a video surveillance system for your home.Automate your home with Python, Node-RED, Home Assistant and AppDaemon.Securely access your home automation dashboard from remote locations.Use fully offline voice commands in your own language.