After creating the dropControllerBT app and realizing how much easier controlling the dropController device is through the app I started to think about creating a PC app. I haven’t done any PC programming for many years and so I looked at what various options are currently available. Visual Basic kept being recommended for ease of use and quick development. Visual Basic comes as part of Microsoft’s Visual Studio Suite and I initially download and played with Visual Studio Express which in turn lead to Visual Studio Community. Both are free for personal use. Visual Studio Express is a striped down version of the larger packages and has some major limitations. Visual Studio 2013 Community, on the other hand, is a full featured IDE and development system free to use for students, open source contributors and small development teams.
It includes several languages but for now I am only interested in Visual Basic. Visual Studio 2013 Community is available for download at. The download is just the installer which will download the main program from the internet.
This is a tool help to convert Arduino C/C++ code to Assembly code. Step 1: Choose the Arduino *.elf file (generated when you compile C/C++ code in the IDE, usually located in Temp folder). Step 2: Choose the output txt file, the assembly code will be witten to this file. Step 3: Click Convert.
If, like me, you prefer an off line installer, you can get one at The main download page is at After installing the software it took me a while and many Google searches before I started to figure out the IDE. For me, fully learning the IDE is beyond what I want and have time for but over the course of a weekend I managed to create my first working program. A simple example of receiving data from the Arduino. Arduino to Visual Basic 2013 Communication The example uses a very simply form and shows what ever it recieves from the Arduino in a text box. The Arduino Sketch The Arduino Sketch sends the string “1234” over the serial connection once every second.
At the same time it blinks the built in LED on pin 13. 'Simple example of receiving serial data 'written in Visual Basic 2013 ' Imports System Imports System.IO.Ports Public Class Form1 Dim comPORT As String Dim receivedData As String = ' Private Sub Form1Load( ByVal sender As System. Object, ByVal e As System.EventArgs) Handles MyBase.Load Timer1.Enabled = False comPORT = ' For Each sp As String In My.Computer.Ports.SerialPortNames comPortComboBox.Items.Add(sp) Next End Sub Private Sub comPortComboBoxSelectedIndexChanged(sender As Object, e As EventArgs) Handles comPortComboBox.SelectedIndexChanged If (comPortComboBox.SelectedItem ') Then comPORT = comPortComboBox.SelectedItem End If End Sub Private Sub connectBTNClick(sender As Object, e As EventArgs) Handles connectBTN.Click If (connectBTN.Text = 'Connect') Then If (comPORT ') Then SerialPort1. Close SerialPort1.PortName = comPORT SerialPort1.BaudRate = 9600 SerialPort1.DataBits = 8 SerialPort1.Parity = Parity.None SerialPort1.StopBits = StopBits.One SerialPort1.Handshake = Handshake.None SerialPort1.Encoding = System.Text.Encoding.Default SerialPort1.ReadTimeout = 10000 SerialPort1. Open connectBTN.Text = 'Dis-connect' Timer1.Enabled = True TimerLBL.Text = 'Timer: ON' Else MsgBox( 'Select a COM port first') End If Else SerialPort1. Close connectBTN.Text = 'Connect' Timer1.Enabled = False TimerLBL.Text = 'Timer: OFF' End If End Sub Private Sub Timer1Tick(sender As Object, e As EventArgs) Handles Timer1.Tick receivedData = ReceiveSerialData RichTextBox1.Text &= receivedData End Sub Function ReceiveSerialData As String Dim Incoming As String Try Incoming = SerialPort1.ReadExisting If Incoming Is Nothing Then Return 'nothing' & vbCrLf Else Return Incoming End If Catch ex As TimeoutException Return 'Error: Serial Port read timed out.' End Try End Function Private Sub clearBTNClick(sender As Object, e As EventArgs) Handles clearBTN.Click RichTextBox1.Text = ' End Sub End Class The program in Detail I am using two global variables; comPORT and receivedData.
ComPORT is the COM port selected by the user and should be the one the Arduino is connected to. ReceivedData is the data received on the selected COM port. Private Sub comPortComboBoxSelectedIndexChanged(sender As Object, e As EventArgs) Handles comPortComboBox.SelectedIndexChanged If (comPortComboBox.SelectedItem ') Then comPORT = comPortComboBox.SelectedItem End If End Sub Sub connectBTNClick triggers when the user clicks on the Connect button. The first thing the routine does is determine if the user is connecting or dis-connecting.
The same button is used for both. If connecting, and comPORT is not empty, then the serial port properties are set, the serial port is opened and the timer is started. To show that the timer is active the timer label is updated to “Timer: ON”. If comPORT is empty a message is displayed telling the user to select a COM port first.
If dis-connecting, the serial port is closed, the timer is stopped and the timer label is updated to “Timer: OFF”. The Timer label is there purely for debugging. Private Sub connectBTNClick(sender As Object, e As EventArgs) Handles connectBTN.Click If (connectBTN.Text = 'Connect') Then If (comPORT ') Then SerialPort1. Close SerialPort1.PortName = comPORT SerialPort1.BaudRate = 9600 SerialPort1.DataBits = 8 SerialPort1.Parity = Parity.None SerialPort1.StopBits = StopBits.One SerialPort1.Handshake = Handshake.None SerialPort1.Encoding = System.Text.Encoding.Default 'very important! SerialPort1.ReadTimeout = 10000 SerialPort1. Open connectBTN.Text = 'Dis-connect' Timer1.Enabled = True TimerLBL.Text = 'Timer: ON' Else MsgBox( 'Select a COM port first') End If Else SerialPort1. Close connectBTN.Text = 'Connect' Timer1.Enabled = False TimerLBL.Text = 'Timer: OFF' End If End Sub A timer is used to check for incoming data.
The timer is set to trigger every 500ms or half a second and when triggered it calls the Timer1Tick routine. For this example 500ms is fast enough. For more complex tasks the timing may need to be adjusted. Private Sub clearBTNClick(sender As Object, e As EventArgs) Handles clearBTN.Click RichTextBox1.Text = ' End Sub Trouble Shooting If you are not receiving data in the VB program but the Arduinos serial monitor works then on the serial port within VB, set “DtrEnable = true” and “RtsEnable = true”. Thank you Banause for the tip. This seems to be required for the Arduino Leonardo.
This is a very simple example that I used to learn the basics on making a serial connection between the Arduino and a computer. As such the code can be made much better.
– The COM port is left open all the time and for more complex applications it may be better to open and close the port as required. – The application simply displays what ever data is received. There is no error checking. To make it more reliable and to ensure you have all the data it would be better if the data was enclosed in start and end tags and then parsed. For more information on serial communication with the Arduino and using start and end makers take a look at Robin2’s on the Arduino forum. Download Download the Visual Basic project files and the Arduino sketch. Since the program uses basic serial communication it should work with all versions of the Arduino and other microprocessors.
If the Arduino serial monitor is working then there is no reason the VB program should not work. There are a few things worth remembering: – You cannot have two connections to the same Arduino. If the serial monitor is open then VB cannot use the COM port. – Double check the baud rates. – If you have changed any of the serial properties (data bits, parity, encoding, etc) change them back to the defaults. If the serial monitor is working then you should be able to connect through VB. Use the downloaded programs rather than copy paste from the website.
Does the VB program compile OK? A couple of basic things to check (sorry if they seem patronising), – confirm you are using the correct COM port. – check that the baud rate is correct. The above program uses 9600 Can you connect (are you getting an error message)? Does the timer change to ON when you connect? Only one connection to a COM port can be made at a time. If you open the serial monitor then you block VB and vice a versa.
You can also try using a different serial terminal such as putty. I tried this code to get really fast into listening to the arduino, while submitting the values from AnalogIn (A0). But reading the whole values is sometimes to much data. Remember, you read the whole buffer once without disposing the buffer. So I have altered the code from code Incoming = SerialPort1.ReadExisting /code to code Incoming = SerialPort1.ReadLine SerialPort1.DiscardInBuffer /code Now it runs pretty good and replies actual data.
(Hope this blog reads the code tags right. If not, just ignore the tags.). First I would like to thank you for this helpful tutorial, I would like to inquire or rather consult my experience while studying this program, I have followed all the stages that have been described, the program can be run well without error warning appears, all COM Can be detected on combobox, but when I have selected one COM in Combobox, the program is not running properly, it always appears msgBox that I have to choose Comport first, but I have chosen one of them, is it because I use VB2010 so there is little difference of setting, I hope you can give me help, thank you:).
The message is generated when comPORT is empty: If (comPORT “”) Then SerialPort1.Close SerialPort1.PortName = comPORT SerialPort1.BaudRate = 9600 SerialPort1.DataBits = 8 SerialPort1.Parity = Parity.None SerialPort1.StopBits = StopBits.One SerialPort1.Handshake = Handshake.None SerialPort1.Encoding = System.Text.Encoding.Default SerialPort1.ReadTimeout = 10000 SerialPort1.Open connectBTN.Text = “Dis-connect” Timer1.Enabled = True TimerLBL.Text = “Timer: ON” Else MsgBox(“Select a COM port first”) End If If this is not working test the value of comPORT after you click the connect button. See what value it has. You can use the textbox to display the value of comPORT or any other messages: RichTextBox1.Text &= “my message” & vbCrLf. Hi Martyn, when I try to compile the VB program I get 2 mistakes- 1) BC30506 Handles clause requires a WithEvents variable defined in the containing type or one of its base types. Relates to this line -Private Sub ComPortComboBoxSelectedIndexChanged(sender As Object, e As EventArgs) Handles comPortComboBox.SelectedIndexChanged 2) BC30451 ‘comPortComboBox’ is not declared.
It may be inaccessible due to its protection level. Relates to all lines with comPortComboBox I am using Microsoft Visual Studio 2017. Can u help with these mistakes please?! Dear Martyn, First I want to say Thank you very much for your sharing. Now I having problem only output data.
For Example, my message 31/01/18,14.1 31/01/18,14.1 31/01/18,14.1 my message 31/01/18,14.1 31/01/18,14.1 my message 31/01/18,14.1 31/01/18,14.1 31/01/18my message.
More on Universal Serial Bus Usb Controller Data Added 1: June 16, 2012 A Guide for users and developers of the Universal Serial Bus under Linux. Size: 126.1 KB License: Freeware Data Added 1: August 09, 2007 USB device manufacturers need to support the Universal Serial Bus ( USB) specification. The USB interface is implemented in two levels: The lower level of the USB protocol is implemented via a Serial Interface Engine (SIE). The higher layer of the protocol is implemented via the device firmware. Firmware consists of software programs and data that define the device's configuration and are installed semi-permanently into memory using various types of programmable ROM chips, such as PROMS. Size: 32.4 MB License: Shareware Price: $2499 Keywords: Data Added 1: July 26, 2016 N-Button Lite version creates up to 16 widgets to control serial port and Netwok related devices, run applications, send http request or send data list.
It supports Serial Port/USB and Network connection between PC and devices. It allows you to access and control the widgets remotely. Through internet browser, you can control your devices from anywhere with your computer, iPhone, iPad, Android tablet, Windows tablet as well as Linux and Mac. It supports devices directly for relay.
Size: 2.5 MB License: Shareware Price: $49 Keywords: -Data Added 1: May 18, 2012 USB Controller is a small software utility providing access control for all USB Ports connected to a Windows computer. The USB Controller requires admin rights and can disable all USB ports or can even write protect USB ports. Once all USB ports are disabled, your windows computer will not detecte any USB device connected to your Windows PC. You can enable all USB ports with a single click and your windows computer will detect all the USB devices as normal. You can even write protect USB. Size: 20.0 KB License: Shareware Price: $5 Keywords: -Data Added 1: June 11, 2012 The Nokia Configuration Tool is a personal computer (PC) application that enables you to manage the settings of selected Nokia devices. Your PC and the devices must be connected through Nokia PC Suite and a Universal Serial Bus ( USB) cable.
The Nokia Configuration Tool uses SyncML Data Synchronization (DS) and Device Management (DM) protocols, which are defined by Open Mobile Alliance (OMA). Nokia Configuration Tool is a handy application that lets you easily configure your Nokia devices. Size: 43.1 MB License: Freeware Keywords: -Data Added 1: September 05, 2012 Use of USB to Serial and USB to Parallel BUS CONVERTERS available from ElectronicBRICKS at Size: 3.3 KB License: Freeware Data Added 1: August 09, 2007 BurnInTest is a software tool that simultaneously exercises all of the major components of a computer, to test for endurance and reliability. The user can select the hardware components to test and individually adjust the load placed on each one via slide bars. Each test reports results to its own window and results are summarised along with any errors detected in the main program window.
CPU, hard drives, CD ROM, CD burner, DVD, sound card, 2D graphics, 3D graphics, memory, network. Size: 4.1 MB License: Shareware Price: $49 Keywords: -Data Added 1: July 30, 2013 Sugar Labs offers ubiquitous access to Sugar in a USB ( Universal Serial Bus) flash memory drive (stick). Sugar on a Stick is a project that gives children access to their Sugar on any computer in their environment with just a USB memory stick. Taking advantage of the Fedora LiveUSB, it's possible to store everything you need to run Sugar on a single USB memory stick (minimum size 1GB). This small USB device can boot into the Sugar learning platform on different computers at home. Size: 379.9 MB License: Freeware Keywords: -Data Added 1: May 30, 2012 KrokCom is a cross-platform application used to program the Atari 2600 Krokodile Cartridge from a serial port/USB- serial converter.
![Visual foxpro serial communication arduino example code Visual foxpro serial communication arduino example code](/uploads/1/2/5/5/125528234/750769706.jpg)
Both GUI and commandline usage is supported. Size: 976.8 KB License: Freeware Data Added 1: July 26, 2012 Arduinome is a collaborative effort to create a clone of the popular and inspiring Monome usb controller using the Arduino micro- controller.
Size: 16.6 KB License: Freeware Data Added 1: July 08, 2012 USPUI- Universal Serial Port User InterfaceWxWidgets based grfic user interface for serial port. You can define the interface by simple configuration file. Size: 85.9 KB License: Freeware Data Added 1: July 03, 2012 Spark Loader is a boot loader for AVR microcontrollers, it is used for programming flash and EEPROM using a serial link ( USB to Serial converters can be used) between your computer and the microcontroller through any free COM (or USB) port. Spark Loader consists of two parts: 1. On - chip boot loader: A hex file that resides at the boot section of the flash memory. Windows application: It has the responsibility of transmitting flash and EEPROM data.
Size: 12.2 MB License: Freeware Keywords: -Data Added 1: July 29, 2012 OsziViewer is a simple, easy to use application designed to acquire data from the oscilloscope LeCroy9400A over the serial bus and from the PM3311 over an own bus. Size: 266.0 KB License: Freeware Keywords: -Data Added 1: March 31, 2013 A program for windows, which turns your XBOX/XBOX360 USB controller into a MIDI controller, sending Control Change messages and/or Note messages. GNU General Public License (GPL) Size: 0 License: Freeware Data Added 1: May 18, 2013 Useful application easy to handle for the management of information on the process of teaching and learning that takes place in a class.
The idea is that the teacher comes to class or anywhere else, insert a USB ( Universal Serial Bus) in the personal computer and run the application.When the application is launched the first thing we ask is a key that will be used to authenticate the user and to hide the information stored in database files using a cryptographic method. Once the user is. Size: 4.2 MB License: Freeware Data Added 1: May 03, 2013 A simple tool for bootloading a Texas Instruments TMS320F28016 DSP using the asynchronous serial bus, either to execute from SRAM, or to burn images into FLASH memory. GNU Library or Lesser General Public License (LGPL) Size: 0 License: Freeware Data Added 1: October 15, 2015 MarshallSoft C/C and.NET serial communications component library for RS232 and multi-drop RS485 and RS422 serial ports. Use WSC4C to write applications to access data from serial devices such as barcode scanners, modems, lab instruments, medical devices, USB serial devices, scales, GPS navigation, fingerprint scanner, printer servers, etc.
Features of WSC4C include: - Supports 256 ports. Can control multiple ports simultaneously. Fully thread safe, port re-entrant, modem control.
Size: 2.0 MB License: Shareware Price: $115 Keywords: -Data Added 1: September 24, 2011 MarshallSoft Visual dBASE serial communications component library for RS232 and multi-drop RS485 and RS422 serial ports. Use WSC4DB to write applications to access data from serial devices such as barcode scanners, modems, lab instruments, medical devices, USB serial devices, scales, GPS navigation, fingerprint scanner, printer servers, etc. Features of WSC4DB include: - Supports 256 ports. Can control multiple ports simultaneously. Fully thread safe, port re-entrant, modem. Size: 481.1 KB License: Shareware Price: $115 Keywords: -Data Added 1: September 17, 2011 MarshallSoft Delphi serial communications component library for RS232 and multi-drop RS485 and RS422 serial ports. Use WSC4D to write applications to access data from serial devices such as barcode scanners, modems, lab instruments, medical devices, USB serial devices, scales, GPS navigation, fingerprint scanner, printer servers, etc.
Features of WSC4D include: - Supports 256 ports. Can control multiple ports simultaneously.
Fully thread safe, port re-entrant, modem control, serial line. Size: 555.7 KB License: Shareware Price: $115 Keywords: -Data Added 1: November 22, 2015 MarshallSoft Visual FoxPro serial communications component library for RS232 and multi-drop RS485 and RS422 serial ports. Use WSC4FP to write applications to access data from serial devices such as barcode scanners, modems, lab instruments, medical devices, USB serial devices, scales, GPS navigation, fingerprint scanner, printer servers, etc. Features of WSC4D include: - Supports 256 ports. Can control multiple ports simultaneously. Fully thread safe, port re-entrant, modem control. Size: 1.1 MB License: Shareware Price: $115 Keywords: -Data Added 1: September 30, 2011 MarshallSoft PowerBASIC serial communications component library for RS232 and multi-drop RS485 and RS422 serial ports.
Use WSC4PB to write applications to access data from serial devices such as barcode scanners, modems, lab instruments, medical devices, USB serial devices, scales, GPS navigation, fingerprint scanner, printer servers, etc. Features of WSC4PB include: - Supports 256 ports. Can control multiple ports simultaneously. Fully thread safe, port re-entrant, modem.
Size: 512.0 KB License: Shareware Price: $115 Keywords: -Data Added 1: September 12, 2011 MarshallSoft Visual Basic serial communications component library for RS232 and multi-drop RS485 and RS422 serial ports. Use WSC4VB to write applications to access data from serial devices such as barcode scanners, modems, lab instruments, medical devices, USB serial devices, scales, GPS navigation, fingerprint scanner, printer servers, etc. Features of WSC4VB include: - Supports 256 ports. Can control multiple ports simultaneously. Fully thread safe, port re-entrant, modem. Size: 924.1 KB License: Shareware Price: $115 Keywords: -Data Added 1: September 26, 2011 MarshallSoft Xbase serial communications component library for RS232 and multi-drop RS485 and RS422 serial ports.
Use WSC4XB to write applications to access data from serial devices such as barcode scanners, modems, lab instruments, medical devices, USB serial devices, scales, GPS navigation, fingerprint scanner, printer servers, etc. Features of WSC4XB include: - Supports 256 ports. Can control multiple ports simultaneously. Fully thread safe, port re-entrant, modem control.
Size: 473.3 KB License: Shareware Price: $115 Keywords: -Data Added 1: November 23, 2015 MarshallSoft Visual Basic serial communications component library for RS232 and multi-drop RS485 and RS422 serial ports. Use WSC4VB to write applications to access data from serial devices such as barcode scanners, modems, lab instruments, medical devices, USB serial devices, scales, GPS navigation, fingerprint scanner, printer servers, etc.
Features of WSC4VB include: - Supports 256 ports. Can control multiple ports simultaneously. Fully thread safe, port re-entrant, modem control. Size: 1.6 MB License: Shareware Price: $115 Keywords: -Data Added 1: November 26, 2008 Secure USB drive monitor application watch windows local area network client computer USB port activities and records at server machine. Windows network data theft program notify administrator by beeps sound when any USB device access at client computer USB port. Real time USB port monitor program watches client computer USB device plug-in or plug-out USB device activity either online or offline (in that case also if client disconnect his network connection when using USB drive, software.
Size: 2.8 MB License: Shareware Price: 6023INR Keywords: -Data Added 1: December 05, 2013 The Windows Standard Serial Communications Library for Xbase (WSC4XB) is an serial communication library based on the Windows API. Includes 44 functions plus modem control, XMODEM and YMODEM protocols, and a selection of example programs. Features of Windows Standard Comm Library: - Supports 256 ports. Can control multiple ports simultaneously. Fully thread safe, port re-entrant, modem control, serial line status and control, ANSI emulation, ASCII/XMODEM/YMODEM. Size: 487.8 KB License: Shareware Price: $115 Keywords: -Data Added 1: June 21, 2007 Serial Port Monitor is a professional application for RS232/422/485 COM ports monitoring. It monitors, displays, logs and analyzes all serial port activity in a system.
It can effectively be used for monitoring serial data exchange between serial devices and any Windows application, debugging computer connection with peripheral devices using COM port - such as modem, mini-ATS, projector, etc, for solving problems with serial (RS232/422/485) data communication control networks and devices, for. Size: 2.6 MB License: Shareware Price: $79.95 Keywords: -Data Added 1: November 16, 2008 Windows network USB storage data theft monitoring application protects confidential information due to unofficial use of USB devices and alert to you by playing sound beep when any storage drive including flash drive, thumb drive, memory stick, mp3 Player, digital camera connect at client machine in local area network. USB controller application is helpful for all types of large, medium and small business enterprises, public organizations, private companies and internet cafe etc. Size: 2.8 MB License: Shareware Price: 5839INR Keywords: -Data Added 1: August 11, 2009 ZylGPSReceiverAX is an an award-winning ActiveX control that communicates with a serial GPS receiver. It returns latitude, longitude, altitude, speed, heading and many other parameters of the position. This control works with any NMEA compatible receiver connected to one of the serial ports.
You can use it also with USB devices, because these devices usually have a driver that redirects the input from the USB port to a virtual serial port. If your device is not provided with such a. Size: 863.4 KB License: Demo Price: $99.99 Keywords: -For searches similar to universal serial bus usb controller see 'Related Downloads' under the categories listing. Products 1-30 Go to 1 page Categories Related Downloads Top Downloads New Downloads Latest Downloads Latest Reviews (reshim) Programmers feel the comfort of coding using ConyEdit which is capable to edit codes in batch. (harish) No need to go for a professional designer for the cover of new record, you can do it on your own.
(Anthony) Scans software to find whether it is harmful for computer and also checks for updates of security. (Maxmuller) This just another awesome product from Comodo to protect your computer from unwanted inbound. (Redrick) This lets the data packets we send split into several packages which is convenient for many. (Tensialar) This is a light weight software for viewing MS project files easily without the MS project. (Mortinus) I had difficulties with the pdf documents which needed to be edited before presentation, then I. (Nielsine) You can enable your guests book any room instantly through your website, also receive the.
(Sokki) It gives good result of any keyword you are looking for compared to standard default file search. (Magaidh) Integrated pop up and ad block facilities, secure all the online transactions by protecting. All software information on this site, is solely based on what our users submit. Download32.com disclaims that any right and responsibility for the information go to the user who submit the software, games, drivers.
Some software may not have details explanation or their price, program version updated. You should contact the provider/actual author of the software for any questions. There are also user reviews/comments posted about various software downloads, please contact us if you believe someone has posted copyrighted information contained on this web site. Copyright © 1996-2015 Download 32.