Posts

Showing posts with the label Serial

FlashProg – USB serial flash memory programmer

Image
FlashProg is USB base flash memory programmer to work with 3.3V serial flash memory devices. This programmer is specifically design to read, program and configure 25x series, serial flash memory devices which are commonly used to store BIOS in PC mainboards. Originally we design this project to read and program BIOS of Foxconn G31MXP mainboard. Our version of G31MXP contains Macronix MX25L8005 8M-Bit serial flash memory and we use this programmer to load some of our custom BIOS to this serial memory. [ ]

Simple PC Serial Port Receiver Circuit Diagram

Image
Simple PC Serial Port Receiver Circuit Diagram . This circuit was designed to control a 32 channel Christmas light show from the PC serial port. Originally designed with TTL logic, it has been simplified using CMOS circuits to reduce component count. It is a fairly simple, reliable circuit that requires only 4 common CMOS chips (for 8 outputs), an optical isolator, and a few discrete components. The schematic diagram (SERIAL.GIF) illustrates the circuit with 16 outputs which can be expanded with additional 8 bit shift registers.  Simple PC Serial Port Receiver Circuit Diagram Disclaimer This circuit requires physical connections be made to the computer's serial port (COM1 or 2). To the best of my knowledge, it is difficult to cause damage to yourself or your computer by improper connections to this port, but there is no guarantee that damage will not result. Use caution when making any external electrical connections. Basic RS232 serial transmission Serial data is transmitted from ...

LCD Control using UART Serial Port

Image
Introduction: When you write an LCD Program to write your name or any text, you can only display the same text at all times. If you have to change the text, you have to change the code, recompile it again and then reprogram it. Instead of doing all this, you can just connect your circuit to serial port of computer and change the text on LCD instantly using the hyperterminal of the PC. You can just type any text in the hyperterminal and press ENTER key. The text will be displayed on the LCD instantly. You can customize the display by changing the pattern. AVR GCC CODE /* Purpose:It will take input from the terminal and writes that on LCD Hardware: ATmega8 @ 16MHz PC Software : Hyper terminal @ 19200 baud No Parity,1 Stop Bit, Flow Control = NONE */ #include #include #include #include #include "uart.h" #include "lcd.h" static int uart_putchar( char c, FILE *stream); static FILE mystdout = FDEV_SETUP_STREAM(uart_putchar, NULL, _FDEV_SETUP_WRITE); sta...