REVISION NOTES 2nd term

 Grade 6

  1. How does Bounce the Ball Game works? Explain in detail with code.

previous term Question …..Check Notes

  1. Write the code to use LDR with Sajilobot.

the code is given below

when sajilobot starts

forever -if < LDR value < 300 > then

-set digital pin (6)as (HIGH)

-else

-set digital pin (6)as (LOW)


  1. How can you Build automatic street light project using Sajilobot?

Use code from Q.NO 2 and use pin D6 to connect external LED and How to Build automatic street light model 

  1. Write Blink code For Sajilobot

when sajilobot starts

forever -set digital pin (6)as (HIGH)

-wait (1) seconds

-set digital pin (6)as (LOW)

-wait (1) seconds

Grade 7

  1. How does snake game work explain with code.

  • Previous term Question 

  1. Write the code to blink RED and BLUE LED every 5 seconds alternately connected to pin 6 and 11

The code is given below:

when sajilobot starts

Forever - Set digital pin(6)as (HIGH)

-wait (1)seconds

- Set digital pin(6)as (HIGH)

- Set digital pin(6)as (HIGH)

-wait (1)seconds

- Set digital pin(6)as (HIGH)

-wait (3)seconds

  1. What is a soil moisture sensor? Explain

A soil moisture sensor is a device used to determine the presence of water in soil

it has two probes made out of iron or steel which determines the moisture by passing current through the circuit and we divide the voltage to measure it using resistor.[Draw diagram]

This device can say if our plant needs water or not

//CODE

when sajilobot starts

Forever -if <Read analog pin (A2)<(300)> then

-set digital pin (6) as (HIGH)

-else

-set digital pin (6) as (HIGH)


  1. How can you Build traffic light system with Sajilobot?

Lets use,

pin 6 = RED

pin 11=YELLOW

pin 13=GREEN

Now connect these LEDs to Breadboard and add resistor in Negative side

Take all negative and send them to GND pin in sajilobot


Grade-8  

  1. What is Arduino Code? Explain

  • Arduino code is a text based coding method to code our sajilobot.we can use arduino language as preferred method to extend our functionalities with block based coding.

  • Arduino contains two main functions void setup(){} and void loop(){}

  • We put our setup codes in setup function and our forever loop code in loop function

  • we can use other codes like pinMode(pin,Mode), digitalWrite(Pin,OUTPUT), analogRead(pin,INPUT), delay(1000) to do various activities that we do with mBlock based coding

  1. How does an Arduino code work? explain

Refer Q no 1  

  1. What is a Dc Motor? Explain its importance in Robotics

A motor which can continuously rotate or move forward or backward using DC power is called a DC motor. The importance of DC motor in robotics are listed below:

  1. it helps us to make moving parts for our robots

  2. it helps in locomotion or movement of our robot

  3. it can help us operate cooling devices like fan for our robots   

  1. What is a Servo Motor?Explain its Importance in Robotics

A motor which can be kept at precise angles to help with better controls is called Servo motor. The importance of Servo motor in robotics are listed below:

  1. it helps us to make precise movements 

  2. it helps to make Hands foot and other body mechanisms

  3. it can help control different functions which needs  pull or push 

  4. How Can explain you build pill reminder Alarm using SajiloBot 

We can build pill reminder alarm by using following materials and code given below:

Materials

  1. Sajilobot

  2. Buzzer

  3. ServoMotor

  4. Jumper Wires

  5. Breadboad

  6. 9V battery

  7. Box case for sajilobot and pills

Now we can add following code into sajilobot

  • When sajilobot starts

  • Forever - set digital pin (6) as (HIGH)

-set digital pin (13) as (HIGH)

-wait (2) Seconds

-wait (2) Seconds

-set digital pin (6) as (LOW)

set digital pin (13) as (LOW)

-wait (GAP duration-2) Seconds


Gap duration may be 6 or 8 hr depending on duration and we can move servo to help the patient distinguish the pill accordingly


  1. Explain the Mechanisms of Shark Game with code

Previous term Questions try to give brief description of characters and codes associated with the Game

Grade 9 

  1. How to upload code to SajiloBot?

  • We can easily upload code to our Sajilobot by connecting with our computer.We can use USB to TTL connector to connect our SajiloBot to the computer.Now we need applications like mBlock or Arduino IDE to Upload the desired code.


For eg if we want to upload a simple Blink code to the sajilobot then we can Write our code as follows:

For mBlocks

  • When sajilobot starts

  • Forever- Set digital pin (6) as (HIGH)

-wait (1)Seconds

- Set digital pin (6) as (HIGH)

-wait (1) seconds

For Arduino

  • void setup(){

  • pinMode(6,OUTPUT);

  • }

  • void loop(){

  • digitalWrite(6,HIGH);

  • delay(1000);

  • digitalWrite(6,LOW);

  • delay(1000);

  • }

Now we can connect our device in mBlock or Select Arduino uno with programmer atmega328p as ICP

and upload the given code by pressing the reset button when the code starts uploading.

  1. How to Code Sajilobot with Arduino Code explain.

Refer Q No 1 Arduino part 

  1. What is DC Motor? Explain its importance in Robotics

A motor which can continuously rotate or move forward or backward using DC power is called a DC motor. The importance of DC motor in robotics are listed below:

  1. it helps us to make moving parts for our robots

  2. it helps in locomotion or movement of our robot

  3. it can help us operate cooling devices like fan for our robots 

  1. What is a Servo Motor 9 Explain it importance in Robotics 

A motor which can be kept at precise angles to help with better controls is called Servo motor. The importance of Servo motor in robotics are listed below:

  1. it helps us to make precise movements 

  2. it helps to make Hands foot and other body mechanisms

  3. it can help control different functions which needs  pull or push 

  1. How can you build an automatic boat using Sajilobot? 

Discussed in Presentation sessions Present your General Ideas on The topic

  1. Explain Line following car Game with Code 

Previous Term Question……….You will find it in Notes

Grade-8  

  1. What is Arduino Code? Explain

  • Arduino code is a text based coding method to code our sajilobot.we can use arduino language as preferred method to extend our functionalities with block based coding.

  • Arduino contains two main functions void setup(){} and void loop(){}

  • We put our setup codes in setup function and our forever loop code in loop function

  • we can use other codes like pinMode(pin,Mode), digitalWrite(Pin,OUTPUT), analogRead(pin,INPUT), delay(1000) to do various activities that we do with mBlock based coding

  1. How does an Arduino code work? explain

Refer Q no 1  

  1. What is a Dc Motor? Explain its importance in Robotics

A motor which can continuously rotate or move forward or backward using DC power is called a DC motor. The importance of DC motor in robotics are listed below:

  1. it helps us to make moving parts for our robots

  2. it helps in locomotion or movement of our robot

  3. it can help us operate cooling devices like fan for our robots   

  1. What is a Servo Motor?Explain its Importance in Robotics

A motor which can be kept at precise angles to help with better controls is called Servo motor. The importance of Servo motor in robotics are listed below:

  1. it helps us to make precise movements 

  2. it helps to make Hands foot and other body mechanisms

  3. it can help control different functions which needs  pull or push 

  4. How Can explain you build pill reminder Alarm using SajiloBot 

We can build pill reminder alarm by using following materials and code given below:

Materials

  1. Sajilobot

  2. Buzzer

  3. ServoMotor

  4. Jumper Wires

  5. Breadboad

  6. 9V battery

  7. Box case for sajilobot and pills

Now we can add following code into sajilobot

  • When sajilobot starts

  • Forever - set digital pin (6) as (HIGH)

-set digital pin (13) as (HIGH)

-wait (2) Seconds

-wait (2) Seconds

-set digital pin (6) as (LOW)

set digital pin (13) as (LOW)

-wait (GAP duration-2) Seconds


Gap duration may be 6 or 8 hr depending on duration and we can move servo to help the patient distinguish the pill accordingly


  1. Explain the Mechanisms of Shark Game with code

Previous term Questions try to give brief description of characters and codes associated with the Game


Post a Comment

0 Comments

Comments