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.

interface PIC16F628A with compute

Status
Not open for further replies.
yes, it is possible. in two ways.

1. using IR serial communication.
in using IR, the output of that circuit connecte to IR automatically transmit the data to another IR enable device then you can now read it using microcontroller then send the input to the PC via RS232 (serial communication) or by USB (highed communication).

2. uisng direct microcontroller.
in microcontroller, the output of that circuit is directly connected to the ADC of the microcontroller then the microcontroller send the information to the PC via RS232 or USB.
 

yes, it is possible. in two ways.

2. uisng direct microcontroller.
in microcontroller, the output of that circuit is directly connected to the ADC of the microcontroller then the microcontroller send the information to the PC via RS232 or USB.

ok . but my output is in digital already so i think no need to use adc.. ut how to implement it? can anybody give details plz
 

what do you want? in remote mode or having directly connected in microcontroller. basically, you can connect it directly to the microcontroller pin and read the result. what is the output? isnt high(1) and low(0), or 0V, 2.5V and 5V?

anyway, connect it to the microcontroller then the PIN of the microcontroller TX and RX should be connected to RX and TX of MAX232 for SERIAL COMMUNICATION and RX and TX of FT232 for UART to USB COMMUNICATION. then do some programming.
 

This is a typical connection for MAX232:
75_1312911761.png


Use the USART module in the microcontroller to send the data to the MAX232 to the PC via RS232 protocol. This is not very difficult and you should be done quite quickly once you study how to do it.

Here you'll find a test project:
16F628 UART test

Hope this helps.
Tahmid.
 

As said above using serial communication is best I think.
Send formatted packets from micro like: [abc:heartrate:72:eek:k] and write a simple application on PC to parse and show the rate to the user.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top