ADC please help!!!

Thread Starter

tuanvoi

Joined Oct 31, 2008
56
My PIC is PIC18F4550.
I use my PIC to convert and audio signal to digital signal and use bluetooth eb301(from www.a7eng.com which connects to my PIC18F4550 to transfer the converted signal to another bluetooth device.
After the ADC, you will have 10bits parallely which will be impossible to transfer to the other bluetooth device.
My question is how I can I deal with this 8 bit parallel signal so that I can transfer over the bluetooth. I'm thinking to change this signal to serial but I don't know how to do it. I would be very happy if any suggestions or codes.
Thank you all!
Tom
 

Skeebopstop

Joined Jan 9, 2009
358
I think he just has 10 bits of data to send over an '8 bit' link.

Just put the 10 bits into a 16 bit 'word', and send it out in two bytes and reconstruct it on the other end from two bytes into a 16 bit 'word'.
 

Thread Starter

tuanvoi

Joined Oct 31, 2008
56
sorry for any misunderstanding; I meant if after I do ADC for my analog signal. How do I transfer the output ADC converted data using my chip eb301 which connects to RS-232.
Somebody suggested that I would transfer by MSB to LSB bits. If so, could someone please show me the steps.
I'm really appreciate it.
Tom
 
Top