Software apps and online services
The purpose is to provide build details for anyone interested in making this enclosure or a similar derivation or just inspiration.
This node differs from the main node used in the main project in that it doesn't use a GPS but instead uses an external antenna and an LCD to display sensor data locally. Note that to use an external antenna you should (ideally) get an Edison Compute Module without an onboard antenna (External Antenna: EDI2.SPOF.AL.S) so as to avoid interference issues.
The globe part is made from two 8-inch wide hollow half-balls made from Smoothfoam, a denser material than Styrofoam. They were purchased from a Michaels craft store. It was airbrushed by a local artist and given a sort of water world look. The two halves are joined by a triangular hinge. A drill with drill bits was used to drill the holes but beware, this leaves a mess! It might be best to drill the holes manually. The box that houses the RGB LCD (jhd1313m3) is just the box from a SeeedStudio Starter Kit for Intel Edison, and the LCD came with it. The globe is mounted on the box via a servo but the servo is unused electronically.
Here is a video showing the sensor data displayed on the lcd and XDK IoT Edition console:
A code snippet is provided below. It works for some time before the lcd goes dim and the program appears to no longer be running. I don't know why it's doing this so feel free to leave a comment below if you have any idea. The code snippet below just demonstrates use of the LCD. It does not enable this to be an Internet of Things (IoT) device. To do that, please refer back to the main project page and associated code. The code below could also be used to validate the operation of the sensors very quickly upon receiving them.
If you encounter the following error related to the LCD, try changing the I2C connection or the bus number (first argument).
ERROR: /home/root/.node_app_slot/main.js:23 ERROR: var display = new lcd.Jhd1313m1(0, 0x3E, 0x62); ^ ERROR: Error: Illegal arguments for construction of _exports_Jhd1313m1