Find Jobs
Hire Freelancers

CCP1 MikroC

$30-250 AUD

Terminado
Publicado hace más de 11 años

$30-250 AUD

Pagado a la entrega
Please do not pass this job up as too simple. I have spent many hours trying to make this work, so I am willing to pay for your time and some extra. Please name your price. The job only requires about 20 or so lines of code, but so far I have been unable to grasp the concepts required. I will use this code to complete my project and to form an understanding of the CCP1 capture module. I have not been able to find any sample code in MikroC. I require a function written in the MikroC compiler to work on a PIC18f2520 chip. I would like the code commented so that I can understand how it works. The function I require needs to read a 0 to 5 volt square wave that has a varying pulse width from the CCP1 pin RC2 and calculate the pulse width using CCP1 and Timer1. I am using a 20mhsz resinator and the lenth of the pulses widths vary from 0.5ms to 8ms. The value of the measured pulse width needs to be stored in variable " PulseWidth1". The function is called when pin RC0 is grounded. ie if (PORTC.B0==0 ) { } . While (1). I have set TRISC.B2=1; I defined the variable PulseWidth1 as an unsigned int. I require the pulse measurement to begin on the first rising edge to the next falling edge ie measure the pulse width when the signal is high. The value of PulseWidth1 needs to be output as such. 0.5ms = a value of PulseWidth1 = 50 1 ms = a value of PulseWidth1 = 100. I require the settings for Timer1,Timer3, how to set up the interupts and how enable and clear flags.
ID del proyecto: 2641100

Información sobre el proyecto

8 propuestas
Proyecto remoto
Activo hace 11 años

¿Buscas ganar dinero?

Beneficios de presentar ofertas en Freelancer

Fija tu plazo y presupuesto
Cobra por tu trabajo
Describe tu propuesta
Es gratis registrarse y presentar ofertas en los trabajos
Adjudicado a:
Avatar del usuario
Hi.I can do it.
$100 AUD en 1 día
4,8 (13 comentarios)
4,5
4,5
8 freelancers están ofertando un promedio de $138 AUD por este trabajo
Avatar del usuario
hi,i can help.
$150 AUD en 3 días
4,8 (30 comentarios)
7,3
7,3
Avatar del usuario
hello i can do that thanks
$120 AUD en 3 días
4,7 (18 comentarios)
6,3
6,3
Avatar del usuario
I can do this your project, for details kindly see your mail box. Thanks.
$100 AUD en 4 días
4,9 (10 comentarios)
5,4
5,4
Avatar del usuario
Let's work
$200 AUD en 5 días
0,0 (1 comentario)
0,0
0,0
Avatar del usuario
I can do that, I have long experience with Microchip microcontroller.
$200 AUD en 2 días
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
Hi ,I can help you.
$95 AUD en 3 días
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
I have good deal of experience on Timer modes in PIC and I can certainly help you with that. Additional info is in message.
$140 AUD en 8 días
0,0 (0 comentarios)
0,0
0,0

Sobre este cliente

Bandera de AUSTRALIA
Perth, Australia
5,0
2
Forma de pago verificada
Miembro desde may 17, 2011

Verificación del cliente

¡Gracias! Te hemos enviado un enlace para reclamar tu crédito gratuito.
Algo salió mal al enviar tu correo electrónico. Por favor, intenta de nuevo.
Usuarios registrados Total de empleos publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Cargando visualización previa
Permiso concedido para Geolocalización.
Tu sesión de acceso ha expirado y has sido desconectado. Por favor, inica sesión nuevamente.