Source: Arduino board can communicate through serial monitor of Arduino IDE, but it provides text and numeric options only. When we think about Graphical Interface and control the Visual Basic is the best one come in mind.
Visual studio provides different language program support, even the visual studio Arduino IDE also available on internet. In this project I have used Microsoft Visual studio 2005, here the goal is to turn ON and turn OFF the Arduino onboard LED (D13) through one windows application.
Creating windows application through Visual basic provides best GUI (Graphical User Interface) and also it provides configurable Serial Port to control devices connected with computer. To start the project you need visual basic software, Just create new project windows application in visual basic IDE and draw the required buttons and picture box for visual interface then name these components as given in properties.
Insteon interface compatible with a variety of software and controllers (see below) Easy, trouble-free USB connection. The controller connected to the USB Insteon PowerLinc Modem must remain powered on and running the controller program connected to the controller or host at all times of usage. Additionally, the dual-band interface does not. What is RS232 monitor?It is a program that can send and receive data through the serial port. RS232 monitor allows you to set up the parameters of communication, such as the quantity of bites given, speed and so on.
The Vera Home Automation Controller is a commercial controller running on its own hardware. It has a rather open plugin architecture and we use it as a testing ground for new controller features. The controller has a history of controlling Z-Wave devices. MySensors is supported through the.
We keep all the Vera plugin installation instructions on this page. Features. Manages about 70-200 Z-Wave devices (depending on model).
Lots of free 3rd party plugins on their. Free cloud service with backups and remote access. Build in web-browser GUI and 3rd party apps supporting remote access Installing the Vera Plugin Once you have installed the Arduino Plugin, you will register your sensors with the Vera by using the Inclusion mode triggered by clicking on the Start button on the plugin. The default inclusion duration is one minute.
When a sensor sends its presentation during inclusion mode, the Vera will add it as a new device on the Vera dashboard. Sensors send their presentation information from the setup method whenever the sensor node's Arduino is reset or power-cycled so you will need to reset your sensor node once you have click the Start button. The Vera plug-in is compatible with both the Vera 3 and Vera Lite models running UI5 and supports both the Serial and Ethernet Gateways. All you have to do, is configure the Vera plug-in and build either a Serial or Ethernet gateway using the instructions below. First, download the latest Vera plugin files from the MySensors or. Then upload the files to your Vera. Go to: APPS Develop Apps Luup files.
Select ' Choose File' for each device file and then press the ' GO' button to upload the files to your Vera. Finally, create the Arduino Device. Go to: APPS Develop Apps Create Device. Enter ' DArduino1.xml' for the ' Upnp Device Filename' and press the ' Create Device' button. Click the Reload button in the upper right corner of the Vera dashboard to create the Arduino root plugin device. It may take a few minutes for the reload to complete and display the Arduino root plugin device on the dashboard.
Device specific settings and files Some of the sensors requires extra device files and configuration. Make sure to look here if your sensor don't show up correctly on Vera. Upload the device files the same way as you did above with the plugin files. Barometer (pressure sensor) DBarometerSensor1.json DBarometerSensor1.xml SBarometerSensor1.xml Distance Sensor DDistanceSensor1.json DDistanceSensor1.xml SDistanceSensor1.xml Energy Meter (pulse) TIP: Perform the following steps if you want the vera device to display the correct KWh for your meter. Include your new power meter sensor on Vera. Turn off the sensor.
Update the Variable1 value under the new Vera devices advanced tab. Set Variable1 to your meter's current KWh value multiplied by your PULSEFACTOR and save the Vera changes.
Now turn on your power sensor. During startup, the sensor will fetch the current KWh from the Vera. Example: If your pulse factor is 1000 and your meter's current KWh reading is 33211, set Variable1 to 33211000. Rain Gauge DRainSensor1.json DRainSensor1.xml SRainSensor1.xml Scale Sensor (weight) DScaleSensor1.json DScaleSensor1.xml SScaleSensor1.xml Water meter (pulse) DWaterMeter1.json DWaterMeter1.xml SWaterMeter1.xml TIP: Perform the following steps if you want the vera device to display the correct total water volume for your meter. Include your new water meter sensor on Vera. Turn off the sensor.
Update the Variable1 value under the new Vera devices advanced tab. Set Variable1 to your meter's current total volume value multiplied by your PULSEFACTOR and save the Vera changes.
Now turn on your water meter sensor. The sensor will fetch the current volume from Vera. Example: If your pulse factor is 100 and the current volume-reading on your meter is is 332. Set Variable1 to 33200. Including New Sensor(s) To add one or more new sensors to your Vera, follow the steps below:. Start inclusion mode on the Arduino Vera device by pressing the 'Start' button. Inclusion mode is normally active for 1 minute.
While the inclusion mode is active, restart each new sensor that you want to include to ensure that it sends the special presentation message to the Vera. Once the inclusion mode ends, you should see something like '2 new sensors found' in the Arduino Vera device. Once inclusion mode ends, your Vera will automatically reload the luup engine if it detected any new sensor nodes. Once the Vera reload completes (1-3 minutes), you should see your new Arduino sensor devices on the dashboard. Restart you sensor again. This create all necessary variables for the new device and will update the sketch name and version information for the sensor node.
Finally, reload the browser tab. Your new Arduino sensor devices should be on-line, connected and reporting data to your Vera! Configuring the Vera Plugin for the Serial/USB gateway NOTE: You must use an Arduino Nano for the USB version of the gateway. The Nano is the officially supported and tested model so if you try a different version, we cannot guarantee that the Vera will recognize it. Follow the instructions on how to build the. Connect the gateway Arduino to one of your Vera USB ports using a standard USB cable.
If all of the Vera USB ports are in use, then you can plug in the gateway into a USB hub that is connected to one of the Vera USB ports. Next, you will need to configure the USB port communication settings so the Vera can communicate with the gateway over the USB serial connection. Finally, go to: APPS Develop Apps Serial port configuration.
See the screenshot to the right. For the Used by device: setting, select the Arduino Gateway Plugin from the menu of available devices. Set baud rate to 115200.
Set the parity to none with 8 data bits and 1 stop bit. TIP: How to fix a serial communication failure Sometimes the Vera will have trouble connecting to a properly configured USB serial device, particularly after loosing power. Use the following steps to re-establish serial communication with the gateway:. Unplug the MySensors gateway from the Vera USB port. Restart the Vera LUUP Engine (Settings-Z-Wave Settings-Advanced-Reload Engine).
Plug gateway into the Vera USB port. Restart the Vera LUUP Engine (Settings-Z-Wave Settings-Advanced-Reload Engine). Re-configure serial port as described above (typically, you only need to reset the baud rate to 115200) Configure the Vera Plugin for the Ethernet gateway Open configuration for the Arduino Device and select the Advanced tab. Enter the ip-number:port in the ip field. This will override any previous serial configuration in the Vera plugin; If you chose to use the default IP address and port defined in the EthernetGateway sketch, enter: 192.168.1 Images.