Micro:Bit Step Counter with Database in MicroPython Possible?
Posted: Thu Feb 09, 2017 11:13 am
0
down vote
favorite
I will start this from scratch: I set myself to develop an activity tracker for your pet that keeps track of the amount of steps that your pet takes. When finished that user would press one of the programmable buttons on that board to transfer that number of steps onto a database.
At first, I thought the BBC micro:bit board had everything I needed such as an accelerometer, compass, Blue Tooth but it seems as I do my research and as I code this thing it seems that what I want it to do is too ambitious for this microchip and it may be impossible to do with this product. However, before I scrap this product altogether I want others' opinions just to see if it really is possible with it.
The microchip can be programmed in the following languages:
MicroPython (which I chose)
JavaScript
Blockly
I chose MicroPython because I know you can use Python to connect to databases. Although no errors show up when I throw in code to connect the database up locally via file path the microchip doesn't work with me when I try to 'print' out the information that is stored in the tables stored within the database. The print displays by means of 25 LED lights on the microchip that can print out words and debugging.
Perhaps another microchip can do this step counter better and that can perfectly connect to databases, update the steps and store it within the database so I can make queries and tables that will display on my own created computer software that works alongside this piece of hardware.
Any thoughts?
down vote
favorite
I will start this from scratch: I set myself to develop an activity tracker for your pet that keeps track of the amount of steps that your pet takes. When finished that user would press one of the programmable buttons on that board to transfer that number of steps onto a database.
At first, I thought the BBC micro:bit board had everything I needed such as an accelerometer, compass, Blue Tooth but it seems as I do my research and as I code this thing it seems that what I want it to do is too ambitious for this microchip and it may be impossible to do with this product. However, before I scrap this product altogether I want others' opinions just to see if it really is possible with it.
The microchip can be programmed in the following languages:
MicroPython (which I chose)
JavaScript
Blockly
I chose MicroPython because I know you can use Python to connect to databases. Although no errors show up when I throw in code to connect the database up locally via file path the microchip doesn't work with me when I try to 'print' out the information that is stored in the tables stored within the database. The print displays by means of 25 LED lights on the microchip that can print out words and debugging.
Perhaps another microchip can do this step counter better and that can perfectly connect to databases, update the steps and store it within the database so I can make queries and tables that will display on my own created computer software that works alongside this piece of hardware.
Any thoughts?