Visual Basic & AVR RS232 interface
_uacct = "UA-630016-1";
urchinTracker();
Enter your search terms
Submit search form
Web
www.serasidis.gr
STK
500 Development board
introduction
Lot of circuit,
with AVR microcontrollers, around the internet are stand-alone circuits.
In this project we will control some AVR microcontroller (MCU) via Visual Basic
6.
The use-range of this
application is very high. You can make, anything you want, that its need control
from PC computer or some circuit that is collect data from somewere, and at
the end, its give this data to PC computer via RS232 port to our software.
As you understand,
this project is in general form, to give you the information for how to control
the MCU. You Can modify the source codes to make your circuit, for personal
use, but you CAN NOT use any part of this project for
commercial purpose,
for free.
For commercial purpose you have to pay some small amount, for the copyright.
infos at:
My email
The
hardware
You can use for
the experiments, some AVR development unit like MCU100, STK200, STK500 or
some else that is contain 8 LEDs, 5 switches or more and some RS232 chip like
MAX232, MAX202 etc.
Alternative, you
can build your own board with this characteristically.
Schematic
of AVR RS232 interface (click to enlarge)
MCU
100 Delevopment board
The
software
The
software named "AVR RS232 interface" its writed in VisualBasic 6. Its constituted by the general mask and "about" mask
At the general mask you can choose the com port that you have connected the
AVR board ( For deveropment boards I mean the spare RS232 connector,
not the connector that you programming the MCUs ).
On
the "Switches on interface" frame, have 5 green cycles. If you
press any of 5 switches on the AVR board, this cycle will be red color, the
value of the received character can be viewed in binary format, at the
below textbox .
On
the "LEDs on interface" frame, you will see 8 buttons with
green color. When you press some button you will see that the current led on
AVR board will be turn-off. If you press again the button, the LED will be turn-on.
The value of sended character can be viewed in Decimal and ASCII format in two
below textboxes.
You
can exit from this software by pressing "Exit" button.
The
software, to control some AVR MCU, writed in Visual Basic 6.
The
executable and the source code of AVR RS232 interface, in Visual Basic 6, can
be downloaded from here: AVR
RS232 interface.zip
The
schematic, HEX firmware and source code (ready for AvrStudio) of AT90S2313
can be downloaded from here: Firmware
of RS232 interface.zip
Wyszukiwarka
Podobne podstrony:
Teleservice via RS232 interfaceOptisch isoliertes RS232 InterfacePrzetwornik? z interfejsem RS232Interface Can Rs232dwukierunkowy interfejs RS232 RS 485interfejs RS232 C dla Commodore16 stykowa klawiatura z interfejsem RS232Przesył informacji przy wykorzystaniu interfejsu RS232 J Szewczykdesign user interface?ABE09FSTM32 Butterfly RS232PS4 ZB4 501 UM3 UM4 Interface Converter h1371g02 Jądro komórkowe w interfazie Cykl komórkowyInterfejs FMS(1)F20 interferencja swiatla 2rs232 linux win32 cz2więcej podobnych podstron