Tuesday, February 28, 2017

Internet of Things Programming with JavaScript

Learn the art of bringing the Internet of Things into your projects with the power of JavaScript

Internet of Things Programming with JavaScript

About This Book
  • This is a practical guide to help you configure and build a complete distributed IoT system from scratch using JavaScript
  • Utilize the power of Node and HTML5 to develop web services and a centralized web server, enabling high-level communication between connected devices
  • Control all your connected devices from the browser by setting up a common dashboard
Who This Book Is For
This book is for developers who are interested in learning how to communicate with connected devices in JavaScript to set up an IoT system. Some basic knowledge of JavaScript is expected. Hobbyists who want to explore the potential of IoT in JavaScript will also find this book useful.

What You Will Learn
  • Develop the skills to connected devices prepared the field to interact with the devices in a network system Internet of Things
  • Find out how to connect sensors and actuators to the devices
  • Send data to a web server connected devices
  • Understand Internet of things using web services and database
  • Configure a dashboard using HTML5 and JavaScript
  • Control devices connected from a dashboard
  • Monitor different devices from the dashboard
  • Build an app for a smartphone to control different devices
In Detail
The Internet of Things (IoT) is an entirely new platform for developers and engineers, but one thing that remains consistent as we move into this new world, are the programming languages. JavaScript is the most widely used language over the Internet, and with IoT gaining momentum, you will learn how to harness the power of JavaScript to interact with connected devices. This book will teach you how to interact with endpoint devices by developing web services in JavaScript and also set up an interface to control all connected devices.

This book begins with setting up a centralized web server that serves as a hub for all connected devices. The book then progresses further towards building web services to facilitate high-level communication between connected devices. Using Arduino and Raspberry Pi Zero as endpoint devices, the book will show you how devices can communicate with each other, perform a wide range of tasks, and also be controlled from a centralized location using JavaScript. The book ends with creating a hybrid app to control the devices that can be run from a browser or installed on a smartphone.

Style and approach
This book offers step-by-step guidance on how to set up a distributed IoT system using JavaScript.

It will teach you how to interact with endpoint devices by developing web services in JavaScript and also set up an interface for controlling all connected devices.

Monday, February 20, 2017

Custom Raspberry Pi Interfaces: Design and build hardware interfaces for the Raspberry Pi

Custom Raspberry Pi Interfaces: Design and build hardware interfaces for the Raspberry Pi

Design and build custom hardware interfaces for the Raspberry Pi and discover low cost display and sensor options for embedded system projects.

With this book you'll master 12C communications using Raspbian Linux in C++ and perform ADC and DAC experiments. You'll experiment with debounce buttons and switches using hardware and software solutions. Develop flywheel rotary encoder effects for ease of tuning and construct a hardware interface to the Music Playing Daemon (MPD) with developed software. Discover how to add your own hardware keypad for remote combination lock applications.

Custom Raspberry Pi Interfaces offers a thorough chapter on interfacing 5-volt systems to 3.3-volt Raspberry Pis designed to expand your choice of peripheral options. Ready to go C++ programs involving GPIO and I2C peripherals are provided. This book also explores ADC, DAC, rotary encoders, CMOS shift registers. I2C I/O extenders.

What you'll learn:
  • Build simple, low cost input/output interfaces including rotary encoders 
  • Interface with 5-volt devices from a 3-volt Raspberry Pi system 
  • Apply analog to digital and digital to analog conversions on the Pi 
  • Read potentiometers (volume control) from the Pi 
  • Determine step, directions, and velocity of a rotary encoder 
  • Perform remote interfacing using the I2 PCF8574 chip
  • Work with external CMOS devices like the 74HC595 (in C++)
Who this book is for:
Students and hobbyists interested in building custom interfaces for their Raspberry Pis.

Thursday, February 16, 2017

VNC Connect, a brand-new version of VNC

VNC Connect, a brand-new version of VNC that allows you not only to make direct connections within your own networks, but also to make secure cloud-brokered connections back to your computer from anywhere in the world, with no specialist networking knowledge needed.

The main change in VNC Connect is the ability to connect back to your Raspberry Pi from anywhere in the world, from a wide range of devices, without any complex port forwarding or IP addressing configuration. The cloud service brokers a secure, end-to-end encrypted connection back to your Pi, letting you take control simply and securely from wherever you happen to be.



A guest post at Raspberry Pi blog, GET ‘BACK TO MY PI’ FROM ANYWHERE WITH VNC CONNECT, Andy Clark, Engineering Manager at RealVNC, introduces VNC Connect: a brand-new, and free, version of VNC that makes it simple to connect securely to your Raspberry Pi from anywhere in the world.


Sunday, February 5, 2017

MotionEyeOS, A Video Surveillance OS For Single-board Computers

motionEyeOS is a Linux distribution that turns a single-board computer (include Raspberry Pi) into a video surveillance system.


To get started:
Check out the list of supported devices and download the OS image file that corresponds to your board.
Then follow the installation instructions to extract and write the image file to the SD card.

Thursday, February 2, 2017

Remote login Raspbian Jessie With Pixel using RealVNC Viewer from Windows

VNC Server is now built-in to Raspberry Pi running RASPBIAN JESSIE WITH PIXEL. Please note that xrdp conflicts with the RealVNC server, so you shouldn’t install both at once. This post show how to enable VNC Server on Raspberry Pi, download and run RealVNC View on Microsoft Windows 10 to remote login Raspberry Pi.

First of all enable VNC Server on Raspberry Pi:
- Open Raspberry Pi Configuration: Raspberry Pi Menu -> Preferences -> Raspberry Pi Configuration.
- Make sure VNC option is enabled.


You’ll see the VNC menu appear on the taskbar,


- Visit https://www.realvnc.com/download/viewer/ to download VNC Viewer, then run it.

This video show how: