0% found this document useful (0 votes)
35 views4 pages

Future of AI Arduino Presentation

The document outlines a lesson on using Servo Motors with Arduino, covering wiring, coding, and simulation using TinkerCad. It emphasizes the precision of Servo Motors compared to DC Motors and introduces the integration of AI for future applications in smart homes and robotics. The lesson includes student activities and a bonus challenge to enhance learning.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
35 views4 pages

Future of AI Arduino Presentation

The document outlines a lesson on using Servo Motors with Arduino, covering wiring, coding, and simulation using TinkerCad. It emphasizes the precision of Servo Motors compared to DC Motors and introduces the integration of AI for future applications in smart homes and robotics. The lesson includes student activities and a bonus challenge to enhance learning.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

The Future of AI and Arduino

Controlling the World One Servo at a Time

Slide 1 - Title Slide

Date: July 13, 2025

Instructor: Ahmed Algohary

Slide 2 - Lesson Objectives

- Understand what a Servo Motor is

- Learn how to wire it to Arduino

- Write code using servo.write(...)

- Simulate using TinkerCad

- Explore future with AI + Arduino

Slide 3 - What is a Servo Motor?

- Rotates to specific angles (0-180)

- Used in robotic arms, gates, etc.

- Not free-spinning like DC motors

Slide 4 - Servo vs DC Motor

Servo: Precise angle rotation

DC Motor: Continuous spinning

Use Servo for automation tasks

Slide 5 - Wiring the Servo


The Future of AI and Arduino
Controlling the World One Servo at a Time

Brown/Black GND

Red 5V

Yellow/Orange D9

Slide 6 - Basic Arduino Code

#include <Servo.h>

Servo myServo;

void setup() {

myServo.attach(9);

void loop() {

myServo.write(0);

delay(1000);

myServo.write(90);

delay(1000);

myServo.write(180);

delay(1000);

Slide 7 - Using a for loop

for (int pos = 0; pos <= 180; pos++) {


The Future of AI and Arduino
Controlling the World One Servo at a Time

myServo.write(pos);

delay(15);

for (int pos = 180; pos >= 0; pos--) {

myServo.write(pos);

delay(15);

Slide 8 - TinkerCad Simulation

1. Go to tinkercad.com

2. Create new Circuit

3. Add Arduino + Servo

4. Wire components

5. Paste code

6. Click Start Simulation

Slide 9 - Student Activity

- Change angles to 45, 135

- Adjust delay speed

- Use for loop instead of manual write

Slide 10 - Bonus Challenge


The Future of AI and Arduino
Controlling the World One Servo at a Time

if (digitalRead(buttonPin) == HIGH)

myServo.write(90);

else

myServo.write(0);

Ideas: Smart door, robotic arm

Slide 11 - AI + Arduino Vision

- AI vision controlling Servo

- Smart homes

- Intelligent robotics

Slide 12 - Summary & Questions

- Servo = precision

- Arduino = control

- AI = intelligence

Questions or ideas?

You might also like