I work in television and I'm interested in trying to write a programme for my micro:bit that will log the time of day each time one of the buttons is pressed. Now I know this is straightforward but the problem I can foresee is that the time of day would have to be set each time the micro:bit is turned on. The hard bit and what I really want to know is if it is possible for a micro:bit to be 'jam synced' to another unit eg an iphone that would tell the micro:bit what the time of day is. There are various apps for the iphone that output timecode as an audio signal known as SMPTE ( as do professional cameras).
So the idea would be: turn on the micro:bit plug it into the audio feed of an iphone that is outputting the time of day. The micro:bit sets the time of day from this feed and then it can be unplugged and used until it is turned off.
I have seen someone has managed to do this with a raspberry pi but is it possible on a micro:bit?
Many thanks,
Julian
Setting time of day from an external source?
-
- Posts: 168
- Joined: Tue Nov 07, 2017 11:45 pm
Re: Setting time of day from an external source?
Have you got a link to that raspberry pi code.
Were they using external devices? Like an analogue to digital converter.
In principal if a raspberry pi can do it a microbit in theory should be able to. The only thing is they are a bit slow at executing a loop to collect data
Were they using external devices? Like an analogue to digital converter.
In principal if a raspberry pi can do it a microbit in theory should be able to. The only thing is they are a bit slow at executing a loop to collect data
-
- Posts: 20
- Joined: Wed Nov 01, 2017 8:00 pm
Re: Setting time of day from an external source?
I haven't tried using Bluetooth on the Micro:Bit so I don't know what its limitations are but since the Micro:Bit has Bluetooth surely that would be the simplest common interface between the Iphone and the Micro:Bit?
-
- Posts: 168
- Joined: Tue Nov 07, 2017 11:45 pm
Re: Setting time of day from an external source?
Blue tooth is not available in micropython. It takes up too much memory