Monday, 23 January 2012

Our first lesson about Arduino...



In our first lesson with Pete, Juliet and John was an introduction to electronics mainly concentrating into Arduino which is a circuit that could attach components to. I believe that Arduino is a very unique design idea as it is designed to work on any kind of system designed to make the process of using electronics in multidisciplinary projects more accessible. Arduino understands a language called 'SERIAL' which is a language that we talk through using Arduino and the computer/s. We have to bare in mind sometimes Arduino doesn't understand particular words, the misunderstood words automatically turn black but if words turn orange it is perfectly understood- the colour coding makes  it easy to know where the problem is. So how do we start up a conversation from the Arduino to the computer?
  • setup() – a function run once at the start of a program that can initialise settings
  • loop() – a function called repeatedly until the board powers off
These are the two functions that makes a runnable program. When the wiring is finished in the platform and written coding is done in the Arduino programme we press the upload button and see what you wished the Arduino to do- if the bottom of the screen becomes red this hints a problem in the coding and highlights the place where the problem is.

No comments:

Post a Comment