![Atmel STK511 User Manual Download Page 8](http://html.mh-extra.com/html/atmel/stk511/stk511_user-manual_3003507008.webp)
Getting Started
STK511 User Guide
2-3
4842B–AVR–10/09
2.3.2
STK511 Receiver Interface Board Configuration
1.
Verify that the Receiver Application Board has been inserted into the appropriate sockets on the
STK511 Receiver Interface Board.
2.
Connect the STK511 Receiver Interface Board to the STK500 by aligning EXPAND0 and EXPAND1
connectors and pressing together.
3.
Switch the Data Selector switch to the STK511 position.
4.
Verify power is supplied to the STK500 board.
The Transmitter Application Board as shipped will be set to run with the default receiver configuration
register settings. The DIP switches on the STK511 Receiver Interface Board should be set according to
the following values:
DIP switch #1….………..#12
OPMODE register:
000100011001
LIMIT register:
010101101001
Note:
The default values are also shown on the bottom line of the silkscreen on the STK511 board.
5.
Once the DIP switches have been properly set, press the Configure button to write these values into
the receiver's registers.
6.
Switch the Data Selector switch to the STK500 position and the receiver is now ready to pass data
from the transmitter to the STK500 for decoding.
2.3.3
Using the Transmitter
To conserve battery life, the transmitter is shipped in a low current sleep mode. Pressing one of the two
buttons will awaken the transmitter from its sleep mode and initiate periodic data transmissions corre-
sponding to the level of ambient light. Simultaneously pressing both buttons will toggle the modulation
between ASK and FSK modes. If both LEDs blink during transmission then FSK is selected. If only one
LED blinks while transmitting then ASK modulation is selected. The periodic RF transmission rate can be
selected to occur quickly or slowly. Pressing one of the buttons results in a transmission rate of once
every ¼ second while pressing the other button results in a transmission once every 8 seconds. The
transmissions occur after the button is released. The transmitter enters a “sleep” mode after 30 seconds
of activity.
It is possible to reprogram the transmitter via the supplied 6-pin header. For more information on how
this is done,
See “Hardware Description” on page 5-1.
.
2.4
Evaluating the Demo
Once the system is set up, operation is straightforward. The transmitter will send light intensity informa-
tion data periodically. This will be displayed as a bar graph using the LEDs on the STK500. For real-time
updates, set the transmission rate to ¼ second intervals on the transmitter. Slowly cover up the transmit-
ter to view the LED bar graph change in response to changes in light intensity. Conversely, exposing the
transmitter to a light source will cause the LED bar graph to illuminate more LEDs.
It is also possible to view the data being sent by connecting an oscilloscope to the test point on the
Receiver Application Board labeled DATA. This test point can also be used to view the programming
commands when the Configure button is pressed.