Completed

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

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 [url removed, login to view] , 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:

[url removed, login to view](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 = [url removed, login to view];

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;

[url removed, login to view] = 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.

Skills: Arduino, C Programming, Electronics, Microcontroller, Software Architecture

See more: Modify Existing Logo - PSD to SVG & PNG with transparent BG, how to add read more on blogger, how to add read more in blogger post, modify existing excell spreadsheet to suit my business needs, arduino i2c library, modify existing data code, modify existing flash file, modify existing flash template, modify existing wordpress theme, excel vba script modify existing vba, modify existing software, dnn modify existing module source, modify existing file, modify existing flyer, experienced vb6 developer modify existing vb6 project

About the Employer:
( 0 reviews ) United States

Project ID: #16586513

Awarded to:

revorupt

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 hel More

$100 USD in 5 days
(3 Reviews)
2.2

5 freelancers are bidding on average $157 for this job

binyameen441

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
(35 Reviews)
4.9
$166 USD in 5 days
(1 Review)
1.0
DaleaMiller

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 pl More

$222 USD in 3 days
(0 Reviews)
0.0
sanaltm

Sir, please chat the full detail of the job... Thank you

$144 USD in 5 days
(0 Reviews)
0.0