hi there,
Lately I've been working on a project that involves reading a potentiometer value, and then converting the analog data obtained to digital values using the ADC module of the PIC16F877A.
Now I want this data to be transmitted to another mcu by "Serializing" the data. For this purpose I used MC145026/7 encoders, but the thing is, I'm kinda stuck on writing the mcu software for these chips. You see, these modules encode each 4-bit stream of data with a respective address.
The reason why I'm using these chips is because I'm gonna use RF modules to transmit the data and these chips proved to be very efficient in all of my RF projects, however the main difference between these projects and my latest one is that in this project data is changing continueously(According to the potentiometer).
what's happening is that the transmitted values are always changing and I don't know why. I'll attach the program that I've written so far.
regards.
Lately I've been working on a project that involves reading a potentiometer value, and then converting the analog data obtained to digital values using the ADC module of the PIC16F877A.
Now I want this data to be transmitted to another mcu by "Serializing" the data. For this purpose I used MC145026/7 encoders, but the thing is, I'm kinda stuck on writing the mcu software for these chips. You see, these modules encode each 4-bit stream of data with a respective address.
The reason why I'm using these chips is because I'm gonna use RF modules to transmit the data and these chips proved to be very efficient in all of my RF projects, however the main difference between these projects and my latest one is that in this project data is changing continueously(According to the potentiometer).
what's happening is that the transmitted values are always changing and I don't know why. I'll attach the program that I've written so far.
regards.
Attachments
Last edited: