20-01-2010, 05:22 PM
PC-Microcontroller Communications
In common usage, embedded system or microcontroller needs to be connected to a PC. This article describes a method to do it.
Serial Communications from a PC to Microcontrollers -- Terminal Emulators
Here, the Hyperterminal software bundled with windows is to communicate with the microcontroller using RS232 or virtual RS232 over USB.
Advantages :
-Ability to use terminal emulators to test hardware
-simple firmware and PC software
-Long cable lengths
Disadvantages: :
-It is Slow
-laptops don't have rs232 serial ports
- Requires bulky connectors and level translators
Serial Communications from a PC to Microcontrollers -- Writing Programs
Writing PC programs to communicate with Microcontrollers are sometimes very challenging. the libraries for the Arduino are the simplest ones. This is based on using Java and Should run on all major operating systems.
The USB Bitwacker, Liberty Basic etc are also used. Some say that it is pretty easy with VB.
Bluetooth-SPP Communications from a PC to Microcontrollers
bluetooth is a good choice for controlling microcontrollers wirelessly as many laptops and desktops have bluetooth support or a bluetooth dongle. Several drop in modules are available that implement the Bluetooth SPPprotocoll which allows direct emulation of a serial cable.Most of them use AT command set for configuring the module and establishing connections. PC Bluetooth stacks support SPP and will expose the device as a COM port.
Advantages:
Fast , wireless, No device drivers to install , Quick conversion of existing serial port based devices to wireless.
Disadvantages:
complex pairing devices, difficulty in making it system plug and play, AT command set can get in the way of data if binary data is sent.
I think you will get good information about this project in this link:
http://www.8051projects.info/forum/showt...munication
In common usage, embedded system or microcontroller needs to be connected to a PC. This article describes a method to do it.
Serial Communications from a PC to Microcontrollers -- Terminal Emulators
Here, the Hyperterminal software bundled with windows is to communicate with the microcontroller using RS232 or virtual RS232 over USB.
Advantages :
-Ability to use terminal emulators to test hardware
-simple firmware and PC software
-Long cable lengths
Disadvantages: :
-It is Slow
-laptops don't have rs232 serial ports
- Requires bulky connectors and level translators
Serial Communications from a PC to Microcontrollers -- Writing Programs
Writing PC programs to communicate with Microcontrollers are sometimes very challenging. the libraries for the Arduino are the simplest ones. This is based on using Java and Should run on all major operating systems.
The USB Bitwacker, Liberty Basic etc are also used. Some say that it is pretty easy with VB.
Bluetooth-SPP Communications from a PC to Microcontrollers
bluetooth is a good choice for controlling microcontrollers wirelessly as many laptops and desktops have bluetooth support or a bluetooth dongle. Several drop in modules are available that implement the Bluetooth SPPprotocoll which allows direct emulation of a serial cable.Most of them use AT command set for configuring the module and establishing connections. PC Bluetooth stacks support SPP and will expose the device as a COM port.
Advantages:
Fast , wireless, No device drivers to install , Quick conversion of existing serial port based devices to wireless.
Disadvantages:
complex pairing devices, difficulty in making it system plug and play, AT command set can get in the way of data if binary data is sent.
I think you will get good information about this project in this link:
http://www.8051projects.info/forum/showt...munication