santoshhiremani
Newbie level 4
Hi,
I'm doing an project in which i'll capture real time ECG signal and convert it in to digital form using PIC18452 micro-controller and even i'll send through an Bluetooth module serial to the Android Mobile Device where in my app it will display the real time waveforms
--The Bluetooth Module is AUBTM 20
Now i'm attaching schematic and PIC program
Please help me out becoz i'm not getting any signals from RX and TX pin of the microcontroller
I'm doing an project in which i'll capture real time ECG signal and convert it in to digital form using PIC18452 micro-controller and even i'll send through an Bluetooth module serial to the Android Mobile Device where in my app it will display the real time waveforms
--The Bluetooth Module is AUBTM 20
Now i'm attaching schematic and PIC program
Please help me out becoz i'm not getting any signals from RX and TX pin of the microcontroller
Code C - [expand] 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 void main() { Unsigned int temp_res = 0; Usart_Init(57600);//Initialize USART at 57600 Baud rate ADCON1 = 0x80; //Loading ADC controlling register TRISA = 0xFF; //PORTA as Input PORT TRISB = 0; //PORTB as Output PORT Do { temp_res = ADC_Read(1)<<2;// Reading ADC higher 8-bit Usart_Write(temp_res); //Sending 8-bit data via USART to Bluetooth PORTB = temp_res; //Display on PORTB Delay_ms(22); } while(1); }
Last edited by a moderator: