Arduino

Reference Material

Some reference material:

Your First Program

Target: Build a leg with the Arduino build in pin 13.

// the setup function runs once when you press reset or power the board
void setup() {
  // initialize digital pin LED_BUILTIN as an output.
  pinMode(LED_BUILTIN, OUTPUT);
}

// the loop function runs over and over again forever
void loop() {
  digitalWrite(LED_BUILTIN, HIGH);   // turn the LED on (HIGH is the voltage level)
  delay(1000);                       // wait for a second
  digitalWrite(LED_BUILTIN, LOW);    // turn the LED off by making the voltage LOW
  delay(1000);                       // wait for a second
}

To avoid using the delay function you can use the following code: https://www.arduino.cc/en/Tutorial/BuiltInExamples/BlinkWithoutDelay

Different Sensor Integration Arduino - Codes

Program - Push Button

Illustration is on : https://www.arduino.cc/en/Tutorial/BuiltInExamples/DigitalReadSerial

We can combine with First program and pushbutton

PIR Motion Sensor

Reference: https://www.makerguides.com/hc-sr501-arduino-tutorial/

GPS Sensor

Module Reference: GP-GPS6MV2

Get the NEMA Format GPS

Use Tiny GPS++ Library

Emettor - Receptor 433 MHz RF module - Code

Temperature and Humidity Sensor

DHT11 Sensor (+- 2 euro /piece)

Reference URL:

Last updated

Was this helpful?