Find Jobs
Hire Freelancers

Modify Existing 'Arduino I2C Port Expander' Library To Add Read and Write Slave Variable Value...

$30-250 USD

Completed
Posted about 6 years ago

$30-250 USD

Paid on delivery
Hello! I'm working on a large project involving the remote control of a large military vehicle, that uses multiple Arduinos, ESP8266 modules, and I2C to connect them all together. I'm using a library that I really like called "Arduino-I2C-Port-Expander" that was developed by someone else (not on our team) which you can see at [login to view URL] , and I need a the right coder to modify the library so that it can send commands to I2C slave Arduinos to set and get the values of a variable that the slave holds. Right now the library allows the master Arduino to read a pin on the slave by executing a command like this: [login to view URL](5, HIGH); which will allow the master to set slave01's pin 5 to HIGH. It is really cool and easy to use. The library also allows digital reads, analog reads, and PWM in the same way. It does touchscreen XY reads too, but I don't need that. What I want is for the library to be able to read or write a VARIABLE that is already defined on the slave. So if the slave has a variable defined called "sensorValue" and it is equal to 8, I want the master to be able to execute a command like this to read the variable from the slave, and in this case put the value into the master's variable called "copyOfSensorValue": // Master code int copyOfSlave01SensorValue = 0; copyOfSlave01SensorValue = [login to view URL]; The slave sees this I2C command, and sends back the current value of its local sensorValue variable as an INT. Now the variable "copyOfSlave01SensorValue" on the master is set to "8". I need the same functionality for the master to be able to SET the value of pre-defined variables on the slave. That command would look like this: // Master code int valueToSendToSlave = 42; [login to view URL] = valueToSendToSlave; Now the slave's predefined variable "meaningOfLife" has been set to "42". I just need to be able to read and write INT variables from slaves for now. I might pay you more later to also add floats, char arrays and Strings. Is this a project that you could do for us? If so, please advise on your best fixed price (our target is $100 USD). I will make a fast decision on the winning bidder, and would like to have the work completed within 5 days. Thank you.
Project ID: 16586513

About the project

4 proposals
Remote project
Active 6 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
Good Day, We are a group of Computer Engineers with experience in both software and hardware development. We have been doing arduino projects for 5 years now. Having the necessary experience and knowledge, we can help you out on your project. As a developer we have experience developing libraries for our different projects which is something we can bring to your project. Hope to hear from you soon! Cheers!
$100 USD in 5 days
4.9 (9 reviews)
3.2
3.2
4 freelancers are bidding on average $161 USD for this job
User Avatar
Hi There I have checked your project description and understand everything. I am very confident that i can do this project perfectly. Thanks
$155 USD in 3 days
4.9 (35 reviews)
4.9
4.9
User Avatar
Hello, I'm Dale I can provide you perfect work as you looking for . we can discuss more in chat . I will be waiting for your response . I have very great experience about your project , if you want discuss more please send me a text Thank you
$222 USD in 3 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
Redwood City, United States
5.0
2
Payment method verified
Member since Mar 29, 2018

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.