Posts: 3
Threads: 1
Joined: Apr 2025
Reputation:
0
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
Posts: 7,821
Threads: 982
Joined: Oct 2020
Reputation:
196
A16v3 board, use ESP32-S3 , so you can't chose nodemcu32s, you should chose "ESP32S3 DEV".
Posts: 3
Threads: 1
Joined: Apr 2025
Reputation:
0
04-10-2025, 08:41 AM
(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)
Posts: 7,821
Threads: 982
Joined: Oct 2020
Reputation:
196
if you want use serial port by ESP32-S3, you should enable "USB CDC on boot" this option. see the image.
Posts: 3
Threads: 1
Joined: Apr 2025
Reputation:
0
04-12-2025, 01:40 PM
(This post was last modified: 04-12-2025, 04:55 PM by ematicenergies .)
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);
}
Posts: 7,821
Threads: 982
Joined: Oct 2020
Reputation:
196
do you test short the digital input with GND? can you take a photo, how you test with terminal?