In Progress

Ping))) rangefinder for Microchip pic32

i need you to program for me this sensor on pic32mx460F512L

[url removed, login to view]

i need you to use only one Timer ( Timer6)

and it need to be in real time ( all delays need to be with an interrupt.. can't use Delayus() in the main loop

it will be something like

void Fire()


// activate Timer/The all process




do the required process

after there is a result in cm/inch apply it to a global parameter and raise a done flag


in main



if ( shouldFire ) // i got another timer that will set shouldFire =1 each 250ms


shouldFire =0;



if ( flag )



distance = rangeFinderResult;



i'm attaching a code i found on the internet for AVR

Skills: C Programming, Electrical Engineering, Embedded Software, Microcontroller

See more: pic32 ping sensor, ping microchip, loop programming, programming loop, avr programming pdf, microchip parallax ping, ping pic32, void, ping, pic microcontroller programming, parallax, inch, distance sensor, avr programming, microchip programming, pic sensor, pic time, programming pic microcontroller, code avr, program ping, avr microcontroller programming, programming pic32, pic32 programming, internet microcontroller, pic code avr

About the Employer:
( 3 reviews ) tel aviv, Israel

Project ID: #1109964

Awarded to:


I can do it

$50 USD in 3 days
(12 Reviews)