Bootloader Source Code for Atmega328P Using Stk500 for Debian Linux
Step by Step instructions on how to put a bootloader on to the ATMega328P using the ISP STK500 programer. The how and why of the bootloader revealed, build your own bootloader. The complete source code is included. Using avr-gcc 'C' programing language. Detailed instructions for hooking the STK500 to your computer and breadboard. Diagrams and instructions on building your breadboard included. Book is aimed at the Debian-Linux user. This book starts with the assumption that you want to know how to write a bootloader in the 'C' programming language. That you want to learn how to use an ISP STK500 programer. You want to understand the microchip's fuses and lock bit settings and change them as you desire. That you want to load your own bootloader on to the microchip. You will cover the 'Makefile', for compiling your program and uploading on to your microchip. Learn how to build your own library for programs and headers that you want to include in your programs. This includes a uart.c program and a uart.h file. The steps needed to accomplish the loading of your bootloader are walked through giving the reader good direction. The exhibits that are included greatly enhance the visualization of the process. The book includes the complete source code for all programs and header files. The complete Makefiles are also provided. The source code and instructions for loading a test programs are also included. Even the eeprom memory is lightly covered. While this is a technical subject the author provides a great deal of insight and documentation on the process. The book goes into good depth without getting hopelessly lost in computer science lingo.
Robot Wireless Control Made Simple with Python and C
My passion for programming and recent retirement from the financial field as a CPA led me to exploring robotics. This subject has fascinated me for many years. The joy or frustration of programming combined with tinkering with electronics and in getting it all to work with mechanical devices is almost fun. I spent a lot of time building the robot, Max, described in the book and I did not want that knowledge to simply evaporate. With the pace of technology expanding at geometric rates I wanted to add a little fuel to the fire and continue the rapid exchange of knowledge.In the book I try to build a good base of knowledge for the reader, starting with basic concepts and expanding to a fully functioning wireless controlled robot. The information goal of the book is to give enough knowledge without overwhelming the reader. The progression of knowledge is provided in an organized manner to rapidly build on the concepts as introduced. There are web sites that cover in great detail many of the subjects needed for completing the robot. Rather than trying to duplicate the great work of others, references to the sites are provided. The reader can gain additional understanding as their time and desire direct.The project begins with an introduction to the Python Programming Language and rapidly walks the reader through complex issues: serial communication, queuing, threading, file handling, GUI and many other features of Python. The complete source code is provided.The next stage of the project involves building electronic component boards and programming the ATMega328 microprocessor. In these sections electronic diagrams are supplied as is the complete C source code used to program the microprocessor. The reader is introduced to the C language and many of its features including, serial communication, pulse width modulation (PWM), arrays, bit manipulation and looping to name a few.I have tried to give the reader a strong base on which to build their robot and hopefully the skills needed to take that robot to higher levels.
The Debian Administrator s Handbook
Debian GNU/Linux, a very popular non-commercial Linux distribution, is known for its reliability and richness. Built and maintained by an impressive network of thousands of developers throughout the world, the Debian project is cemented by its social contract. This foundation text defines the project's objective: fulfilling the needs of users with a 100% free operating system. The success of Debian and of its ecosystem of derivative distributions (with Ubuntu at the forefront) means that an increasing number of administrators are exposed to Debian's technologies. This Debian Administrator's Handbook, which has been entirely updated for Debian 8 “Jessie”, builds on the success of its 6 previous editions. Accessible to all, this book teaches the essentials to anyone who wants to become an effective and independent Debian GNU/Linux administrator. It covers all the topics that a competent Linux administrator should master, from installation to updating the system, creating packages and compiling the kernel, but also monitoring, backup and migration, without forgetting advanced topics such as setting up SELinux or AppArmor to secure services, automated installations, or virtualization with Xen, KVM or LXC. This book is not only designed for professional system administrators. Anyone who uses Debian or Ubuntu on their own computer is de facto an administrator and will find tremendous value in knowing more about how their system works. Being able to understand and resolve problems will save you invaluable time. Learn more about the book on its official website: debian-handbook.info
Practical AVR Microcontrollers
In Practical AVR Microcontrollers, you’ll learn how to use the AVR microcontroller to make your own nifty projects and gadgets. You’ll start off with the basics in part one: setting up your development environment and learning how the "naked" AVR differs from the Arduino. Then you’ll gain experience by building a few simple gizmos and learning how everything can be interconnected. In part two, we really get into the goodies: projects! Each project will show you exactly what software and hardware you need, and will provide enough detail that you can adapt it to your own needs and parts availability. Some of the projects you’ll make: An illuminated secret panel A hallway lighting system with a waterfall effect A crazy lightshow Visual effects gizmos like a Moire wheel and shadow puppets In addition, you'll design and implement some home automation projects, including working with wired and wireless setups. Along the way, you'll design a useable home automation protocol and look at a variety of hardware setups. Whether you’re new to electronics, or you just want to see what you can do with an AVR outside of an Arduino, Practical AVR Microcontrollers is the book for you.
Junk Box Arduino
We all hate to throw electronics away. Use your 5 volt Arduino and have fun with them instead! Raid your electronics junk box to build the Cestino (Arduino compatible) board and nine other electronics projects, from a logic probe to a microprocessor explorer, and learn some advanced, old-school techniques along the way. Don’t have a well-stocked junk box? No problem. Nearly all the components used in these projects are still available (and cheap) at major electronic parts houses worldwide. Junk Box Arduino is the ultimate have-fun-while-challenging-your-skills guide for Arduino hackers who’ve gone beyond the basic tutorials and are ready for adventures in electronics. Bonus materials include all the example sketches, the Cestino core and bootloader source code, and links to suppliers for parts and tools. Bonus materials include extensions to the Cestino, Sourceforge links for updated code, and all the source-code for the projects.
Programming Embedded Systems
If you have programming experience and a familiarity with C--the dominant language in embedded systems--Programming Embedded Systems, Second Edition is exactly what you need to get started with embedded software. This software is ubiquitous, hidden away inside our watches, DVD players, mobile phones, anti-lock brakes, and even a few toasters. The military uses embedded software to guide missiles, detect enemy aircraft, and pilot UAVs. Communication satellites, deep-space probes, and many medical instruments would have been nearly impossible to create without embedded software. The first edition of Programming Embedded Systems taught the subject to tens of thousands ofpeople around the world and is now considered the bible of embedded programming. This second edition has been updated to cover all the latest hardware designs and development methodologies. The techniques and code examples presented here are directly applicable to real-world embedded software projects of all sorts. Examples use the free GNU software programming tools, the eCos and Linux operating systems, and a low-cost hardware platform specially developed for this book. If you obtain these tools along withProgramming Embedded Systems, Second Edition, you'll have a full environment for exploring embedded systems in depth. But even if you work with different hardware and software, the principles covered in this bookapply. Whether you are new to embedded systems or have done embedded work before, you'll benefit from the topics in this book, which include: How building and loading programs differ from desktop or servercomputers Basic debugging techniques--a critical skill when working withminimally endowed embedded systems Handling different types of memory Interrupts, and the monitoring and control of on-chip and externalperipherals Determining whether you have real-time requirements, and whetheryour operating system and application can meet those requirements Task synchronization with real-time operating systems and embeddedLinux Optimizing embedded software for size, speed, and power consumption Working examples for eCos and embedded Linux So whether you're writing your first embedded program, designing thelatest generation of hand-held whatchamacalits, or managing the peoplewho do, this book is for you. Programming EmbeddedSystems will help you develop the knowledge and skills youneed to achieve proficiency with embedded software. Praise for the first edition: "This lively and readable book is the perfect introduction for those venturing into embedded systems software development for the first time. It provides in one place all the important topics necessary to orient programmers to the embedded development process. --Lindsey Vereen, Editor-in-Chief, Embedded Systems Programming
Arduino Android Projects for the Evil Genius Control Arduino with Your Smartphone or Tablet
TEAM ARDUINO UP WITH ANDROID FOR SOME MISCHIEVOUS FUN! Filled with practical, do-it-yourself gadgets, Arduino + Android Projects for the Evil Genius shows you how to create Arduino devices and control them with Android smartphones and tablets. Easy-to-find equipment and components are used for all the projects in the book. This wickedly inventive guide covers the Android Open Application Development Kit (ADK) and USB interface and explains how to use them with the basic Arduino platform. Methods of communication between Android and Arduino that don't require the ADK--including sound, Bluetooth, and WiFi/Ethernet are also discussed. An Arduino ADK programming tutorial helps you get started right away. Arduino + Android Projects for the Evil Genius: Contains step-by-step instructions and helpful illustrations Provides tips for customizing the projects Covers the underlying principles behind the projects Removes the frustration factor--all required parts are listed Provides all source code on the book's website Build these and other devious devices: Bluetooth robot Android Geiger counter Android-controlled light show TV remote Temperature logger Ultrasonic range finder Home automation controller Remote power and lighting control Smart thermostat RFID door lock Signaling flags Delay timer
Raspberry Pi Projects for Kids Second Edition
This book is for kids who wish to develop games and applications using the Raspberry Pi. No prior experience in programming is necessary; you need only a Raspberry Pi and the required peripherals.