- Category: Computer projects
- Last Updated on Monday, 25 April 2016 11:23
Setting up a PC to work with Ciseco hardware
Ciseco radio technology presents a computer or microcontroller with a serial port through which to send configuration information, commands and data. In this document we will show you how to set up your PC so that you can connect it to a network of Ciseco Radio transceivers.
Ciseco USB technology
Most modern computers no longer have a serial port, but they do have Universal Serial Bus (USB) ports which can show up as a virtual serial RS232, COM or terminal port.
Ciseco has several products that use the USB port to connect a radio unit to a PC:
- SRF stick (recommended)
- URF (our first USB based radio)
- Explorer Plus, a 5 in one USB based interface for Xbee, XRF, RFu, FTDI (recommended if you have various radio modules and want to program them)
Installing USB drivers
When you plug in one of the Ciseco USB devices, Windows will require a driver to be installed. The drivers you need are supplied by Ciseco, and Windows won't automatically find them.
The appropriate USB drivers can be downloaded from http://openmicros.org/images/usb_cdc_driver_cc1111.zip.
Download them and put the unzipped ini file somewhere convenient. Plug the URF into a spare USB port. Windows will prompt you for the driver files, so point it at the usb_cdc_driver_cc1111.inf file you downloaded earlier. Confirm that you want to continue and the driver will be installed.
After installation, Windows Device Manager will show a TI C1111 Low-Power RF to USB CDC Serial Port (COMx) where x is the COM port.
Once the driver is installed, any program can connect to the serial port on which the Ciseco hardware is located and use the port as a standard serial port.
Typical programs that you might want to use include a terminal emulator program, such as Hyperterm, your own program you've written for your PC, or Ciseco's XCM, a configuration management and serial monitor for radio modules. If you use Hyperterm, you’ll be asked for a name for the new connection and an icon. Call it URF, select any icon and click next. Then select the COM port to which the URF is connected and set the baud rate to 9600, 8 bits, and one stop bit.
Once you can reach the attached device, you can try actual radio communcation. If you have two Windows machines, and two URFs, you can plug a URF in each computer, install the drivers on each machine and you then have the ability to send and receive data over the wireless RF connection without doing anything else. As far as both PCs are concerned, the communications apepars as if were conducted over a serial (RS232) wired connection.
XCM stands for XRF Configuration Manager. It is a versatile tool with which you can
- collect the configuration of the radio unit that is connected to your PC,
- make changes to this configuration and store those changes
- install LLAP personalities on an XRF module placed in Explorer Plus, connected to your PC
- monitor traffic on your radio network via the radio unit connected to your PC
You can download the latest XCM software at http://openmicros.org/Download/XCM/install.htm. Once installed, the software, will check for updates each time it is run, and may prompt you to download a new version. We recommend that you accept updates when available. The latest XCM source is up on our Github accounthttps://github.com/CisecoPlc/XCM-for-Windows.
To easily check if you can communicate with your XRF, use the "Search" button; this will search every available COM port for an XRF. This can take a long time if you have lots of COM ports. If you know what port the XRF is connected to, then select this from the drop down box and make sure the baud rate is set correctly (9600bps is the XRF default).
Press "download config" and after a few seconds all the text boxes should be populated.