
Closed
Posted
Paid on delivery
Project Objective The objective is to develop a purpose-built network gateway / bridge software running on Raspberry Pi OS (Linux). Using the Waveshare Dual CAN HAT hardware, the gateway will be inserted between the vehicle’s internal CAN network and a diagnostic reader. The software must perform real-time filtering and mathematical manipulation of specific telemetry data received from the vehicle, and then transparently forward the modified data to the diagnostic port. 1. Task: OS-Level Configuration and Interface Initialization Requirements Configure the Linux kernel / /boot/[login to view URL] (or the appropriate configuration file for the current firmware version) to enable the SPI interface and load the required MCP2515 overlays, including the correct 16 MHz oscillator configuration. Expected Result After system boot: * can0 and can1 network interfaces must automatically come up in the UP state. * Both interfaces must use a fixed bitrate of 500,000 baud. * The interfaces must initialize reliably without errors. ⸻ 2. Task: Real-Time Transparent Bridge Requirements Develop an asynchronous or multithreaded I/O loop that: * Receives all CAN frames arriving on can0. * Immediately forwards them to can1. * Preserves all frames unchanged unless they are specifically targeted by the manipulation logic described below. * Minimizes communication latency, with a target of less than 2 ms. * Prevents buffer overflow and handles sustained CAN traffic reliably. The implementation should prioritize low latency, deterministic behavior, and reliable CAN frame handling. ⸻ 3. Task: Targeted Data Manipulation Logic (Battery SoH / Capacity) The transmission loop must include a packet filter for the following CAN message: Target CAN ID 0x266 Data Structure Extract the Nominal Full Pack value from: * D0 and D1 bytes * Big-Endian / MSB format * Scaling: 0.1 kWh Manipulation The extracted raw integer value must be multiplied by 1.05 (+5% correction). Integrity Check Implement an upper limit of 0xFFFF to prevent overflow. The modified value must then be written back into the CAN message data field using appropriate bit masking / byte operations before the frame is forwarded. ⸻ 4. Task: Cross-Validation / Consistency Data Manipulation Diagnostic software may perform consistency checks between related battery parameters. The following additional filtering logic is therefore required: CAN ID 0x3D2 Reduce the Total Discharge / total discharged energy value by approximately 8%. CAN ID 0x102 or 0x212 Reduce the Cycle Count value by approximately 15%. UDS / ISO-TP Diagnostic Requests For UDS / ISO-TP communication within the 0x7E4 / 0x7EC range, identify responses containing battery cell Internal Resistance data and reduce the corresponding values by 10% before forwarding them. The implementation must correctly handle the relevant ISO-TP message flow, including multi-frame responses where applicable. ⸻ 5. Task: Daemonization and Fault Tolerance / Deployment Convert the developed script/application into a background Linux systemd service. Expected Result The service must: * Start automatically when the Raspberry Pi boots. * Run continuously in the background. * Automatically restart if the application terminates unexpectedly. * Use the following restart policy: Restart=always RestartSec=5 The implementation should also handle CAN hardware/network errors, including CAN Bus-Off conditions, and recover or restart the application as required. ⸻ Acceptance Criteria The following conditions must be met for final delivery: 1. The gateway must not introduce any noticeable latency into communication between the diagnostic device and the vehicle. 2. CAN communication must remain stable under normal operating conditions. 3. The bridge must reliably forward CAN traffic without buffer overflows or dropped frames caused by the software. 4. The modified CAN values must be correctly encoded and transmitted according to the specified byte order and scaling. 5. ScanMyTesla or an equivalent OBD diagnostic application must be able to communicate with the vehicle and read the relevant data without generating communication errors. 6. The calculated State of Health (SoH) value must reflect the specified modification accurately. 7. The system must automatically start after reboot and recover from application/CAN interface failures. 8. The final solution should include the source code, configuration files, systemd service definition, installation instructions, and sufficient documentation for deployment on Raspberry Pi OS.
Project ID: 40633189
21 proposals
Remote project
Active 6 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
21 freelancers are bidding on average $427 USD for this job

Hi, This is a classic real-time embedded bridge task where the Pi acts as a transparent proxy between two CAN buses, with selective frame modifications. The key challenges are low-latency forwarding and precise byte-level manipulation of specific CAN IDs. I’ve handled similar low-level Linux work before, including real-time I/O in the CoastPay project, where strict timing constraints required careful kernel configuration and buffer management—similar to the CAN bus constraints here. For implementation, I’d use a C program with SocketCAN to bind to can0 and can1, running a single-threaded async loop with a fixed-size ring buffer to keep latency under 2 ms. Frame filtering for 0x266 would extract D0/D1 as a 16-bit big-endian integer, apply a 5% boost, and mask the result back into the payload. ISO-TP handling for UDS requests would use a lightweight parser to locate cell resistance fields and apply a 10% reduction before forwarding. The main unknown is bursty vehicle traffic—if the loop blocks on can1 for more than a few milliseconds, frames may drop, so ring buffer size and socket options will need tuning. A secondary risk is CAN Bus-Off recovery; the service can reset interfaces on error, but vehicle behavior isn’t fully predictable, so recovery logic must be conservative. Thanks, Denis
$250 USD in 5 days
4.5
4.5

As an experienced Firmware & Hardware Engineer, Linux is my bread and butter. I have a deep understanding of the Linux environment, including the configuration and initialization of kernel interfaces like the SPI interface. This means I am perfectly equipped to handle the first task of your project, ensuring that can0 and can1 network interfaces consistently initialize without errors and reliably for your network gateway software. Building upon my expertise in Embedded Systems and Firmware Development, I excel in developing high-performing systems while keeping latency to a minimum. This skillset will prove invaluable in accomplishing the second task of implementing an efficient real-time transparent bridge with low latency for your project. Furthermore, my experience in creating fault-tolerant systems will ensure your network gateway will run continuously and automatically restart if needed as described in task five. In addition to these aspects, I have also worked extensively on IoT solutions integrating wireless communication like BLE and cloud services seamlessly. Thus, not only can I help you build a reliable software solution, but I am also well-prepared to handle any cloud integration necessary for this project. All in all, my extensive experience in engineering smart embedded systems with a focus on IoT devices makes me the perfect match for your Network Gateway Software development project on Raspberry Pi using Linux OS.
$350 USD in 6 days
3.5
3.5

Hello! Building a stable network gateway on Raspberry Pi requires robust Linux configuration and reliable software architecture that can handle bridging and routing without downtime. I've deployed production Linux systems on embedded devices and single-board computers where system-level configuration, network stack management, and service reliability were critical. My Linux experience includes kernel parameter tuning, custom service deployment, and building software that runs efficiently on resource-constrained hardware like the Raspberry Pi platform. Here's how I'll deliver this gateway software: - Set up the Linux environment with necessary network interfaces and routing configurations for seamless gateway operation - Develop the bridge software with proper error handling, logging, and automatic recovery mechanisms - Test thoroughly across different network conditions to ensure stable performance and data integrity What specific network protocols or data formats does this gateway need to handle alongside the bridging functionality? I can start immediately and keep you updated through Freelancer messages as I progress through requirements gathering, implementation, and testing phases. Best regards, Jordan Rafael
$375 USD in 4 days
2.4
2.4

Hello There! I’m Md Ruhul Ajom, an experienced Full-Stack/Systems Developer with 10+ years of experience working with Linux, Python, networking, automation, and embedded software. I’m ready to start immediately. I understand you need a reliable Raspberry Pi-based CAN gateway using the Waveshare Dual CAN HAT, with MCP2515 initialization, dual 500 kbps CAN interfaces, low-latency forwarding, fault recovery, and systemd-based deployment. I am skilled in Python, Linux, Raspberry Pi, SocketCAN, CAN bus, MCP2515, systemd, multithreading, networking, Docker, and embedded system integration. My experience with CAN networking, Linux services, real-time data handling, and low-level API integration makes me well suited to this project. I’m ready to review the hardware setup and CAN specifications and provide a practical implementation plan and timeline. Looking forward to hearing from you. Best regards, Md Ruhul Ajom
$250 USD in 5 days
2.6
2.6

I am confident in my ability to develop a purpose-built network gateway software on Raspberry Pi OS with Waveshare Dual CAN HAT integration, ensuring low latency and reliable CAN frame handling. The solution will include optimized system startup, real-time bridge functionality, and accurate battery State of Health (SoH) calculations. The application will be converted into a systemd service for fault tolerance and automatic restarts, with a focus on seamless recovery from hardware errors. With my expertise in embedded systems, Linux kernel configuration, and CAN bus protocols, I am well-positioned to deliver a robust solution that meets and exceeds your expectations. Let's discuss further to refine our approach and achieve our project goals.
$675 USD in 5 days
2.1
2.1

Hello, I understand you're looking for a Raspberry Pi CAN gateway that can transparently bridge traffic between the vehicle and the diagnostic tool while performing precise real-time CAN data manipulation. This requires a solution that's fast, reliable, and accurate, with minimal latency so communication remains completely seamless. I can build a clean, efficient solution that configures the dual CAN interfaces, implements the required CAN filtering and value adjustments, supports ISO-TP/UDS message handling, and ensures the gateway operates reliably during continuous communication. I'll focus on writing well-structured, maintainable code with clear documentation so future updates are straightforward. This is an interesting project, and I'd really enjoy working on it. I look forward to discussing the details and helping bring it to life. Thanks.
$350 USD in 5 days
2.3
2.3

Hi, I can help build this Raspberry Pi CAN gateway and handle the Linux configuration, CAN communication, real-time forwarding, and deployment. I have experience with Python, Linux, networking, automation, and system-level integrations. I can configure the Waveshare Dual CAN HAT/MCP2515 interfaces, bring up `can0` and `can1` automatically at 500 kbps, and build a low-latency bridge with proper buffering and fault handling. The implementation can include: * SPI/MCP2515 and Raspberry Pi OS configuration * Asynchronous CAN frame forwarding * Structured CAN message filtering/parsing * ISO-TP/UDS frame handling where required * CAN Bus-Off/error recovery * Logging and diagnostics * systemd service with `Restart=always` and `RestartSec=5` * Installation scripts and deployment documentation I’ll keep the code modular so the CAN interface, bridge logic, message processing, and recovery mechanisms can be tested independently. For the vehicle-data transformations, I can implement the exact specifications you provide and validate the encoding/decoding against CAN captures or a suitable test setup before deployment. Please send the Raspberry Pi model/OS version, HAT revision, and any available CAN/ISO-TP captures. I can then confirm the implementation approach and timeline. I’m available to start immediately.
$400 USD in 7 days
0.0
0.0

I understand the Raspberry Pi CAN gateway requirements, including MCP2515 initialization, dual CAN bridging, low-latency processing, ISO-TP handling, and systemd-based fault recovery. I can build the core gateway as a reliable, deterministic Linux service with clean configuration and deployment documentation. For the data-manipulation layer, I would implement the specified transformations as explicit, configurable rules with proper validation, bounds checking, logging, and test coverage, so the behavior is predictable and auditable during controlled diagnostic testing. Q1: Do you already have the Waveshare Dual CAN HAT and a test vehicle/diagnostic setup available for live validation? Recommended: I’d use C/C++ with SocketCAN for the real-time bridge to keep latency and resource usage low, with systemd supervision and automatic CAN-interface recovery.
$250 USD in 3 days
0.0
0.0

We've recently helped a client build a robust network gateway for their automotive applications, achieving seamless data transmission and real-time manipulation. We will assist you in developing a purpose-built network gateway software that ensures reliable communication between your vehicle's internal CAN network and diagnostic readers. Your project emphasizes a clean, professional, and user-friendly interface while ensuring low latency and fault tolerance. These are crucial for maintaining stable communication without introducing noticeable delays. Our expertise includes real-time data processing, multithreaded I/O loop implementation, and systemd service configuration. Although we are still building our portfolio on freelancer.com, we have numerous 5-star reviews on similar projects on other platforms. It would be our privilege to help you with this project, and choosing us is a decision you won't regret. There's no pressure at all. Best case, we create something great together. Worst case, you get a free consultation and a clearer direction for your project. Regards, Henco Burger.
$300 USD in 7 days
0.0
0.0

Hi there. This is an interesting project. One area I'd pay particularly close attention to is the real-time filtering and mathematical manipulation, as that often determines whether projects like this succeed or run into problems later. The requirement for seamless communication with minimal latency is crucial. Implementing a multithreaded I/O loop can help achieve the target of under 2 ms while ensuring reliability in CAN frame handling. Additionally, using appropriate bit masking will ensure the integrity of the modified values. I have experience working with Raspberry Pi and CAN interfaces, which should facilitate a smooth deployment. What are your expectations regarding testing and validation before final delivery? Looking forward to engaging. Even if we don't end up working together, you'll still walk away with valuable insights from our discussion. Regards, Riyaaz
$350 USD in 7 days
0.0
0.0

With my comprehensive background in software engineering and Linux expertise, I possess the necessary skills to successfully complete this Network Gateway Software project for Raspberry Pi. I am highly experienced in Linux kernel configuration, concurrent programming, and low-latency applications, which are of utmost importance to effectively bridge your vehicle's CAN network with a diagnostic tool while ensuring minimum disruption to communication. Moreover, my knowledge extends to CAN bus protocols and their successful deployment on embedded systems such as the Raspberry Pi. I understand the intricacies of handling high-speed message streams (500,000 baud) while incorporating real-time telemetry data filtering and manipulation. My precise understanding of both the MCP2515 interface and Waveshare Dual CAN HAT hardware will prevent buffer overflow, maintain deterministic behavior, and reliably handle sustained traffic - crucial aspects outlined in your project description. Overall, my conscientious approach combined with my ability to continuously learn will ensure that not only do I deliver a working solution that meets your specifications but one that is thoroughly robust and fault-tolerant. Choose me for an informed, efficient, and reliable network gateway software implementation for your Raspberry Pi-based vehicle diagnostic system.
$750 USD in 1 day
0.0
0.0

Hi! I'm a Python developer with experience in embedded systems and networking on Raspberry Pi. For the network gateway software I can deliver: (1) gateway daemon in Python (asyncio) with config-driven routing, (2) network interfaces management (Ethernet/Wi-Fi/cellular failover), (3) firewall/QoS rules, (4) packet filtering and logging, (5) web dashboard for monitoring and configuration, (6) systemd service packaging and docs. I work with milestones, tests and daily communication. Available to start today - share the network topology and hardware specs and I'll plan the architecture.
$500 USD in 15 days
0.0
0.0

Hi, I can develop the Raspberry Pi CAN gateway with a strong focus on low latency, reliability, and fault tolerance. I can configure the Waveshare Dual CAN HAT, MCP2515 interfaces, fixed 500 kbps CAN operation, and automatic interface initialization on Raspberry Pi OS. The gateway can provide an efficient asynchronous CAN bridge between can0 and can1, preserving frames and minimizing latency under sustained traffic. I can also implement targeted packet inspection and a configurable test/simulation layer so specified transformations can be validated safely without altering live vehicle diagnostic data. I’ll package the application as a systemd service with automatic startup, restart handling, CAN Bus-Off recovery, logging, and deployment configuration. Deliverables will include clean source code, Linux configuration, systemd service files, installation instructions, testing tools, and documentation. I’ll validate CAN traffic handling, latency, recovery behavior, and ISO-TP parsing in a controlled test environment. Best regards, JP
$250 USD in 6 days
0.0
0.0

As an adaptable IT specialist with a strong focus on Linux systems administration and troubleshooting, I believe I'm the ideal candidate for your project. My extensive experience in network diagnostics and system security aligns perfectly with what you're looking for in this task: developing a robust, high-performing network gateway software for Raspberry Pi. I am highly skilled at automating tasks using CLI/SSH and ensuring system stability in diverse environments, including cloud VPS. This suggests I can seamlessly tackle the OS-Level Configuration and Interface Initialization task outlined in your project. With precise attention to detail, I will configure your Linux kernel to enable the SPI interface, load MCP2515 overlays reliably, and ensure that both can0 and can1 interfaces always start up without errors.
$250 USD in 2 days
0.0
0.0

⭐⭐⭐⭐⭐ I can develop a high-performance Raspberry Pi CAN gateway that meets your exact requirements, including SPI/MCP2515 configuration, reliable initialization of can0/can1 at 500 kbps, and a low-latency (<2 ms) multithreaded or async bridge that forwards all frames while applying precise, targeted modifications (0x266 scaling, 0x3D2 discharge adjustment, 0x102/0x212 cycle count reduction, and ISO-TP/UDS handling for 0x7E4/0x7EC with multi-frame support), ensuring correct byte order, masking, and overflow protection; the system will be robust against high traffic and CAN errors (including Bus-Off recovery), packaged as a systemd service with auto-start and restart policies, and delivered with clean, well-documented source code, configuration files, and step-by-step deployment instructions to ensure stable, transparent operation with diagnostic tools like ScanMyTesla.
$500 USD in 7 days
0.0
0.0

Tapolca, Hungary
Payment method verified
Member since Sep 25, 2025
$250-750 USD
$750-1500 USD
₹750-1250 INR / hour
$15-25 USD / hour
$250-750 USD
$30-250 USD
$10-30 USD
₹12500-37500 INR
₹1500-12500 INR
£250-750 GBP
$10-15 USD
$3000-5000 USD
₹600-1500 INR
$15-25 USD / hour
$30-250 USD
$25-50 CAD / hour
$3000-5000 AUD
$10-30 USD
$50-60 USD
$1000-2000 USD
$30-250 USD
$25-50 AUD / hour