Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Multiple UART on a PIC

Status
Not open for further replies.

Slayerza

Full Member level 5
Joined
Oct 22, 2005
Messages
295
Helped
27
Reputation
54
Reaction score
5
Trophy points
1,298
Location
South Africa
Activity points
3,462
multiple uart

Hi,
I need to read data from a RS-232 port connected to a PIC and then transmit this data wirelessly via Bluetooth. Howver as the Bluetooth allready uses the UART of the PIC how can I do this?

Cheers,
Slayer
 

multiple-uart chip

There are pics with multiple uarts. go to microchip web site/products/pic microcontrollers. select the parametric search and select the appropriate check boxes on the interface line.

If the data rate isnt too high, you could also bit bang the serial I/O. google for "bit banged serial" there are several examples.
 

    Slayerza

    Points: 2
    Helpful Answer Positive Rating
uart to multiple pic

most compilers have extenssions to 'pipe' serial data to ordinary i/os and also to from the uart

or use two pic's {pic 508/9 springs to mind}
or as above

if speed is an issue then use a dual uart one ...
if your just reading data use the software uart approch

you can make the code and compile it fully
using the free demo compilers both from ccs and hitec companies

they only have a code limit on some models
perhaps one pic 84 is the best for dual software uart using c langauge {about 15 lines of code } and ccs has this code in it already there as an example in the demo

except its output to rs232 from rs485
 

    Slayerza

    Points: 2
    Helpful Answer Positive Rating
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top