![]() | ![]() | ![]() |
| | |||||||
| Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc. |
| | LinkBack | Thread Tools | Display Modes |
| | (permalink) |
| hi i was working on this project of mine...using at8c51, which has a built in UART, was using it to comm my rfid reader no i need it to comm it to my pc as well...using serial port but as 89c51 has one serial port which is already occupied...am confused i hav heard the there our other uart ics available tht can be interfaced to 89c51 are there???? help please | |
| |
| | (permalink) | |
| Quote:
bit switching. I suspect there is an example for the PIC in Nigel's tutorials. Look here: http://www.datadog.com/software_uart.pdf http://www.avocetsystems.com/company...zine/auart.htm
__________________ Eric "Good enough is Perfect" PIC tutorials: Gramo's: www.digital-diy.net/ Bill's: www.blueroomelectronics.com/ Last edited by ericgibbs; 5th October 2007 at 02:33 PM. | ||
| |
| | (permalink) | |
| Quote:
| ||
| |
| | (permalink) |
| aright....thanks but now i think i would need to change my controller as i need more ports... i miscalculated the requirements before i began working on it so..tellme about some other controller tht has built in uarts, not one but 2 and more than 4 I/O ports | |
| |
| | (permalink) |
| baftab: I've been using the MAX3100 on a project I'm doing... nice hardware UART with FIFO and interrupts. PIC have some CPU's with 2 UARTs, not sure if they have more (a parametric search option on their site will tell you.) P. | |
| |
| | (permalink) |
| you hav interfaced max3100 with 89c51?? or some other controller? | |
| |
| | (permalink) | |
| Quote:
The need for 4 hardware UART's is a little over kill for most applications heh. I would suggest you have a look at using a higher language so that software UART is as easy as; Code: Include "SUART.bas"
SUART.SetBaudrate = sbr9600
Data = 0
While True
Inc(Data) // Increment the data regiester
SUART.SetTX = PORTB.0
SUART.WriteByte(Data)
SUART.SetTX = PORTB.1
SUART.WriteByte(Data)
SUART.SetTX = PORTB.2
SUART.WriteByte(Data)
SUART.SetTX = PORTB.3
SUART.WriteByte(Data)
DelaymS(50)
Wend
__________________ Spency. PIC Micro's - Your mind is the limit PIC's and interfacing with other devices - a PIC Basic Guide @ digital-diy.net | ||
| |
| | (permalink) |
| A note on that though - be sure to setup the default condition of all your SUART pins depending on what mode you choose (Inverted/True) or the first piece of data to be received will be corrupted (but then the software will leave it in its correct "idle" state)
__________________ Spency. PIC Micro's - Your mind is the limit PIC's and interfacing with other devices - a PIC Basic Guide @ digital-diy.net | |
| |
| | (permalink) | |
| Quote:
Hope this helps, P. | ||
| |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
| |
| | ||||
| Title | Starter | Forum | Replies | Latest |
| Single V.s dual! | epilot | General Electronics Chat | 7 | 24th August 2008 11:33 AM |
| Techniques... Making a Dual Supply from a Single Supply | Ayne | Electronic Projects Design/Ideas/Reviews | 37 | 12th July 2008 12:46 PM |
| Recommended dual OPAMPS | hardcore misery | General Electronics Chat | 18 | 9th May 2007 01:11 PM |
| Dual Power Supply without centre tapping.. | Rajagopal87 | Electronic Projects Design/Ideas/Reviews | 4 | 15th June 2006 10:57 AM |
| dual voltage power suply | ikalogic | General Electronics Chat | 19 | 30th January 2004 02:49 PM |