Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
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

eBook
$9.99 $19.99
Paperback
$32.99
Subscription
Free Trial
Renews at $19.99p/m

What do you get with a Packt Subscription?

Free for first 7 days. $19.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
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:
    Basic tools
  • Diagonal cutters:
    Basic tools
  • Needle-nose pliers:
    Basic tools
  • Jewelers' screwdriver set:
    Basic tools
  • Solder sucker or solder wick. Or both:
    Basic tools
  • 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.
    Basic tools

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.

Basic tools

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:

Flashlight – step 1

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.

Flashlight – step 1

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.

Flashlight – step 2

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.

Flashlight – step 2

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:

Flashlight – step 2

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.

Headlamp – step 1

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.

Headlamp – step 1

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.

Headlamp – step 1

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

Description

If you are an expert Perl programmer interested in penetration testing or information security, this guide is designed for you. However, it will also be helpful for you even if you have little or no Linux shell experience.

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

Product Details

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

What do you get with a Packt Subscription?

Free for first 7 days. $19.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
Language : English
ISBN-13 : 9781783554515
Category :
Tools :

Packt Subscriptions

See our plans and pricing
Modal Close icon
$19.99 billed monthly
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Simple pricing, no contract
$199.99 billed annually
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just $5 each
Feature tick icon Exclusive print discounts
$279.99 billed in 18 months
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just $5 each
Feature tick icon Exclusive print discounts

Frequently bought together


Stars icon
Total $ 130.97
Getting Started with Electronic Projects
$32.99
BeagleBone Black Cookbook
$48.99
Arduino Development Cookbook
$48.99
Total $ 130.97 Stars icon
Banner background image

Table of Contents

9 Chapters
1. Introduction – Our First Project Chevron down icon Chevron up icon
2. Infrared Beacon Chevron down icon Chevron up icon
3. Motion Alarm Chevron down icon Chevron up icon
4. Sound Card-based Oscilloscope Chevron down icon Chevron up icon
5. Calibrated RF Source Chevron down icon Chevron up icon
6. RF Power Meter – Hardware Chevron down icon Chevron up icon
7. RF Power Meter – Software Chevron down icon Chevron up icon
8. Creating a ZigBee Network of Sensors Chevron down icon Chevron up icon
Index Chevron down icon Chevron up icon

Customer reviews

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

Filter reviews by




Chaminda Divitotawela Mar 30, 2015
Full star icon Full star icon Full star icon Full star icon Full star icon 5
I love this book. It brought all the memories of old days where I had fun with electronics. Those days we used to have lot of resources on circuits but don't see those anymore. This book bring back that fun to the new generation. I would recommend this book to who loves electronics and love to do those mini projects and learn. Hobby electronics back in business with the introduction of Ardunio, Raspberry PI etc and this book will be good add-on resource.
Amazon Verified review Amazon
Jos� Manuel Garc�a Llamas Mar 30, 2015
Full star icon Full star icon Full star icon Full star icon Full star icon 5
I love it too. So far so good.To introduce the reader to the electronics the author uses one of the most well know ICs ever, the 555. The author shows some examples with this IC, e.g motion alarm, then he goes through some radio projects where HTML and Javascript knowledge can be very useful. At the end you can also see other projects where ZigBee protocol is used. I have purchased some ZigBee boards to use them not only for those projects but also for some ideas that came to me when reading this book.Great job.
Amazon Verified review Amazon
w rossie Oct 12, 2015
Full star icon Full star icon Full star icon Full star icon Full star icon 5
fast delivery and in good condition. very handy projects to use in combination what several microprocessors like Arduino, Raspberry pi and Beaglebone.
Amazon Verified review Amazon
MoneyPit Apr 09, 2015
Full star icon Full star icon Full star icon Full star icon Empty star icon 4
Only reason I did not give it 5 stars, was that the title of the book is Getting Started and in my opinion it was a little more advanced for beginners. Then again, it could have just been me. I had to read the chapters more than twice to comprehend the information but it was valuable information. I can recommend this book to anyone that is interested in electronics, both beginner and intermediate. Also the last chapter has a very nice project on Zigbee networks!
Amazon Verified review Amazon
Kumar Abhishek Apr 16, 2015
Full star icon Full star icon Full star icon Empty star icon Empty star icon 3
TL;DR : The title of the book "Getting Started with Electronic Projects" may not be in sync with the entire contents of the book and beginners may find themselves wanting more explanation of some facts. I feel that with the title of the book it should have been targeted more to an intermediate-level audience.The circuits and projects covered in the project are interesting, build upon each other and gradually increase in level of skill required. Starting from a simple flasher towards a IR beacon, a motion alarm and then an RF source, power meter using a BeagleBone Black to a ZigBee Network of sensors.The author also describes using a PC sound card as a low sample-rate oscilloscope and ZRLC meter which is a nice thing to have and useful. However the software described is on Windows XP which is dated; should have been tested with a newer version of Windows.If you want to take advantage and build any of the circuits presented in the book beyond Chapter 3, some of the circuit components (especially the RF ones) may be hard to source [at least for me], but that depends on where you are located.It would be a good idea to make readymade kits available with the projects given in the book. That would make it more appealing to readers who are more interested in a hands-on experience.[ Disclaimer: This book was a review copy by Packt Publishing ]
Amazon Verified review Amazon
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.