5.- ARDUINO BOARD



ARDUINO, is not just a controller card, it is an open hardware electronic platform for the creation of prototypes. It allows connecting both analog and digital sensors and actuators, both analog and digital. This is the link



ARDUINO



The appearance of an ARDUINO ONE card (the most used) is the following:

The fundamental part is the ATMMega328 microprocessor. But it also has 6 analog inputs and 14 digital inputs / outputs. 2 power pins (5 and 3.3 V) a reset button and the probability of external power or USB port. Each contact provides 40 mA maximum and we can connect circuits using Shield or Protoboard plates.              The BQ company has used this controller card as a base and, by making some changes, has created its own BQ ZUM and FREDUINO control cards. Its use is more simplified.               In addition to having the card, it is necessary to download the software from the platform. The ARDUINO environment is very friendly and simple.




Programming with Arduino is very simple. Sequential, branched structures and loops are based on the same principles as programming with Scratch. In fact we can connect from Arduino with S4A (Scratch for Arduino) and use Scratch to program our ARDUINO.


All ARDUINO program consists of 2 parts. void setup Where in general the input and output pins are specified & void loop Where the main loop is carried out (similar to a forever) At the beginning of the program, constants and variables must be declared.


   

Comentarios