lunes, 6 de mayo de 2019

Arduino concepts for examination

Arduino pinout

Screenshot from Sparkfun Intro to Arduino presentation

The Arduino IDE


This is the Arduino IDE and the bare minimum sketch. This sketch consists of only two functions: setup() and loop(). In fact, it does nothing, so you should add your own code inside of them and, probably, some variable definition before setup().

Toolbar

Button
Function
Verify/Compile
Checks the code for errors
Upload
Uploads the current Sketch to the Arduino


New
Creates a new blank Sketch
Open
Shows a list of Sketches in your sketchbook
Save
Saves the current Sketch


Serial Monitor
Displays serial data being sent from the Arduino


Arduino recommended books and presentations

  • Sparkfun Intro to Arduino
    • Page 7. Arduino pinout.
    • Pages 26 to 28. Solderless Breadboard.
    • Pages 32 and 33. INPUT vs. OUTPUT.
    • Page 34. Analog vs. Digital.
    • Pages 36 to 38. Arduino IDE and settings.
    • Pages 40 to 47. Blink.
    • There is a review of basic concepts of electricity and electronics from page 16 to 25. Only if you need to review them.
  • Arduino Starter Kit Manual. A complete beginners guide to the Arduino
    • Pages 21 to 24. They explain the Blink example and how to change the delay to obtain different effects.
    • Pages 28 to 30. Project 2 - SOS Morse code signaler. They explain how to use a for loop to repeat clusters of commands.
    • Pages 31 to 32. Project 3 - Traffic lights.




martes, 2 de abril de 2019

Arduino practices

Here are some links and information about Arduino.

Introduction to electricity and Arduino (Ohm’s Law, etc.)
https://www.instructables.com/id/A-Beginners-Guide-to-Arduino/

A good introduction to Arduino, starting with a photograph with the explanation of pins and main circuits in the board.
https://www.makerspaces.com/arduino-uno-tutorial-beginners/ or better in pdf https://www.makerspaces.com/wp-content/uploads/2017/02/Arduino-For-Beginners-REV2.pdf

15 simple Arduino UNO projects:
https://www.makerspaces.com/15-simple-arduino-uno-breadboard-projects/
And the code of these projects:
https://www.makerspaces.com/wp-content/uploads/2017/06/Arduino-Project-Code.zip

Arduino language reference
https://www.arduino.cc/reference/en/
https://www.arduino.cc/en/Reference/HomePage2

The Spanish version is not complete :(
https://www.arduino.cc/reference/es/

First examples:
https://www.arduino.cc/en/Tutorial/BareMinimum
https://www.arduino.cc/en/Tutorial/Blink
https://www.arduino.cc/en/Tutorial/Button
https://www.arduino.cc/en/Tutorial/Fade and the sketch can be compared with this tutorial:
https://www.arduino.cc/en/Tutorial/Fading

Insertion of #include file with definition of notes. Array with notes and array with note durations, both array working together.
https://www.arduino.cc/en/Tutorial/toneMelody

Testing Analog inputs with a potentiometer or a photoresistor.
https://www.arduino.cc/en/Tutorial/AnalogInput

Arduino concepts for examination

Arduino pinout Screenshot from Sparkfun Intro to Arduino presentation The Arduino IDE This is the Arduino IDE and the bar...