Book Image

Arduino Electronics Blueprints

Book Image

Arduino Electronics Blueprints

Overview of this book

Table of Contents (17 chapters)
Arduino Electronics Blueprints
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Preface

You have purchased your first Arduino, and now you're wondering what project to build with it. There are hundreds of websites with an assortment of electronic gadgets and devices to build, but the search and choosing the first project can be overwhelming. Besides building awesome Arduino gadgets, some of the website projects leave out how the electronics and code work with a programmable prototyping platform. Also, the projects found on the Web don't provide additional challenges to test your new Maker skills as well.

The Arduino Electronics Blueprints book was written to address the concerns mentioned in a user friendly and educational format. Every chapter in the book starts off with either a historical reference to electronic discoveries or a brief discussion of present technologies used in contemporary consumer, entertainment, or industrial products. The book was designed to show how to build awesome electronic devices using parts found in laboratory bins or junk boxes. Also, new prototyping materials such as littleBits electronic modules and Elenco SNAP circuit kits are introduced to readers as well. The new and exciting prototyping materials presented allow us to rapidly build the target Arduino device discussed in some of the book's chapters. To aid readers in building the fun Arduino projects, a Parts list of electronic components is included in each chapter of the book. Detailed circuit schematic and wiring diagrams and Arduino code are provided in each chapter. Also, basic circuit theory and Arduino code explanations are provided in each project chapter as well. To conclude the chapter, a DIY challenge is presented, so readers may explore additional prototyping topics in new product designs of their own. I enjoyed designing, building, and testing each chapter's project and hope readers of the Arduino Electronics Blueprints book will find the projects to be fun and entertaining as well.

What this book covers

Chapter 1, A Sound Effects Machine, will teach the reader how to build an Arduino sound effects machine using an SD module, digital logic switches, a transistor speaker amplifier, and .wav files. Also, the reader will learn how to add a random function in order as to play different sounds automatically without using digital logic switches.

Chapter 2, Programmable DC Motor Controller with an LCD, shows the reader how to build an Arduino programmable controller to operate small DC motors. Also, to aid in operating the programmable controller, the reader will learn how to add a Liquid Crystal Display (LCD) to the electronic device as well.

Chapter 3, A Talking Logic Probe, explains a talking electronic instrument that the reader can build to test microcontroller and digital circuits. Also, the reader will learn how to wire an Arduino to an EMIC 2 (text-to-speech) module and program it using special character codes.

Chapter 4, Human Machine Interface, A Human Machine Interface (HMI) used in industrial controls to operate electromechancial devices, such as motors, will be discussed in this chapter. The reader will also learn how to build a HMI using an Arduino, a virtual server, and JavaScript to control a small DC motor.

Chapter 5, IR Remote Control Tester, allows the reader to learn how to build a testing device to check the operation of any IR remote control. Also, the reader will learn about IR detectors and digital codes using this electronic tester.

Chapter 6, A Simple Chat Device with LCD, will teach the reader how to send text messages to an Arduino using a Bluetooth Low Energy (BLE) device and an Android smartphone. Also, the RedBearLabs BLE Arduino shield used to send and receive text messages will be introduced to the reader in this chapter.

Chapter 7, Bluetooth Low Energy Controller, will show the reader how to send BLE control signals to an Arduino using the RedBearLabs BLE shield and an Android smartphone to control a DC motor. Also, a seven segment LED display's electrical operation will be discussed along with making letter characters using the BLE Controller.

Chapter 8, Capacitive Touch Sensing, explores a simple DC motor controller using an Arduino and a 555 timer IC-based capacitive touch sensor. The reader will learn the basic operation of the 555 timer by building an Arduino-enabled touch sensing controller.

Chapter 9, Arduino-SNAP Circuit AM Radio, introduces the reader the Elenco SNAP circuit kit by building an AM radio. Also, the reader will learn how to operate the AM radio using the RedBearLab BLE shield and an Android smartphone.

Chapter 10, Arduino Scrolling Marquee, discusses organic light-emitting diode (OLED) technology by building an Arduino-based scrolling marquee. Also, the reader will learn to use any ordinary IR handheld remote to control the scrolling effect of the OLED marquee.

What you need for this book

To build the awesome electronics gadgets and devices in this book, the following materials are required:

  • An Arduino Uno (Rev 3 electronics board).

  • The latest Arduino IDE can be downloaded from the website http://www.arduino.cc/en/Main/Software.

  • An assortment of electronic components (resistors, capacitors, transistors, diodes, seven segment LED display, 74LS04 Hex inverter IC, and 74LS00 NAND logic gate IC).

  • The EMIC 2 text-to-speech module. The module can be purchased from Parallax Inc's website https://www.parallax.com/product/30016.

  • littleBits deluxe set. The electronics module kit can be purchased from littleBits website http://littlebits.cc/shop.

  • The Elenco SNAP circuit kit. The Elenco SNAP circuit kit can be purchased from Adafruit website https://www.adafruit.com/category/117.

  • A solderless breadboard.

  • A jumper wire kit.

  • A small variable DC power supply (the variable output voltage rating of 0-24V DC with an output current rating of 2A max).

  • 9V batteries with battery snap connectors.

Who this book is for

This book is intended for those who want to learn about electronics and coding by building amazing devices and gadgets with the Arduino. If you are an experienced developer who understands the basics of electronics, then you can quickly learn how to build smart devices using the Arduino. Perhaps you have never used electronic components and are new to the Arduino, but have coding skills. In either case, this book will provide you with the knowledge to build amazing, smart, and fun-to-use devices. The only experience needed is a desire to learn about electronics, circuit breadboarding, and coding.

Conventions

In this book, you will find a number of text styles that distinguish between different kinds of information. Here are some examples of these styles and an explanation of their meaning.

Code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles are shown as follows: "The <Serial.h> library allows the text message to be converted into its equivalent ASCII code."

A block of code is set as follows:

void loop(){

  // read the status of the Program Switch value:
  ProgramStatus = digitalRead(ProgramPin);

  // check if Program switch is ON.
  if(ProgramStatus == HIGH) {
    digitalWrite(OUTPin, HIGH);

  }
  else{
     digitalWrite(OUTPin,LOW);

  }
}

New terms and important words are shown in bold. Words that you see on the screen, for example, in menus or dialog boxes, appear in the text like this: "Click on the Connect button on the Breakout server application."

Note

Warnings or important notes appear in a box like this.

Tip

Tips and tricks appear like this.

Reader feedback

Feedback from our readers is always welcome. Let us know what you think about this book—what you liked or disliked. Reader feedback is important for us as it helps us develop titles that you will really get the most out of.

To send us general feedback, simply e-mail , and mention the book's title in the subject of your message.

If there is a topic that you have expertise in and you are interested in either writing or contributing to a book, see our author guide at www.packtpub.com/authors.

Customer support

Now that you are the proud owner of a Packt book, we have a number of things to help you to get the most from your purchase.

Downloading the example code

You can download the example code files from your account at http://www.packtpub.com for all the Packt Publishing books you have purchased. If you purchased this book elsewhere, you can visit http://www.packtpub.com/support and register to have the files e-mailed directly to you.

Downloading the color images of this book

We also provide you with a PDF file that has color images of the screenshots/diagrams used in this book. The color images will help you better understand the changes in the output. You can download this file from: http://www.packtpub.com/sites/default/files/downloads/3601OS_ColoredImages.pdf.

Errata

Although we have taken every care to ensure the accuracy of our content, mistakes do happen. If you find a mistake in one of our books—maybe a mistake in the text or the code—we would be grateful if you could report this to us. By doing so, you can save other readers from frustration and help us improve subsequent versions of this book. If you find any errata, please report them by visiting http://www.packtpub.com/submit-errata, selecting your book, clicking on the Errata Submission Form link, and entering the details of your errata. Once your errata are verified, your submission will be accepted and the errata will be uploaded to our website or added to any list of existing errata under the Errata section of that title.

To view the previously submitted errata, go to https://www.packtpub.com/books/content/support and enter the name of the book in the search field. The required information will appear under the Errata section.

Piracy

Piracy of copyrighted material on the Internet is an ongoing problem across all media. At Packt, we take the protection of our copyright and licenses very seriously. If you come across any illegal copies of our works in any form on the Internet, please provide us with the location address or website name immediately so that we can pursue a remedy.

Please contact us at with a link to the suspected pirated material.

We appreciate your help in protecting our authors and our ability to bring you valuable content.

Questions

If you have a problem with any aspect of this book, you can contact us at , and we will do our best to address the problem.