Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Not able to upload arduino code to A16v3 board
#1
I am using a kincony A16v3 board for my project. I have tried to upload my arduino code to the board. But the code is not uploading. I have powered the board with 12v supply. And have connected the board to my pc via usb type c cable. 

Chosen nodemcu 32s in boards. But its not working. How to check what have gone wrong ?. Or if any further details required, let me know
Reply
#2
A16v3 board, use ESP32-S3 , so you can't chose nodemcu32s, you should chose "ESP32S3 DEV".
Reply
#3
Photo 
(04-09-2025, 11:41 PM)admin Wrote: A16v3 board, use ESP32-S3 , so you can't chose nodemcu32s, you should chose "ESP32S3 DEV".

      We have Done that and attached the photos also. Please provide the steps to configure the details and we are facing issues in the DI and DO and Display function in ESP32.

Note: We have uploaded the code in ESP32, but its not operating as per the code functions.


Attached Files Image(s)
   
Reply
#4
if you want use serial port by ESP32-S3, you should enable "USB CDC on boot" this option. see the image.
   
Reply
#5
I have tired and the serial communication is working, but the digital pins are not working. Its not going high for the following code. kindly help

Code:
#include "Arduino.h"
#include "PCF8574.h"
#include "wire.h"


// Set i2c address
PCF8574 pcf8574_1(0x24,4,5);
PCF8574 pcf8574_2(0x25,4,5);

void setup()
{
  Serial.begin(115200);

  pcf8574_1.pinMode(P0, OUTPUT);
  pcf8574_1.pinMode(P1, OUTPUT);
  pcf8574_1.pinMode(P2, OUTPUT);
  pcf8574_1.pinMode(P3, OUTPUT);
  pcf8574_1.pinMode(P4, OUTPUT);
  pcf8574_1.pinMode(P5, OUTPUT);
  pcf8574_1.pinMode(P6, OUTPUT);
  pcf8574_1.pinMode(P7, OUTPUT);

  pcf8574_2.pinMode(P0, OUTPUT);
  pcf8574_2.pinMode(P1, OUTPUT);
  pcf8574_2.pinMode(P2, OUTPUT);
  pcf8574_2.pinMode(P3, OUTPUT);
  pcf8574_2.pinMode(P4, OUTPUT);
  pcf8574_2.pinMode(P5, OUTPUT);
  pcf8574_2.pinMode(P6, OUTPUT);
  pcf8574_2.pinMode(P7, OUTPUT);


    Serial.print("Init pcf8574_1...");
    if (pcf8574_1.begin()){
        Serial.println("PCF8574_1_OK");
    }else{
        Serial.println("PCF8574_1_KO");
    }

  Serial.print("Init pcf8574_2...");
  if (pcf8574_2.begin()){
    Serial.println("PCF8574_2_OK");
  }else{
    Serial.println("PCF8574_2_KO");
  }


}

void loop()
{
  pcf8574_1.digitalWrite(P7, LOW);
  pcf8574_1.digitalWrite(P6, LOW);
  pcf8574_1.digitalWrite(P5, LOW);
  pcf8574_1.digitalWrite(P4, LOW);
  pcf8574_1.digitalWrite(P3, LOW);
  pcf8574_1.digitalWrite(P2, LOW);
  delay(1000);
  pcf8574_1.digitalWrite(P7, HIGH);
  pcf8574_1.digitalWrite(P6, HIGH);
  pcf8574_1.digitalWrite(P5, HIGH);
  pcf8574_1.digitalWrite(P4, HIGH);
  pcf8574_1.digitalWrite(P3, HIGH);
  pcf8574_1.digitalWrite(P2, HIGH);
  delay(1000);

  pcf8574_2.digitalWrite(P7, LOW);
  delay(1000);
  pcf8574_2.digitalWrite(P7, HIGH);
  delay(1000);
}
Reply
#6
do you test short the digital input with GND? can you take a photo, how you test with terminal?
Reply


Forum Jump:


Users browsing this thread:
1 Guest(s)