Design Graphical of User Interface with Visual Studio C++ ...

[Pages:22]Design of Graphical User Interface with MS Visual Studio C++ For Fubarino and Arduino

Presentation by Hampton Sailer

Generate control and see feedback from your embedded application with Windows PC graphical user interface

Hampton Sailer, Eatontown, NJ

? 30+ years electronics hardware design using 8, 16 and 32 bit microprocessors, DRAM, Flash, Ethernet, USB, TCP/IP networking. FPGA (Field Programmable Gate Array) design using Verilog language, Altera.

? Software design using, C, C++, C#, Java, Basic, Fortran, Pascal, assembly language.

? Website design using HTML, CSS, Javascsript, PHP, MySql, mobile design with Bootstrap, JQuery Mobile.

? Quite familiar with AC power wiring & construction. ? Theatrical stage lighting, sound systems.

Remote management of embedded application

Rain detector

USB Comm port

Wonderware intouch scada SCADA (supervisory control and data acquisition)

Possible Applications

? RC race cars, robotic control, model airplanes ? Music synthesizer control and sequencing ? Green house environment control ? Home security, fire and entry detection ? Home heating and cooling remote control ? Home lighting control, save energy ? Monitor sump pump operation ? Process RFID scans, track GPS location

Advantages of a GUI control

? Re-create any configuration of control panel with a software compile. No drilling metal panels and adding switches, LED, etc.

? Remote control of embedded application from a distance. ? Able to read data back, as well as send control commands.

Store data for later analysis. ? Retain microcontroller for local closed loop control.

Graphical User Interface (GUI)

Buttons

softwarexplorer codeproject

Labels

2.53 Volts

Text Box

Create Graphical User Interface (GUI) With Buttons, labels, text boxes and many other graphical objects called "Controls" (in the MS vernacular).

windows+forms+controls+industrial+gauge

opcfoundation

Beau Gauge

syncfusion radial-gauge

Prerequisites

? Windows PC (Mac possible with other IDE) ? Microsoft Visual Studio 2010, 2012 or 2015 ? HW - Fubarino (or Arduino) with USB cable ? Arduino IDE version 1.65 (Fubarino) ? Knowledge of C language or Arduino sketch ? Some I/O stuff, a few switches and LEDs

Object Oriented Design in C#

Do not be afraid of Object Oriented Design We do not need to create classes We only need to use system classes Serial port class is used on both ends

Woody Allen in "Sleeper"

In Visual Studio: Drag serialPort object from the Toolbox Drop object onto the Windows form Use property Inspector to update port Saves having to create serial Port Object

Also see: system.io.ports.serialport

................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download