Sunteți pe pagina 1din 7

Features of Robosoft Systems 2.

4 GHz RF module

Page 1 of 7

Robosoft Systems 2.4 GHz RF module


Direct Serial Port commmunication. Direct commands to send packets to the hardware. Works with any available COM port of your computer. Needs mimimum system configuration to run. Easy to use and understand GUI. Guidelines to set up the hardware.

Back to top

Back to home

Robosoft Systems 2.4 GHz RF module

The above figure shows the first form window. In this window, there are three buttons:

Select Default Cancel

Thiswindowopensupasthe first window whenever the sofware is run. This window allows to select any one of the available COM Ports in your computer. All the available COM ports will be listed in the box and the first entry will be marked as blue. You can scroll through the available COM ports and select any one of the ports. Make sure that you have clicked the COM port that you intend to select and its colour is blue. After that you can click on the Select button so that you can use the COM port that you have selected. If you do not want to play aroud with the COM port and want to use the default COM port that is available in your computer, you can click the Default button. This action will select the first COM port that is available in your computer by default. At any time, if you do not want to select the COM port, you can hit the Cancel button. Please note that on clicking the Cancel button, no COM port will be selected unless you have selected it before by invoking this window. You can also invoke this

file://C:\Users\Admin\AppData\Local\Temp\~hhD6FD.htm

02/11/2010

Features of Robosoft Systems 2.4 GHz RF module

Page 2 of 7

window later from the main window later.

The above figure shows the main form window. In this window, there are eight buttons:

Open Port Send Packet Clear Timer Start Timer Stop Refresh Help Quit

This window is the second to open up in your computer after the COM port selection dialog. If you have selected the COM port from the previous form, then the first button will read "Open Port" and the colour of the button will be green. If you had pressed "Cancel" earlier in the previous window, then the button will be disabled. This is shown below:

If you want to send or receive any data through the COM port, you will not be able to do so as you have not selected the COM port. You will receive an error message as show below:

If you want to open the COM port to send and reveive messages, you will have to select the port once again. You can do this by clicking the "Select COM Port" menu on the top of the form as highlighted below:

After you have selected the COM port from the window that opens up, you will see the button has been enabled and turned green. Now if you click the "Open Port" button to open the desired COM port, then you will find that the name of the button has changed to "Close Port" and the colour of the button has changed to green as shown below:

file://C:\Users\Admin\AppData\Local\Temp\~hhD6FD.htm

02/11/2010

Features of Robosoft Systems 2.4 GHz RF module

Page 3 of 7

Now you can select the packet length from the Packet Length list box. Please note that this field has been provided so that you can define the Packet length before you actually send the packet. This results in synchronisation between the software and the CC2500 RF Module. After this you can now select the Device ID from the respective field to identify the correct device. You can now type in the packet contents in the Packet field. Please note that you would not be able to type in more text than the size that you have defined in the Packet Length field. After you have typed in the packet, ,you can now send the packet on its way by clicking the "Send Packet" button. If you have made a mistake somewhere, you can hit the "Clear" button. Ifyouwanttosendthepacketperiodicallyatregular intervals, instead of manually sending it everytime, then you can hit the "Timer Start" button. If you hit this button, a new window will open up which will ask you for the timer interval which you will have to enter in milliseconds as shown below:

Ifyouhit "OK", your packet will sent to the CC2500 RF Module every 500 milliseconds. To stop the timer, you can hit the "Stop Timer" button. Ifyouhitthe "Refresh" button, the form will be reset and every text that you have written will be erased. Toshowthishelp,youcanhitthe "Help" button or alternatively you can hit the F1 button anytime or you can click the Help menu and then Help Topics menu as shown:

Toconfigurethe channel and the device ID of the module, you just need to click the Configure Module tab on the window. This is as shown below.

ClickingonthisbuttonopensuptheConfiguration module window. From here you can configure the settings of the RF module.

The above figure shows the main form window. In this window, there are four buttons:

file://C:\Users\Admin\AppData\Local\Temp\~hhD6FD.htm

02/11/2010

Features of Robosoft Systems 2.4 GHz RF module

Page 4 of 7

Read Load Clear Quit

The Read button is used to read the values into the boxes. These values are retrieved from the CC2500 microcontroller module and then put into the boxes. The Load button is used to write the values from the boxes into the CC2500 microcontroller module. Please ensure that you have all the three boxes marked as blue before you hit the Load button. The Clear button is used to reset the three boxes to their default values. The default values for thke Channel ID, Device ID and Baud Rate are 0, 0, 9600 respectively. The Quit button is used to quit the main program. To exit the program, you can hit the "Quit" button anytime during the execution of the program.

Back to topBack to home

Sending packets through Robosoft Systems 2.4 GHz RF module


The Robosoft Systems 2.4 GHz RF Module is meant to send and receive packets or bytes. It provides a very versatile way of wireless communication. Let's see how we can send and receive packets through this software.

Afteryouhaveopenedthe port, you can go ahead and type in some text in the packet data field.

file://C:\Users\Admin\AppData\Local\Temp\~hhD6FD.htm

02/11/2010

Features of Robosoft Systems 2.4 GHz RF module

Page 5 of 7

Nowyouhavetokeepinminda few things before you can do the things as shown above.

You have to open the port before you can click on Send Packet. The amount of data in the packet is decided by the Packet Length field. The number of characters in the data has to be 1 less than the Packet Length. The number of charcters in the data cannot be more than Packet Length. The number of charcters in the data cannot be less than 1 less than Packet Length. To remove complicacy in understanding, you can simply type on until no more characters are being typed. The DeviceID field refers to the device ID of the receiver irrespective of the device ID of the sender.

Youcanalsosendthesamepacket periodically using Timer function. This can be done by clicking on the button Timer Start.

file://C:\Users\Admin\AppData\Local\Temp\~hhD6FD.htm

02/11/2010

Features of Robosoft Systems 2.4 GHz RF module

Page 6 of 7

SendingbytesthroughRobosoft Systems 2.4 GHz RF module


The Robosoft Systems 2.4 GHz RF Module is meant to send and receive packets or bytes. It provides a very versatile way of wireless communication. Let's see how we can send and receive packets through this software.

Afteryouhaveopened the port, you can go ahead and type in some text in the UART transmitted data field.

Onthereceiverside,youwill be able to see the data that you have just sent in the UART Received Data field.

file://C:\Users\Admin\AppData\Local\Temp\~hhD6FD.htm

02/11/2010

Features of Robosoft Systems 2.4 GHz RF module

Page 7 of 7

Now you have to keep in mind a few things before you can do the things as shown above.

You have to open the port before you can click on UART Transmitted Data. After you open the port, you will have to double click on UART Transmitted Data

file://C:\Users\Admin\AppData\Local\Temp\~hhD6FD.htm

02/11/2010

S-ar putea să vă placă și