See our Home Page for the RS232 Hex Com Tool serial terminal program and the RS232M Com Monitor serial port monitor program. Both programs are excellent serial tools for RS232 development, RS232 monitoring and RS232 troubleshooting. We also have USB to RS232 hardware and monitoring cables on our homepage.
This page contains some free C++ Builder code for
interfacing our circuits and others to the PC. We also have do-it-yourself kits!
controlled and RS232 powered
DVM-001 voltmeter kit with PC voltage display
in C++ builder (Visual C++, .NET soon). This
circuit uses a
PIC12F675 8-pin microcontroller with built-in analog to digital
converter. The circuit also has an op amp and resistor divider network to
achieve the 54vdc max input voltage. See the
C++ Builder main code here. See the embedded
circuit, code and
hex file here.
Below: circuit board, PC 1st page, PC 2cnd page, board/cables/pickit1, pickit1. Click for larger image.
The first program on our C++ Builder page is the Virtual Relay Control Panel. Using the circuits on our Micro Stop page we can construct an inexpensive relay circuit with 8 individual relays that can be controlled with a simple windows interface. This is how to program looks when it runs:
The simple window consists of 8 relay images, 8 labels, a
combo box and a bit button. To set the program up, the RS232 com port that the
relay board is connected to is selected and the "Open Port" button is
clicked. If the port was opened successfully the caption on the button changes
to "Close Port". When the program closes the port is closed and any
'real' relays that are in the on state are turned off.
When one of the relay images are clicked 2 bytes are transmitted to the relay board and if the correct response is received, the relay image is changed to the opposite state. The first byte transmitted is the relay address byte which is used by the microcontroller on the relay board to determine if the data is correct. The second byte is the data byte for setting the 'real' relays.
Download the Virtual Relay Control Panel here.
The second program on our C++ Builder page is the Virtual Dvm2000. Using the circuits on our Micro Stop page we can construct an inexpensive virtual digital volt meter interface. This is how to program looks when it runs:
simple interface consists of a menu object, label, combo box, spinner control
and a bit button. The menu item "Jumper" is used by the program along
with the spinner setting to determine how the results received from the RS232
Dvm Circuit should be calculated.
Depending on the jumper settings, the voltage input range of the circuit can be:
Download the Virtual Digital Volt Meter here.
This website is owned and operated by Virtual Integrated Design.
Previous 5 Sites • Previous • Next • Next 5 Sites • Random Site • List Sites
Home | Applications | Industry Links | Micro Stop | Hex to Ascii Chart