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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 9,094
» Latest member: ethanhawkins
» Forum threads: 4,004
» Forum posts: 20,314

Full Statistics

Online Users
There are currently 61 online users.
» 0 Member(s) | 54 Guest(s)
Amazonbot, Baidu, Bing, bot

Latest Threads
[arduino code examples fo...
Forum: F24
Last Post: admin
3 hours ago
» Replies: 2
» Views: 864
Cant flash esphom
Forum: B16M
Last Post: lulu01
9 hours ago
» Replies: 23
» Views: 710
Request for firmware H32
Forum: KC868-HxB series Smart Controller
Last Post: admin
Yesterday, 11:22 AM
» Replies: 1
» Views: 11
how to use KC868-A8 with ...
Forum: KC868-A8
Last Post: admin
Yesterday, 11:20 AM
» Replies: 0
» Views: 12
MODBUS
Forum: KC868-A2v3
Last Post: admin
Yesterday, 10:05 AM
» Replies: 5
» Views: 35
problem with kc868 has v2
Forum: News
Last Post: admin
Yesterday, 08:08 AM
» Replies: 13
» Views: 133
KC868-HA v2 firmware V200...
Forum: KC868-HA /HA v2
Last Post: admin
Yesterday, 12:37 AM
» Replies: 8
» Views: 1,960
KC868-HA RS485 INPUT & OU...
Forum: KC868-A series and Uair Smart Controller
Last Post: admin
Yesterday, 12:36 AM
» Replies: 55
» Views: 27,735
automations yaml for read...
Forum: Pi5R16
Last Post: admin
05-25-2026, 11:22 PM
» Replies: 0
» Views: 8
home assistant configurat...
Forum: Pi5R16
Last Post: admin
05-25-2026, 11:19 PM
» Replies: 0
» Views: 14

Question convertir los 4 pines analogicos de 0-5v
Posted by: kobashi - 05-11-2023, 11:00 PM - Forum: KC868-E16S/E16P - Replies (1)

Hola, tengo la placa "kc869-e16s" y necesito convertir las 4 entradas analogias en entradas de 0-5 voltios, me pueden apoyar.
saludos

Print this item

  Free sample to create a demonstration system
Posted by: lubos123 - 05-11-2023, 02:32 PM - Forum: Apply for free sample product - No Replies

Hello,
I'm a student at BUT Brno in the Czech Republic at the Faculty of Electrical Engineering. I am interested in IOT. At work, where I go, I want to suggest that we start doing Smart Home on your system. We often do electrical installations, and also consulting projects. I mean, if we learn with your system and implementation in HomeAssistant(We have built a few homes on HomeAssistant) I think we could buy products from you more often. So I would like to design my own smaller smart switchboard at home to show the company that this system has potential. So I guess my situation corresponds to situation B, start a Project.
If you grant the request, I would be interested in the KC868-A4.
Thank you very much for reading.
Sincerely Lubos Chmelař

Print this item

  Rebooting Core 0 panic'ed (LoadProhibited). Exception was unhandled.
Posted by: rha - 05-11-2023, 12:04 PM - Forum: KC868-A series and Uair Smart Controller - Replies (1)

Sometimes, board restarting with this error.

Guru Meditation Error: Core  0 panic'ed (LoadProhibited). Exception was unhandled.
Core 0 register dump:
PC      : 0x4008b1e0  PS      : 0x00060033  A0      : 0x800899b2  A1      : 0x3ffbf840 
A2      : 0x00000000  A3      : 0x3ffc6b64  A4      : 0x9ffc6b64  A5      : 0x00000001 
A6      : 0x00060820  A7      : 0x00000000  A8      : 0x8008b0a9  A9      : 0x3ffbf810 
A10    : 0x20000001  A11    : 0x3ffbc308  A12    : 0x00000001  A13    : 0x00000001 
A14    : 0x00060021  A15    : 0x00000000  SAR    : 0x00000016  EXCCAUSE: 0x0000001c 
EXCVADDR: 0x9ffc6b64  LBEG    : 0x00000000  LEND    : 0x00000000  LCOUNT  : 0x00000000 
Core 0 was running in ISR context:
EPC1    : 0x4008b1e0  EPC2    : 0x00000000  EPC3    : 0x00000000  EPC4    : 0x00000000



ELF file SHA256: 0000000000000000

Backtrace: 0x4008b1e0:0x3ffbf840 0x400899af:0x3ffbf860 0x4008c049:0x3ffbf880 0x40086f9a:0x3ffbf890 0x401448c7:0x3ffbc210 0x40131667:0x3ffbc230 0x4008b071:0x3ffbc250 0x400898c2:0x683ffbc2

Rebooting...

How solve it ? Is it hardware problem ?

THX

Print this item

  Electrical Control Design for Yacht - Need Help
Posted by: sandog - 05-11-2023, 04:33 AM - Forum: DIY Project - Replies (4)

I have designed a control system for a refit of my boat.

The break panel/control panel will be in the engine room, and would like to be able to turn things on and off at the helm, via a dedicated touchscreen.

There are 11 pumps, I would like to be able to see if they are turned on, for how long and if after a preset time, give out a warning.  

electrical layout

would love some feedback and/or corrections.  Trying to order equipment this week.

Print this item

  Sample code for SIM800L and schematics
Posted by: ebelingtec - 05-10-2023, 04:00 PM - Forum: KC868-A2 - Replies (10)

Hello everyone!

I would like to kinldy ask for some help with the KC868-A2. I am unable to communicate with the SIM800L module. I have tried to use the example code for KC868-A8S sms-relay and adapt it but it didn't work.

I have changed the Serial2 pins in "HardwareSerial.cpp" to RX2 34 and TX2 13.

Could you provide me with an Arduino source code for the KC868-A2 with the SIM800L module?

Thank you Blush

Print this item

  K868-A4 Code help
Posted by: Rory - 05-09-2023, 03:01 PM - Forum: KC868-A4 - Replies (1)

Hi im very new to this and have been trying to find sample code to amend to do the following

Digital input 1 pulse count
 
Digital input 2 pulse count
 
Digital input 3 Reset Button 
 
If input 1 = input 2 + 100 pulses

Then switch com1 status to nc1

Print this item

  KC868-A6 click modes
Posted by: alexlans - 05-09-2023, 02:43 PM - Forum: "KCS" v2 firmware system - Replies (13)

Hello.
I have already add my KC868-A6 by MQTT as binary sensors.

binary_sensor:

- name: 'a6-kcs-input-1'
  unique_id: a6-kcs-input-1
  state_topic: 'KC868_A6/B8D61A5C5304/STATE'
  value_template: '{{ value_json.input1.value }}'
  payload_on: true
  payload_off: false

How i can make work in modes "single click", "double click", "hold on"?

Print this item

  A4S water level sensor to Esphome
Posted by: mvtech2430 - 05-09-2023, 12:04 PM - Forum: KC868-A4 - Replies (1)

Hello need help,

I have this 2 sensor water level and pressure sensor but i dont know how to program it to ESPHome i cant see any code using this sensor in the internet hopefully anyone here can or know how to write the code. please see attached picture for reference.

I want to measure the level on how many percent of the tank like 100% is full and 50% half etc.

And the pressure of the water pipe like if 30psi to 70psi something like that.

Both output are 0-5V
My water tank is 3M height 

Thanks in advance



Attached Files Thumbnail(s)
       
Print this item

  KC868 A4 Relay not working
Posted by: Markii - 05-09-2023, 07:18 AM - Forum: KC868-A4 - Replies (1)

I recently buy this product may 28 2023,
Now i install esphome to home assistant, HA is installed to my windows pc using vmware. After i install this are the pictures and videos.


Please help



Attached Files Thumbnail(s)
       
Print this item

  code not working
Posted by: soccer - 05-08-2023, 08:53 PM - Forum: KC868-A16 - Replies (3)

Could someone tell what is wrong in the code? it's not working with a hmi delta dop-107EV, I don't know what could be an error in the code.


#include <WiFi.h>
#include <ETH.h>
#include <ModbusIP_ESP8266.h>
#include <SPI.h>
#include <Ethernet.h>
#include <PCF8574.h>
////////////////////////////////////////////////////////////////////
#define ETH_ADDR        0
#define ETH_POWER_PIN  -1
#define ETH_MDC_PIN    23
#define ETH_MDIO_PIN  18 
#define ETH_TYPE      ETH_PHY_LAN8720
#define ETH_CLK_MODE  ETH_CLOCK_GPIO17_OUT
const int port = 502;
////////////////////////////////////////////////////////////////////
TwoWire I2Cone = TwoWire(0);
//TwoWire I2Ctwo = TwoWire(1);

// Set i2c address
PCF8574 pcf8574_I1(&I2Cone, 0x21, 4, 5);
PCF8574 pcf8574_I2(&I2Cone, 0x22, 4, 5);

PCF8574 pcf8574_R1(&I2Cone, 0x24, 4, 5);
PCF8574 pcf8574_R2(&I2Cone, 0x25, 4, 5);
////////////////////////////////////////////////////////////////////
const int LED_COIL = 100;
const int ledPin = pcf8574_R1.pinMode (P1); //GPIO0
const int TEST_HREG = 100;
////////////////////////////////////////////////////////////////////
IPAddress staticIP(192, 168, 0, 40);
IPAddress gateway(192, 168, 0, 1);
IPAddress subnet(255, 255, 255, 0);
IPAddress dns(192, 168, 0, 1);
////////////////////////////////////////////////////////////////////
ModbusIP mb;
ETH mb;
void setup() {
  Serial.begin(115200);
  ETH.begin(ETH_ADDR, ETH_POWER_PIN, ETH_MDC_PIN, ETH_MDIO_PIN, ETH_TYPE, ETH_CLK_MODE);
  Serial.begin(115200);
  if (WiFi.config(staticIP, gateway, subnet, dns, dns) == false) {
    Serial.println("Configuration failed.");
  }
////////////////////////////////////////////////////////////////////
  // put your setup code here, to run once:
pcf8574_R1.pinMode(P0, OUTPUT);
pcf8574_R1.pinMode(P1, OUTPUT);
pcf8574_R1.pinMode(P2, OUTPUT);

pcf8574_I1.pinMode(P0, INPUT);
pcf8574_I1.pinMode(P1, INPUT);
pcf8574_I1.pinMode(P2, INPUT);
////////////////////////////////////////////////////////////////////
modbus.server(port);

  mb.addCoil(LED_COIL);
}

void loop() {
  // put your main code here, to run repeatedly:

      mb.task();

  //Attach ledPin to LED_COIL register
  digitalWrite(ledPin, mb.Coil(LED_COIL));
  delay(10);
}

Print this item