PlatformIO Framework Arduino [login to view URL] be possible to define ESP8575 inputs/outputs and their I2C addresses in Maschines/xxxxxx.h! Example: #define X_LIMIT_PIN PCF8575_ADR_0x20_NUM_13

En curso Publicado hace 3 meses Pagado a la entrega
En curso Pagado a la entrega

I would be happy to find an experienced PlatformIO Framework Arduino programmer who can adapt the Github project [login to view URL] as follows: 1.) Correct integration of the PCF8575 library by Renzo Mischianti: [login to view URL]: lib_deps = xreef/PCF8575 library @ ^2.0.0 "[login to view URL]" 2.)8x ESP8575 with the addresses 0x20, 0x21.... must be able to be addressed. 3.)A pin on the ESP32 serves as an interrupt and triggers the reading of the PCF8575. 4.)The I2C bus (wire) should be able to be addressed with 400Hz Fast I2C bus. 3.)A pin on the ESP32 serves as an interrupt and triggers the readout of the PCF8575. 4.)The I2C bus (wire) should run at 400kHz fast I2C bus. 5.)The priority of real-time processing should be close to real time.

6.)For each of the 16 inputs/outputs the possibility to be assigned in the Maschines/xxxxxx.h must be given as usual in GRBL.

For example ( something like this ):

#define X_LIMIT_PIN PCF8575_ADR_0x20_NUM_13 #define SPINDLE_OUTPUT_PIN PCF8575_ADR_0x20_NUM_3 (if necessary with details of whether input or output) 7.)Summary of where, what and why was changed or added. 8.)Explanation of the correct definition / assignment of the inputs and outputs

Example how i used Input / output with platformio Framework Arduino:

[login to view URL]: lib_deps = xreef/PCF8575 library @ ^2.0.0

#include <Arduino.h>

#include <PCF8575.h>

// Set i2c address

PCF8575 pcf8575(0x20); //PCF_1

PCF8575 pcf8575_2(0x21); //PCF_2

#define ESP_INTERRUPTED_PIN 17 //ok

unsigned long timeElapsed; //ok

bool keyPressed = false; // PCF_int

void keyPressedOnPCF8575(){ //PCF_Interrupt

// [login to view URL]("keyPressedOnPCF8575");

keyPressed = true; //PCF_int

}

void setup()

{

[login to view URL](115200);

pinMode(ESP_INTERRUPTED_PIN, INPUT_PULLUP);

attachInterrupt(digitalPinToInterrupt(ESP_INTERRUPTED_PIN), keyPressedOnPCF8575, FALLING);

[login to view URL](P10, INPUT);

[login to view URL](P10, OUTPUT);

[login to view URL]();

}

void loop()

{

if (keyPressed){

uint8_t val = [login to view URL](P10);

if (val==HIGH) [login to view URL]("KEY PRESSED");

keyPressed= false;

}

[login to view URL](P10, HIGH);

delay(1000);

[login to view URL](P10, LOW);

delay(1000);

}

Arduino Microcontrolador Programación en C Arquitectura de software

Nº del proyecto: #38591231

Sobre el proyecto

3 propuestas Proyecto remoto Activo hace 3 meses

Adjudicado a:

muhammad973324

With a passion for electrical engineering and in-depth knowledge of Arduino, I am confident in not only adapting the GitHub project you've mentioned but also exceeding your expectations. My profile showcases my experie Más

$40 USD en 7 días
(0 comentarios)
0.0

3 freelancers están ofertando un promedio de $27 por este trabajo

rajeevnewnetlink

Hello Lindic, I'm excited about the opportunity to work on your PlatformIO Framework Arduino project. With my extensive experience in C programming and software architecture, I can seamlessly adapt the Github project Más

$21 USD en 3 días
(11 comentarios)
5.0
Alu

Hi, I have read carefully your requirements, and i am confident that i am a suitable candidate for this task, i am a passionate full stack developer, I hold the degree of Masters in Computer Science,i have more than 14 Más

$20 USD en 7 días
(0 comentarios)
0.0