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.
this is the code i want to write for the above string... but it is not working... can anybody help me..
#include "built_in.h"
unsigned int adc_rd;
void main()
{
char txt1[]="start";
char txt2[]="end";
int i=0;
unsigned char rxarray[18];
//char IoutText[10];
unsigned int temp_res...
hii ...
actually i have to send microcontrollers internal ADC read data to the matlab continuously with the serial port.. adc is 10 bit.. and we know UART will read only 8 bit at atime.. so we have to split the 10 bit to two 8 bit data...
here i am advised to send the data serially to...
thanks..
now i have to do these data as string rather than sending it as a integer to the UART.. it is look like my string is---
startXXXXend
here first XX is used for aADC read value (x indicates 8bit binary)
and second XX is used for acellerometer data
is it possible to send data like...
hii,
i am not very much expert in MATLB... i am designing a real time pic microcontroller based ECG system...for that after processing the real time ECG data through PIC16F877a microcontroller than i have to display the real time ECG to an interface in the computer screen
can anybody share me...
ok i will try this...
is you simulate my previous code for both UART &ADC value display togather?? is it works??
individually both the code works..but when i used to make UART communication that time PORTB & PORTC LEDs are not showing results...
what the value UART recieves as well as it...
thanks arunsharma0731.....
UART1_Write_Text(IntToStr(temp_res));
this line works as same as my code.... my uart recieveing data but i dont know why adc reading will not shown in portB and portC ... ryt now am unable to send you the ckt diagram.. evening i will attach the ckt diagram...
but i...
how to make a MATLAB GUI interface to display real time ECG
hii, i am not very much expert in MATLB... i am designing a real time pic microcontroller based ECG system...for that after processing the real time ECG data through PIC16F877a microcontroller than i have to display the real time ECG...
Thanks for the replay abhishekdixit...
but it still not blinking the LEDs connected to the PORTB and PORTC.. i have modified the code as follows... but still not working... but UART recieves the data continuously..
unsigned int temp_res;
void main() {
UART1_Init(57600); // Initalize USART...
actually i want to blink the LED connected to the PORTB pins... whenever the analog data found in the channel AN0 ,that is connected to the output of the ECG signal conditoning ckt, it will show the digital output in the LEDs..
UART communication is linked up but I am not able to blink the...
hii friend, i am a b.tech final year student... i need some help in the pic16f877a uart programing.
actually i am doing research on real time ECG prototype...so i need to transfer the collected ECG data from my body through pic16f877a to the uart continuously through rs232 cable ... i used to...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.