Shopping: Real Estate |  Costumes  |  Guitars
This Issue Archived Articles Blog About Us Contact Us
SEARCH


eLabtronics EZ System, Part 2

Building a programmable temperature alarm

by Julian Edgar

Click on pics to view larger images

At a glance...

  • Revolutionary new electronics system
  • Assumes starting point of zero electronics and programming knowledge
  • Make your own electronics for automotive, model railways, renewable energy, alternative powered vehicles and lots more!
  • Off-the-shelf programmable electronic modules and easy to learn software
  • Very low cost
  • This week: building a programmable temperature alarm - the hardware
Email a friend     Print article

Last week in Part 1 we introduced the eLabtronics EZ system. In short, the system consists of low-cost electronic modules that can be programmed with easy-to-use software allowing them to perform a myriad of functions. If you’re interested in custom electronics for cars, model railways, solar energy, alternative powered vehicles, low voltage lighting – or hundreds of other uses – then this system is for you.

The cost is low, the functionality is high and the creativity is in your hands. This week, we’ll start building a programmable temperature alarm – and let me tell you, you’ve never seen DIY electronics as straightforward as this!

What You Need

Click for larger image

Our starting point is the eLab6 EZ Starter Kit and an eLab6. This costs AUD$44.50 (+GST) and comprises the electronic module, temperature sensors, light sensors, LEDs, buzzers and some other assorted components. With just these components, you can make lots of ‘real world’ projects, including the temperature alarm covered in this story.

Click for larger image

To program the module, you’ll also need the Programmer Module that costs AUD$40 (+GST) including cable. The Programmer can be used many times to program different hardware modules – it’s a one-off investment. (Making it an even better buy, the Programmer can also be used as a PC data logger see - Five Channel USB Data Logger, Part 1).

Click for larger image

So you’ve got the starter kit – now download from eLabtronics the ezCircuit Designer...

Click for larger image

... and ezCoreChart software packages. Install these programs and you’re ready to begin!

In this story we’re going start developing a programmable temperature alarm – it will take only a short time and you don’t need any existing programming or electronics knowledge.

(So why a temperature alarm? Well, temperature alarms are very useful – they have household applications [eg in monitoring a greenhouse, fish tank or homebuilt solar water heater] , can be used in cars [eg monitoring coolant temp, intercooler temp or oil temp] , have industrial applications and can be used in education.)

So how will our temp alarm work?

Inputs, Outputs and Brains

Click for larger image

Electronic systems can be broken down into inputs, outputs, and the brains that work in the middle. For example, let’s look at how this applies to the programmable temperature alarm.

Click for larger image

Here is the input/brains/output idea applied to our temperature alarm. The input is a temperature sensor, the brains comprise the eLab6 module, and the output is a buzzer.

That all seems pretty straightforward – so let’s now do it.

ezCircuit Designer

Click for larger image

Open the ezCircuit Designer software. Select ‘New Project’ and then give it a name. (If the eLab6 module doesn’t appear on screen, go to Options > Chip Selection and then select eLab6 from the list.)

Click for larger image

Place the eLab6 electronic module on the desk in front of you. Orientate it so that the multi-pin programming connector is at the bottom. You can see on the eLab6 that the connectors on each side are numbered – 0, 1, 2, 3, 4 and 5. The same numbering system is used on the eLab6 shown in ezCircuit Designer on the screen in front of you.

Click for larger image

The (+) and (-) connections are for power – they can be made by either plugging-in the supplied battery pack OR by connecting 5V to the (+) and (-) connector on the board.

Click for larger image

OK, time to make some on-screen connections! The first wiring connection is for the temperature sensor. On ezCircuit Designer, temperature sensors are shown by the symbol highlighted here by the red arrow. Click on the symbol and the different types of temp sensor appear in the list below, with LM35 Temp Sensor Chip the highlighted first entry on the list. That’s the sort of temp sensor supplied with the eLab6 EZ Starter Kit, so no change in selection is needed.

Click for larger image

We’ve now selected an LM35 temp sensor, but which pin do we connect it to? Notice how some of the connector boxes are green and some are not. You can connect the temp sensor to any connector that is green. So in this case, you can connect the temp sensor to connectors 0, 1, 2 or 4. (Sometimes a light green box will also appear – that’s the preferred connection for that component.)

Click for larger image

With the temp sensor selected, click on the pin you want to connect the sensor to. Here we’ve picked ‘0’ – you do the same.

Click for larger image

It’s a very good idea to rename the inputs and outputs, using names that you can easily understand. Right-click on the Temp_Sensor7 name and select ‘Rename’. Delete the existing name and call it TempSensor.

OK, so that’s the temperature sensor connected. Now we need to connect a buzzer – remember, the Temperature Alarm we’re building sounds a buzzer when the temperature is too high.

Click for larger image

Select a buzzer (shown here by the red arrow) and decide where you want to connect it. Connectors 1, 2 and 4 or 5 are free and so any of these can be used.

Click for larger image

Here the buzzer has been connected to number 2 – again, you do the same. Now rename it ‘Buzzer’. (If we had a more complex project where all the connectors would be used, we’d connect the buzzer to Connector 5, the preferred one as indicated by the light green in the screen grab above. But since we’ll have plenty of connectors left over, we can use Connector 2.)

If you haven’t already done so, save this file as Temperature Alarm.

So let’s take stock. We’ve just connected the input (the temperature sensor) and the output (the buzzer). But hold on! We’ve only connected them on-screen, not to the actual hardware module!

Module Wiring

Click for larger image

The first step in wiring is to make sure the module is switched off.

Click for larger image

All the eLab6 EZ Starter Kit components use colour-coded wiring. This makes the connection of the temp sensor and buzzer really easy.

Click for larger image

Let’s start with the temp sensor.

Click for larger image

When we used ezCircuit Designer, we wired the temp sensor to Connector 0. The white wire of the temp sensor therefore connects to ‘0’ – after the wire is fully inserted, use a small flat-bladed screwdriver to tighten the connector.

Click for larger image

The red wire of the temp sensor connects to (+)...

Click for larger image

...and the black wire to (-).

In all eLab6 EZ Starter Kit components, the white wire connects to 0, 1, 2, 3, 4, or 5, the black wire to (-) and the red wire to (+).

Click for larger image

Next we’ll do the buzzer. When we used ezCircuit Designer we wired the buzzer to Connector 2. The white wire from the buzzer is therefore connected to ‘2’...

Click for larger image

...and the black wire connects to (-).

Click for larger image

Finally, plug in the battery pack.

The wiring of the Temperature Alarm is finished! (You can use a 5V supply instead of the battery pack eg the 5V supply available from a car ECU.)

Now we can go to the next step of writing the software that will run the Temperature Alarm. How? We’ll find out next week.

Contacts

Contact: www.elabtronics.com

ezCircuit Designer - http://www.elabtronics.com/products_cat_ezCircuit.htm

ezCoreChart - http://www.elabtronics.com/products_cat_CoreChart.htm

Go here for the next in this series.

Did you enjoy this article?

Please consider supporting AutoSpeed with a small contribution. More Info...


The following downloads are available for this article:

Share this Article: 

More of our most popular articles.
Part 1 of our major new series on understanding car electronics

DIY Tech Features - 2 December, 2008

How to Electronically Modify Your Car, Part 1

Relays are much overlooked in car modification but they're cheap and effective

DIY Tech Features - 27 January, 2009

How to Electronically Modify Your Car, Part 7

Advice on how to get into freelance writing

Special Features - 27 July, 2010

Changing a Life

A revolutionary fuel-saving device that works

DIY Tech Features - 18 August, 2009

FuelSmart, Part 1

A new engine designed to extend the range of plug-in hybrid cars

Special Features - 8 December, 2009

The Lotus Range Extender Engine

Aluminium bellmouths in minutes

DIY Tech Features - 10 December, 2013

Making your own Bellmouths

Under $10 for a remote-controlled immobiliser!

DIY Tech Features - 27 November, 2012

DIY classic car immobiliser

The advantages of small boosted engines running direct injected ethanol

Special Features - 16 June, 2009

Going Direct Injected Turbo Ethanol!

How to organise your home workshop for best results

DIY Tech Features - 25 June, 2008

Laying Out a Home Workshop

The key to understanding lots of car-related things!

Technical Features - 20 August, 2013

Making sense of vibrations

Copyright © 1996-2020 Web Publications Pty Limited. All Rights ReservedRSS|Privacy policy|Advertise
Consulting Services: Magento Experts|Technologies : Magento Extensions|ReadytoShip