A program in assembler language or "C" to do the following:
1. On pin 8 receive a 15.625 KHz PWM signal 0-100%
2. On pin 7 output a unique frequency (Limited to 100.0 to 100Khz), proportional to the PWM in a minimum resolution of 255 steps.
The purpose of this is to interface a PWM device to a PLC that can only interpret frequency.
The output is not required to be linear, but linear is preferred.
Program must detect 0 PWM and output low and 100% PWM and output high.
Reponse/update time can be up to 1 second.
Note: a crystal is used for timebase (see schematic)
ASM file will be assembled and part programmed using MPLAB X IDE
Success will be measured by running the program on the attached circuit (we have a test board), and using a PWM signal generator on the input and an oscilloscope on the FREQ test point.
We imagine that the PWM module of the PIC would be used to develop the frequency by changing the period, but this is not a requirement. The 16F1705 has no other duties than to make this conversion.
12 freelancers are bidding on average $183 for this job
hello mate. I have deep understanding of assembly and c programming language. I have done some projects that are used friendly and nice. it would be great to work with you. Best regards