AT89STK-05 Atmel, AT89STK-05 Datasheet
AT89STK-05
Specifications of AT89STK-05
Related parts for AT89STK-05
AT89STK-05 Summary of contents
Page 1
... USB RF Mouse with nRF24L01 nRF24L01 is a single chip RF-transceiver intended for applications in the 2.4 GHz ISM band. AT89STK- high-performance Flash version of the 80C51 single-chip 8-bit micro controllers with full speed USB functions. This application note describes an application using nRF24L01 and AT89STK-05: USB RF Mouse ...
Page 2
... RF Mouse Overview The transmitter board is composed of an nRF24L01 controlled by an AT89STK-05. The mouse contactors are connected on AT89STK-05 IOs. The transmitter sends mouse info via the RF part. The power supply of the transmitter board comes from a battery. The receiver part decodes the mouse info. ...
Page 3
Reference Module nRF24L01 reference module is a complete RF-Module, designed to evaluate the RF IC perfor- mance and develop custom specific applications. The RF-Module is included into the nRF24L01-EVKIT but is also available seperately. Two RF-Modules are used, one ...
Page 4
... AT89STK-05 Starter kit AT89STK-05 starter kit is connected on USB bus. AT89C5130 (16K) Flash or AT89C5131 (32K) Flash can be plugged on the PLCC Flash socket depending on the application code size. The power supply of the starter kit comes from USB (5V). The microcontroller can directly run from the USB voltage but the RF device operates from a lower voltage and the C51 has to be pow- ered from the same voltage ...
Page 5
... Hardware Connections AT89C5131 hardware SPI bus is used to configure nRF24L01. The SPI bus is also used to send /receive data via the RF. The transmitter and receiver hardware connections are identical. Figure 5. AT89STK-05 and nRF24L01 Note: 7650A–USB–05/06 AT89C5131 SPI P1_6/SCK P1_7/MOSI P1_5/MISO P2_1 ...
Page 6
... Figure 6. Connections between AT89STK-05 and nRF24L01 boards USB RF Mouse 6 7650A–USB–05/06 ...
Page 7
... The data byte contains on each bit a mouse status (left, right...). This byte is described below in Table 1. Table 1. Mouse Status The mouse switches are connected to standard IOs of AT89STK-05. Table 2 describes the hardware connections between the mouse and the AT89STK-05. Table 2. AT89C5131 IOs Description 7650A– ...
Page 8
Figure 7. Description of Mouse Switch Connection A message is sent if an event appears on the mouse (press or release). When a switch is pressed, a message is sent to the receiver part. When a switch is released, a ...
Page 9
Table 3. usb_mouse_report[0] Table 4. usb_mouse_report[1] Table 5. usb_mouse_report[2] Table 6. usb_mouse_report[3] 7650A–USB–05/06 Bit number Byte value 0xFD 0x03 0x00 Byte value 0xFD 0x03 0x00 Byte value USB RF ...
Page 10
... Atmel does not make any commitment to update the information contained herein. Unless specifically providedot- herwise, Atmel products are not suitable for, and shall not be used in, automotive applications. Atmel’s products are not intended, authorized, or warranted for use as compo- nents in applications intended to support or sustain life. © ...