Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
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 2. Infrared Beacon

In this chapter, we will be building a flashing beacon. It's not just any old flashing light, though. This one will be invisible, unless you are wearing night vision goggles or viewing a black-and-white video camera.

What is a 555 timer and how does it work?

The integrated circuit that we will be using in this chapter has been around since the 1970s and is still going strong today. You can see the 555 timer circuit in the following diagram:

What is a 555 timer and how does it work?

LM555 Timer pin out

The LM555 has two modes of operation. For this project, we will be using it in astable mode. The word astable means unstable, basically with respect to an oscillator. Now, in some cases we do not want the circuit to be astable, for example an amplifier. In this case, astable is a good mode.

The pins have various functions, depending on the mode in which we are using the device. The functions are as follows:

  • Pins 8 and 1 are always power and ground respectively.
  • Pin 3 is always the output pin that we will use to turn the LEDs ON and OFF.
  • Pin 4 is the reset pin. Pulling this pin low (to ground) disables the oscillator in astable mode. Essentially the output goes low and stays low.
  • Pin 5 is the control voltage pin. By applying a voltage to this pin, we...

Our 555 timer circuit

In our circuit, when the output is high, it turns on Q1, which turns on D2. When the output is low, it sinks the current, which turns off Q1 and turns on D1.

Our 555 timer circuit

Breadboard layout

Assembling our flasher PCB

The following figure is of the PCB design that is available for download from the Packt site (https://www.packtpub.com). This PCB is designed to fit inside a tube with a one-inch internal diameter. You will see the reason for this in a moment.

Assembling our flasher PCB

Flasher PCB

Assembly of the PCB is straightforward. I would suggest that you solder in the lowest parts first and work your way up to the higher ones. This way, the parts won't fall out when you turn the board over to solder them in. In this case, install the resistors first; then the LM555; and finally the capacitor and the transistor. You can also see how the LEDs have been bent at 90 degrees.

Assembling our flasher PCB

Finished PCB

Building and assembling the case

The flasher is designed to fit inside a piece of one-inch PVC plumbing pipe. The LEDs are bent at 90 degrees to the PCB and inserted through holes drilled in a one-inch PVC pipe cap. A #7 drill bit is used to drill the holes for the LEDs. The cap is then turned over and a quarter of an inch drill bit is used to enlarge the rear of the holes so that the LEDs will penetrate further into the cap. You should drill about half way through the cap with the quarter of an inch drill. A drill press with a depth gauge will come in handy here.

Building and assembling the case

Cap showing drilled holes

One end of the case is sealed shut with another one-inch end cap, which is glued into place. The cap with the holes is not, so that you can change the batteries. Also, I did not include an on-off switch in the design for the sake of simplicity, and to make the case as moisture-proof as I could.

Building and assembling the case

PCB assembly inserted in cap

The preceding image shows the completed PCB assembly installed in the end cap. These...

Going further

There are a number of modifications that you can make to this project. For example, it is possible to fit a miniature toggle switch into the top cap, alongside the LEDs.

It is also possible to fit the circuit into a smaller case by using a 3 V lithium coin cell. I chose PVC pipe because I find it easier to machine than other materials and through hole components for first-time builders.

The following image is of a much smaller device. Patents and non-disclosure agreements prevent me from showing you anymore; however it is an example of what can be achieved with a little ingenuity.

Going further

Small IR flasher

What is a 555 timer and how does it work?


The integrated circuit that we will be using in this chapter has been around since the 1970s and is still going strong today. You can see the 555 timer circuit in the following diagram:

LM555 Timer pin out

The LM555 has two modes of operation. For this project, we will be using it in astable mode. The word astable means unstable, basically with respect to an oscillator. Now, in some cases we do not want the circuit to be astable, for example an amplifier. In this case, astable is a good mode.

The pins have various functions, depending on the mode in which we are using the device. The functions are as follows:

  • Pins 8 and 1 are always power and ground respectively.

  • Pin 3 is always the output pin that we will use to turn the LEDs ON and OFF.

  • Pin 4 is the reset pin. Pulling this pin low (to ground) disables the oscillator in astable mode. Essentially the output goes low and stays low.

  • Pin 5 is the control voltage pin. By applying a voltage to this pin, we can...

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
Arduino Development Cookbook
$48.99
BeagleBone Black Cookbook
$48.99
Getting Started with Electronic Projects
$32.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.