MicroView and Crownstone
Last week I figured it would be nice to attach the MicroView to the Crownstone, so that it could display some info you normally see on your phone. Since the Crownstone can only supply a low amount of power, the first thing I had to do is figure out how much power the MicroView consumes. I couldn’t find this online quick enough, so I simply measured it: about 12mA at 3.3V. This should be low enough for the Crownstone to supply!
Display the data
Next, I experimented with the widgets, these are provided by the MicroView library and can display a number nicely. It turned out you can have two next to eachother plus some text above, perfect :). I wrote a simple input parser that can parse arrays of integer. Then, I edited the code of the Crownstone to output temperature and RSSI values in the simple format.
After this worked, I figured it was time to show a graph of the current consumption of the light bulb that is connected via the Crownstone. Since it can sample the current at about 10kHz, you can actually see the 50Hz AC curve that comes out of the wall socket. To be able to switch between the different kinds of info, I added a simple push button to the MicroView.
In the video you see it all working. As soon as I connect to the Crownstone, the RSSI starts to update. Then I click the button and ask for a sample of the current graph.
30 March 2015