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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 8,380
» Latest member: alhazzem5
» Forum threads: 3,653
» Forum posts: 18,879

Full Statistics

Online Users
There are currently 17 online users.
» 0 Member(s) | 9 Guest(s)
AhrefsBot, Amazonbot, bot

Latest Threads
Connect um330 and kc828 a...
Forum: DIY Project
Last Post: gtd0916
4 minutes ago
» Replies: 26
» Views: 3,396
KC868-M16v2 configure yam...
Forum: KC868-M16 / M1 / MB / M30
Last Post: admin
37 minutes ago
» Replies: 141
» Views: 25,921
KC868-HAv2 work with F24 ...
Forum: KC868-HA /HA v2
Last Post: admin
1 hour ago
» Replies: 3
» Views: 640
Problema a cargar .bin al...
Forum: KC868-A2
Last Post: admin
1 hour ago
» Replies: 3
» Views: 25
N30 Energy entry not work...
Forum: N30
Last Post: admin
1 hour ago
» Replies: 20
» Views: 315
flash Kincony software to...
Forum: DIY Project
Last Post: admin
1 hour ago
» Replies: 3
» Views: 21
"SmartLife" wifi transmit
Forum: TA
Last Post: admin
Yesterday, 12:17 AM
» Replies: 7
» Views: 39
Kc868a newbie questions
Forum: KC868-A series and Uair Smart Controller
Last Post: admin
Yesterday, 12:16 AM
» Replies: 5
» Views: 123
KINCONY IN KSA
Forum: DIY Project
Last Post: admin
Yesterday, 12:15 AM
» Replies: 1
» Views: 15
T16M not responding on US...
Forum: T16M
Last Post: admin
01-05-2026, 12:14 PM
» Replies: 3
» Views: 23

  KC868 Outputs not working
Posted by: blazej.k - 09-05-2024, 07:11 PM - Forum: KC868-A16 - Replies (3)

It seems that my outputs are not working (no leds, no voltage change).

I measured the voltage on the optocuplers and its ~1.1 V beetween optoupler legs (as on image):

   

I tride official firmware and esphome, both are responding to commands (on = 1.1V, off = 0.0V)

Print this item

  RS232 Connection
Posted by: theuscp - 09-05-2024, 03:11 PM - Forum: KC868-A16 - Replies (1)

Can I connect an RS232 or TTL display directly to the KC868-A16, or do I need to use an adapter to connect it to RS485?

Print this item

  Sample for Education (A)
Posted by: rycerzziarna - 09-05-2024, 06:44 AM - Forum: Apply for free sample product - No Replies

Hello,

I would like to get one KC868-A4 sample for educational purposes.

Print this item

  "KCS" v2.4.7 firmware for M30 AC Energy Meter
Posted by: admin - 09-05-2024, 04:35 AM - Forum: "KCS" v2 firmware system - Replies (8)

Here is "KCS" firmware for KinCony M30 AC energy meter board.

.zip   KCS_M30_V2.4.7.zip (Size: 733.5 KB / Downloads: 483)
make sure your M30 ARM CPU firmware >= M30_KU_V10_240904SP

here is link for ARM CPU firmware: 

.zip   M30_KU_V10_240904SP.zip (Size: 9.7 KB / Downloads: 513)
KinCony ARM CPU download tool:

.zip   KC868 Controller Bootloader.zip (Size: 8.56 KB / Downloads: 452)
use USB-RS485 adapter to update ARM CPU, make sure baud set to 38400bps.
   

v2.4.7 improment:
1. support display power with negative. support use for "generator", power feedback to power grid.
   

Print this item

  KC868-A32 DS18B20 temperature sensor
Posted by: stanchiam - 09-05-2024, 01:16 AM - Forum: "KCS" v2 firmware system - Replies (12)

Hi,

I want to install DS18B20 sensor and use it instead of analog temperature sensor which is not accurate.
Will be using one of the gpio on the white serial port. 

As kcs firmware does not support A32 with DS18B20 sensor, how to make it work.
I can write arudino code to get the temperature if needed, but how can it be use together with kcs firmware?
Need some help. Thank you.

Print this item

  ALR LoRa firmware for home assistant enabled AUTO DISCOVERY
Posted by: admin - 09-05-2024, 12:42 AM - Forum: KinCony ALR - Replies (23)

here is KinCony firmware for ALR LoRa board - ALR. it support control relay , monitor DS18B20 temperature and 4 channel analog input, 1 channel digital input state in home assistant by MQTT. You not need config any code for home assistant yaml. Because we have design firmware enabled MQTT auto discovery for home assistant.
   

here are two ALR board.  one work as RECEIVER(gateway), another work as TRANSMIT(read sensor state, control relay), just set DIP switch on PCB, let two board same DIP state, so that they will communication with each other, easy!

   

RECEIVER(gateway) board's LCD displayer will show MQTT broker connection state, LoRa signal value and how many LoRa package have received.
TRANSMIT board's LCD displayer will show DS18B20 temperature value,  LoRa signal value and how many LoRa package have sent.

   

here is two firmware BIN file for different board:
for RECEIVER board:
.zip   ALR-RECEIVER-20240904.ino.merged.zip (Size: 614.04 KB / Downloads: 488)
for TRANSMIT board: 
.zip   ALR-TRANSMIT_20240904.ino.merged.zip (Size: 606.17 KB / Downloads: 427)

download firmware by ESP32 DOWNLOAD TOOL:
   
chose ESP32-S3 and USB mode.

   
chose RECEIVER board's firmware and set address to 0x0

   
chose TRANSMIT board's firmware and set address to 0x0

set router's wifi ssid, password, mqtt broker ip, mqtt port, mqtt username, mqtt password for RECEIVER board via USB-C cable.

config json command:
{
  "wifi_name":"KinCony",
  "wifi_psw":"a12345678",
  "mqtt_ip":"192.168.3.124",
  "mqtt_port":"1883",
  "mqtt_user":"mqtt",
  "mqtt_psw":"123"
}

   
serial port debug tool download:

.zip   UartAssist.zip (Size: 468.4 KB / Downloads: 464)

after config complete and reboot. you can see KinCony ALR board is showed on home assistant DEVICE list:
   

you can add these entities to home assistant dashboard.
   

Print this item

  KC868 A6 User Guide
Posted by: ivpl@optusnet.com.au - 09-05-2024, 12:02 AM - Forum: KC868-A series and Uair Smart Controller - Replies (11)

Hi, I Have just purchased a KC868 A6 unit and would like to see a user guide on how to connect to this device and upload a program to it from Arduino IDE.

I've tried searching but have not yet found a user guide for the A6.

Thank You

Print this item

  "KCS" v2.2.4 firmware BIN file download
Posted by: admin - 09-04-2024, 11:32 PM - Forum: "KCS" v2 firmware system - Replies (8)

Here is "KCS" firmware for KinCony KC868-A series (ESP32) board.
How to download and use, online guide: https://www.kincony.com/esp32-kcsv2-firmware.html

v2.2.4 improment:
1. replaced new DHT sensor's driver.
2. fixed MQTT protocol format bug.



Attached Files
.zip   KCS_KC868_AIO_V2.2.4.zip (Size: 805.72 KB / Downloads: 415)
.zip   KCS_KC868_AK_V2.2.4.zip (Size: 766.78 KB / Downloads: 394)
.zip   KCS_KC868_AM_V2.2.4.zip (Size: 781.63 KB / Downloads: 422)
.zip   KCS_KC868_AP_V2.2.4.zip (Size: 784.23 KB / Downloads: 376)
.zip   KCS_KC868_ASR_V2.2.4.zip (Size: 761.11 KB / Downloads: 398)
.zip   KCS_KC868_E16S_V2.2.4.zip (Size: 790.79 KB / Downloads: 422)
.zip   KCS_KC868_UAIR_V2.2.4.zip (Size: 767.67 KB / Downloads: 397)
.zip   KCS_KC868_A2_V2.2.4.zip (Size: 794.6 KB / Downloads: 396)
.zip   KCS_KC868_A4_V2.2.4.zip (Size: 781.71 KB / Downloads: 442)
.zip   KCS_KC868_A4S_V2.2.4.zip (Size: 805.34 KB / Downloads: 413)
.zip   KCS_KC868_A6_V2.2.4.zip (Size: 779.79 KB / Downloads: 516)
.zip   KCS_KC868_A8_V2.2.4.zip (Size: 788.5 KB / Downloads: 492)
.zip   KCS_KC868_A8M_V2.2.4.zip (Size: 804.71 KB / Downloads: 419)
.zip   KCS_KC868_A8S_V2.2.4.zip (Size: 806.39 KB / Downloads: 451)
.zip   KCS_KC868_A16_V2.2.4.zip (Size: 795.95 KB / Downloads: 603)
.zip   KCS_KC868_A16S_V2.2.4.zip (Size: 806.61 KB / Downloads: 433)
.zip   KCS_KC868_A32_V2.2.4.zip (Size: 786.12 KB / Downloads: 444)
.zip   KCS_KC868_A32M_V2.2.4.zip (Size: 804.14 KB / Downloads: 401)
.zip   KCS_KC868_A64_V2.2.4.zip (Size: 786.21 KB / Downloads: 393)
.zip   KCS_KC868_A128_V2.2.4.zip (Size: 786.33 KB / Downloads: 374)
.zip   KCS_KC868_AG_V2.2.4.zip (Size: 764.49 KB / Downloads: 425)
.zip   KCS_KC868_AI_V2.2.4.zip (Size: 788.72 KB / Downloads: 421)
Print this item

Lightbulb RS485 Temperature and Humidity Sensor Modbus RTU
Posted by: Trapasin - 09-04-2024, 11:18 AM - Forum: Extender module - Replies (17)

RS485 Temperature and Humidity Sensor Modbus RTU Use By SHT30
https://shop.kincony.com/products/rs485-...e-by-sht30

Please tell me the parameters of the Sensor to connect it to the controller via the MODBUS bus

1. Device address: What is the default address, how can it be changed?
2. Data transfer rate (Baud Rate)
3. Number of stop bits
4. Number of data bits
5. Parity
6. Transfer type: RTU or ASCII
7. Bus type: I use 4 wires: RS-485
8. Timeouts and delays: which are preferable for it?

Print this item

  Modbus
Posted by: charles.garand - 09-04-2024, 10:56 AM - Forum: Extender module - No Replies

Hi!

anybody had implement Modbus ?
I'm having hard time to get mine working.
I'm using esp32ModbusRTU library.

here is my code;

esp32ModbusRTU modbus(&Serial1, -1); 


void modbusTask(void *pvParameters) {
  Serial1.begin(4800, SERIAL_8N1, RX, TX); 
  printf("Serial1 initialized for Modbus\n");
  vTaskDelay(pdMS_TO_TICKS(1000)); 

    // callbacks  Modbus
    modbus.onData([](uint8_t serverAddress, esp32Modbus::FunctionCode fc, uint8_t* data, size_t length) {
        printf("Modbus Response Received - Server ID: 0x%02x, Function Code: 0x%02x, Length: %u\n", serverAddress, fc, length);
        for (size_t i = 0; i < length; ++i) {
            printf("%02x ", data[i]);
        }
        printf("\n");
    });

    modbus.onError([](esp32Modbus::Error error) {
        printf("Modbus Error: 0x%02x\n", static_cast<uint8_t>(error));
    });

   
    modbus.begin();
  vTaskDelay(pdMS_TO_TICKS(1000)); 

   
    while (true) {
        modbus.readHoldingRegisters(0x01, 0x0000, 4); 
        //vTaskDelay(pdMS_TO_TICKS(1000)); 
    }
}

extern "C" void app_main(void)
{
  vTaskDelay(6000 / portTICK_PERIOD_MS);
  printf("Hello world!\n");
 
    xTaskCreate(modbusTask, "modbusTask", 8192, NULL, 5, NULL);

    while (true) {
        std::cout << "In the while\n" << std::endl;
        //vTaskDelay(pdMS_TO_TICKS(1000));
    }

}

...
#include <esp32ModbusRTU.h>
#include "driver/uart.h"

// Declaration Modbus
esp32ModbusRTU modbus(&Serial1, 10); // 10 is arbitary GPIO because don't use RTS pin


void modbusTask(void *pvParameters) {
// Configurer la communication UART pour Modbus
Serial1.begin(4800, SERIAL_8N1, RX, TX); // Initialise Serial1
printf("Serial1 initialized for Modbus\n");
vTaskDelay(pdMS_TO_TICKS(1000)); // stabilisation time

// Configurer les callbacks de Modbus
modbus.onData([](uint8_t serverAddress, esp32Modbus::FunctionCode fc, uint8_t* data, size_t length) {

printf("Modbus Response Received - Server ID: 0x%02x, Function Code: 0x%02x, Length: %u\n", serverAddress, fc, length);

if (length % 2 != 0) {
printf("Invalid data length\n");
return;
}

for (size_t i = 0; i < length; i += 2) {
uint16_t value = (data[i] << 8) | data[i + 1];
if(i < 5)
value = value / 10;
printf("Register %zu: %u \n", i / 2, value);
}

printf("\n");
});

modbus.onError([](esp32Modbus::Error error) {
printf("Modbus Error: 0x%02x\n", static_cast<uint8_t>(error));
});

// start Modbus
modbus.begin();
vTaskDelay(pdMS_TO_TICKS(1000)); // wait 1 sec to stabilise

while (true) {
modbus.readHoldingRegisters(0x01, 0x0000, 5); // slave address: 0x01
vTaskDelay(pdMS_TO_TICKS(1000));
}
}

extern "C" void app_main(void)
{
xTaskCreate(modbusTask, "modbusTask", 8192, NULL, 5, NULL);

while (true) {
std::cout << "In the while\n" << std::endl;
vTaskDelay(pdMS_TO_TICKS(2000));
}

}

Print this item