วันอังคารที่ 6 ธันวาคม พ.ศ. 2559

5 Inch HDMI LCD Display for Raspberry Pi


 5 Inch HDMI LCD Display for Raspberry Pi with Touch Screen

Features:
Resolution: 800 x 480 px
Screen Type: Resistive screen
With backlight control switch
Working Voltage/Current: DC 5V / 2A
It's suitable for Raspberry pi series; and also support banana pi, pcduino or Cubieboard etc.( but the touch function is unavailable)
You can donw offical firmware and drivers from us to use it.
And you can use integrated firmware to use it.(the firmware with driver, is very easy. )
Package included:
1 x LCD module(with install screws)
1 x HDMI connector
1 x Touch pen

Setup for Full Screen

This model has 800 x 480 pixel resolution.
You need to some setup for set full screen display.


Edit file /boot/config.txt

uncomment the following line

hdmi_force_hotplug=1

uncomment and add the following line.

hdmi_group=2
hdmi_mode=1
hdmi_mode=87
hdmi_cvt 800 480 60 6 0 0 0




Setup Touch Screen

Download Driver http://www.waveshare.com/w/upload/4/4b/LCD-show-161112.tar.gz

then copy this driver to raspberry pi use WinSCP tools.



Use Command

$ tar xzvf LCD-show-161112.tar.gz

$ cd LCD-show

$ ./LCD5-show






Option Virtual Keyboard


Reference

http://www.waveshare.com/wiki/5inch_HDMI_LCD

http://www.electrodragon.com/w/RPI_LCD



My Website
email : info@softpowergroup.net   Tel .081-6452400

My Blog about Android and Arduino IoT


วันอาทิตย์ที่ 4 ธันวาคม พ.ศ. 2559

Raspberry Pi Smart Home Automation with Home Assistant



Raspberry Pi Smart Home Automation with Home Assistant

In the last article we know about OpenHAB Raspberry Pi Open Source smart home. In this blog we will know about Home Assistant Open Source smart home.


What is Home Assistant?

Home Assistant is Open Source Software for smart home or home automation systems.

Home Assistant is an open-source home automation platform running on Python 3.
Track and control all devices at home and automate control.

Home Assistant can install on many platforms such as Windows, Linux ,Mac OSX and embedded platforms such as Raspberry Pi , BeagleBone Black , UDOO , Cubietruck  so you can install in to Raspberry Pi. ( Raspberry pi is popular and low cost then we us Raspberry pi3 board)

Current Version: 0.33.4
Released: November 23, 2016

System Diagram



Hardware

You will need :
Raspberry Pi3 Board
SD card (8GB or more) we use 16 GB
Power supply
Ethernet or WiFi Connection


Software

Raspberry Pi OS
Raspbian Jessie – at the time of writing I have used version Sep 2016 which can be download from here – Raspbian Jessie

RASPBIAN JESSIE WITH PIXEL
Image with PIXEL desktop based on Debian Jessie
Version:September 2016
Release date:2016-09-23
Kernel version:4.4

Raspberry Pi Tools
For Windows User
PuTTY is SSH tools for Remote Command line. Download  moreinfo
WinSCP for remote edit and transfer files. Download  moreinfo

for Linux or MAC os
use terminal for remote command line. ( without installing additional software )
fugu ssh or Filezilla

How to Install Home Assistant on Raspberry Pi

There’s three options to install Home Assistant on a Raspberry Pi.

Manual installation. 
Following this guide doing each step manually. This is highly recommended as a first installation since you get a good overview of the installation.

Hassbian image. 
Basic installation with the same settings as following the manual installation guide. Some additional software is preinstalled to make installation quicker and easier. Installation uses homeassistant user.

All-in-One Installer. 
Fabric based installation script that installs and compiles many of the things an advanced Home Assistant install is likely to need. Installation uses hass user.


We use All-In-One Installer method to install.
Because there is including support for MQTT with websockets, Z-Wave, and the Open-Zwave Control Panel.

The only requirement is that you have a Raspberry Pi with a fresh installation of Raspbian Jessie connected to your network.

Run the following command

$ wget -Nnv https://raw.githubusercontent.com/home-assistant/fabric-home-assistant/master/hass_rpi_installer.sh && bash hass_rpi_installer.sh




VDO Install Home Assistant on Raspberry Pi


more info on Home Assistant
https://home-assistant.io/getting-started/installation-raspberry-pi/



My Website
email : info@softpowergroup.net   Tel .081-6452400

My Blog about Android and Arduino