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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 9,749
» Latest member: tomclark1167
» Forum threads: 4,214
» Forum posts: 20,883

Full Statistics

Online Users
There are currently 19 online users.
» 0 Member(s) | 7 Guest(s)
Amazonbot, Bytespider, Crawl, PetalBot, bot

Latest Threads
[arduino code examples fo...
Forum: CO16
Last Post: admin
Today, 12:16 AM
» Replies: 0
» Views: 7
[arduino code examples fo...
Forum: CO16
Last Post: admin
Today, 12:11 AM
» Replies: 0
» Views: 7
[arduino code examples fo...
Forum: CO16
Last Post: admin
Today, 12:09 AM
» Replies: 0
» Views: 7
[arduino code examples fo...
Forum: CO16
Last Post: admin
Today, 12:08 AM
» Replies: 0
» Views: 7
[arduino code examples fo...
Forum: CO16
Last Post: admin
Today, 12:06 AM
» Replies: 0
» Views: 7
[arduino code examples fo...
Forum: CO16
Last Post: admin
Today, 12:04 AM
» Replies: 0
» Views: 7
[arduino code examples fo...
Forum: CO16
Last Post: admin
Today, 12:02 AM
» Replies: 0
» Views: 7
[arduino code examples fo...
Forum: CO16
Last Post: admin
Today, 12:00 AM
» Replies: 0
» Views: 8
[arduino code examples fo...
Forum: CO16
Last Post: admin
Yesterday, 11:58 PM
» Replies: 0
» Views: 7
[arduino code examples fo...
Forum: CO16
Last Post: admin
Yesterday, 11:56 PM
» Replies: 0
» Views: 7

  How to choose the right microcontroller/controller before starting the development of
Posted by: dedbless - 03-01-2023, 05:36 AM - Forum: DIY Project - Replies (2)

Hi guys,

I have started searching for some information about the microcontrollers/controllers with which I can develop my own controller and the SMART-house. It is needed for my research work. I am new to this, and it is hard for me to find the necessary information.
I have found that such controllers as Arduino, Raspberry PI, ESP32, etc can be used.
However, how can I find the model of the controller which can suit my requirements? They are the following:
2-stage building with a garage (so it is +-400 sq.m.) with some number of SMART devices that are responsible for security (cameras, fire alarm, etc), temperature control, radiators, leakage control, opening/closing control, etc.
I am interested in the hardware area at first.
Any advices, links to the resources, researches, and articles with a similar topic will be really appreciated.
PS: sorry for my not clear English (just in case)
Thank you in advance.

Print this item

  KC868-A4S GSM AT command debug source code for arduino IDE
Posted by: admin - 03-01-2023, 04:58 AM - Forum: KC868-A4S - Replies (5)


.zip   KC868-A4S-AT-debug.zip (Size: 305 bytes / Downloads: 873)

before use source code, make sure you have set the serial2 pin number by config file.
   

Print this item

  KC868-A4S ESPHome demo config for home assistant
Posted by: admin - 03-01-2023, 04:54 AM - Forum: KC868-A4S - No Replies

   

esphome:
  name: a4s
  platform: ESP32
  board: esp32dev
 
 
# 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



# Example configuration entry
pcf8574:
  - id: 'pcf8574_hub_out_1'  # for output channel 1-4  for DI9--DI12
    address: 0x24

  - id: 'pcf8574_hub_in_1'  # for input channel 1-8
    address: 0x22

# Individual outputs
switch:
  - platform: gpio
    name: "a4s-light1"
    id: light1
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 0
      mode: OUTPUT
      inverted: true

  - platform: gpio
    name: "a4s-light2"
    id: light2
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 1
      mode: OUTPUT
      inverted: true
     
  - platform: gpio
    name: "a4s-light3"
    id: light3
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 2
      mode: OUTPUT
      inverted: true
     
  - platform: gpio
    name: "a4s-light4"
    id: light4
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 3
      mode: OUTPUT
      inverted: true

     
binary_sensor:
  - platform: gpio
    name: "a4s-input1"
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 0
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "a4s-input2"
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 1
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "a4s-input3"
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 2
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "a4s-input4"
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 3
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "a4s-input5"
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 4
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "a4s-input6"
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 5
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "a4s-input7"
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 6
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "a4s-input8"
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 7
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "a4s-input9"
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 4
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "a4s-input10"
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 5
      mode: INPUT
      inverted: true     

  - platform: gpio
    name: "a4s-input11"
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 6
      mode: INPUT
      inverted: true   

  - platform: gpio
    name: "a4s-input12"
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 7
      mode: INPUT
      inverted: true   

pca9685:
    id: 'pca9685_hub'
    frequency: 500

output:
  - platform: pca9685
    pca9685_id: 'pca9685_hub'
    id: "PWM0"
    channel: 0

  - platform: pca9685
    pca9685_id: 'pca9685_hub'
    id: "PWM1"
    channel: 1

  - platform: pca9685
    pca9685_id: 'pca9685_hub'
    id: "PWM2"
    channel: 2

  - platform: pca9685
    pca9685_id: 'pca9685_hub'
    id: "PWM3"
    channel: 3

  - platform: pca9685
    pca9685_id: 'pca9685_hub'
    id: "PWM4"
    channel: 4

  - platform: pca9685
    pca9685_id: 'pca9685_hub'
    id: "PWM5"
    channel: 5

  - platform: pca9685
    pca9685_id: 'pca9685_hub'
    id: "PWM6"
    channel: 6

  - platform: pca9685
    pca9685_id: 'pca9685_hub'
    id: "PWM7"
    channel: 7

  - platform: pca9685
    pca9685_id: 'pca9685_hub'
    id: "PWM8"
    channel: 8

  - platform: pca9685
    pca9685_id: 'pca9685_hub'
    id: "PWM9"
    channel: 9

  - platform: pca9685
    pca9685_id: 'pca9685_hub'
    id: "PWM10"
    channel: 10

  - platform: pca9685
    pca9685_id: 'pca9685_hub'
    id: "PWM11"
    channel: 11

  - platform: pca9685
    pca9685_id: 'pca9685_hub'
    id: "PWM12"
    channel: 12

  - platform: pca9685
    pca9685_id: 'pca9685_hub'
    id: "PWM13"
    channel: 13

  - platform: pca9685
    pca9685_id: 'pca9685_hub'
    id: "PWM14"
    channel: 14

  - platform: pca9685
    pca9685_id: 'pca9685_hub'
    id: "PWM15"
    channel: 15


light:
  - platform: monochromatic
    name: "a4s-Color-LED-1"
    output: PWM0
  - platform: monochromatic
    name: "a4s-Color-LED-2"
    output: PWM1
  - platform: monochromatic
    name: "a4s-Color-LED-3"
    output: PWM2
  - platform: monochromatic
    name: "a4s-Color-LED-4"
    output: PWM3
  - platform: monochromatic
    name: "a4s-Color-LED-5"
    output: PWM4
  - platform: monochromatic
    name: "a4s-Color-LED-6"
    output: PWM5
  - platform: monochromatic
    name: "a4s-Color-LED-7"
    output: PWM6
  - platform: monochromatic
    name: "a4s-Color-LED-8"
    output: PWM7
  - platform: monochromatic
    name: "a4s-Color-LED-9"
    output: PWM8
  - platform: monochromatic
    name: "a4s-Color-LED-10"
    output: PWM9
  - platform: monochromatic
    name: "a4s-Color-LED-11"
    output: PWM10
  - platform: monochromatic
    name: "a4s-Color-LED-12"
    output: PWM11
  - platform: monochromatic
    name: "a4s-Color-LED-13"
    output: PWM12
  - platform: monochromatic
    name: "a4s-Color-LED-14"
    output: PWM13
  - platform: monochromatic
    name: "a4s-Color-LED-15"
    output: PWM14
  - platform: monochromatic
    name: "a4s-Color-LED-16"
    output: PWM15

  - platform: rgbw
    name: "a4s-rgbw"
    red: PWM1
    green: PWM2
    blue: PWM3
    white: PWM4



# Enable logging
logger:

# Enable Home Assistant API
api:


.txt   KC868-A4S-HA-config.txt (Size: 5.8 KB / Downloads: 844)

Print this item

  KC868-A4S ESP32 I/O pin define
Posted by: admin - 03-01-2023, 04:52 AM - Forum: KC868-A4S - Replies (12)

#define ANALOG_A1  36
#define ANALOG_A2  39
#define ANALOG_A3  34
#define ANALOG_A4  35

IIC SDA:4
IIC SCL:16

Relay_IIC_address 0x24
P0--P3: for relay1-relay4
P4--P7: for DI9--DI12

Input_IIC_address 0x22  for DI1-DI8

PCA9685 IIC address: 0x00

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


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:GPIO33
TXD:GPIO32

GSM:
RXD:GPIO13
TXD:GPIO15

Print this item

  8 channel bypass switch board - KC868-S8
Posted by: admin - 03-01-2023, 03:56 AM - Forum: Schematic & diagram & Dimensions of KinCony PCB layout CAD file - No Replies

here is diagram:

.pdf   Automation Bypass_S8.pdf (Size: 17.6 MB / Downloads: 1248)

Print this item

  KC868 A8 - Help In Program
Posted by: mfjunior96 - 02-28-2023, 01:24 AM - Forum: KC868-A series and Uair Smart Controller - Replies (1)

Goodnight,

I'm having trouble using the codes to use the PCF8574 of the KC868 A8, using the same code for input and output, I noticed that it already comes with the standard Digital Input 1 > Turn on > Digital Output 1, does anyone have this code so I can work above him?

Thank you very much in advance

Print this item

  lease help me choose the materials required for the building
Posted by: engmohades - 02-27-2023, 08:09 PM - Forum: DIY Project - Replies (3)

Please help me choose the materials required for the building consisting of two floors


first floor
1- Lighting circuits 51
2- ventilation circuits 4
3- Air conditioner circuit 10
4- The number of motion sensors is 10

second floor
1- Lighting circuits 54
2- The number of curtains is 14 with 28 circles
3 - ventilation circuits 3
4 - Air conditioner circuit 10
5- Heater circuits 3
6- The number of motion sensors is 10

I will use HOMEASSISTANT and want use Switch contains a feedback lamp

Print this item

  Amazon
Posted by: Philadam - 02-26-2023, 06:34 AM - Forum: Suggestions and feedback on KinCony's products - Replies (4)

What happened to the Amazon online store? Everything says unavailable.

Print this item

  Full automation of boiler room - what component to use
Posted by: mmetal - 02-25-2023, 10:22 PM - Forum: DIY Project - Replies (1)

Hello, this year i was finished installation of my new boiler room with 3 boilers, 16 pumps, 16 electric valves, one pellet burner... Now i need to make automation of all components. I was test some process with sonoff TH16 and 4CH pro devices and home assistant, only to see what exactly need and can to controll, and the main problem is that i need a lot of temperature sensors, pressure sensors, ultrasonic sensors, relays, contactors etc.

The best solution is to use home assistant, but if you have some suggestions, i am open

In text bellow i will try to explain what i plan to do, and it would be great that you suggest me components for my automation

  1. Measure temperature from -25 to 100 C on 42 places, and to have a possibility to controll devices (relays) by that temperature
  2. Measure water pressure in whole heating system on 10-12 places, and to controll electric valves for water and air accordingly measured pressure
  3. Measure water level in vertical expansion tank of 1200 lit, and controll electric valves for water.
  4. Measure level of pellet in pellet tank of 1800 kg (2000 mm height)
  5. Connect one smoke and fire sensor to controll fan in case of smoke
  6. Relay output on/off or no/nc for control pumps, burner, electric actuators, lights. Relay for pumps, burner, electric actuators will be controled by measured temperature. All relay outputs will controll electric contactor with 24vac coils.

I hope that you will understand what i need.

Please suggest me what componnent i should use.

If you need additional information, please contact me

Thanks in advance

Print this item

  How can I add ZigBee gateway to the homeassant ?
Posted by: engmohades - 02-25-2023, 12:54 PM - Forum: Home automation training courses - Replies (3)

How can I add ZigBee gateway to the homeassant ? please



Attached Files Thumbnail(s)
   
Print this item