Posts

Showing posts from October, 2016

Remote streaming on bluetooth

Image
It is always a bit of a pain having to have a lead attached to your seismic sensor.   With the BBC:microbit you can pair two devices wirelessly and stream wireless acceleration data across the ether ! It obviously helps if you have a battery pack for your BBC:microbit , we got ours from kiktronic  a battery pack lets you go wireless with datalogging  The coding for adding wireless streaming is very simple on the website  https://codethemicrobit.com/ mricobit data streaming code  You can download my copy of this .hex code here Note you have to download the same .hex code to two microbits... one acts as a remote sensor, the second must be connected to your computer with a USB lead and acts as the radio receiver. see this vdeo for an example of it working Of course you don't have to use jAmaseis software to do the monitoring, you can use a simple terminal program like putty Remember baud rate should be set to 115200  This...

Getting data from a BBC:microbit

Image
Since the BBC:microbit has an accelerometer chip on it it seems only natural to turn it into the heart of an educational seismometer. microbit accelerometer data recorded by jAmaseis datalogging software So what steps need to be done 1) install the mbed serial driver to connect your microbit to your (windows) computer using a USB lead 2) write some code to output acceleration data to the serial line on the microbit 3) make sure you have  suitable microbit device file for jamaseis 4) connect it all together In detail 1) install the mbed serial driver for windows see   https://developer.mbed.org/handbook/Windows-serial-configuration     This will create a virtual serial COM port on your computer... you can check this by looking at Computer...properties...device manager (windows7) On my computer the microbit appears as COM23  2) write some code to output acceleration data to the serial line..  you can do this in a browser on the mic...