Skip to content

Instantly share code, notes, and snippets.

@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 / 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 / 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 / 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 / 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)