IoT & Robotics Workshop

بسم الله الرحمن الرحيم
In the name of Allah, the Most Gracious, the Most Merciful
Truth, Rightness, Beauty, and Perfection
Holistic Solutions
Bootcamps
Events
Mentoring
Who is who?
Hassaan Akbar
IoT and Robotics Instructor at SkyImpel
Previously Technical Evangelist at Microsoft
Electrical Engineer
"Runs on code..."
Abuzar Mushtaq
Full-Stack Developer at SkyImpel
Electronics and Robotics Enthusiast
MEAN Stack Instructor
"Famous for reinventing the wheel..."
Day 1
What is the Internet of Things?
Raspberry Pi Basics
Setting Up Raspberry Pi
Hello World of Electronics (Blinking LED 💡)
Controlling LED via WiFi
Controlling appliances over the internet
Ethics and real-world implications

Smart Environment
Machanical
Electrical
Automated
Intelligent
The mechanization of production using steams and water power.
1200AD
First assembly line.
Mass production using electrical energy.
Beginning of 20th century
First programmable logic controller (PLC).
Using of electronics and IT for further production automation.
Beginning of the 1970s of the 20th century.
Digital manufacturing cyber-physical production system (CPPC), merging of the real and virtual world.
Today












History of Machines


Embedded Computers






Raspberry Pi 3
Asus Tinker Board
Arduino
NodeMCU
Onion Omega 2
Raspberry Pi

!==

RaspberryPi is not a pie!


GPIO header
(General Purpose Input/Output)
USB 2.0
DSI display port
(Display Serial Interface)
SD card slot
Micro USB power
Micro-Processor
HDMI out
CSI camera port
Ethernet port
Audio out

Can run a verity of OS.






IoT
Empower everyone to build a more connected world.

+
Setting Up Raspberry Pi
- Download Raspbian ISO image.
- Burn the OS image on your SD card (not literally 😅)
- Plug in SD card into your Raspberry Pi and that's it.
sudo apt-get update
sudo apt-get upgrade

curl -sL https://deb.nodesource.com/setup_9.x | sudo -E bash -
sudo apt install -y nodejs
Installing the required tools
NodeJs
Johny-Five
npm install johny-five
npm install raspi-io
Shared Working Directory (optional)
Install samba: sudo apt-get install samba samba-common-bin
[PiShare] comment=Raspi Share path=/home/pi browseable=Yes writeable=Yes only guest=No create mask=0740 directory mask=0750 public=no
Add shared folder reference to file /etc/samba/smb.conf
Finally set samba password
sudo smbpasswd -a pi
Ethics and real-world implications
Day 2
Controlling Motors with Raspberry Pi
Live Video Streaming with Raspberry Pi
Making a Wireless Robot
The wireless robot with video streaming
Controlling robot with accelerometer
https://motion-project.github.io/
sudo apt-get install motion
/etc/default/motion
- start_motion_daemon yes
/etc/motion/motion.conf
- daemon on
- webcontrol_localhost off
- output_pictures off
- ffmpeg_output_movies off
- stream_localhost off
sudo service motion restart
sudo motion
http://johnny-five.io

Source Code:
bit.ly/RaspberryCar
Learn to climb the tree
fb.com/SkyImpel
twitter.com/SkyImpel
salam@skyimpel.com
Thank you!
السلام عليكم
Peace be upon you

www.skyimpel.com
IoT & Robotics Workshop
By SkyImpel
IoT & Robotics Workshop
- 575