BeagleBone Home Automation Blueprints

BeagleBone Home Automation Blueprints
Author :
Publisher : Packt Publishing Ltd
Total Pages : 378
Release :
ISBN-10 : 9781783986033
ISBN-13 : 1783986034
Rating : 4/5 (33 Downloads)

Synopsis BeagleBone Home Automation Blueprints by : Rodolfo Giometti

Automate and control your home using the power of the BeagleBone Black with practical home automation projects About This Book Build, set up, and develop your circuits via step-by-step tutorial of practical examples, from initial board setup to device driver management Get access to several kinds of computer peripherals to monitor and control your domestic environment using this guide This book is spread across 10 chapters all focused on one practical home automation project Who This Book Is For This book is for developers who know how to use BeagleBone and are just above the “beginner” level. If you want to learn to use embedded machine learning capabilities, you should have some experience of creating simple home automation projects. What You Will Learn Build a CO (and other gas) sensor with a buzzer/LED alarm to signal high concentrations Log environment data and plot it in a fancy manner Develop a simple web interface with a LAMP platform Prepare complex web interfaces in JavaScript and get to know how to stream video data from a webcam Use APIs to get access to a Google Docs account or a WhatsApp/Facebook account to manage a home automation system Add custom device drivers to manage an LED with different blinking frequencies Discover how to work with electronic components to build small circuits Use an NFS, temperature sensor, relays, and other peripherals to monitor and control your surroundings In Detail BeagleBone is a microboard PC that runs Linux. It can connect to the Internet and can run OSes such as Android and Ubuntu. BeagleBone is used for a variety of different purposes and projects, from simple projects such as building a thermostat to more advanced ones such as home security systems. Packed with real-world examples, this book will provide you with examples of how to connect several sensors and an actuator to the BeagleBone Black. You'll learn how to give access to them, in order to realize simple-to-complex monitoring and controlling systems that will help you take control of the house. You will also find software examples of implementing web interfaces using the classical PHP/HTML pair with JavaScript, using complex APIs to interact with a Google Docs account, WhatsApp, or Facebook. This guide is an invaluable tutorial if you are planning to use a BeagleBone Black in a home automation project. Style and approach This step-by-step guide contains several home automation examples that can be used as base projects for tons of other home automation and control systems. Through clear, concise examples based on real-life situations, you will quickly get to grips with the core concepts needed to develop home automation applications with the BeagleBone Black using both the C language and high-level scripting languages such as PHP, Python, and JavaScript.

BeagleBone: Creative Projects for Hobbyists

BeagleBone: Creative Projects for Hobbyists
Author :
Publisher : Packt Publishing Ltd
Total Pages : 905
Release :
ISBN-10 : 9781788399265
ISBN-13 : 1788399269
Rating : 4/5 (65 Downloads)

Synopsis BeagleBone: Creative Projects for Hobbyists by : Charles Hamilton

Learn to build amazing robotic projects using the powerful BeagleBone Black. About This Book Push your creativity to the limit through complex, diverse, and fascinating projects Develop applications with the BeagleBone Black and open source Linux software Sharpen your expertise in making sophisticated electronic devices Who This Book Is For This Learning Path is aimed at hobbyists who want to do creative projects that make their life easier and also push the boundaries of what can be done with the BeagleBone Black. This Learning Path's projects are for the aspiring maker, casual programmer, and budding engineer or tinkerer. You'll need some programming knowledge, and experience of working with mechanical systems to get the complete experience from this Learning Path. What You Will Learn Set up and run the BeagleBone Black for the first time Get to know the basics of microcomputing and Linux using the command line and easy kernel mods Develop a simple web interface with a LAMP platform Prepare complex web interfaces in JavaScript and get to know how to stream video data from a webcam Find out how to use a GPS to determine where your sailboat is, and then get the bearing and distance to a new waypoint Use a wind sensor to sail your boat effectively both with and against the wind Build an underwater ROV to explore the underwater world See how to build an autonomous Quadcopter In Detail BeagleBone is a microboard PC that runs Linux. It can connect to the Internet and run OSes such as Android and Ubuntu. You can transform this tiny device into a brain for an embedded application or an endless variety of electronic inventions and prototypes. This Learning Path starts off by teaching you how to program the BeagleBone. You will create introductory projects to get yourselves acquainted with all the nitty gritty. Then we'll focus on a series of projects that are aimed at hobbyists like you and encompass the areas of home automation and robotics. With each project, we'll teach you how to connect several sensors and an actuator to the BeagleBone Black. We'll also create robots for land, sea, and water. Yes, really! The books used in this Learning Path are: BeagleBone Black Cookbook BeagleBone Home Automation Blueprints Mastering BeagleBone Robotics Style and approach This practical guide transforms complex and confusing pieces of technology to become accessible with easy- to-succeed instructions. Through clear, concise examples, you will quickly get to grips with the core concepts needed to develop home automation applications with the BeagleBone Black.

GNU/Linux Rapid Embedded Programming

GNU/Linux Rapid Embedded Programming
Author :
Publisher : Packt Publishing Ltd
Total Pages : 719
Release :
ISBN-10 : 9781786463289
ISBN-13 : 1786463288
Rating : 4/5 (89 Downloads)

Synopsis GNU/Linux Rapid Embedded Programming by : Rodolfo Giometti

An annotated guide to program and develop GNU/Linux Embedded systems quickly About This Book Rapidly design and build powerful prototypes for GNU/Linux Embedded systems Become familiar with the workings of GNU/Linux Embedded systems and how to manage its peripherals Write, monitor, and configure applications quickly and effectively, manage an external micro-controller, and use it as co-processor for real-time tasks Who This Book Is For This book targets Embedded System developers and GNU/Linux programmers who would like to program Embedded Systems and perform Embedded development. The book focuses on quick and efficient prototype building. Some experience with hardware and Embedded Systems is assumed, as is having done some previous work on GNU/Linux systems. Knowledge of scripting on GNU/Linux is expected as well. What You Will Learn Use embedded systems to implement your projects Access and manage peripherals for embedded systems Program embedded systems using languages such as C, Python, Bash, and PHP Use a complete distribution, such as Debian or Ubuntu, or an embedded one, such as OpenWrt or Yocto Harness device driver capabilities to optimize device communications Access data through several kinds of devices such as GPIO's, serial ports, PWM, ADC, Ethernet, WiFi, audio, video, I2C, SPI, One Wire, USB and CAN Practical example usage of several devices such as RFID readers, Smart card readers, barcode readers, z-Wave devices, GSM/GPRS modems Usage of several sensors such as light, pressure, moisture, temperature, infrared, power, motion In Detail Embedded computers have become very complex in the last few years and developers need to easily manage them by focusing on how to solve a problem without wasting time in finding supported peripherals or learning how to manage them. The main challenge with experienced embedded programmers and engineers is really how long it takes to turn an idea into reality, and we show you exactly how to do it. This book shows how to interact with external environments through specific peripherals used in the industry. We will use the latest Linux kernel release 4.4.x and Debian/Ubuntu distributions (with embedded distributions like OpenWrt and Yocto). The book will present popular boards in the industry that are user-friendly to base the rest of the projects on - BeagleBone Black, SAMA5D3 Xplained, Wandboard and system-on-chip manufacturers. Readers will be able to take their first steps in programming the embedded platforms, using C, Bash, and Python/PHP languages in order to get access to the external peripherals. More about using and programming device driver and accessing the peripherals will be covered to lay a strong foundation. The readers will learn how to read/write data from/to the external environment by using both C programs or a scripting language (Bash/PHP/Python) and how to configure a device driver for a specific hardware. After finishing this book, the readers will be able to gain a good knowledge level and understanding of writing, configuring, and managing drivers, controlling and monitoring applications with the help of efficient/quick programming and will be able to apply these skills into real-world projects. Style and approach This practical tutorial will get you quickly prototyping embedded systems on GNU/Linux. This book uses a variety of hardware to program the peripherals and build simple prototypes.

Linux Device Driver Development Cookbook

Linux Device Driver Development Cookbook
Author :
Publisher : Packt Publishing Ltd
Total Pages : 344
Release :
ISBN-10 : 9781838555863
ISBN-13 : 1838555862
Rating : 4/5 (63 Downloads)

Synopsis Linux Device Driver Development Cookbook by : Rodolfo Giometti

Over 30 recipes to develop custom drivers for your embedded Linux applications. Key FeaturesUse Kernel facilities to develop powerful driversVia a practical approach, learn core concepts of developing device driversProgram a custom character device to get access to kernel internalsBook Description Linux is a unified kernel that is widely used to develop embedded systems. As Linux has turned out to be one of the most popular operating systems used, the interest in developing proprietary device drivers has also increased. Device drivers play a critical role in how the system performs and ensures that the device works in the manner intended. By offering several examples on the development of character devices and how to use other kernel internals, such as interrupts, kernel timers, and wait queue, as well as how to manage a device tree, you will be able to add proper management for custom peripherals to your embedded system. You will begin by installing the Linux kernel and then configuring it. Once you have installed the system, you will learn to use the different kernel features and the character drivers. You will also cover interrupts in-depth and how you can manage them. Later, you will get into the kernel internals required for developing applications. Next, you will implement advanced character drivers and also become an expert in writing important Linux device drivers. By the end of the book, you will be able to easily write a custom character driver and kernel code as per your requirements. What you will learnBecome familiar with the latest kernel releases (4.19+/5.x) running on the ESPRESSObin devkit, an ARM 64-bit machineDownload, configure, modify, and build kernel sourcesAdd and remove a device driver or a module from the kernelMaster kernel programmingUnderstand how to implement character drivers to manage different kinds of computer peripheralsBecome well versed with kernel helper functions and objects that can be used to build kernel applicationsAcquire a knowledge of in-depth concepts to manage custom hardware with Linux from both the kernel and user spaceWho this book is for This book will help anyone who wants to develop their own Linux device drivers for embedded systems. Having basic hand-on with Linux operating system and embedded concepts is necessary.

Internet of Things with Arduino Blueprints

Internet of Things with Arduino Blueprints
Author :
Publisher : Packt Publishing Ltd
Total Pages : 210
Release :
ISBN-10 : 9781785281914
ISBN-13 : 1785281917
Rating : 4/5 (14 Downloads)

Synopsis Internet of Things with Arduino Blueprints by : Pradeeka Seneviratne

Develop interactive Arduino-based Internet projects with Ethernet and WiFi About This Book Build Internet-based Arduino devices to make your home feel more secure Learn how to connect various sensors and actuators to the Arduino and access data from Internet A project-based guide filled with schematics and wiring diagrams to help you build projects incrementally Who This Book Is For This book is intended for those who want to learn more about Arduino and make Internet-based interactive projects with Arduino. If you are an experienced software developer who understands the basics of electronics, then you can quickly learn how to build the Arduino projects explained in this book. What You Will Learn Make a powerful Internet controlled relay with an embedded web server to monitor and control your home electrical appliances Build a portable Wi-Fi signal strength sensor to give haptic feedback about signal strength to the user Measure water flow speed and volume with liquid flow sensors and record real-time readings Secure your home with motion-activated Arduino security cameras and upload images to the cloud Implement real-time data logging of a solar panel voltage with Arduino cloud connectors Track locations with GPS and upload location data to the cloud Control a garage door light with your Twitter feed Control infrared enabled devices with IR remote and Arduino In Detail Arduino is a small single-chip computer board that can be used for a wide variety of creative hardware projects. The hardware consists of a simple microcontroller, board, and chipset. It comes with a Java-based IDE to allow creators to program the board. Arduino is the ideal open hardware platform for experimenting with the world of the Internet of Things. This credit card sized Arduino board can be used via the Internet to make more useful and interactive Internet of things projects. Internet of Things with Arduino Blueprints is a project-based book that begins with projects based on IoT and cloud computing concepts. This book covers up to eight projects that will allow devices to communicate with each other, access information over the Internet, store and retrieve data, and interact with users—creating smart, pervasive, and always-connected environments. It explains how wired and wireless Internet connections can be used with projects and the use of various sensors and actuators. The main aim of this book is to teach you how Arduino can be used for Internet-related projects so that users are able to control actuators, gather data from various kinds of sensors, and send and receive data wirelessly across HTTP and TCP protocols. Finally, you can use these projects as blueprints for many other IoT projects and put them to good use. By the end of the book, you will be an expert in the use of IoT with Arduino to develop a set of projects that can relate very well to IoT applications in the real world. Style and approach Every chapter in this book clearly explains how to assemble components through easy-to-follow steps on while laying out important concepts, code snippets, and expected output results so that you can easily end up with a successful project where you can also enhance or modify the project according to your requirements.

Internet of Things From Hype to Reality

Internet of Things From Hype to Reality
Author :
Publisher : Springer
Total Pages : 350
Release :
ISBN-10 : 9783319448602
ISBN-13 : 3319448609
Rating : 4/5 (02 Downloads)

Synopsis Internet of Things From Hype to Reality by : Ammar Rayes

This book comprehensively describes an end-to-end Internet of Things (IoT) architecture that is comprised of devices, network, compute, storage, platform, applications along with management and security components. It is organized into five main parts, comprising of a total of 11 chapters. Part I presents a generic IoT reference model to establish a common vocabulary for IoT solutions. This includes a detailed description of the Internet protocol layers and the Things (sensors and actuators) as well as the key business drivers to realize the IoT vision. Part II focuses on the IoT requirements that impact networking protocols and provides a layer-by-layer walkthrough of the protocol stack with emphasis on industry progress and key gaps. Part III introduces the concept of Fog computing and describes the drivers for the technology, its constituent elements, and how it relates and differs from Cloud computing. Part IV discusses the IoT services platform, the cornerstone of the solution followed by the Security functions and requirements. Finally, Part V provides a treatment of the topic of connected ecosystems in IoT along with practical applications. It then surveys the latest IoT standards and discusses the pivotal role of open source in IoT. “Faculty will find well-crafted questions and answers at the end of each chapter, suitable for review and in classroom discussion topics. In addition, the material in the book can be used by engineers and technical leaders looking to gain a deep technical understanding of IoT, as well as by managers and business leaders looking to gain a competitive edge and understand innovation opportunities for the future.” Dr. Jim Spohrer, IBM “This text provides a very compelling study of the IoT space and achieves a very good balance between engineering/technology focus and business context. As such, it is highly-recommended for anyone interested in this rapidly-expanding field and will have broad appeal to a wide cross-section of readers, i.e., including engineering professionals, business analysts, university students, and professors.” Professor Nasir Ghani, University of South Florida

BeagleBone Essentials

BeagleBone Essentials
Author :
Publisher : Packt Publishing Ltd
Total Pages : 240
Release :
ISBN-10 : 9781784397388
ISBN-13 : 1784397385
Rating : 4/5 (88 Downloads)

Synopsis BeagleBone Essentials by : Rodolfo Giometti

If you are a developer with some hardware or electrical engineering experience who wants to learn how to use embedded machine-learning capabilities and get access to a GNU/Linux device driver to collect data from a peripheral or to control a device, this is the book for you.

Mastering Linux Device Driver Development

Mastering Linux Device Driver Development
Author :
Publisher : Packt Publishing Ltd
Total Pages : 647
Release :
ISBN-10 : 9781789342208
ISBN-13 : 1789342201
Rating : 4/5 (08 Downloads)

Synopsis Mastering Linux Device Driver Development by : John Madieu

Master the art of developing customized device drivers for your embedded Linux systems Key FeaturesStay up to date with the Linux PCI, ASoC, and V4L2 subsystems and write device drivers for themGet to grips with the Linux kernel power management infrastructureAdopt a practical approach to customizing your Linux environment using best practicesBook Description Linux is one of the fastest-growing operating systems around the world, and in the last few years, the Linux kernel has evolved significantly to support a wide variety of embedded devices with its improved subsystems and a range of new features. With this book, you'll find out how you can enhance your skills to write custom device drivers for your Linux operating system. Mastering Linux Device Driver Development provides complete coverage of kernel topics, including video and audio frameworks, that usually go unaddressed. You'll work with some of the most complex and impactful Linux kernel frameworks, such as PCI, ALSA for SoC, and Video4Linux2, and discover expert tips and best practices along the way. In addition to this, you'll understand how to make the most of frameworks such as NVMEM and Watchdog. Once you've got to grips with Linux kernel helpers, you'll advance to working with special device types such as Multi-Function Devices (MFD) followed by video and audio device drivers. By the end of this book, you'll be able to write feature-rich device drivers and integrate them with some of the most complex Linux kernel frameworks, including V4L2 and ALSA for SoC. What you will learnExplore and adopt Linux kernel helpers for locking, work deferral, and interrupt managementUnderstand the Regmap subsystem to manage memory accesses and work with the IRQ subsystemGet to grips with the PCI subsystem and write reliable drivers for PCI devicesWrite full multimedia device drivers using ALSA SoC and the V4L2 frameworkBuild power-aware device drivers using the kernel power management frameworkFind out how to get the most out of miscellaneous kernel subsystems such as NVMEM and WatchdogWho this book is for This book is for embedded developers, Linux system engineers, and system programmers who want to explore Linux kernel frameworks and subsystems. C programming skills and a basic understanding of driver development are necessary to get started with this book.

Electronics Projects with the ESP8266 and ESP32

Electronics Projects with the ESP8266 and ESP32
Author :
Publisher : Apress
Total Pages : 697
Release :
ISBN-10 : 1484263359
ISBN-13 : 9781484263358
Rating : 4/5 (59 Downloads)

Synopsis Electronics Projects with the ESP8266 and ESP32 by : Neil Cameron

Discover the powerful ESP8266 and ESP32 microcontrollers and their Wi-Fi communication. The ESP32 microcontroller features Bluetooth and BLE communication in addition to Wi-Fi. The book emphasizes practical projects and readers are guided through Wi-Fi and Bluetooth communication, mobile app design and build, ESP-NOW and LoRa communication, and signal generation. Projects throughout the book utilize the Wi-Fi functionality and processing power of the ESP microcontrollers. Projects are built in the Arduino IDE, so you don't need to download other programming software. Mobile apps are now ubiquitous, making the app build projects of the book very relevant, as are the web page design projects. In Electronics Projects with the ESP8266 and ESP32, you'll see how easy and practical it is to access information over the internet, develop web pages, build mobile apps to remotely control devices with speech recognition or incorporate Google Maps in a GPS route tracking app. You will · Build practical electronics projects with an ESP8266 or ESP32 microcontroller with Wi-Fi communication · Use the Wi-Fi function of the ESP8266 and ESP32 to update web pages · Communicate with your mobile phone or smart watch by Bluetooth Low Energy · Transmit and receive information to control remote devices over the internet · Understand the design and build of mobile apps for internet based applications · Apply your computer programming skills in C++, JavaScript, AJAX and JSON · Use WebSocket, MQTT brokers and IFTTT for fast two-way communication with webpages Who This Book Is For The target audience is for Makers and Tinkerers who want to build internet/intranet based applications with more powerful microcontrollers, such as the ESP8266 or ESP32. A level of C++ programming expertise with the Arduino IDE is assumed, although all sketches are fully described and comprehensively commented.

Linux Device Drivers Development

Linux Device Drivers Development
Author :
Publisher : Packt Publishing Ltd
Total Pages : 586
Release :
ISBN-10 : 9781782174752
ISBN-13 : 1782174753
Rating : 4/5 (52 Downloads)

Synopsis Linux Device Drivers Development by : John Madieu

Learn to develop customized device drivers for your embedded Linux system About This Book Learn to develop customized Linux device drivers Learn the core concepts of device drivers such as memory management, kernel caching, advanced IRQ management, and so on. Practical experience on the embedded side of Linux Who This Book Is For This book will help anyone who wants to get started with developing their own Linux device drivers for embedded systems. Embedded Linux users will benefit highly from this book. This book covers all about device driver development, from char drivers to network device drivers to memory management. What You Will Learn Use kernel facilities to develop powerful drivers Develop drivers for widely used I2C and SPI devices and use the regmap API Write and support devicetree from within your drivers Program advanced drivers for network and frame buffer devices Delve into the Linux irqdomain API and write interrupt controller drivers Enhance your skills with regulator and PWM frameworks Develop measurement system drivers with IIO framework Get the best from memory management and the DMA subsystem Access and manage GPIO subsystems and develop GPIO controller drivers In Detail Linux kernel is a complex, portable, modular and widely used piece of software, running on around 80% of servers and embedded systems in more than half of devices throughout the World. Device drivers play a critical role in how well a Linux system performs. As Linux has turned out to be one of the most popular operating systems used, the interest in developing proprietary device drivers is also increasing steadily. This book will initially help you understand the basics of drivers as well as prepare for the long journey through the Linux Kernel. This book then covers drivers development based on various Linux subsystems such as memory management, PWM, RTC, IIO, IRQ management, and so on. The book also offers a practical approach on direct memory access and network device drivers. By the end of this book, you will be comfortable with the concept of device driver development and will be in a position to write any device driver from scratch using the latest kernel version (v4.13 at the time of writing this book). Style and approach A set of engaging examples to develop Linux device drivers