Click here to see the weeks post
Fritzing is a software for designing electronics, it allows the drawing of a schematic circuit digram that you can prototype the design with. To start start this project by recreating Week 5’s project the circuits I made last week using the Fritzing software.
Fritzing – Moisture Detector Circuit
Micro:bit
A Micro:bit is a powerful self-contained micro controller designed by the BBC for computer education and ill be using it to explore electronic design this project.
overview:
- Outputs
- 5×5 LED array
- 25-pin edge connector
- audio out using pins 0v (positive) and GND (negative)
- radio and bluetooth antenna
- Inputs/Sensors
- 3 push buttons, 2 front 1 rear (which provide 4 inputs, A, B, A+B, reset).
- 3-axis accelerometer
- 3-axis magnetometer (used as a compass and metal detector)
- light sensor (using the LED array)
- temperature
- radio
- Connections
- a MicroUSB connector
- battery connector
- 25-pin edge connector
- radio and bluetooth antenna
- 43mmx52mm with connections along the top and bottom.
Programming
The micro-bit website has a method of learning and making code for Micro:bit. it outlined all its features as listed above and when it came to programming there were steps by step tutorials available on micro-bit code creator, that made it easier as it used simple code boxes that then translated it into a code language.
Micro:bit practice
First things I did were basic inputs that display a small pixel art. “on start”. once the micro-bit has power and turns on dots would appear one after the other to act like a little loading sequence. Then “forever” would display a smiley face until there was another input.
Next tutorial was the creation of another Dice… with this i used a difference input being the shaking of the micro:bit instead of pressing the buttons. this action would then show a random numbers as set between the range set.
Then next from that was another simple tutorial (flip a coin)which used another feature being if – then – else. i used the square and diamond with holes in to try and represent the coin and the flip. maybe it could have been better but in the tutorial i could only used set icons rather then make them myself.