20.01.2013 Views

Tune that dial - Index of

Tune that dial - Index of

Tune that dial - Index of

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

copies the timing <strong>of</strong> the transmitter as well as its 24-bit<br />

key. Both values are stored in the EEPROM <strong>of</strong> the microcontroller<br />

and used when the receiver is operating in the<br />

normal mode.<br />

Programming settings<br />

The code for the ATtiny microcontrollers in the transmitter<br />

and receiver is available free <strong>of</strong> charge on the<br />

Elektor Electronics website under item number<br />

050364-11 (see month <strong>of</strong> publication). The microcontrollers<br />

must be programmed using a suitable programmer<br />

before they are fitted to the circuit boards.<br />

When you program the microcontroller, don’t forget to<br />

read the oscillator calibration byte from the signature<br />

memory <strong>of</strong> the microcontroller and reprogram it in flash<br />

memory location 1023 ($3FF). It is also important to tick<br />

BOD as enabled and set the BOD level to 4.0 V for the<br />

receiver or 2.7 V for the transmitter. If BOD is not programmed,<br />

the content <strong>of</strong> the EEPROM memory (which<br />

contains the key code) can be affected when power is<br />

switched on or <strong>of</strong>f, with the result <strong>that</strong> things may no<br />

longer work properly.<br />

The ‘very quickly rising power’ fuse settings (CKSEL =<br />

11) must also be programmed for the transmitter and<br />

the receiver. This is partly related to proper operation <strong>of</strong><br />

the watchdog timer.<br />

Initial use<br />

After you have fully assembled the transmitter board,<br />

you must first activate it so it can generate and store a<br />

code. It’s a good idea to do this a couple <strong>of</strong> times to be<br />

sure <strong>that</strong> a 24-bit code has been generated and stored.<br />

Next, fit J1 on the receiver board. Then switch on the<br />

receiver, but do not connect any antenna yet (to avoid<br />

picking up interference). Hold the transmitter close to<br />

the receiver board and activate it a couple <strong>of</strong> times.<br />

Now remove J1 while the receiver is still on and reset<br />

the receiver (by switching it <strong>of</strong>f and on) without J1. The<br />

supply voltage must drop to nearly zero during this<br />

process, so watch out for the effects <strong>of</strong> any large capacitors<br />

in the power supply. If everything goes well, the<br />

LED connected to OUT1 <strong>of</strong> the receiver will now light<br />

up for around 1 second each time you press the transmit<br />

button. To be on the safe side, hold the transmit<br />

button <strong>of</strong> the receiver pressed for at least 1 second<br />

each time you activate the transmitter.<br />

If everything is working the way it should, you can connect<br />

the receiver outputs to the device or circuit to be<br />

operated. Bear in mind <strong>that</strong> it may be necessary to connect<br />

a buffer stage or semiconductor relay between the<br />

receiver and the load.<br />

[1] Crystals used in this project:<br />

www.hongkongcrystal.com<br />

Tx: 9SMI356000E03FAFZOOO<br />

Rx: 9SMI322560E03FAFZOOO<br />

(050364-1)<br />

Coil data<br />

L1 (transmitter): 3 turns 0.3 mm dia. silver-plated copper<br />

wire, coil diameter 2.5 mm, length 5 mm<br />

L1 (receiver): see Figure 2.<br />

L2 (receiver): see Figure 2<br />

12/2006 - elektor electronics<br />

Advertisement<br />

Pr<strong>of</strong>essional Features – Exceptional Price<br />

34 Channels sampled at 500 MHz<br />

Sophisticated Multi-level Triggering<br />

Transitional Sampling / Timing and State<br />

Connect this indispensable tool to your PC’s<br />

USB 1.1 or 2.0 port and watch it pay for itself within hours!<br />

Economical<br />

2-day<br />

Shipping!<br />

500 MHz Max.Timing Mode<br />

Sample Rate (internal clock)<br />

200 MHz Max. Sample Rate<br />

State Mode (external clock)<br />

Multi-level Triggering on Edge,<br />

Pattern, Event Count, Group<br />

Magnitude/Range, Duration etc.<br />

Real-Time Hardware Sample<br />

Compression<br />

Qualified (Gated) State Mode<br />

Sampling<br />

Intronix Test Instruments, Inc.<br />

16421 N.Tatum Blvd. Unit 130<br />

Phoenix,Arizona 85032 USA<br />

Tel: (001) 602 493-0674<br />

Fax: (001) 602 493-2258<br />

www.pcTestInstruments.com<br />

www.pcTestInstruments.com<br />

Interpreters for I2C, SPI and<br />

RS232 included<br />

Integrated 300 MHz Frequency<br />

Counter<br />

+6V to -6V Adjustable Logic<br />

Threshold supports virtually all logic<br />

families<br />

Full version <strong>of</strong> s<strong>of</strong>tware free to<br />

download<br />

Mictor adapter available<br />

Visit our website for screenshots, specifications and<br />

to download the easy-to-use s<strong>of</strong>tware.<br />

* The amount <strong>of</strong> £210 was calculated at the time this ad<br />

was created. The actual price will depend upon the<br />

exchange rate at the time <strong>of</strong> purchase.<br />

Price does not include the UK VAT <strong>of</strong> 17.5% plus a small<br />

import fee <strong>of</strong> typically £5-10. These fees will be collected<br />

at the time <strong>of</strong> delivery (companies can claim a refund for<br />

the 17.5% VAT from HMRC). E&OE

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!