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.

Sending ADC result serially

Status
Not open for further replies.

ami-89

Newbie level 3
Joined
Oct 27, 2010
Messages
4
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,307
Greetings all,

I would like to send the result of conversion from pic16f8776A ADC serially to a transceiver chip, the RFM12 through SPI .. can i do it without a parallel/serial converter ??

I'm using mplab hi-tech c compiler
 

Hi,

You simply load your byte of info to the Pics SPI module and it handles all the serial converion for you.
Similarly the data received is returned in byte form.

If you want to send the 10 bit adc result then you need to send it a two separate bytes - ADRESL and ADRESH.
 

Hello Ami-89,

I just finished a project in which I exactly did what you are planning to do. I used a pic 16F876a to sample some signals and then transmit them to the PC using an RFM12 module.

The "final" result you can check ath the website listed in my footer.

As I developed some code to get the wireless working, I also have the bare wireless chips available.

Contact me (see profile) if you need some more info or have special questions.

Greetings Matthijsfh
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top