Engineers Garage

  • Projects and Tutorials
    • Electronic Projects
      • 8051
      • Arduino
      • ARM
      • AVR
      • PIC
      • Raspberry pi
      • STM32
    • Tutorials
    • Circuit Design
    • Project Videos
    • Components
  • Articles
    • Tech Articles
    • Insight
    • Invention Stories
    • How to
    • What Is
  • News
    • Electronic Products News
    • DIY Reviews
    • Guest Post
  • Forums
    • EDABoard.com
    • Electro-Tech-Online
    • EG Forum Archive
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • EE Resources
    • DesignFast
    • LEAP Awards
    • Oscilloscope Product Finder
    • White Papers
    • Webinars
  • EE Learning Center
    • Design Guides
      • WiFi & the IOT Design Guide
      • Microcontrollers Design Guide
      • State of the Art Inductors Design Guide
  • Women in Engineering

Build your Home a Digital One

By Samidha Verma

Another project who likes to play around raspberry pi and are interested in scripting. The attempt by Dennis Schulte, in his blog post, have showed how to set up and implement a control software for switches at home quickly with some modern JavaScript stuff. Java developers and other people must understand that Java code used here are technical C++-code.

Requirements

For building this technical project, you will need the hardware like Raspberry Pi, 433 MHz Sender, SD Card with an installed Raspian “wheezy” operating system, 4 Jumper Cables and some RC switches.

Working  

Install the Raspberry Pi Hardware to connect the 433 MHz Sender to the GPIO pins of the Raspberry Pi in order to start hacking. In case, you don’t have raspberry pi and want to include AngularJS, then you can skip this step and use the mock implementation of the REST server.

Angular Seed is an application template for a typical AngularJS web app which is used to bootstrap the development environment very quickly. Since it is equipped with some tests and a web-server, we do not to setup a complete infrastructure to start hacking

Next Raspberry Pi Software is installed and SSH in the raspberry-configuration is activated. Now wiringPi is installed and then the library for accessing the GPIO pins of the Pi. Depending upon the switches you have at home, the steps can be changed. The author for his Rev-devices added a sendRev-command to the Repo. Then node.js is installed

Now the hacking starts and the creation of the REST Server. Start designing and documenting the API and then implement the REST Server with Express. After some JavaScript hacking. The framework Express works on top of node.js. The basic code to setup http server with Express is also available with Github.

Now configure your devices which you want to operate through the REST Server and test it also with curl. It is time to create the GUI with AngularJS and Twitter Bootstrap after the Server is finished. Start designing the GUI with the help of CSS-Framework Twitter Bootstrap, as it’s very easy to create a responsive user interface with a minimal effort of time and knowledge about GUI-Design. The final step is to create a button. AngularJS is added to make the static HTML Template more dynamic

Start the servers in the backround. As the frameworks and technologies in the context of JavaScript improved a lot over the last years, it provides lots of room to do different stuffs like grunting for build management.

Video and complete details of the project is available on the website. 


Filed Under: Reviews

 

Questions related to this article?
👉Ask and discuss on EDAboard.com and Electro-Tech-Online.com forums.



Tell Us What You Think!! Cancel reply

You must be logged in to post a comment.

HAVE A QUESTION?

Have a technical question about an article or other engineering questions? Check out our engineering forums EDABoard.com and Electro-Tech-Online.com where you can get those questions asked and answered by your peers!


Featured Tutorials

  • Introduction to Brain Waves & its Types (Part 1/13)
  • Understanding NeuroSky EEG Chip in Detail (Part 2/13)
  • Performing Experiments with Brainwaves (Part 3/13)
  • Amplification of EEG Signal and Interfacing with Arduino (Part 4/13)
  • Controlling Led brightness using Meditation and attention level (Part 5/13)
  • Control Motor’s Speed using Meditation and Attention Level of Brain (Part 6/13)

Stay Up To Date

Newsletter Signup

Sign up and receive our weekly newsletter for latest Tech articles, Electronics Projects, Tutorial series and other insightful tech content.

EE Training Center Classrooms

EE Classrooms

Recent Articles

  • What are the battery-selection criteria for low-power design?
  • Key factors to optimize power consumption in an embedded device
  • EdgeLock A5000 Secure Authenticator
  • How to interface a DS18B20 temperature sensor with MicroPython’s Onewire driver
  • Introduction to Brain Waves & its Types (Part 1/13)

Most Popular

5G 555 timer circuit 8051 ai Arduino atmega16 automotive avr bluetooth dc motor display Electronic Part Electronic Parts Fujitsu ic infineontechnologies integratedcircuit Intel IoT ir lcd led maximintegratedproducts microchip microchiptechnology Microchip Technology microcontroller microcontrollers mosfet motor powermanagement Raspberry Pi remote renesaselectronics renesaselectronicscorporation Research samsung semiconductor sensor software STMicroelectronics switch Technology vishayintertechnology wireless

RSS EDABOARD.com Discussions

  • Timer MC14541B wrong delay
  • Op amp non inverting amplifier not working
  • Electrical Lenght of Microstrip Transmission Lines
  • ADS error message: Internal timestep 1.91586e-10 too small at time 5.00000e-10
  • Pull up via GPIO

RSS Electro-Tech-Online.com Discussions

  • DIY bluetooth speaker
  • Power failure relay options
  • Someone please explain how this BMS board is supposed to work?
  • Best way to reduce voltage in higher wattage system?
  • Turn CD4029 on/off with TTP223
Engineers Garage
  • Analog IC TIps
  • Connector Tips
  • DesignFast
  • EDABoard Forums
  • EE World Online
  • Electro-Tech-Online Forums
  • Microcontroller Tips
  • Power Electronic Tips
  • Sensor Tips
  • Test and Measurement Tips
  • 5G Technology World
  • About Us
  • Contact Us
  • Advertise

Copyright © 2022 WTWH Media LLC. All Rights Reserved. The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of WTWH Media
Privacy Policy | Advertising | About Us

Search Engineers Garage

  • Projects and Tutorials
    • Electronic Projects
      • 8051
      • Arduino
      • ARM
      • AVR
      • PIC
      • Raspberry pi
      • STM32
    • Tutorials
    • Circuit Design
    • Project Videos
    • Components
  • Articles
    • Tech Articles
    • Insight
    • Invention Stories
    • How to
    • What Is
  • News
    • Electronic Products News
    • DIY Reviews
    • Guest Post
  • Forums
    • EDABoard.com
    • Electro-Tech-Online
    • EG Forum Archive
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • EE Resources
    • DesignFast
    • LEAP Awards
    • Oscilloscope Product Finder
    • White Papers
    • Webinars
  • EE Learning Center
    • Design Guides
      • WiFi & the IOT Design Guide
      • Microcontrollers Design Guide
      • State of the Art Inductors Design Guide
  • Women in Engineering