Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 9,896
» Latest member: jasoncamp
» Forum threads: 4,232
» Forum posts: 20,983

Full Statistics

Online Users
There are currently 81 online users.
» 1 Member(s) | 67 Guest(s)
Amazonbot, Crawl, PetalBot, Semrush, bot, admin

Latest Threads
Pi5R8 Bundle B (CM5 Lite)...
Forum: Pi5R8
Last Post: admin
Less than 1 minute ago
» Replies: 3
» Views: 5
Modbus 485 extender kcs V...
Forum: N30
Last Post: admin
6 hours ago
» Replies: 3
» Views: 13
"KCS" v3.27.2 firmware BI...
Forum: "KCS" v3 firmware
Last Post: admin
Yesterday, 02:40 AM
» Replies: 0
» Views: 38
N10 - ESPHome - ARM CPU s...
Forum: N10
Last Post: admin
09-10-2026, 11:49 PM
» Replies: 3
» Views: 34
extend KC868-A16v3
Forum: KC868-A series and Uair Smart Controller
Last Post: admin
09-10-2026, 11:48 PM
» Replies: 1
» Views: 12
"KCS" v2.2.21 firmware BI...
Forum: "KCS" v2 firmware system
Last Post: admin
09-10-2026, 12:13 PM
» Replies: 5
» Views: 100
KC868-A16 Outputs Y01-Y16...
Forum: KC868-A16
Last Post: admin
09-09-2026, 11:15 PM
» Replies: 1
» Views: 26
wish
Forum: KC868-A16v3
Last Post: admin
09-09-2026, 01:14 PM
» Replies: 5
» Views: 84
⚡ 40 Buttons, 36 Lighting...
Forum: DIY Project
Last Post: viko
09-09-2026, 11:39 AM
» Replies: 22
» Views: 531
B32M maximum voltage
Forum: DIY Project
Last Post: velifetime
09-08-2026, 07:01 AM
» Replies: 2
» Views: 335

  Serial Monitoring
Posted by: joe.sfeir@gmail.com - 04-30-2025, 03:03 AM - Forum: T16M - No Replies

Hi,

I am using Serial.begin() and Serial.println() but I see nothing in my Serial Monitor (Platformio). What could the problem be?

I am using 115200 as monitoring speed (configured in platformio.ini) and my Serial monitor is configured with the same rate.

I am using the demo code below:

Code:
/*
* Made by KinCony IoT: https://www.kincony.com
*
* This program reads 16 input states from a PCF8575 I/O expander and
* controls a corresponding 16-channel relay module. When an input pin
* is LOW, the corresponding relay is turned ON (LOW means ON for the relay).
* When the input pin is HIGH, the corresponding relay is turned OFF.
*
* Pin Definitions:
* - SDA: GPIO 11
* - SCL: GPIO 12
* - Input I2C Address: 0x24
* - Relay I2C Address: 0x25
*/

#include <Wire.h>        // I2C communication
#include <PCF8575.h>     // Library to control the PCF8575 I/O expander

// Define I2C pins
#define SDA 11           // SDA pin
#define SCL 12           // SCL pin

// I2C addresses
#define INPUT_I2C_ADDRESS 0x24   // I2C address for the input PCF8575 module
#define RELAY_I2C_ADDRESS 0x25   // I2C address for the relay PCF8575 module

PCF8575 pcf8575_IN(INPUT_I2C_ADDRESS);    // Create an object for the input PCF8575
PCF8575 pcf8575_RL(RELAY_I2C_ADDRESS);    // Create an object for the relay PCF8575

void setup() {
  // Initialize I2C communication
  Wire.begin(SDA, SCL);

  // Initialize serial communication
  Serial.begin(115200);

  // Initialize input and relay modules
  pcf8575_IN.begin();
  pcf8575_RL.begin();

  // Turn off all relays at the start
  for (int i = 0; i < 16; i++) {
    pcf8575_RL.write(i, LOW);  // Assuming relays are LOW when OFF, setting all relays to OFF initially
  }

  Serial.println("System started: Input state controlling 16 relays");
}

void loop() {
  uint16_t inputState = 0;

  // Read the state of 16 inputs
  for (int i = 0; i < 16; i++) {
    if (pcf8575_IN.read(i)) {
      inputState |= (1 << i);  // If input is HIGH, set the corresponding bit
    } else {
      inputState &= ~(1 << i); // Otherwise, clear the corresponding bit
    }
  }

  Serial.println("Test Point...");

  // Control the relays based on the input state
  for (int i = 0; i < 16; i++) {
    if (inputState & (1 << i)) {
      pcf8575_RL.write(i, HIGH);  // If input is HIGH, turn the relay OFF
    } else {
      pcf8575_RL.write(i, LOW);   // If input is LOW, turn the relay ON
    }
  }

  // Delay for 500 milliseconds
  delay(500);
}


Thanks

Print this item

  RF with KCS-firmware
Posted by: jve91 - 04-29-2025, 05:57 PM - Forum: F16 - Replies (1)

Tried to copy some RF-remotes i had laying around.
I go the RF-page and hit the "learn" button. all i got is a timeout.

Is there anything that needs to be done first to receive the RF-signals?
I tried this running v3.9.1.

Print this item

  Does the KC868-A6 V1.4 board provide a 5V output for DS18B20 sensors?
Posted by: GetBK - 04-29-2025, 12:04 PM - Forum: KC868-A6 - Replies (1)

Hi everyone,
I'm using the Kincony KC868-A6 V1.4 board and planning to connect several DS18B20 temperature sensors. I know these sensors can work with 3.3V, but they tend to be more stable with a 5V power supply—especially when using longer cables.
Does this board provide a dedicated 5V output pin that I can use to power the DS18B20 sensors? If so, where exactly can I find it on the board?
Any help or insights would be greatly appreciated!
Thanks in advance!

Print this item

Exclamation Problems wifi / ESPHome?
Posted by: S.Krans - 04-29-2025, 10:59 AM - Forum: KC868-A128 - Replies (9)

Can somebody test my code my wifi is dropping and cant connect to it after the update esphome


ESPHome Device Builder 
Current version: 2025.4.1

Home Assistant
Core 2025.4.4
Supervisor 2025.04.1
Operating System 15.2
Frontend 20250411.0

Network 
UniFi OS 4.2.9
Network 9.0.114



Attached Files
.txt   koi-rk-kincony-kc868-a128_logs.txt (Size: 12.57 KB / Downloads: 453)
.txt   default-code.txt (Size: 618 bytes / Downloads: 452)
.txt   full code.txt (Size: 40.64 KB / Downloads: 406)
Print this item

  PlatformIO Programming
Posted by: joe.sfeir@gmail.com - 04-29-2025, 10:25 AM - Forum: T16M - Replies (1)

Hi, NooB Here.

Trying to program the ESP32 in PlatformIO:

1. Which ESP32 S3 chip should I configure when creating the project in PlatformIO?

2. How do I make it connect to upload? Do I need to hold a button before uploading? I tried holding the DL button but it didn't connect. Same for the RST button.

Thanks

Print this item

  Relay type - Can I use DC?
Posted by: polarkreis - 04-28-2025, 05:41 PM - Forum: KC868-A32/A32 Pro - Replies (1)

Can I use 24V DC instead of 230V AC on relays?

I would like to use them to activate my 24VDC activated contactor (and then contactor would let 230V AC to pass through).

Print this item

  KC868-A6 PCB layout CAD file
Posted by: admin - 04-28-2025, 12:46 PM - Forum: Schematic & diagram & Dimensions of KinCony PCB layout CAD file - No Replies

KC868-A6 PCB layout CAD file



Attached Files
.zip   KC868_A6_V104SP.zip (Size: 255.69 KB / Downloads: 940)
Print this item

  KC868-A4 PCB layout CAD file
Posted by: admin - 04-28-2025, 12:44 PM - Forum: Schematic & diagram & Dimensions of KinCony PCB layout CAD file - No Replies

KC868-A4 PCB layout CAD file



Attached Files
.zip   KC868-A4-V1.2.6-20250410.zip (Size: 436.78 KB / Downloads: 783)
Print this item

  KC868-A2 PCB layout CAD file
Posted by: admin - 04-28-2025, 12:43 PM - Forum: Schematic & diagram & Dimensions of KinCony PCB layout CAD file - No Replies

KC868-A2 PCB layout CAD file



Attached Files
.zip   KC868-A2-V2.4.zip (Size: 174.83 KB / Downloads: 771)
Print this item

  KC868-A4 power consumption
Posted by: peacemakerv - 04-28-2025, 12:09 PM - Forum: KC868-A series and Uair Smart Controller - Replies (3)

Hi, All

If to use it by default only for relay control - what is the power consumption from 12VDC source ?
Also A4 and A6 models this info is needed (default power consumption).

Print this item