Programmer ARDUINO Lib to ESP-IDF Lib for ESP32 MPU6050 DS18B20 Analog in
Budget: €30 – €250 EUR
I run a German software company and am looking for a freelancer to help me migrate from Arduino to ESP-IDF.
Short summary:
I have one or two Arduino libraries that are to be converted to ESP-IDF libraries.
All functions should either be tested with a unit test or there is a good reason why not.
Even if the source files are not well commented, the new ESP-IDF lib should be well documented.
If you have improvement Ideas, we can discuss them afterwards, but for this job the 1:1 exchange of this lib is necessary.
That means the interfaces should remain as they are.
UTIL.h does not have to be translated, but only the function "Print_Info(".
The Libs (Reading Sensors and Calibrate MPU) essentially performs the following tasks:
Reading of three sensors:
-MPU6050 (DMP)
-DS18B20
-Analogue Input
Calibrating MPU.
The two libraries can also be merged, the only important thing is that I also get the offset back from the lib (so that this can be stored persistently).
I then need a main that checks the sensors.
The program should calibrate the MPU once and then read the DS18B20, the MPU6050 and the voltage cleanly.
It is important that the call parameters remain the same and that the offset is also transferred. With the MPU6050 it is important that you use the board's own DMP to read out the position sensor absolutely.
#include <Arduino.h>
#include <DS18B20.h>
#include "OneWire.h"
// MPU6050
#include <Wire.h>
#include <math.h>
#include "ESP32AnalogRead.h"
#include "I2Cdev.h"
#include "MPU6050_6Axis_MotionApps_V6_12.h" //changed to this version 10/04/19
#include "Util.h"
#include "elapsedMillis.h"
The following files should be delivered:
- Platformio project (optimised as ext. lib)
- A main.c that proves the function of the lib.
- Unit test
It is important for me that you have experience with ESP-IDF and Platformio.
Short summary:
I have one or two Arduino libraries that are to be converted to ESP-IDF libraries.
All functions should either be tested with a unit test or there is a good reason why not.
Even if the source files are not well commented, the new ESP-IDF lib should be well documented.
If you have improvement Ideas, we can discuss them afterwards, but for this job the 1:1 exchange of this lib is necessary.
That means the interfaces should remain as they are.
UTIL.h does not have to be translated, but only the function "Print_Info(".
The Libs (Reading Sensors and Calibrate MPU) essentially performs the following tasks:
Reading of three sensors:
-MPU6050 (DMP)
-DS18B20
-Analogue Input
Calibrating MPU.
The two libraries can also be merged, the only important thing is that I also get the offset back from the lib (so that this can be stored persistently).
I then need a main that checks the sensors.
The program should calibrate the MPU once and then read the DS18B20, the MPU6050 and the voltage cleanly.
It is important that the call parameters remain the same and that the offset is also transferred. With the MPU6050 it is important that you use the board's own DMP to read out the position sensor absolutely.
#include <Arduino.h>
#include <DS18B20.h>
#include "OneWire.h"
// MPU6050
#include <Wire.h>
#include <math.h>
#include "ESP32AnalogRead.h"
#include "I2Cdev.h"
#include "MPU6050_6Axis_MotionApps_V6_12.h" //changed to this version 10/04/19
#include "Util.h"
#include "elapsedMillis.h"
The following files should be delivered:
- Platformio project (optimised as ext. lib)
- A main.c that proves the function of the lib.
- Unit test
It is important for me that you have experience with ESP-IDF and Platformio.