Monday, 21 June 2021

Pimoroni Enviro:bit -

Finally got to play with something that has been my list of things to play with, the Pimoroni Enviro:bit Weather Kit https://learn.pimoroni.com/tutorial/tanya/building-the-enviro-bit-kit (see below)- a nice kit based around Pimoroni's enviro:bit device which uses microbit and adds a number of sensors including temperature, pressure and humidity; as well as a microphone.


Programming is via MakeCode; extensions can be added using the Extension option and searching for envirobit.




Getting sensor information:
So a quick experiment to work through the temperature, pressure and humidity sensors, a brief bit of code to do this is shown below:


Responding to sound
The microbit used with the kit was a V1, so this device added a microphone to the systems (V2 already has the microphone built-in). In the code below the microbit to react to a clapping sound.

To develop further.

There is still various things to try out the like the light sensors. As well as the expert blocks - what their functions are. 

Fun and easy to play with.



Code available:




All opinions in this blog are the Author's and should not in any way be seen as reflecting the views of any organisation the Author has any association with. Twitter @scottturneruon

No comments:

Post a Comment

Who wants to produce AI produced cartoon strips

Question: How easy is it produce a comic/cartoon using genetative AI? Let's start with  using ChatGPT4o to produce cartoons. The idea wa...