preview

Unit 3 Assignment 2.2 Arduino

Decent Essays

2.2.1 BBC micro:bit
-------------------

BBC micro:bit is a wearable and programmable device that features a 5x5 LED display, accelerometer, compass, buttons, I/O pins, Micro USB plug, Bluetooth Low Energy antenna, ARM Cortex-M0 processor, and battery plug [@microsoft_touchdevelop_2015]. It is built with 29 partners to inspire children to start programming. Based on an ARM mbed chip, it is compatible with many things, from mobile phones to popular micro-computers such as Raspberry Pis and Kano, as well as microprocessors like the Arduino, Galileo, and little Bits, establishing a wide IoT network. This is the microprocessor that will be enrolled in all the schools around in the UK. It will be given free to students at year 7 and will be publicly available from October 2015. …show more content…

The Arduino is one of the most popular microprocessors available. There are various products ranging its number of pins, functionalities, and processing power. On the Arduino website, the recommended IDE is the Arduino IDE that was developed by the same company.

The compilation of Arduino is done with AVG/GCC, which is a compiler software built for AVR, a single-chip microcontroller. The uploading is done through AVR-DUDE. Though the language of Arduino's script is quite similar to C++, it is in fact wrapped C [@maxmackie_avr_2011]. The script created in the Arduino IDE is handled and processed as such, once uploaded via the USB:

1. The Arduino IDE communicates with Arduino over USB-to-serial
2. Initialise programming mode in the Arduino, so the boot-loader, the firmware installed in the factory, acknowledges the input
3. IDE sends new program to the Arduino using AVR-DUDE
4. The boot-loader will run the

Get Access