SlideShare a Scribd company logo
Coding Fun?
Presented by IEEE at University of Houston
College of Technology
Jennifer Foo & Zaki Mir
Table of
Contents
Innovation and STEM
02
More Resources
04
Coding Fun
03
We would see how coding is
fun and create a real life
application of code
Who/What is IEEE?
01
Who/What is IEEE
01
IEEE (Institute of Electrical Electronic Engineers
TryEngineering Summer Institute
Power by IEEE
• The TryEngineering has two-week on-campus engineering camp for high school
students at 3 premier universities across the United States.
• Website includes resources to encourage students 4-11 to explore STEM. Such as: :
• Edabit
• Different Coding Languages, Coding Basics, and gives students projects to
practice their newly found skills.
• Circuit Construction Kit
• An Experiment with an electronics kit! Design and Build your own circuits.
Discover if everyday objects are conductors or insulators.
tryengineering.org/students/
MORE
Innovation and STEM
02
We want young minds like yours to
advance technology. Create innovated
inventions that can help society.
STEM is not just Engineering but all
relations to Science, Technology,
Engineering, and Mathematics.
Innovation and STEM
Coding Fun
03
● Computer programming is the process of designing and
building an executable computer program to accomplish a
specific computing result or to perform a specific task.
Coding is Fun
inputs
Performs
calculation
outputs
Writing code is problem-solving through instruction.
Think about the autonomous car for an example.
when it is trying to park it must know the distance
from its surroundings at all time.
It would need to know and adjust the speed it should move in
order to safely and correctly park itself.
Otherwise, the other divers would be angry at the car.
Writing Codes is fun.
Fun!?
This Photo by Unknown
Author is licensed under
CC BY-SA
TINKERCAD is a free online collection of software tools that help
people to create 3D design, simulation, and Arduino programming.
Platform: TINKERCAD
Lets Design!
caution
safe
stop
1. We are using Arduino UNO
microcontroller and HC-SR04 ultrasonic
ranging sensors.
2. We are showing our results through
LEDs.
3. The car could be in three mood: safe,
caution, and stop.
Lets Code!
We will have inputs from
the ultrasonic sensor
Process the distance
from the sensor and
use it to determine,
what state the car
is? use the LEDs to
show the state the
car is.
/*Flow charts are easy way to
communicate the relationship
of the functions and the
progress of the code*/
long readUltrasonicDistance(int
triggerPin, int echoPin)
{
pinMode(triggerPin, OUTPUT); //
Clear the trigger
digitalWrite(triggerPin, LOW);
delayMicroseconds(2);
// Sets the trigger pin to HIGH
state for 10 microseconds
digitalWrite(triggerPin, HIGH);
delayMicroseconds(10);
digitalWrite(triggerPin, LOW);
pinMode(echoPin, INPUT);
// Reads the echo pin, and returns
the sound wave travel time in
microseconds
return pulseIn(echoPin, HIGH);
}
Input logic:
• Specify when to
create a pulse
• How long should it
wait to distinguish
between the trigger
and echo pulse
• Other specifications
and redundancies.
This Photo by Unknown Author is licensed under
CC BY
If the distance is less
than 25 all LEDs are
on (stop)
If the distance is less
than 50 then LED 2 &
3 will be on (Caution)
If distance is greater
than 50 then LED 2
will be on (safe)
If distance is not
received than all LEDs
will be off (ERROR)
Logical calculation:
• Block codes are used to make
the function of the code looks
easy for eyes.
• Most of the code starts as
pseudo-code. Where the coder
write out functions and the
application in plain English.
• This helps to keep track of the
functions and its relations with
other function and variables.
Pop-Quiz: what if the distance is
negative such as (-26) how many
LEDs would be on?
The answer is all the LEDs will
be on
● The output of the logic unit would not be the
final values we are looking for, but they
would be used to calculate the action the
car’s computer should take.
● Usually multiple teams work together to
complete a project.
● We can scall this system and combine
multiple of this systems to gather the data
and produce an algorithm to make sure the
can park safely.
Output logics:
● Coding is writing sets of instructions for problem solving using computers.
● Complicated problems could be divided up into small problems that could
be solved easily and quickly.
● Understanding the problem is the first step. Designing a solution and
creating flow chart helps and creates a guidance to approach a solution.
● Writing pseudo-code helps understand the functions of the code. Writing
the real code and testing, and debugging the code helps get a better
solution to the problem.
● Redundancies are very important to be safe from the unexpected errors.
● Real world implementation of the code is the actual solution to the
complicated problem.
Summary:
More Resources
04
● Khan Academy Hour of Code teaches the
basics of programming concepts
● Courses on basics of computer drawing, web
page development, and database.
Khan Academy
• Uses animation to teach programming
• Can program interactive stories, games, and
animations
• A project of Lifelong Kindergarten Group at MIT
media lab.
Scratch (https://scratch.mit.edu/)
IEEE College of Technology MAES SE 2020 - Coding Fun

More Related Content

PPTX
Internet of Things: Course Presentation
DOCX
Surya resume
PDF
Penglun_Li
PDF
Introduction to arduino
PPTX
Group 2
DOCX
GP_Kashyap_Resume
PPTX
About Arduino
PDF
Riccardo Pelliccia CV
Internet of Things: Course Presentation
Surya resume
Penglun_Li
Introduction to arduino
Group 2
GP_Kashyap_Resume
About Arduino
Riccardo Pelliccia CV

What's hot (14)

PPT
How to-teach-an-online-circuits-class-with-tinkercad US ICT project
PPT
Timed stop circuit
PDF
resum_g
PPTX
IoT Application Development
PPTX
Industrial Applications of Arduino using Ladder Logic
PDF
Charmi shah resume
PDF
Atal school program robotixlab research academy
PPTX
cC security system.ppt
PPTX
Digital electronics introduction
PDF
Erica geneva-moro
PPTX
DOC
ABU JANDAL_CV
PPTX
Arduino 123
PPTX
7 Segment Decoder
How to-teach-an-online-circuits-class-with-tinkercad US ICT project
Timed stop circuit
resum_g
IoT Application Development
Industrial Applications of Arduino using Ladder Logic
Charmi shah resume
Atal school program robotixlab research academy
cC security system.ppt
Digital electronics introduction
Erica geneva-moro
ABU JANDAL_CV
Arduino 123
7 Segment Decoder
Ad

Similar to IEEE College of Technology MAES SE 2020 - Coding Fun (20)

PDF
Programming the Real World: Javascript for Makers
PDF
STEM Programming Ideas at the Library.pdf
PPTX
So i got an Arduino now what
PPTX
Introduction to Arduino
PDF
Tech intern
PPTX
Practical engineering
PDF
Ardx eg-spar-web-rev10
PPTX
Digital control technologies-class-presentation.pptx
PDF
Mobile Computing with App Inventor in Middle and High School
PPTX
Arduino Simulation_Basic_Day-1 (Fritzing)
PDF
Robotics & Embedded IoT System Design [Day-1]
PDF
arduino
PPTX
Coding And Robotics Presentation 1.4 2024.pptx
PPTX
National STEM League - Student Goals and Academic Glue
PPTX
embedded_in_Arduino_with_basic_embedded.pptx
PPTX
Learn to Code and Have Fun Doing It!
PPTX
STEAM @ Your Library
PPTX
STEAM @ Your Library
PDF
Connecting RIAs and hardware together
PDF
Open-Source Hardware, Tinkering, and Physics Education
Programming the Real World: Javascript for Makers
STEM Programming Ideas at the Library.pdf
So i got an Arduino now what
Introduction to Arduino
Tech intern
Practical engineering
Ardx eg-spar-web-rev10
Digital control technologies-class-presentation.pptx
Mobile Computing with App Inventor in Middle and High School
Arduino Simulation_Basic_Day-1 (Fritzing)
Robotics & Embedded IoT System Design [Day-1]
arduino
Coding And Robotics Presentation 1.4 2024.pptx
National STEM League - Student Goals and Academic Glue
embedded_in_Arduino_with_basic_embedded.pptx
Learn to Code and Have Fun Doing It!
STEAM @ Your Library
STEAM @ Your Library
Connecting RIAs and hardware together
Open-Source Hardware, Tinkering, and Physics Education
Ad

Recently uploaded (20)

PPTX
Pharma ospi slides which help in ospi learning
PDF
Chinmaya Tiranga quiz Grand Finale.pdf
PDF
Microbial disease of the cardiovascular and lymphatic systems
PDF
RTP_AR_KS1_Tutor's Guide_English [FOR REPRODUCTION].pdf
PDF
Anesthesia in Laparoscopic Surgery in India
PDF
01-Introduction-to-Information-Management.pdf
PDF
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
PDF
RMMM.pdf make it easy to upload and study
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PDF
GENETICS IN BIOLOGY IN SECONDARY LEVEL FORM 3
PDF
Supply Chain Operations Speaking Notes -ICLT Program
PDF
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
PDF
VCE English Exam - Section C Student Revision Booklet
PPTX
master seminar digital applications in india
PPTX
Introduction-to-Literarature-and-Literary-Studies-week-Prelim-coverage.pptx
PDF
STATICS OF THE RIGID BODIES Hibbelers.pdf
PDF
Module 4: Burden of Disease Tutorial Slides S2 2025
PPTX
Cell Types and Its function , kingdom of life
PDF
O7-L3 Supply Chain Operations - ICLT Program
PDF
Yogi Goddess Pres Conference Studio Updates
Pharma ospi slides which help in ospi learning
Chinmaya Tiranga quiz Grand Finale.pdf
Microbial disease of the cardiovascular and lymphatic systems
RTP_AR_KS1_Tutor's Guide_English [FOR REPRODUCTION].pdf
Anesthesia in Laparoscopic Surgery in India
01-Introduction-to-Information-Management.pdf
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
RMMM.pdf make it easy to upload and study
Final Presentation General Medicine 03-08-2024.pptx
GENETICS IN BIOLOGY IN SECONDARY LEVEL FORM 3
Supply Chain Operations Speaking Notes -ICLT Program
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
VCE English Exam - Section C Student Revision Booklet
master seminar digital applications in india
Introduction-to-Literarature-and-Literary-Studies-week-Prelim-coverage.pptx
STATICS OF THE RIGID BODIES Hibbelers.pdf
Module 4: Burden of Disease Tutorial Slides S2 2025
Cell Types and Its function , kingdom of life
O7-L3 Supply Chain Operations - ICLT Program
Yogi Goddess Pres Conference Studio Updates

IEEE College of Technology MAES SE 2020 - Coding Fun

  • 1. Coding Fun? Presented by IEEE at University of Houston College of Technology Jennifer Foo & Zaki Mir
  • 2. Table of Contents Innovation and STEM 02 More Resources 04 Coding Fun 03 We would see how coding is fun and create a real life application of code Who/What is IEEE? 01
  • 4. IEEE (Institute of Electrical Electronic Engineers TryEngineering Summer Institute Power by IEEE • The TryEngineering has two-week on-campus engineering camp for high school students at 3 premier universities across the United States. • Website includes resources to encourage students 4-11 to explore STEM. Such as: : • Edabit • Different Coding Languages, Coding Basics, and gives students projects to practice their newly found skills. • Circuit Construction Kit • An Experiment with an electronics kit! Design and Build your own circuits. Discover if everyday objects are conductors or insulators. tryengineering.org/students/ MORE
  • 6. We want young minds like yours to advance technology. Create innovated inventions that can help society. STEM is not just Engineering but all relations to Science, Technology, Engineering, and Mathematics. Innovation and STEM
  • 8. ● Computer programming is the process of designing and building an executable computer program to accomplish a specific computing result or to perform a specific task. Coding is Fun inputs Performs calculation outputs
  • 9. Writing code is problem-solving through instruction. Think about the autonomous car for an example. when it is trying to park it must know the distance from its surroundings at all time. It would need to know and adjust the speed it should move in order to safely and correctly park itself. Otherwise, the other divers would be angry at the car. Writing Codes is fun. Fun!? This Photo by Unknown Author is licensed under CC BY-SA
  • 10. TINKERCAD is a free online collection of software tools that help people to create 3D design, simulation, and Arduino programming. Platform: TINKERCAD
  • 11. Lets Design! caution safe stop 1. We are using Arduino UNO microcontroller and HC-SR04 ultrasonic ranging sensors. 2. We are showing our results through LEDs. 3. The car could be in three mood: safe, caution, and stop.
  • 12. Lets Code! We will have inputs from the ultrasonic sensor Process the distance from the sensor and use it to determine, what state the car is? use the LEDs to show the state the car is. /*Flow charts are easy way to communicate the relationship of the functions and the progress of the code*/
  • 13. long readUltrasonicDistance(int triggerPin, int echoPin) { pinMode(triggerPin, OUTPUT); // Clear the trigger digitalWrite(triggerPin, LOW); delayMicroseconds(2); // Sets the trigger pin to HIGH state for 10 microseconds digitalWrite(triggerPin, HIGH); delayMicroseconds(10); digitalWrite(triggerPin, LOW); pinMode(echoPin, INPUT); // Reads the echo pin, and returns the sound wave travel time in microseconds return pulseIn(echoPin, HIGH); } Input logic: • Specify when to create a pulse • How long should it wait to distinguish between the trigger and echo pulse • Other specifications and redundancies. This Photo by Unknown Author is licensed under CC BY
  • 14. If the distance is less than 25 all LEDs are on (stop) If the distance is less than 50 then LED 2 & 3 will be on (Caution) If distance is greater than 50 then LED 2 will be on (safe) If distance is not received than all LEDs will be off (ERROR) Logical calculation: • Block codes are used to make the function of the code looks easy for eyes. • Most of the code starts as pseudo-code. Where the coder write out functions and the application in plain English. • This helps to keep track of the functions and its relations with other function and variables. Pop-Quiz: what if the distance is negative such as (-26) how many LEDs would be on? The answer is all the LEDs will be on
  • 15. ● The output of the logic unit would not be the final values we are looking for, but they would be used to calculate the action the car’s computer should take. ● Usually multiple teams work together to complete a project. ● We can scall this system and combine multiple of this systems to gather the data and produce an algorithm to make sure the can park safely. Output logics:
  • 16. ● Coding is writing sets of instructions for problem solving using computers. ● Complicated problems could be divided up into small problems that could be solved easily and quickly. ● Understanding the problem is the first step. Designing a solution and creating flow chart helps and creates a guidance to approach a solution. ● Writing pseudo-code helps understand the functions of the code. Writing the real code and testing, and debugging the code helps get a better solution to the problem. ● Redundancies are very important to be safe from the unexpected errors. ● Real world implementation of the code is the actual solution to the complicated problem. Summary:
  • 18. ● Khan Academy Hour of Code teaches the basics of programming concepts ● Courses on basics of computer drawing, web page development, and database. Khan Academy
  • 19. • Uses animation to teach programming • Can program interactive stories, games, and animations • A project of Lifelong Kindergarten Group at MIT media lab. Scratch (https://scratch.mit.edu/)

Editor's Notes

  • #5: (Different Coding Languages, teaches Coding basics, and gives students projects to practice their newly found skills)
  • #8: Thanks Jenny. Hi everyone
  • #9: Coding is just problem solving Think about autonomous cars. They have to find their path with out colliding with any object. So engineeres code programs to put sets of instruction to make sure that the car performs the way a car should . It drives in the rode not in the walk-way.
  • #10: We are going to see some practical small scall implementation of coding. We will see how big problems could be approached
  • #11: Its good to make simulation of product before buying and building the circuit from scratch It helps to grasp the concept and the list of material you might need to buy. Helps with budgets.