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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 4,498
» Latest member: fgjhggrgdd
» Forum threads: 2,287
» Forum posts: 11,890

Full Statistics

Online Users
There are currently 55 online users.
» 1 Member(s) | 36 Guest(s)
Bing, ChatGLM-Spider, Crawl, Facebook, Google, Iframely, PetalBot, Yandex, bot, facebookexternalhit, help@dataminr.com, luis15pt

Latest Threads
PWM support?
Forum: KC868-A16
Last Post: luis15pt
1 hour ago
» Replies: 2
» Views: 16
[arduino code examples fo...
Forum: KC868-A32/A32 Pro
Last Post: admin
4 hours ago
» Replies: 0
» Views: 3
USB ports
Forum: KinCony Server-Mini / Server-16 Raspberry Pi4 relay module
Last Post: BaconRanch
6 hours ago
» Replies: 2
» Views: 6
Lesson23- How to connect ...
Forum: KC868-A series and Uair Smart Controller
Last Post: admin
Yesterday, 10:11 AM
» Replies: 10
» Views: 7,155
KC868-AG RF - sending rep...
Forum: KC868-A series and Uair Smart Controller
Last Post: PhilW
Yesterday, 07:46 AM
» Replies: 3
» Views: 9
Usar entradas y oled i2c ...
Forum: KC868-A6
Last Post: sistemasyusa
Yesterday, 03:16 AM
» Replies: 4
» Views: 17
a16 as basis for a securi...
Forum: KC868-A16
Last Post: admin
09-18-2024, 11:58 PM
» Replies: 8
» Views: 54
GSM CALL RELAY
Forum: KC868-A2
Last Post: admin
09-18-2024, 11:53 PM
» Replies: 9
» Views: 4,108
KC868-A16S or KC868-A8S
Forum: KC868-A series and Uair Smart Controller
Last Post: admin
09-18-2024, 11:51 PM
» Replies: 3
» Views: 38
KCS firmware
Forum: KC868-A series and Uair Smart Controller
Last Post: admin
09-18-2024, 11:48 PM
» Replies: 10
» Views: 114

  [Arduino source code for KC868-1U]-01_DS18B20
Posted by: KinCony Support - 06-21-2023, 05:19 AM - Forum: KC868-1U - No Replies

[Arduino source code for KC868-1U]-01_DS18B20

Code:
#include <DS18B20.h>

DS18B20 ds1(14); 
void setup() {
  Serial.begin(115200);

}
void loop() {
      Serial.printf("Tem1 is %.2f C \n ",ds1.getTempC());
}

Print this item

  Node-Red demo for Server-Mini use by RELAY and INPUT
Posted by: admin - 06-21-2023, 04:07 AM - Forum: KinCony Server-Mini / Server-16 Raspberry Pi4 relay module - Replies (2)

   
   
   
   

Node-Red json file download:

.zip   KinCony_Server_Mini.zip (Size: 2.84 KB / Downloads: 409)

Print this item

  SERVER-MINI PCB python test code
Posted by: admin - 06-21-2023, 01:52 AM - Forum: KinCony Server-Mini / Server-16 Raspberry Pi4 relay module - Replies (7)

these python code use for test KinCony Server-Mini PCB hardware. you can test it locally or use remote login by putty tool. before test, install Raspberry Pi OS on SD card or eMMC (if your CM4 with eMMC)

.pdf   SERVER-MINI_test_python_code .pdf (Size: 1 MB / Downloads: 223)

.zip   putty-64bit-0.79-pre20230504-installer.zip (Size: 3.08 MB / Downloads: 381)

.zip   rpiboot_setup.zip (Size: 9.9 MB / Downloads: 178)

Print this item

  SERVER-MINI Raspberry Pi CM4 GPIO pins define
Posted by: admin - 06-21-2023, 01:27 AM - Forum: KinCony Server-Mini / Server-16 Raspberry Pi4 relay module - Replies (1)

   

Print this item

  Server-Mini hardware interface and resource
Posted by: admin - 06-21-2023, 01:26 AM - Forum: KinCony Server-Mini / Server-16 Raspberry Pi4 relay module - Replies (6)


.pdf   KinCony Server-Mini.pdf (Size: 12.97 MB / Downloads: 362)

Print this item

  KC868-1U configure yaml for ESPhome Home assistant
Posted by: admin - 06-21-2023, 01:23 AM - Forum: KC868-1U - No Replies

   

.txt   KC868-1U-ha-config.txt (Size: 5.76 KB / Downloads: 137)

esphome:
  name: 1u
  platform: ESP32
  board: esp32dev
 
 
remote_receiver:
  pin: 13
  dump:
    - rc_switch
  tolerance: 50%
  filter: 250us
  idle: 2ms
  buffer_size: 2kb
# Example configuration entry for ESP32
i2c:
  sda: 4
  scl: 16
  scan: true
  id: bus_a
# Example configuration entry
ethernet:
  type: LAN8720
  mdc_pin: GPIO23
  mdio_pin: GPIO18
  clk_mode: GPIO17_OUT
  phy_addr: 0
  # Optional manual IP
 # manual_ip:
 #   static_ip: 192.168.1.199
#    gateway: 192.168.1.1
#    subnet: 255.255.255.0  
# Example configuration entry
pcf8574:
  - id: 'pcf8574_hub_out_1'  # for output channel 1-8
    address: 0x24
  - id: 'pcf8574_hub_in_1'  # for input channel 1-8
    address: 0x22
# Individual outputs
switch:
  - platform: gpio
    name: "light1"
    id: light1
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 0
      mode: OUTPUT
      inverted: true
  - platform: gpio
    name: "light2"
    id: light2
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 1
      mode: OUTPUT
      inverted: true
     
  - platform: gpio
    name: "light3"
    id: light3
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 2
      mode: OUTPUT
      inverted: true
     
  - platform: gpio
    name: "light4"
    id: light4
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 3
      mode: OUTPUT
      inverted: true
     
  - platform: gpio
    name: "light5"
    id: light5
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 4
      mode: OUTPUT
      inverted: true      
     
  - platform: gpio
    name: "light6"
    id: light6
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 5
      mode: OUTPUT
      inverted: true
     
  - platform: gpio
    name: "light7"
    id: light7
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 6
      mode: OUTPUT
      inverted: true
  - platform: gpio
    name: "light8"
    id: light8
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 7
      mode: OUTPUT
      inverted: true
binary_sensor:
  - platform: gpio
    name: "input1"
    on_press:
      then:
        - switch.toggle: light1
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 0
      mode: INPUT
      inverted: true
  - platform: gpio
    name: "input2"
    on_press:
      then:
        - switch.toggle: light2
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 1
      mode: INPUT
      inverted: true
  - platform: gpio
    name: "input3"
    on_press:
      then:
        - switch.toggle: light3
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 2
      mode: INPUT
      inverted: true
  - platform: gpio
    name: "input4"
    on_press:
      then:
        - switch.toggle: light4
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 3
      mode: INPUT
      inverted: true
  - platform: gpio
    name: "input5"
    on_press:
      then:
        - switch.toggle: light5
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 4
      mode: INPUT
      inverted: true
  - platform: gpio
    name: "input6"
    on_press:
      then:
        - switch.toggle: light6
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 5
      mode: INPUT
      inverted: true
  - platform: gpio
    name: "input7"
    on_press:
      then:
        - switch.toggle: light7
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 6
      mode: INPUT
      inverted: true
  - platform: gpio
    name: "input8"
    on_press:
      then:
        - switch.toggle: light8
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 7
      mode: INPUT
      inverted: true
  - platform: remote_receiver
    name: "remoter1"
    rc_switch_raw:
      code: '001111010111001010111000'
      protocol: 1
    on_press:
      then:
        - switch.toggle: light1
    filters:
      - delayed_off: 200ms
  - platform: remote_receiver
    name: "remoter2"
    rc_switch_raw:
      code: '001111010111001010111100'
      protocol: 1
    on_press:
      then:
        - switch.toggle: light2
    filters:
      - delayed_off: 200ms
     
  - platform: remote_receiver
    name: "remoter3"
    rc_switch_raw:
      code: '001111010111001010110100'
      protocol: 1
    on_press:
      then:
        - switch.toggle: light3
    filters:
      - delayed_off: 200ms
     
  - platform: remote_receiver
    name: "remoter4"
    rc_switch_raw:
      code: '001111010111001010111001'
      protocol: 1
    on_press:
      then:
        - switch.toggle: light4
    filters:
      - delayed_off: 200ms  
   
  - platform: remote_receiver
    name: "remoter5"
    rc_switch_raw:
      code: '001111010111001010110010'
      protocol: 1
    on_press:
      then:
        - switch.toggle: light5
    filters:
      - delayed_off: 200ms
  - platform: remote_receiver
    name: "remoter6"
    rc_switch_raw:
      code: '001111010111001010110101'
      protocol: 1
    on_press:
      then:
        - switch.toggle: light6
    filters:
      - delayed_off: 200ms
     
  - platform: remote_receiver
    name: "remoter7"
    rc_switch_raw:
      code: '001111010111001010110001'
      protocol: 1
    on_press:
      then:
        - switch.toggle: light7
    filters:
      - delayed_off: 200ms
     
  - platform: remote_receiver
    name: "remoter8"
    rc_switch_raw:
      code: '001111010111001010110011'
      protocol: 1
    on_press:
      then:
        - switch.toggle: light8
    filters:
      - delayed_off: 200ms
     
# Enable logging
logger:
# Enable Home Assistant API
api:
dallas:
  - pin: 14
    update_interval: 5s
sensor:
  - platform: dallas
    address: 0xa538cee908646128
    name: "1U Temperature"

Print this item

  KC868-1U ESP32 I/O pin define
Posted by: admin - 06-21-2023, 01:21 AM - Forum: KC868-1U - No Replies

IIC SDA:4
IIC SCL:16

Relay_IIC_address 0x24

Input_IIC_address 0x22

DS18B20/DHT11/DHT21/LED strip -2: 14

RF433MHz wireless receiver: 13
IR Sender:5
IR Receiver:15

Ethernet (LAN8720) I/O define:

#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


RS485:
RXD:32
TXD:33

Buzzer:2

Print this item

Wink KinCony Server-Mini Raspberry Pi4 relay board released
Posted by: admin - 06-20-2023, 12:56 AM - Forum: News - No Replies

KinCony Server-Mini is a raspberry pi CM4 relay board for smart home automation and industrial automation control, it’s mini version of KC868-Server. Server-Mini smart controller support 8 channel relay output and wall switch connect to it directly. The most important is integrated Raspberry pi CM4 module. Relay and digital input port have connected with CM4 module’s GPIO directly. You can use Node-Red easy to control relay and read digital input port and use I2C bus extender.
[Image: Server-mini1_01.jpg]
[Image: Server-mini1_02.jpg]
[Image: Server-mini1_03.jpg]
[Image: Server-mini2_01.jpg]
[Image: Server-mini2_02.jpg]

Print this item

Question Specifications lack of information for KC868-HxB
Posted by: fomKLM - 06-18-2023, 10:41 AM - Forum: KC868-HxB series Smart Controller - Replies (1)

About:
https://www.kincony.com/16-channel-ether...-h16b.html

After consulting the website and documentation. Could anyone clarify, please the following:

For the Input Ports:
What is the voltage input range / type of input / type of current for the inputs of the module?
There is NO INFORMATION regarding these ports!
f.e. DC 0-5V dry contact
or AC 230V
or whatever.

For the Output Ports:
Are they isolated? Can be used for different phases? i.e relay1: Phase1-N, relay2: Phase2-N.. relay{n} phase{1,2,3}-N
Can be the unit operated at 10A/per port continousuly? (what is the duty service?)


For the "working voltage":
What is the tolerance for the power supply? In volts or %. What is the maximun current drained, I.e. mx operational power of this unit?

In general:
What is the derrating with altitude / ambient temperature (stated as -20 to +70 C)?


Are there diagrams regarding mounting spacing required (safe areas, clear areas) and hole spacing?


I think the "product parameters" for most of the products should be updated to reflect more "basic" information.

Thank you.

Print this item

  DAC on the KC868-a6
Posted by: Siebje - 06-16-2023, 01:02 PM - Forum: KC868-A6 - Replies (1)

Hi, I'm working on a project where I need to control a 0-10V fan. I was going to use the two DAC channels on the KC868-a6 development board but without success. from the following code, I couldn't get a measurement with my multimeter  

Code:
/*KC868-A6 DAC CODE*/
#define DAC1 26
#define DAC2 25

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

}

void loop() {

  dacWrite(DAC1, 127);
  dacWrite(DAC2, 127);

  delay(2000);

  dacWrite(DAC1, 255);
  dacWrite(DAC1, 255);

  delay(2000);
}
can someone help me with how to use the DAC?

Print this item