Instructions for Students 2021 – 2022

Please ensure your child is following the below rules while online. 1) Students need to have a camera to attend classes. 2) During the class, the Teacher may choose to mute all the microphones. Students should not unmute the microphone unless asked by the teacher. 3) Do not use the…

Continue reading

Instructions for Teachers 2020 – 2021

Step 1) Goto https://myaccount.google.com/ or just google.com and sign in from the top right hand corner Step 2) If your personal google ID is signed in , please sign off or use an incognito window ( incognito window can be started either by clicking the three vertical dots on the…

Continue reading

Instructions for Online Classes Students

Please ensure your child is following the below rules while online. 1) Students without a login ID cannot join any classes. Please contact patasala@nyganeshtemple.org if you have not received your ID. 2) During the class, the Teacher may choose to mute all the microphones. Students should not unmute the microphone…

Continue reading

Arduino Week 10 Lesson

We are combining Water sensor and passive buzzer. We are sounding an alarm based on water detected by the water sensor. #define c 3830 // 261 Hz #define d 3400 // 294 Hz #define e 3038 // 329 Hz #define f 2864 // 349 Hz #define g 2550 // 392…

Continue reading

Arduino Week 9 Lesson

#include <Servo.h> Servo servo; // Arduino pin numbers const int SW_pin = 2; // digital pin connected to switch output const int X_pin = 0; // analog pin connected to X output const int Y_pin = 1; // analog pin connected to Y output int servorotate = 0; int xvalue…

Continue reading

Arduino Week 8 Lesson

The circuit for this lesson is simple, we use a passive buzzer. The negative of the buzzer goes to the GND and positive goes to PIN 9 on the arduino.   int buzzerPIN = 9; #define c 261 #define d 294 #define e 329 #define f 349 #define g 392…

Continue reading

Arduino Week 7 Lesson

A simple program to read the code that is received by any Infrared remote control. #include <IRremote.h> const int RECV_PIN = 7; IRrecv irrecv(RECV_PIN); decode_results results; void setup(){ Serial.begin(9600); irrecv.enableIRIn(); irrecv.blink13(true); } void loop(){ if (irrecv.decode(&results)){ Serial.println(results.value, HEX); irrecv.resume(); } } A simple modification on this code with a if…

Continue reading

Week 6 Arudino

This is a simple sound sensor experiment. That takes a sound to turn on or turn off an LED. Here we use digital output from the sensor to measure the presence of the sound. The DO will goto pin 2 in arduino.  LED’s +ve is connected to 4.  Other circuit…

Continue reading

Ultrasonic Week 3

const int trigPin = 9; const int echoPin = 10; // defines variables long duration; int distance; void setup() { pinMode(trigPin, OUTPUT); // Sets the trigPin as an Output pinMode(echoPin, INPUT); // Sets the echoPin as an Input Serial.begin(9600); // Starts the serial communication } void loop() { // Clears…

Continue reading

DHT11 Week 5 Class

DHT11 needs a simple circuit. Refer the above diagram. The code is below #define DHT11PIN 7 dht11 DHT11; void setup() { Serial.begin(9600); } void loop() { Serial.println(); int chk = DHT11.read(DHT11PIN); Serial.print(“Humidity (%): “); Serial.println((float)DHT11.humidity, 2); Serial.print(“Temperature (C): “); Serial.println((float)DHT11.temperature, 2); delay(2000); } To change DHT11 temperature to Fahrenheit use…

Continue reading