Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Getting Started with Electronic Projects
Getting Started with Electronic Projects

Getting Started with Electronic Projects: Build thrilling and intricate electronic projects using LM555, ZigBee, and BeagleBone

€19.99 €13.98
Book Jan 2015 176 pages 1st Edition
eBook
€19.99 €13.98
Print
€24.99
Subscription
€14.99 Monthly
eBook
€19.99 €13.98
Print
€24.99
Subscription
€14.99 Monthly

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
Buy Now

Product Details


Publication date : Jan 13, 2015
Length 176 pages
Edition : 1st Edition
Language : English
ISBN-13 : 9781783554515
Category :
Table of content icon View table of contents Preview book icon Preview Book

Getting Started with Electronic Projects

Chapter 1. Introduction – Our First Project

In this book, we'll build several projects that will get progressively more challenging. You should be able to build the first few projects in an afternoon. A finished product may take you a while longer, depending on how professional you want it to look.

In order to build the first few projects in this book, you will need a few basic assembly skills and tools described as follows. The RF projects will require access to and knowledge of RF spectrum analyzers and/or RF power meters.

  • You should be able to solder through hole parts

  • You should be able to use a solder removal tool such as a solder sucker or solder wick

  • You should be able to read the color codes of resistors

  • You should be able to read voltage, resistance, and current with a multimeter

That's it folks! In order to build and use the first few projects, you don't have to know how to write a single line of code.

Basic tools


The basic tools that you'll need are as follows:

  • Soldering iron or soldering station:

  • Diagonal cutters:

  • Needle-nose pliers:

  • Jewelers' screwdriver set:

  • Solder sucker or solder wick. Or both:

  • A multimeter is capable of measuring volts, ohms, and milliamperes. The meter shown in the following image is a RadioShack/Micronta multimeter. If you have an opportunity to purchase one of these on eBay or at a Hamfest, I highly recommend you to do so. I have had this one for years. In addition to the usual meter functions, it also has a serial RS-232 output that has come in extremely handy over the years.

The more difficult projects will require access to either a BeagleBone Black or White, but we'll get to that later. Let's start our first project.

This project is the first in a series of projects for all you weekend warriors—paintball and Airsoft enthusiasts.

In this project, we will modify a standard LED flashlight that is available from eBay or your local variety store for a few dollars. What we are going to do is remove the visible light (white) LEDs and replace them with infrared LEDs. You might ask, Why would we want to do that? This is because many Airsoft and paintball rifles and pistols are equipped with a flashlight holder to allow the shooter to see his/her target in the dark. The downside to this is that your enemies can see you coming a mile away! So what we are going to do is make ourselves an infrared flashlight, which will allow us to see our target in the dark without it seeing us. Most inexpensive black-and-white video cameras can actually see well into the IR range, as can night-vision goggles. There are a number of inexpensive night-vision devices available from the sites that sell Airsoft gear, so I won't get into that here.

So, let's get started. This project basically involves desoldering and soldering. By the time we are done, you will be really good at both.

Dollar store flashlight

The preceding image is of the flashlight that I purchased at a local hardware store for about $2.00 Yours might not be exactly the same, but the principle of what we are about to do will work for just about any LED flashlight. All I would suggest is that you purchase one with as many LEDs as possible.

Flashlight – step 1


The first thing we have to do is to remove the plastic lens from the flashlight. We do this for two reasons: First of all, you will probably have to remove it in order to get to the LEDs. The second is that plastic tends to diffuse and attenuate infrared energy. I pierced the lens with a sharp object and popped it out, as you can see in the following image:

Lens removed

As you can see, the LED assembly is now loose in the case. If we remove the assembly and turn it over, we can see how the LEDs are connected to the battery pack. The positive or anode end of the LED is connected to the center terminal of the pack while the negative or cathode end of the LED is connected to the case.

Rear view of PCB

Flashlight – step 2


OK, time to warm up the old soldering iron and have at it. What you have to do is basically remove all the LEDs from the PCB without damaging it. Fortunately, these flashlights are cheap, so you can buy a couple of flashlights depending on your confidence level.

Once you have all the diodes LED's removed, it is time to replace them with the infrared ones. If you're lucky, the LEDs you are installing will have a flat side on the case. This is the cathode or negative side of the LED and it should be soldered to the negative side of the PCB.

Some LEDs have one short lead and one long one. The short one is supposed to be the cathode, but I would highly advise checking to be sure. The following image shows how to check your LED using the diode setting on your multimeter. In my case, it is indicated by an image of a diode.

Finding the cathode with a meter

Checking an LED is like checking any other diode. With the negative lead of the meter connected to the cathode (short lead) and the positive lead connected to the anode (long lead), you should get the minimum reading of ohms.

Because LEDs do not behave like normal diodes, this test might not work. If you don't have a diode setting on your meter, just use the lowest ohm range. If you aren't sure, then the easiest thing to do is solder one LED and then temporarily reassemble the flashlight. If you cup your hands around the lens, you should see a faint red glow from the LED.

Finding the cathode

Now that you have the first one installed correctly, all you have to do is repeat the process for as many LEDs as you have. Once you have all of the LEDs installed, you should check the project by pointing the flashlight at a cheap black-and-white video camera. You should see the glow from the LEDs. One way to check if the camera will work is to point your TV remote at the camera and see if you can see the LED flash when you press a button on the remote.

Once you have tested your Special Ops flashlight, you should use 5 minute epoxy glue to hold the LED assembly in place.

Your finished flashlight will look much like the following image:

Finished flashlight

If you enjoyed this quick and hopefully easy project, there is another one similar to it in the following pages. Many of you have probably seen LED headlamps in camping and hardware stores. The following pages will show you how to modify one of these lamps in pretty much the same way as we did the flashlight.

If you're a nature lover rather than a weekend warrior, you might find this project useful because it will free your hands for your camera or binoculars.

Headlamp – step 1


The following image shows the headlamp that I used. Yours will probably look very much the same.

LED headlamp

We will be disassembling the headlamp in the same way as the flashlight. Simply turn the bezel until it comes out in your hands. Once again, we are talking about a $2.00 investment here so you might want to buy a couple, just in case you have to sacrifice a few in the name of science.

Lamp with lens removed

Once you remove the two small Philips screws, you can now remove the circuit board containing the LEDs. The headlamp I purchased came with a switch that allows you to have one, three, or all the LEDs on at the same time. I'm not sure how practical this is for our project, except possibly to conserve battery power.

PCB removed for modification

Now that you have the lamp apart, it is time to fire up the soldering iron and solder removal tool and go to it. As in the previous project, simply replace the white LEDs with IR ones and off you go.

The cool thing about this lamp is the LED selector switch that allows you to turn on one, three, or all LEDs. If you are going to use it for nature observation, you could build yourself a lamp with three red LEDs and four white ones. That way, you can move about with the red LEDs and not ruin your night vision, unless you see something interesting.

Summary


This chapter contained two hopefully simple projects that allowed you to blow the dust off or enhance your soldering and desoldering skills. These skills will come in handy in the chapters to follow. We built two inexpensive but useful projects. All for about $5.00 per project, depending on how much the LEDs cost you.

Use your imagination. How about blue LEDs and wearing the lamp on your chest or head for Halloween?

In the next few chapters, your soldering and construction skills will be challenged even further, as we build a motion sensor out of a piece of a water pipe and a flashing infrared beacon. So read on.

Left arrow icon Right arrow icon

Key benefits

What you will learn

Build an infrared beacon with the LM555 timer for someone interested in night vision Develop a motion detector using a mercury switchactivated car alarm sensor Redesign your PC sound card into a real oscilloscope and signal generator Build an RF power meter with some RF assembly techniques and programming skills Write Visual Basic software that will poll the power meter we created for readings and calculate antenna gain Use several ZigBee devices and a BeagleBone to create a wireless network of alarm sensors

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
Buy Now

Product Details


Publication date : Jan 13, 2015
Length 176 pages
Edition : 1st Edition
Language : English
ISBN-13 : 9781783554515
Category :

Table of Contents

15 Chapters
Getting Started with Electronic Projects Chevron down icon Chevron up icon
Credits Chevron down icon Chevron up icon
About the Author Chevron down icon Chevron up icon
About the Reviewers Chevron down icon Chevron up icon
www.PacktPub.com Chevron down icon Chevron up icon
Preface Chevron down icon Chevron up icon
Introduction – Our First Project Chevron down icon Chevron up icon
Infrared Beacon Chevron down icon Chevron up icon
Motion Alarm Chevron down icon Chevron up icon
Sound Card-based Oscilloscope Chevron down icon Chevron up icon
Calibrated RF Source Chevron down icon Chevron up icon
RF Power Meter – Hardware Chevron down icon Chevron up icon
RF Power Meter – Software Chevron down icon Chevron up icon
Creating a ZigBee Network of Sensors Chevron down icon Chevron up icon
Index Chevron down icon Chevron up icon

Customer reviews

Filter icon Filter
Top Reviews
Rating distribution
Empty star icon Empty star icon Empty star icon Empty star icon Empty star icon 0
(0 Ratings)
5 star 0%
4 star 0%
3 star 0%
2 star 0%
1 star 0%

Filter reviews by


No reviews found
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

How do I buy and download an eBook? Chevron down icon Chevron up icon

Where there is an eBook version of a title available, you can buy it from the book details for that title. Add either the standalone eBook or the eBook and print book bundle to your shopping cart. Your eBook will show in your cart as a product on its own. After completing checkout and payment in the normal way, you will receive your receipt on the screen containing a link to a personalised PDF download file. This link will remain active for 30 days. You can download backup copies of the file by logging in to your account at any time.

If you already have Adobe reader installed, then clicking on the link will download and open the PDF file directly. If you don't, then save the PDF file on your machine and download the Reader to view it.

Please Note: Packt eBooks are non-returnable and non-refundable.

Packt eBook and Licensing When you buy an eBook from Packt Publishing, completing your purchase means you accept the terms of our licence agreement. Please read the full text of the agreement. In it we have tried to balance the need for the ebook to be usable for you the reader with our needs to protect the rights of us as Publishers and of our authors. In summary, the agreement says:

  • You may make copies of your eBook for your own use onto any machine
  • You may not pass copies of the eBook on to anyone else
How can I make a purchase on your website? Chevron down icon Chevron up icon

If you want to purchase a video course, eBook or Bundle (Print+eBook) please follow below steps:

  1. Register on our website using your email address and the password.
  2. Search for the title by name or ISBN using the search option.
  3. Select the title you want to purchase.
  4. Choose the format you wish to purchase the title in; if you order the Print Book, you get a free eBook copy of the same title. 
  5. Proceed with the checkout process (payment to be made using Credit Card, Debit Cart, or PayPal)
Where can I access support around an eBook? Chevron down icon Chevron up icon
  • If you experience a problem with using or installing Adobe Reader, the contact Adobe directly.
  • To view the errata for the book, see www.packtpub.com/support and view the pages for the title you have.
  • To view your account details or to download a new copy of the book go to www.packtpub.com/account
  • To contact us directly if a problem is not resolved, use www.packtpub.com/contact-us
What eBook formats do Packt support? Chevron down icon Chevron up icon

Our eBooks are currently available in a variety of formats such as PDF and ePubs. In the future, this may well change with trends and development in technology, but please note that our PDFs are not Adobe eBook Reader format, which has greater restrictions on security.

You will need to use Adobe Reader v9 or later in order to read Packt's PDF eBooks.

What are the benefits of eBooks? Chevron down icon Chevron up icon
  • You can get the information you need immediately
  • You can easily take them with you on a laptop
  • You can download them an unlimited number of times
  • You can print them out
  • They are copy-paste enabled
  • They are searchable
  • There is no password protection
  • They are lower price than print
  • They save resources and space
What is an eBook? Chevron down icon Chevron up icon

Packt eBooks are a complete electronic version of the print edition, available in PDF and ePub formats. Every piece of content down to the page numbering is the same. Because we save the costs of printing and shipping the book to you, we are able to offer eBooks at a lower cost than print editions.

When you have purchased an eBook, simply login to your account and click on the link in Your Download Area. We recommend you saving the file to your hard drive before opening it.

For optimal viewing of our eBooks, we recommend you download and install the free Adobe Reader version 9.