just another thing i'm intrested in is that , if i use MAX232 to link my serial port with microcontroller ..
can i take parallel bit ?
i.e. microcontroller as serial to parallel converter ..
in other words .. is there's any way to control (many) leds via serial port .. even by a microcontroller?
just another thing i'm intrested in is that , if i use MAX232 to link my serial port with microcontroller ..
can i take parallel bit ?
i.e. microcontroller as serial to parallel converter ..
in other words .. is there's any way to control (many) leds via serial port .. even by a microcontroller?
What I did was buy a USB serial cable and remove the MAX232 equivalent that's in it, giving me a 5V serial cable. But you can also put a MAX232 on your AVR to make it talk to your PC directly. I suggest putting the MAX232 on a separate board, so you can reuse it for other microcontroller projects (a 5V serial port is really useful).
Then you should search the net (or read the datasheet) to find the C code which uses the UART inside your microcontroller. Use this and write some AVR C code to interpret the serial data, and program the uC.
Then the PC can open a serial port, set the right baud/parity settings, and talk to the AVR.