The Demonstration project allows students to have a quick overview about how the projects will look like in order to increase their interest in studying Arduino. Depending on the project chosen by the student via a letter introduced on their keyboard, the functionality of each project developed in the educational kit can be shown.
This introduction to the Arduino Edukit for Mechanical Engineers could capture the interest of students and increase this interest in the large open-source community of Arduino.
This introduction to the Arduino Edukit for Mechanical Engineers could capture the interest of students and increase this interest in the large open-source community of Arduino.
DEmonstration project
Knowledge acquired
- Configuration of the Arduino
pins used: #define and pinMode(pin,mode);
- Read the value of a pin: digitalRead(pin); and analogRead(pin);
- Using the if ... else function.
- Write a value to an Arduino
output pin: digitalWrite(pin,value);
- Pause the programme: delay(ms);
- PWM and how to use it with analogWrite();.
- Using for function.
- Using the Serial communication
and Serial Monitor to communicate with the compuer/laptop.
- Reading and treating values
from standard analog sensors (analogRead();)
- Create user defined functions.
- Using the Arduino Motor Shield
to control 2 DC motors
- Libraries and how to
include them.
- Using the Arduino Motor Shield
to drive 1 stepper motor
- How to use the Wire.h library in order to communicate
(write and read) with complex devices via I²C.
- Using the pow(base,exponent); instruction in order to calculate the value of
a number raised to a power.
- Use the do ... while control structure.
- Understand an array and how to use it to store
data.
- Use the while control structure.
- How to perform a bit shift in order to isolate certain bits inside a byte.
- Create a user defined function
which returns a value.
- Understand what is I²C and use
it to read complex sensor via I²C bus.
- Understand the concept of
registers inside a complex sensor and control the registers.
Circuit setup
Arduino code
allprojects.ino | |
File Size: | 15 kb |
File Type: | ino |