Digi’s own Dave Olson created the XIG Stock Tracker or a “stock fortune teller.” It wirelessly provides real-time updates of the DIGI, or any, stock status using the XBee Internet Gateway for windows. Stock updates as soon as they happen– talk about a great office ornament.
He then set the AT commands for the XBee and XStick to sync them. If you’re creating your own, you can use this reference for the proper XBee settings.
Next, download and run the XIG code for windows, located here. Select the COM port that your XStick is plugged into.
Plug the XBee into the XBee shield and plug the shield into the Arduino UNO. Connect the UNO to your machine with a USB serial chord.
The Arduino code reads in and parses the DGII NASDAQ website. If the DGII stock is up pin 13 (green LED) is turned on. If the DGII stock is down pin 12 (red LED) is turned on.
Green and red LEDs connected to pins 13 and 12, respectfully.
Using a 9V battery and an enclosure that can be hung on the wall, you now have a real-time, wireless view of the Digi stock price status without any direct internet access.
Note: The XIG DGII Reader only requires internet connection from your laptop and can get you a live reading as long as you are within XBee range.