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

eBook
$19.99 $13.98
Print
$32.99
Subscription
$15.99 Monthly

What do you get with Print?

Product feature icon Instant access to your digital eBook copy whilst your Print order is Shipped
Product feature icon Black & white paperback book shipped to your address
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 Print?

Product feature icon Instant access to your digital eBook copy whilst your Print order is Shipped
Product feature icon Black & white paperback book shipped to your address
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

What is the delivery time and cost of print book? Chevron down icon Chevron up icon

Shipping Details

USA:

'

Economy: Delivery to most addresses in the US within 10-15 business days

Premium: Trackable Delivery to most addresses in the US within 3-8 business days

UK:

Economy: Delivery to most addresses in the U.K. within 7-9 business days.
Shipments are not trackable

Premium: Trackable delivery to most addresses in the U.K. within 3-4 business days!
Add one extra business day for deliveries to Northern Ireland and Scottish Highlands and islands

EU:

Premium: Trackable delivery to most EU destinations within 4-9 business days.

Australia:

Economy: Can deliver to P. O. Boxes and private residences.
Trackable service with delivery to addresses in Australia only.
Delivery time ranges from 7-9 business days for VIC and 8-10 business days for Interstate metro
Delivery time is up to 15 business days for remote areas of WA, NT & QLD.

Premium: Delivery to addresses in Australia only
Trackable delivery to most P. O. Boxes and private residences in Australia within 4-5 days based on the distance to a destination following dispatch.

India:

Premium: Delivery to most Indian addresses within 5-6 business days

Rest of the World:

Premium: Countries in the American continent: Trackable delivery to most countries within 4-7 business days

Asia:

Premium: Delivery to most Asian addresses within 5-9 business days

Disclaimer:
All orders received before 5 PM U.K time would start printing from the next business day. So the estimated delivery times start from the next day as well. Orders received after 5 PM U.K time (in our internal systems) on a business day or anytime on the weekend will begin printing the second to next business day. For example, an order placed at 11 AM today will begin printing tomorrow, whereas an order placed at 9 PM tonight will begin printing the day after tomorrow.


Unfortunately, due to several restrictions, we are unable to ship to the following countries:

  1. Afghanistan
  2. American Samoa
  3. Belarus
  4. Brunei Darussalam
  5. Central African Republic
  6. The Democratic Republic of Congo
  7. Eritrea
  8. Guinea-bissau
  9. Iran
  10. Lebanon
  11. Libiya Arab Jamahriya
  12. Somalia
  13. Sudan
  14. Russian Federation
  15. Syrian Arab Republic
  16. Ukraine
  17. Venezuela
What is custom duty/charge? Chevron down icon Chevron up icon

Customs duty are charges levied on goods when they cross international borders. It is a tax that is imposed on imported goods. These duties are charged by special authorities and bodies created by local governments and are meant to protect local industries, economies, and businesses.

Do I have to pay customs charges for the print book order? Chevron down icon Chevron up icon

The orders shipped to the countries that are listed under EU27 will not bear custom charges. They are paid by Packt as part of the order.

List of EU27 countries: www.gov.uk/eu-eea:

A custom duty or localized taxes may be applicable on the shipment and would be charged by the recipient country outside of the EU27 which should be paid by the customer and these duties are not included in the shipping charges been charged on the order.

How do I know my custom duty charges? Chevron down icon Chevron up icon

The amount of duty payable varies greatly depending on the imported goods, the country of origin and several other factors like the total invoice amount or dimensions like weight, and other such criteria applicable in your country.

For example:

  • If you live in Mexico, and the declared value of your ordered items is over $ 50, for you to receive a package, you will have to pay additional import tax of 19% which will be $ 9.50 to the courier service.
  • Whereas if you live in Turkey, and the declared value of your ordered items is over € 22, for you to receive a package, you will have to pay additional import tax of 18% which will be € 3.96 to the courier service.
How can I cancel my order? Chevron down icon Chevron up icon

Cancellation Policy for Published Printed Books:

You can cancel any order within 1 hour of placing the order. Simply contact customercare@packt.com with your order details or payment transaction id. If your order has already started the shipment process, we will do our best to stop it. However, if it is already on the way to you then when you receive it, you can contact us at customercare@packt.com using the returns and refund process.

Please understand that Packt Publishing cannot provide refunds or cancel any order except for the cases described in our Return Policy (i.e. Packt Publishing agrees to replace your printed book because it arrives damaged or material defect in book), Packt Publishing will not accept returns.

What is your returns and refunds policy? Chevron down icon Chevron up icon

Return Policy:

We want you to be happy with your purchase from Packtpub.com. We will not hassle you with returning print books to us. If the print book you receive from us is incorrect, damaged, doesn't work or is unacceptably late, please contact Customer Relations Team on customercare@packt.com with the order number and issue details as explained below:

  1. If you ordered (eBook, Video or Print Book) incorrectly or accidentally, please contact Customer Relations Team on customercare@packt.com within one hour of placing the order and we will replace/refund you the item cost.
  2. Sadly, if your eBook or Video file is faulty or a fault occurs during the eBook or Video being made available to you, i.e. during download then you should contact Customer Relations Team within 14 days of purchase on customercare@packt.com who will be able to resolve this issue for you.
  3. You will have a choice of replacement or refund of the problem items.(damaged, defective or incorrect)
  4. Once Customer Care Team confirms that you will be refunded, you should receive the refund within 10 to 12 working days.
  5. If you are only requesting a refund of one book from a multiple order, then we will refund you the appropriate single item.
  6. Where the items were shipped under a free shipping offer, there will be no shipping costs to refund.

On the off chance your printed book arrives damaged, with book material defect, contact our Customer Relation Team on customercare@packt.com within 14 days of receipt of the book with appropriate evidence of damage and we will work with you to secure a replacement copy, if necessary. Please note that each printed book you order from us is individually made by Packt's professional book-printing partner which is on a print-on-demand basis.

What tax is charged? Chevron down icon Chevron up icon

Currently, no tax is charged on the purchase of any print book (subject to change based on the laws and regulations). A localized VAT fee is charged only to our European and UK customers on eBooks, Video and subscriptions that they buy. GST is charged to Indian customers for eBooks and video purchases.

What payment methods can I use? Chevron down icon Chevron up icon

You can pay with the following card types:

  1. Visa Debit
  2. Visa Credit
  3. MasterCard
  4. PayPal
What is the delivery time and cost of print books? Chevron down icon Chevron up icon

Shipping Details

USA:

'

Economy: Delivery to most addresses in the US within 10-15 business days

Premium: Trackable Delivery to most addresses in the US within 3-8 business days

UK:

Economy: Delivery to most addresses in the U.K. within 7-9 business days.
Shipments are not trackable

Premium: Trackable delivery to most addresses in the U.K. within 3-4 business days!
Add one extra business day for deliveries to Northern Ireland and Scottish Highlands and islands

EU:

Premium: Trackable delivery to most EU destinations within 4-9 business days.

Australia:

Economy: Can deliver to P. O. Boxes and private residences.
Trackable service with delivery to addresses in Australia only.
Delivery time ranges from 7-9 business days for VIC and 8-10 business days for Interstate metro
Delivery time is up to 15 business days for remote areas of WA, NT & QLD.

Premium: Delivery to addresses in Australia only
Trackable delivery to most P. O. Boxes and private residences in Australia within 4-5 days based on the distance to a destination following dispatch.

India:

Premium: Delivery to most Indian addresses within 5-6 business days

Rest of the World:

Premium: Countries in the American continent: Trackable delivery to most countries within 4-7 business days

Asia:

Premium: Delivery to most Asian addresses within 5-9 business days

Disclaimer:
All orders received before 5 PM U.K time would start printing from the next business day. So the estimated delivery times start from the next day as well. Orders received after 5 PM U.K time (in our internal systems) on a business day or anytime on the weekend will begin printing the second to next business day. For example, an order placed at 11 AM today will begin printing tomorrow, whereas an order placed at 9 PM tonight will begin printing the day after tomorrow.


Unfortunately, due to several restrictions, we are unable to ship to the following countries:

  1. Afghanistan
  2. American Samoa
  3. Belarus
  4. Brunei Darussalam
  5. Central African Republic
  6. The Democratic Republic of Congo
  7. Eritrea
  8. Guinea-bissau
  9. Iran
  10. Lebanon
  11. Libiya Arab Jamahriya
  12. Somalia
  13. Sudan
  14. Russian Federation
  15. Syrian Arab Republic
  16. Ukraine
  17. Venezuela