
In Progress
Posted
Paid on delivery
I already have a working PIC-based board, but the current firmware was written for a different ranging device. I now need the code modified so the board reads an HC-SR04 ultrasonic module through a single digital I/O line (trigger and echo are already wired to that pin via a resistor network). Once the distance reading is in place, the control logic must raise an “obstacle” flag whenever the measured range drops below 1.4 m; anything beyond that is considered clear. I will give access to my system where you can modify code and also I have test hardware which i can do testing with, I currently compile in MPLAB X with XC8, the schematic showing the SR04 connection, and a short description of how the obstacle flag is used elsewhere in the program. Apart from adding the SR04 driver (timer-based pulse width measurement, timeout handling, and simple moving-average smoothing is fine), the only logic change I am after is the distance-based threshold test—no machine learning or pattern recognition. For any hardware interface part new circuit you can give me schematic and i can do same on general PCB for testing. Beside this i want to allow support of RFID reader on Serial port or on TCP-IP as current flow only support wigand interface. Deliverables • Updated, well-commented source files • Compiled HEX ready to flash • Brief report outlining the new functions, registers or timers you touched, and where the 1.4 m threshold is defined so I can tweak it later I will flash and bench-test the code on my hardware; payment is released once the board reliably sets the obstacle flag whenever an object is closer than 1.4 m and never triggers falsely when the path is clear. I want this to be done by Tuesday/Wednesday. My budget for the changes is not more than 8000 INR for the same.
Project ID: 40441848
7 proposals
Remote project
Active 3 days ago
Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs

Hello, I have experience in embedded systems, PIC microcontroller firmware development, sensor interfacing, and communication protocol integration. I can modify your existing MPLAB X/XC8 firmware to support the HC-SR04 ultrasonic sensor and implement the required obstacle-detection logic. My approach: • Integrate HC-SR04 single-pin trigger/echo handling using timer-based pulse-width measurement • Add timeout protection and moving-average filtering for stable readings • Implement configurable 1.4m obstacle threshold logic • Maintain compatibility with existing firmware structure • Extend RFID support through Serial or TCP-IP interface as required • Provide clean, well-commented updated source code and compiled HEX files Deliverables: • Updated MPLAB X/XC8 source files • Compiled HEX ready for flashing • Brief technical report/documentation • Support for testing/debugging during hardware validation I can work directly with your existing codebase and coordinate testing using your hardware setup. Timeline: 4 Days Budget: ₹8,800 INR Before starting, please share: 1. PIC controller model number 2. Existing RFID interface details 3. Schematic for SR04 connection and current RFID flow Looking forward to working with you.
₹8,800 INR in 4 days
0.0
0.0
7 freelancers are bidding on average ₹8,614 INR for this job

Hi, I have long experience in PIC MCU programming, embedded systems, and electronics design using MPLAB X and XC8. I have worked on sensor interfacing, timer-based measurements, UART/TCP communication, RFID systems, and industrial control applications. Your project is clear and fully achievable. I can modify the existing firmware to support the HC-SR04 ultrasonic sensor using the current single I/O configuration through the resistor network. I will implement accurate timer-based pulse width measurement, timeout handling, and moving-average filtering for stable readings. The obstacle flag logic will be updated so it activates whenever distance is below 1.4m, with the threshold placed in an easy-to-edit section for future adjustment. I can also add RFID reader support through Serial/UART or TCP-IP while maintaining compatibility with the current Wiegand interface flow. I am comfortable working with existing PIC firmware and debugging/modifying legacy code structures. If any additional hardware interface changes are needed, I can provide practical schematics and testing guidance for implementation on your PCB. Deliverables: • Updated and well-commented XC8 source code • Compiled HEX file ready for flashing • Brief technical report explaining modified functions, timers/registers used, and threshold configuration location I can start immediately and support testing with your hardware until stable operation is confirmed. Best regards, Hamza Electronics Engineer
₹7,000 INR in 7 days
5.4
5.4

Hello... I've worked with the HC-SR04R and have PIC code based on MPLAB X IDE and the XC8 compiler. I have smoothing algorithms (filters) and over 20 years of experience working with PIC microcontrollers, sensors, and actuators. Feel free to contact me; please check my profile. Best regards.
₹8,000 INR in 7 days
5.5
5.5

I have been working on embedded systems firmware development since last 5 years having good hands on experience at firmware as well as hardware level. Have gone through the requirement and I think I should be able to deliver the job efficiently and timely. Open to have detailed discussion before go ahead. Thanks
₹8,000 INR in 7 days
4.6
4.6

Hello, I can handle this PIC/XC8 firmware modification and keep the changes isolated so your existing control flow remains stable. I’ve previously worked on timer-based ultrasonic sensing, shared trigger/echo single-pin implementations, RFID integrations (UART/TCP), and legacy embedded firmware refactoring where backward compatibility was critical. • HC-SR04 Integration - Implement single I/O trigger/echo handling using your resistor network design - Timer-based pulse width capture with timeout protection - Distance conversion and configurable filtering/moving average - Stable obstacle detection threshold at 1.4m - False-trigger prevention and sensor fault handling • Firmware Updates - Minimal-impact integration into existing MPLAB X + XC8 project - Preserve current application flow and obstacle flag behavior - Well-commented source modifications - Configurable threshold define/macros for easy future tuning • RFID Extension - Add support for RFID reader over: * UART/Serial interface * TCP/IP interface - Maintain existing Wiegand support alongside new modes - Modular interface layer so switching readers later is easier • Deliverables - Updated source files - Ready-to-flash HEX - Brief technical report: Your budget and Tuesday/Wednesday timeline are reasonable for this scope assuming remote access and current firmware structure are clean. Regards, Nichita.
₹8,000 INR in 7 days
3.0
3.0

Hi, I’ve carefully reviewed your requirements and understand you need to update your PIC firmware to read the HC SR04 using a single I O pin, implement timer based pulse width measurement with timeout and smoothing, and trigger an obstacle flag when distance is below 1.4 m. You also want to extend RFID support over Serial or TCP IP alongside the current Wiegand interface. I have solid experience with PIC microcontrollers using MPLAB X and XC8, including timer based measurements, ultrasonic sensor interfacing, and UART communication. I’ve implemented single pin HC SR04 drivers before with proper trigger echo switching, filtering, and stable readings. I will integrate a reliable driver using hardware timers, add a clearly defined and adjustable threshold for the obstacle flag, and ensure smooth integration with your existing code. I can also extend RFID support via UART and guide or implement TCP IP based communication as needed. You’ll get clean commented code, compiled HEX, and a short report explaining changes and where to tweak the threshold. I’m ready to start immediately and can meet your Tuesday or Wednesday deadline. Let’s connect to proceed. Hasan
₹8,000 INR in 7 days
0.0
0.0

As an experienced software developer, my expertise lies in the realm of C programming and software development. I've worked extensively with MPLAB X and XC8, which are the tools you're currently using to compile your firmware. I have ample knowledge regarding digital I/O lines and resistor networks and have dealt with similar cases where adaptations were required for different ranging devices. So, modifying your code to that your board efficiently communicates with the HC-SR04 ultrasonic module is well within my capabilities. Additionally, I possess strong problem-solving skills which are beneficial for fine-tuning the distance-based threshold test you require. My approach is rooted in providing simple, yet effective solutions. Therefore, incorporating the obstacle flag feature won't be a challenge for me. Moreover, I can assist you in extending support for RFID readers on Serial Port or TCP-IP. My understanding of circuit design has allowed me to provide consistent, practical solutions to many clients in the past. I'm confident that I can deliver all necessary files, including source codes and compiled HEX well within your desired timeframe.
₹12,500 INR in 3 days
0.0
0.0

Ahmedabad, India
Payment method verified
Member since Aug 16, 2015
₹1500-12500 INR
₹1500-12500 INR
₹100-400 INR / hour
₹100-400 INR / hour
₹100-400 INR / hour
₹150000-250000 INR
$250-750 USD
min £100000 GBP
$250-750 USD
₹15000-25000 INR
$10-30 USD
₹750-1250 INR / hour
$30-250 USD
₹250000-500000 INR
₹1500-12500 INR
₹12500-37500 INR
₹4000-8000 INR
$30-250 USD
$10-30 USD
$1000-2000 USD
₹37500-75000 INR
₹1500-12500 INR
₹600-1500 INR
min $50 USD / hour
₹1500-12500 INR