Reader small image

You're reading from  Learning IoT with Particle Photon and Electron

Product typeBook
Published inSep 2016
Publisher
ISBN-139781785885297
Edition1st Edition
Right arrow
Authors (3):
Rashid Khan
Rashid Khan
author image
Rashid Khan

Rashid Khan is a programmer living in Bangalore. He is one of the founders of Yellow Messenger, a company that specializes in building bots for commerce. Prior to founding Yellow Messenger, he worked at EdgeVerve Systems, where he built backend systems to support IoT devices. He is an open source enthusiast and loves to experiment with new technologies. He is involved with a number of open source organizations, such as GNOME, Mono, Tomboy Notes, and Banshee and has built a Django (Python) library for Apache Spark called Django-LibSpark. His interests lie in the field of Artificial Intelligence and interfacing software with real-world objects. Apart from programming, he loves to cycle and play tennis.
Read more about Rashid Khan

Kajari Ghoshdastidar
Kajari Ghoshdastidar
author image
Kajari Ghoshdastidar

Kajari Ghoshdastidar got her PhD in wireless sensor networks in 2009 and has been active in IoT-related hobby project work since then. She has worked in the software industry for the last 6 years as a technology architect, software developer, and a computer scientist. She is a technology geek, takes part in hackathons, and is always exploring new technologies and electronic gadgets. She is currently part of the systems engineering team at EdgeVerve, working as a computer scientist.
Read more about Kajari Ghoshdastidar

Ajith Vasudevan
Ajith Vasudevan
author image
Ajith Vasudevan

Ajith Vasudevan is an electronics, computer, and IoT enthusiast who likes to apply his knowledge in these fields to make modern living easy for himself and others around him. He has a bachelor's of technology degree in electrical and electronics engineering. He was interested in automation and IoT even before the term IoT became commonplace. He designed and built an automatic overhead-tank motor operator using $1 worth of electronic parts back in 1995, which is operating at his parents home to this day. He has automated and made it simple and efficient to operate many household appliances, for example, an automatic geyser switch that turns itself off after 10 minutes, saving electricity. It can be set to switch on at any specified time or can be controlled from anywhere. Today, even his friends and neighbors use this system. Ajith has worked in the heavy electrical industry before joining his current employer, Infosys Technologies Limited, in the year 2000. He is presently a senior computer scientist at EdgeVerve Systems, a subsidiary of Infosys. At work, he enjoys programming and has done so for over a decade and a half.
Read more about Ajith Vasudevan

View More author details
Right arrow

Moving the car with gestures


It would be interesting to be able to move the model car with hand gestures. In this section, we explore the possibilities of the same. An additional piece of hardware is needed to track hand movements or gestures and convert them to events that our code can use. We can use a Leap Motion (https://www.leapmotion.com/) controller for this purpose. The Leap Motion controller uses two monochromatic infrared cameras and three infrared LEDs. The device can track up to 10 fingers in real time, and transmit the data to a computer using USB.

The following image shows a Leap Motion controller in use:

Figure 10: Leap Motion controller

How it works

We use the spherical radius of palm output parameter of the Leap Motion controller as the input which drives the model car. We do this by continuously monitoring the spherical radius value as seen by the controller. When the palm of your hand is stretched, that is, the spherical radius is large, the car starts moving, and when the...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Learning IoT with Particle Photon and Electron
Published in: Sep 2016Publisher: ISBN-13: 9781785885297

Authors (3)

author image
Rashid Khan

Rashid Khan is a programmer living in Bangalore. He is one of the founders of Yellow Messenger, a company that specializes in building bots for commerce. Prior to founding Yellow Messenger, he worked at EdgeVerve Systems, where he built backend systems to support IoT devices. He is an open source enthusiast and loves to experiment with new technologies. He is involved with a number of open source organizations, such as GNOME, Mono, Tomboy Notes, and Banshee and has built a Django (Python) library for Apache Spark called Django-LibSpark. His interests lie in the field of Artificial Intelligence and interfacing software with real-world objects. Apart from programming, he loves to cycle and play tennis.
Read more about Rashid Khan

author image
Kajari Ghoshdastidar

Kajari Ghoshdastidar got her PhD in wireless sensor networks in 2009 and has been active in IoT-related hobby project work since then. She has worked in the software industry for the last 6 years as a technology architect, software developer, and a computer scientist. She is a technology geek, takes part in hackathons, and is always exploring new technologies and electronic gadgets. She is currently part of the systems engineering team at EdgeVerve, working as a computer scientist.
Read more about Kajari Ghoshdastidar

author image
Ajith Vasudevan

Ajith Vasudevan is an electronics, computer, and IoT enthusiast who likes to apply his knowledge in these fields to make modern living easy for himself and others around him. He has a bachelor's of technology degree in electrical and electronics engineering. He was interested in automation and IoT even before the term IoT became commonplace. He designed and built an automatic overhead-tank motor operator using $1 worth of electronic parts back in 1995, which is operating at his parents home to this day. He has automated and made it simple and efficient to operate many household appliances, for example, an automatic geyser switch that turns itself off after 10 minutes, saving electricity. It can be set to switch on at any specified time or can be controlled from anywhere. Today, even his friends and neighbors use this system. Ajith has worked in the heavy electrical industry before joining his current employer, Infosys Technologies Limited, in the year 2000. He is presently a senior computer scientist at EdgeVerve Systems, a subsidiary of Infosys. At work, he enjoys programming and has done so for over a decade and a half.
Read more about Ajith Vasudevan