Find Jobs
Hire Freelancers

Linux C script to read sensor data from I2C bus

$10-30 USD

Completed
Posted almost 11 years ago

$10-30 USD

Paid on delivery
I need a simple C script to read sensor data from a INA219 chip via I2C ( [login to view URL] ). Everything is already written and documented for the 3.x kernel module ( [login to view URL] ) I use 2.6.32-5-486 Kernel and dont need a kernel module, simple c code that uses the #include and reads the data is enough. I am currently stuck because all examples and kernel modules i found use i2c_read functions but due to kernel and smbus in i2c-dev.h I have to use i2c_smbus_read_i2c functions. I am not a C programmer - I can already read registers but it seems that I mismatch datatypes, bits and bytes.
Project ID: 4758825

About the project

7 proposals
Remote project
Active 11 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
I am a Linux kernel engineer, and am very skillful with Linux driver development. I can solve your problem sooner, believe me.
$15 USD in 1 day
0.0 (0 reviews)
0.0
0.0
7 freelancers are bidding on average $24 USD for this job
User Avatar
##### YOUR SEARCH ENDS HERE! ##### GET IT RIGHT THE FIRST TIME!. Contact us. SI Team.
$206 USD in 5 days
5.0 (12 reviews)
6.2
6.2
User Avatar
Hi, I can provide you the user space application for reading the registers of the I2C-device, but need some additional information. Please see PMB. Thanks. Regards, Luis
$50 USD in 1 day
5.0 (1 review)
2.8
2.8
User Avatar
please check PM
$25 USD in 3 days
0.0 (0 reviews)
0.0
0.0
User Avatar
check my PM...!!!
$11 USD in 3 days
0.0 (0 reviews)
0.0
0.0
User Avatar
I am Buses Drivers developer in a reputed MNC which designs mobile chipsets. I have hands on experience on I2c, SPI, UART (serial buses) over LA (Linux Android), and I freelance during my spare time. If you are interested I can take up this project, and submit the solution within couple of hours. Please let me know your interest. Thanks. Thanks.
$35 USD in 2 days
0.0 (0 reviews)
0.0
0.0
User Avatar
Can do this. See PM.
$20 USD in 7 days
0.0 (0 reviews)
0.0
0.0
User Avatar
Hi MrFlo, As per your description, I can understand no need modification in the linux device driver of INA219 (assumed its working file), Just we need to play at linux application level, as I looked in to driver code, we have to just play with /sys/* file system. It is very simple task, just read relevant file from /sys/, it self give you value, so you can do it using shell script and simple C/C++ code. Also I mentioned Milestone at 100%, so you have to pay once I finish complete task, enjoy
$11 USD in 2 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of GERMANY
Weinheim, Germany
5.0
6
Payment method verified
Member since Feb 24, 2009

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.