8&9 Classes Notes
8&9 Classes Notes
8&9 Classes Notes
AI or (ARTIFICIAL INTELLIGENCE): -
AI is the ability of a computer or a robot controlled by a computer to
do tasks that are usually done by a human because they require
human’s intelligence and discernments.
Week2 Introduction to software (pictoblox)
AUGUST
Week1 Grade Calculator In python coding.
Sprite = Sprite ('Tobi')
def grade(marks):
if marks > 85:
return "A"
elif marks > 70:
return "B"
elif marks > 60:
return "C"
elif marks > 45:
return "D"
else:
return "F"
sprite.input("what is your marks")
mark = int (sprite.answer())
sprite.say ("your grade is" + grade(mark), 2)
Week2 Introduction to software (Arduino) and LED
Blinking using Arduino.
Go to tools->ArduBlock.
Code block: In this area we have set of blocks and each block
content set of instructions
Buzzer Connections
The most common sound sensors used with Arduino are the KY-038
and the LM393 microphone sound sensor.
1. Connect the VCC and GND pins of the sensor to the 5V and GND
pins of the Arduino board, respectively.
2. Connect the OUT pin of the sensor to any of the Arduino’s
Analog pins.
3. Process the signal to extract the desired information, such as the
sound level or the presence of a specific sound.
Here is an example of how to read the analog signal from the sound
sensor and light up LEDs to show the intensity of the sound received
by the microcontroller
1. Happy
2. Sad
3. Surprised
4. Angry
5. Disgusted
6. Neutral
7. Fear
Write a program for Face expression recognition by using
Face Detection command.
Week 4: Revision.
Week 5: Introduction of DC Gear motors.
DC Gears Motor: A gear motor is an all-in-one
combination of a motor and gearbox. The addition of a
gearbox to a motor reduces the speed while increasing the
speed output.
Week3&4: Holidays
January
Week1: Revision.
Week3&4: Micro Servo Motors.
Micro Servo Motor: Servo motor is a type of motor that is
powered by a DC source, either from an external supply or
by a controller. A small and lightweight servo motor with
high output power is called a micro servo motor Servo
motor works on PWM (Pulse width modulation) principle,
means its angle of rotation is controlled by the duration of
applied pulse to its Control PIN.