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

$15.99 per month
Book Jan 2015 176 pages 1st Edition
eBook
$19.99 $13.98
Print
$32.99
Subscription
$15.99 Monthly
eBook
$19.99 $13.98
Print
$32.99
Subscription
$15.99 Monthly

What do you get with a Packt Subscription?

Free for first 7 days. $15.99 p/m after that. Cancel any time!
Product feature icon Unlimited ad-free access to the largest independent learning library in tech. Access this title and thousands more!
Product feature icon 50+ new titles added per month, including many first-to-market concepts and exclusive early access to books as they are being written.
Product feature icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Product feature icon Thousands of reference materials covering every tech concept you need to stay up to date.
Subscribe now
View plans & pricing

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 a Packt Subscription?

Free for first 7 days. $15.99 p/m after that. Cancel any time!
Product feature icon Unlimited ad-free access to the largest independent learning library in tech. Access this title and thousands more!
Product feature icon 50+ new titles added per month, including many first-to-market concepts and exclusive early access to books as they are being written.
Product feature icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Product feature icon Thousands of reference materials covering every tech concept you need to stay up to date.
Subscribe now
View plans & pricing

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

What is included in a Packt subscription? Chevron down icon Chevron up icon

A subscription provides you with full access to view all Packt and licnesed content online, this includes exclusive access to Early Access titles. Depending on the tier chosen you can also earn credits and discounts to use for owning content

How can I cancel my subscription? Chevron down icon Chevron up icon

To cancel your subscription with us simply go to the account page - found in the top right of the page or at https://subscription.packtpub.com/my-account/subscription - From here you will see the ‘cancel subscription’ button in the grey box with your subscription information in.

What are credits? Chevron down icon Chevron up icon

Credits can be earned from reading 40 section of any title within the payment cycle - a month starting from the day of subscription payment. You also earn a Credit every month if you subscribe to our annual or 18 month plans. Credits can be used to buy books DRM free, the same way that you would pay for a book. Your credits can be found in the subscription homepage - subscription.packtpub.com - clicking on ‘the my’ library dropdown and selecting ‘credits’.

What happens if an Early Access Course is cancelled? Chevron down icon Chevron up icon

Projects are rarely cancelled, but sometimes it's unavoidable. If an Early Access course is cancelled or excessively delayed, you can exchange your purchase for another course. For further details, please contact us here.

Where can I send feedback about an Early Access title? Chevron down icon Chevron up icon

If you have any feedback about the product you're reading, or Early Access in general, then please fill out a contact form here and we'll make sure the feedback gets to the right team. 

Can I download the code files for Early Access titles? Chevron down icon Chevron up icon

We try to ensure that all books in Early Access have code available to use, download, and fork on GitHub. This helps us be more agile in the development of the book, and helps keep the often changing code base of new versions and new technologies as up to date as possible. Unfortunately, however, there will be rare cases when it is not possible for us to have downloadable code samples available until publication.

When we publish the book, the code files will also be available to download from the Packt website.

How accurate is the publication date? Chevron down icon Chevron up icon

The publication date is as accurate as we can be at any point in the project. Unfortunately, delays can happen. Often those delays are out of our control, such as changes to the technology code base or delays in the tech release. We do our best to give you an accurate estimate of the publication date at any given time, and as more chapters are delivered, the more accurate the delivery date will become.

How will I know when new chapters are ready? Chevron down icon Chevron up icon

We'll let you know every time there has been an update to a course that you've bought in Early Access. You'll get an email to let you know there has been a new chapter, or a change to a previous chapter. The new chapters are automatically added to your account, so you can also check back there any time you're ready and download or read them online.

I am a Packt subscriber, do I get Early Access? Chevron down icon Chevron up icon

Yes, all Early Access content is fully available through your subscription. You will need to have a paid for or active trial subscription in order to access all titles.

How is Early Access delivered? Chevron down icon Chevron up icon

Early Access is currently only available as a PDF or through our online reader. As we make changes or add new chapters, the files in your Packt account will be updated so you can download them again or view them online immediately.

How do I buy Early Access content? Chevron down icon Chevron up icon

Early Access is a way of us getting our content to you quicker, but the method of buying the Early Access course is still the same. Just find the course you want to buy, go through the check-out steps, and you’ll get a confirmation email from us with information and a link to the relevant Early Access courses.

What is Early Access? Chevron down icon Chevron up icon

Keeping up to date with the latest technology is difficult; new versions, new frameworks, new techniques. This feature gives you a head-start to our content, as it's being created. With Early Access you'll receive each chapter as it's written, and get regular updates throughout the product's development, as well as the final course as soon as it's ready.We created Early Access as a means of giving you the information you need, as soon as it's available. As we go through the process of developing a course, 99% of it can be ready but we can't publish until that last 1% falls in to place. Early Access helps to unlock the potential of our content early, to help you start your learning when you need it most. You not only get access to every chapter as it's delivered, edited, and updated, but you'll also get the finalized, DRM-free product to download in any format you want when it's published. As a member of Packt, you'll also be eligible for our exclusive offers, including a free course every day, and discounts on new and popular titles.