Unlock the secrets of nature with code, engineering, and the Environmental Control Board for micro:bit!
The Kitronik environmental control board provides a variety of sensor inputs and connection points for the BBC micro:bit (V1 & V2) and provides the ability to control outputs for devices such as a water pump, fan, servo or heater pad. This makes it ideal for feedback control systems. This board is also supplied as part of the Kitronik Smart Greenhouse Kit.
The BBC microbit slots directly into the board via an integrated edge connector. The micro:bit can then read input from the onboard BME 280 environmental temperature, barometric pressure and humidity sensor and also the Real-Time Clock. There is an onboard piezo buzzer, 2 x 1A outputs (ideal for a water pump, heater pads or fan), 3 status ZIP LEDs, a ZIP LED expansion connector and servo output. In addition to these, 3 BBC micro:bit pins are broken out to croc-clip connections as further inputs and outputs, along with pads for 3V and GND.
Power is provided via the onboard 3xAA battery holder or the 2.1mm DC Jack. There is an on/off switch for controlling power supply to the board and there is a green LED to indicate when the board has been turned on. The board also produces a regulated 3V supply which is fed into the edge connector to power the inserted BBC micro:bit, removing the need to power the BBC micro:bit separately.
The board also features a solar cell input and will charge rechargeable batteries if inserted into the onboard battery holder. Renewable energy is becoming increasingly important and this board can be used to help illustrate greener ways of delivering desired outcomes.
The environmental control board can be coded with the MakeCode editor and Kitronik have produced a set of custom blocks to make the job as simple as possible. There are blocks for reading input and for controlling additional devices such as a pump. This can be added via the add Extensions function in the editor by searching “Kitronik” or from https://github.com/KitronikLtd/pxt-kitronik-smart-greenhouse. The supplied datasheet has detailed coding advice, so much so that the beginner will have no difficulties following along.