Skip to content

Instantly share code, notes, and snippets.

@atifahsuad
atifahsuad / voice_bluetooth.ino
Last active July 19, 2018 04:32
This sample code is for Controlling Arduino Using Voice Tutorial by Cytron Technologies Sdn. Bhd.
/*
This example code is for Controlling Arduino Using Voice Tutorial.
Product page:
Maker UNO: https://www.cytron.io/p-maker-uno
Created by:
16/07/18 Suad Anwar, Cytron Technologies
*/
#include <SoftwareSerial.h>
SoftwareSerial HC06Serial(11, 10); // (RX,TX)
@atifahsuad
atifahsuad / Clap.ino
Last active July 26, 2018 03:34
This example code is for Clap to Turn On The Light's Tutorial.
/*
This example code is for Clap to Turn On The Light's Tutorial.
Product page:
Maker UNO: https://www.cytron.io/p-maker-uno
Sound Sensor : https://www.cytron.io/p-so-mic-mod
Created by:
24/07/18 Suad Anwar, Cytron Technologies
*/
int SoundSensor = 10;
@atifahsuad
atifahsuad / piano.ino
Created August 8, 2018 05:07
This is a sample code for Piano (Basic)'s Tutorial
/*
This example code is for Piano(Basic)'s Tutorial.
Product page:
Maker UNO: https://www.cytron.io/p-maker-uno
Created by:
08/08/18 Suad Anwar, Cytron Technologies
*/
#include "pitches.h"
@atifahsuad
atifahsuad / PIR.ino
Created August 23, 2018 06:56
This sample code is for Detecting People Using PIR Sensor's Tutorial by Cytron Technologies Sdn. Bhd.
/*
This example code is for Detecting People with PIR Motion Sensor.
Product page:
Maker UNO: https://www.cytron.io/p-maker-uno
PIR Sensor : https://www.cytron.io/p-sn-pir
Created by:
23/08/18 Suad Anwar, Cytron Technologies
*/
int Buzzer = 8; // choose the pin for the LED
@atifahsuad
atifahsuad / ultrasonic.ino
Created August 30, 2018 05:27
This example code is for Measuring Distance Using Ultrasonic Sensor's Tutorial.
/*
This example code is for Measuring Distance Using Ultrasonic Sensor.
Product page:
Maker UNO : https://www.cytron.io/p-maker-uno
Ultrasonic Sensor : https://www.cytron.io/p-sn-hc-sr04
Created by:
30/08/18 Suad Anwar, Cytron Technologies
*/
// defines pins numbers
@atifahsuad
atifahsuad / flame.ino
Created September 6, 2018 04:18
This example code is for Flame Detector's Tutorial.
/*
This example code is for flame detector's tutorial.
Product page:
Maker UNO : https://www.cytron.io/p-maker-uno
Flame Sensor : https://www.cytron.io/p-sn-flame-mod
Created by:
6/09/18 Suad Anwar, Cytron Technologies
*/
int sensorPin = A0; // Input pin for the Flame Sensor
int sensorValue = 0; // Variable to store the value coming from the flame sensor
@atifahsuad
atifahsuad / AutoGate.ino
Created September 13, 2018 06:48
This example code is for Auto Gate's Tutorial.
/*
This example code is for Auto Gate tutorial.
Product page:
Maker UNO : https://www.cytron.io/p-maker-uno
Flame Sensor : https://www.cytron.io/p-sn-flame-mod
Created by:
13/09/18 Suad Anwar, Cytron Technologies
*/
#include <Servo.h> // Include the library for the servo
/*
This example code is for rain detector's tutorial.
Product page:
Maker UNO : https://www.cytron.io/p-maker-uno
Rain Sensor Module : https://www.cytron.io/p-sn-rain-mod
TowerPro SG90 Micro Servo : https://www.cytron.io/p-sg90
Created by:
20/09/18 Idris Zainal Abidin and Suad Anwar, Cytron Technologies
*/
@atifahsuad
atifahsuad / Blynk_Lesson_1.ino
Created September 27, 2018 04:07
This example code is for ARDUINO BLYNK LESSON 1: LED's Tutorial.
/*************************************************************
Download latest Blynk library here:
https://github.com/blynkkk/blynk-library/releases/latest
Blynk is a platform with iOS and Android apps to control
Arduino, Raspberry Pi and the likes over the Internet.
You can easily build graphic interfaces for all your
projects by simply dragging and dropping widgets.
Downloads, docs, tutorials: http://www.blynk.cc
@atifahsuad
atifahsuad / notification.ino
Created October 4, 2018 03:50
This example code is for ARDUINO BLYNK LESSON 2: Notification's Tutorial.
/*************************************************************
Download latest Blynk library here:
https://github.com/blynkkk/blynk-library/releases/latest
Blynk is a platform with iOS and Android apps to control
Arduino, Raspberry Pi and the likes over the Internet.
You can easily build graphic interfaces for all your
projects by simply dragging and dropping widgets.
Downloads, docs, tutorials: http://www.blynk.cc