Navigation

    • Register
    • Login
    • Search
    • OpenHardware.io
    • Categories
    • Recent
    • Tags
    • Popular
    1. Home
    2. Ivan Z
    3. Posts
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    Posts made by Ivan Z

    • RE: Even more smart sleep...

      I need too

      posted in Troubleshooting
      Ivan Z
      Ivan Z
    • RE: sendHeartbeat not work right

      before = work
      presentation = work
      setup = work

      ???

      posted in Troubleshooting
      Ivan Z
      Ivan Z
    • RE: sendHeartbeat not work right

      This is only part of the code.

      Full version sketch
      https://github.com/Shagrat2/MSMDLed/blob/master/MSMDLed.ino

      posted in Troubleshooting
      Ivan Z
      Ivan Z
    • sendHeartbeat not work right

      I send Heartbeat, but receive in system I_DISCOVER_RESPONSE

      Sketch code

      void loop() {
         unsigned long tick = millis();
         if (tick - previsionTime > HeartBitInterval) {
           previsionTime = tick;
           sendHeartbeat(); 
         }
      }
      

      Node log

      __  __       ____
      |  \/  |_   _/ ___|  ___ _ __  ___  ___  _ __ ___
      | |\/| | | | \___ \ / _ \ `_ \/ __|/ _ \| `__/ __|
      | |  | | |_| |___| |  __/ | | \__ \  _  | |  \__ \
      |_|  |_|\__, |____/ \___|_| |_|___/\___/|_|  |___/
              |___/                      2.3.0
      
      16 MCO:BGN:INIT NODE,CP=RNNNA---,VER=2.3.0
      
      ...
      
      14960 TSF:MSG:SEND,115-115-0-0,s=2,c=1,t=2,pt=1,l=1,sg=0,ft=0,st=OK:1
      48934 TSF:MSG:READ,0-0-255,s=255,c=3,t=20,pt=0,l=0,sg=0:
      48941 TSF:MSG:BC
      49762 TSF:MSG:SEND,115-115-0-0,s=255,c=3,t=21,pt=1,l=1,sg=0,ft=0,st=OK:0
      49772 TSF:MSG:READ,0-5-255,s=255,c=3,t=20,pt=0,l=0,sg=0:
      49780 TSF:MSG:BC
      49782 TSF:MSG:READ,0-6-255,s=255,c=3,t=20,pt=0,l=0,sg=0:
      49788 TSF:MSG:BC
      1254332 TSF:MSG:READ,0-0-255,s=255,c=3,t=20,pt=0,l=0,sg=0:
      1254340 TSF:MSG:BC
      1255313 TSF:MSG:SEND,115-115-0-0,s=255,c=3,t=21,pt=1,l=1,sg=0,ft=0,st=OK:0
      1255323 TSF:MSG:READ,0-5-255,s=255,c=3,t=20,pt=0,l=0,sg=0:
      1255331 TSF:MSG:BC
      

      Log in system: MajorDomo

      2018-11-29 10:26:19 699 >> 3:Internal; Gate:1; Node:115; Sensor:255; Ack:0; Sub:21:I_DISCOVER_RESPONSE; Msg:0
      2018-11-29 10:25:47 133 >> 1:Set; Gate:1; Node:115; Sensor:2; Ack:0; Sub:2:V_STATUS; Msg:1
      
      ...
      
      posted in Troubleshooting
      Ivan Z
      Ivan Z
    • RE: 💬 MDMScreen

      Please append support RS485

      posted in OpenHardware.io
      Ivan Z
      Ivan Z
    • RE: 💬 NodeManager

      Why did you use the REQ type for the relay?
      Please add support for SET too

      REQ - nide to read Relay status

      posted in OpenHardware.io
      Ivan Z
      Ivan Z
    • RE: 💬 NodeManager

      What about BMP085 ??

      posted in OpenHardware.io
      Ivan Z
      Ivan Z
    • RE: 💬 NodeManager

      Sorry, not fully read text

      posted in OpenHardware.io
      Ivan Z
      Ivan Z
    • RE: 💬 NodeManager

      @user2684
      Function name alt text

      Do you mean the formula to calculate the percentage?
      Append flag IFDEF for not send this information (Only voltage)

      posted in OpenHardware.io
      Ivan Z
      Ivan Z
    • RE: 💬 NodeManager

      Please use IFDEF for "Battery procetage"
      I calculate this in the controller (Save battery)

      posted in OpenHardware.io
      Ivan Z
      Ivan Z
    • RE: 💬 NodeManager

      Double comment in NodeMamaged.h - setBatteryInternalVcc

      posted in OpenHardware.io
      Ivan Z
      Ivan Z
    • RE: 💬 MDMS OEM2

      Yes, I know about this problem
      But i want repeat size "MDMS OEM"
      It was a good option for the case http://www.ebay.com/sch/sis.html?_nkw=USB+Mobile+Power+Bank+Phone+Charger+Pack+18650+Rechargeable+Battery+Box+Case+DIY&_id=381009132329&&_trksid=p2060353.m2749.l2658

      0_1492846588150_20170422_102425.jpg

      posted in OpenHardware.io
      Ivan Z
      Ivan Z
    • RE: 💬 NodeManager

      This version already allows wizard (.php) to generate a sketch

      posted in OpenHardware.io
      Ivan Z
      Ivan Z
    • RE: 💬 NodeManager

      Please show my sample with DHT22

      Append optimization flag.
      For save battery life, do not send the same values

      posted in OpenHardware.io
      Ivan Z
      Ivan Z
    • RE: 💬 NodeManager

      How make not sleep sensor?

      void NodeManager::loop() {
      #if SLEEP_MANAGER == 1
      Only for sleep
      #end
      }

      May be to make wait logic

      posted in OpenHardware.io
      Ivan Z
      Ivan Z
    • RE: 💬 Log Parser

      I crash parser

      0 MCO:BGN:INIT REPEATER,CP=RNORAA-,VER=2.1.1
      4 TSM:INIT
      4 TSF:WUR:MS=0
      11 TSM:INIT:TSP OK
      13 TSF:SID:OK,ID=15
      15 TSM:FPAR
      51 TSF:MSG:SEND,15-15-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
      2059 !TSM:FPAR:NO REPLY
      2061 TSM:FPAR
      2097 TSF:MSG:SEND,15-15-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
      2610 TSF:MSG:READ,5-5-15,s=255,c=3,t=8,pt=1,l=1,sg=0:1
      2615 TSF:MSG:FPAR OK,ID=5,D=2
      3053 TSF:MSG:READ,0-0-15,s=255,c=3,t=8,pt=1,l=1,sg=0:0
      3057 TSF:MSG:FPAR OK,ID=0,D=1
      4105 TSM:FPAR:OK
      4106 TSM:ID
      4107 TSM:ID:OK
      4109 TSM:UPL
      4146 !TSF:MSG:SEND,15-15-0-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=0,st=NACK:1
      6153 TSM:UPL
      6190 !TSF:MSG:SEND,15-15-0-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=1,st=NACK:1
      8197 TSM:UPL
      8233 !TSF:MSG:SEND,15-15-0-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=2,st=NACK:1
      10241 TSM:UPL
      10244 TSF:MSG:SEND,15-15-0-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=3,st=OK:1
      10250 TSF:MSG:READ,0-0-15,s=255,c=3,t=25,pt=1,l=1,sg=0:1
      10255 TSF:MSG:PONG RECV,HP=1
      10258 TSM:UPL:OK
      10259 TSM:READY:ID=15,PAR=0,DIS=1
      10267 TSF:MSG:SEND,15-15-0-0,s=255,c=4,t=0,pt=6,l=10,sg=0,ft=0,st=OK:FFFFFFFF40016FF10300
      10311 !TSF:MSG:SEND,15-15-0-0,s=255,c=3,t=15,pt=6,l=2,sg=0,ft=0,st=NACK:0100
      12322 TSF:MSG:SEND,15-15-0-0,s=255,c=0,t=18,pt=0,l=5,sg=0,ft=1,st=OK:2.1.1
      12331 TSF:MSG:SEND,15-15-0-0,s=255,c=3,t=6,pt=1,l=1,sg=0,ft=0,st=OK:0
      12562 TSF:MSG:READ,0-0-15,s=255,c=3,t=6,pt=0,l=1,sg=0:M
      12578 TSF:MSG:SEND,15-15-0-0,s=255,c=3,t=11,pt=0,l=8,sg=0,ft=0,st=OK:Lighting
      12597 TSF:MSG:SEND,15-15-0-0,s=255,c=3,t=12,pt=0,l=3,sg=0,ft=0,st=OK:1.2
      12613 TSF:MSG:SEND,15-15-0-0,s=1,c=0,t=3,pt=0,l=11,sg=0,ft=0,st=OK:Light relay
      12628 TSF:MSG:SEND,15-15-0-0,s=2,c=0,t=6,pt=0,l=15,sg=0,ft=0,st=OK:Key temperature
      12641 TSF:MSG:SEND,15-15-0-0,s=3,c=0,t=30,pt=0,l=14,sg=0,ft=0,st=OK:Source current
      
      posted in Announcements
      Ivan Z
      Ivan Z
    • RE: Rain Guage

      Sensor manufacturer has sent information about the sensor. 0.3 mm to 1 tick

      posted in My Project
      Ivan Z
      Ivan Z
    • RE: Rain Guage

      MI-SOL Rain Guage has CALIBRATE_FACTOR = 36

      posted in My Project
      Ivan Z
      Ivan Z
    • RE: 💬 Small MySensor
      1. Write bootloader befor make board (http://ru.aliexpress.com/item/QFP32-TQFP32-FQFP32-To-DIP32-SA636-IC-Programmer-Adapter-Clamshell-Test-Socket/32577712983.html?spm=2114.03020208.3.18.RSlfjm&ws_ab_test=searchweb201556_0,searchweb201602_4_301_10034_507_10032_508_10020_10017_10005_10006_10021_10022_401_10007_10018_10019,searchweb201603_7&btsid=4a2ef3a2-d78a-426f-9897-64f92da32ff4)

      2. Write bootloader befor set NRF24 on NRF pinout

      posted in OpenHardware.io
      Ivan Z
      Ivan Z
    • RE: TCP service for Raspberry Pi NRF24l01 direct connection

      Append save node map to disk

      posted in Hardware
      Ivan Z
      Ivan Z
    • RE: MySensors Php API class + command line script + Form

      There is my php module for MajorDomo https://github.com/Shagrat2/majordomo-mysensor
      His contain library for MYSensor phpMS.php, and to extend classes for Serrial & TCP (phpMSCom.php, phpMSTcp.php)

      posted in My Project
      Ivan Z
      Ivan Z
    • TCP service for Raspberry Pi NRF24l01 direct connection

      Raspberry as a TCP Gateway for MySensor

      This service like serrial but work on TCP
      http://forum.mysensors.org/topic/1151/tutorial-raspberry-pi-nrf24l01-direct-connection

      • No freeze
      • No 100% processor load
      • Multi connection client
      • Fixed problem with invalid format packet

      https://github.com/iTankru/MySensorsRaspberryPiTCP

      Connection to service: localhost:5003

      Please test service

      posted in Hardware
      Ivan Z
      Ivan Z
    • RE: Is it possible to run more than one pin to an interrupt for sleep/wake purposes?

      This is only a project (In progress).
      Be sure to add
      But I think that it only increase consumption

      posted in Troubleshooting
      Ivan Z
      Ivan Z
    • RE: Is it possible to run more than one pin to an interrupt for sleep/wake purposes?

      I hav 6 buttons
      https://www.openhardware.io/view/26/Battery-button-sensor

      posted in Troubleshooting
      Ivan Z
      Ivan Z
    • RE: Battery button sensor

      Update

      • Error. Reversed MISO and MOSI
      • Append Capacitor C1 on RESET
      • Change diode component size to SOD-123
      • Append Pad for external LED

      Calculate battery life
      Capacity rating of battery (mAh) = 250
      Current consumption of device during sleep (mA) = 0.02
      Current consumption of device during wake (mA) = 18
      Number of wakeups per hour = 1
      Duration of wake time (ms) = 20
      Estimated battery life is: 440.51 days, or 1.21 years.

      The device wakes up only when pressed button

      posted in OpenHardware.io
      Ivan Z
      Ivan Z
    • RE: Battery button sensor

      Append license info

      Debug device

      sam debug photo
      3_1455300763873_IMG_7113.JPG 2_1455300763873_IMG_7101.JPG 1_1455300763873_IMG_7099.JPG 0_1455300763873_IMG_7096.JPG image url)

      posted in OpenHardware.io
      Ivan Z
      Ivan Z
    • RE: 💬 Small MySensor

      Changes: Fix license info

      .lay files is a "Sprint-Layout" http://www.abacom-online.de/uk/html/sprint-layout.html

      posted in OpenHardware.io
      Ivan Z
      Ivan Z
    • RE: 2 channel in wall dimmer

      This will make your box less
      https://ac-dc.power.com/products/linkswitch-family/linkswitch-tn/

      posted in My Project
      Ivan Z
      Ivan Z
    • RE: Can I use W25Q32 SPI flash as alternate for AT25DF512C?

      Chips that you choose, either expensive or big delivery

      posted in Hardware
      Ivan Z
      Ivan Z
    • RE: Battery button sensor

      Shem in PDF https://www.openhardware.io/download/56b1cc6b3363a1515ea71115/design/Btn1.pdf

      posted in OpenHardware.io
      Ivan Z
      Ivan Z
    • RE: Can I use W25Q32 SPI flash as alternate for AT25DF512C?

      Support this chip?

      Other chip?
      M25P80-VMW6TG
      SST25VF016B-50-4I-S2AF-T

      Please give supported chip list

      posted in Hardware
      Ivan Z
      Ivan Z
    • RE: Battery button sensor

      I wanted to make the most cheap device. And not set hardware debouncing.
      But set external pull-up resistors to reduce power consumption

      Sostware debouncing by delay in interrupt

      posted in OpenHardware.io
      Ivan Z
      Ivan Z
    • RE: Battery button sensor

      Yes I have

      posted in OpenHardware.io
      Ivan Z
      Ivan Z
    • RE: Roller Shutter

      http://www.sharp-world.com/products/device/lineup/data/pdf/datasheet/s102s02_e.pdf

      posted in Hardware
      Ivan Z
      Ivan Z
    • User broadcast message

      Need search engine for actuator. For system without base station

      1 Binding mode

      • Master and Slave has binding mode button.
      • Master send broadcast search Slave.
      • Master request Slave presentation sensor
      • Master save to EEPROM Slave ID

      2 Work mode

      • Master send message to Slave ID
      • Slave do work (Relay)
      • Reply ACK to Master
      • If have GateWay, send self status
      posted in Feature Requests
      Ivan Z
      Ivan Z
    • RE: Req BASE_RADIO_ID

      Inclusive mode need only when configured network. It lasts one minute. No nide listen self pipe.
      After end inclusive mode, gateway listen self pipe

      his makes it possible to have a whole range of addresses

      posted in Feature Requests
      Ivan Z
      Ivan Z
    • RE: Req BASE_RADIO_ID

      253 nets - enough

      posted in Feature Requests
      Ivan Z
      Ivan Z
    • Req BASE_RADIO_ID

      RF24 can listen some Pipe
      Сan make 2 pipe. 1 - public, 2 - self

      When gateway in inclusive mode listen PUBLIC pipe. Node req ID. GateWay send ID and SELF pipe. Node save and listen SELF PIPE. Other communication work in SLEF pipe

      Pipe ID request form software (not in gateway)

      This algorithm has the following advantages

      1. No need to flash ready device. Purchased from third parties
      2. The work of many networks in one place
      3. Easy change of the network
      4. Ready sensor from third parties does not require reprogramming by your network

      There is an idea to promote this product to study in schools. To do this, you need to have multiple networks in the same classroom

      posted in Feature Requests
      Ivan Z
      Ivan Z
    • RE: Introducing MySensors on nRF24LE1

      What is the current in transmition and idle mode?
      Did you realize sleep?

      posted in My Project
      Ivan Z
      Ivan Z
    • RE: $8 Lamp (Outlet) "Smart Plug" Module

      This is may realisation
      IMG_6600.JPG
      IMG_6601.JPG

      posted in My Project
      Ivan Z
      Ivan Z
    • RE: RelayWithButtonActuator

      Sory. Bad NRF transmitter

      posted in Bug Reports
      Ivan Z
      Ivan Z
    • RE: RelayWithButtonActuator

      Gateway not see ACK flag. Please fix this bag
      Lib version 1.5, Node & gate = 1.5

      RelayButton log

      send: 42-42-0-0 s=1,c=1,t=2,pt=2,l=2,sg=0,st=fail:0
      Button value:0
      Button value:1
      send: 42-42-0-0 s=1,c=1,t=2,pt=2,l=2,sg=0,st=fail:1
      Button value:0
      Button value:1
      send: 42-42-0-0 s=1,c=1,t=2,pt=2,l=2,sg=0,st=fail:0
      Button value:0
      Button value:1
      send: 42-42-0-0 s=1,c=1,t=2,pt=2,l=2,sg=0,st=fail:1
      Button value:0
      Button value:1
      send: 42-42-0-0 s=1,c=1,t=2,pt=2,l=2,sg=0,st=fail:0
      Button value:0
      Button value:1
      send: 42-42-0-0 s=1,c=1,t=2,pt=2,l=2,sg=0,st=fail:1
      

      Gateway log

      2015-08-04 18:52:07 Set: Node:42; Sensor:1; Type:1; Ack:0; Sub:2; Msg:0
      2015-08-04 18:52:07 Set: Node:42; Sensor:1; Type:1; Ack:0; Sub:2; Msg:1
      2015-08-04 18:52:07 Set: Node:42; Sensor:1; Type:1; Ack:0; Sub:2; Msg:0
      2015-08-04 18:52:07 Set: Node:42; Sensor:1; Type:1; Ack:0; Sub:2; Msg:1
      2015-08-04 18:52:08 Set: Node:42; Sensor:1; Type:1; Ack:0; Sub:2; Msg:0
      2015-08-04 18:52:08 Set: Node:42; Sensor:1; Type:1; Ack:0; Sub:2; Msg:1
      2015-08-04 18:52:08 Set: Node:42; Sensor:1; Type:1; Ack:0; Sub:2; Msg:0
      
      posted in Bug Reports
      Ivan Z
      Ivan Z
    • RE: Air Conditioning state monitoring sensor

      Good idea. Append IR control

      posted in My Project
      Ivan Z
      Ivan Z
    • RE: Is powering a node from CR123 or CR123A a good idea?

      CR123 with charger

      http://clip2net.com/clip/m412566/1420881033-0de30-1672kb.jpg?nocache=1

      posted in Hardware
      Ivan Z
      Ivan Z
    • RE: Water Flow sensor

      I using this sensor

      #define PULSE_FACTOR 450

      All sensor has different property. Read instruction or make measurement.

      I made measurement because documentation has different value

      posted in My Project
      Ivan Z
      Ivan Z
    • RE: Minimal design thoughts

      @AWI
      What regulator do you use?

      I do not use the regulator because it has a extremeconsumption
      AMS1117-3.3 = 5~10mV in idle

      posted in Hardware
      Ivan Z
      Ivan Z
    • RE: Minimal design thoughts

      DHT22 = 3.3-6V DC

      CR123A = 3.6v ( Bat full charge i have 4.07v )

      NRF24L01+ = 3.6

      I have 8 device and his work with CR123A for 6 months
      When charge some device cannot translate packets, but after work

      posted in Hardware
      Ivan Z
      Ivan Z
    • RE: Minimal design thoughts

      CR123A in full charge has 4.07v

      Gas counter started 2014/11/01.

      In winter, temperatures drop below -10

      скачанные файлы.png

      posted in Hardware
      Ivan Z
      Ivan Z
    • RE: Minimal design thoughts

      Why do not use CR123A accumulator?
      It is smaller and can be charged.
      And not nide regulator

      I use box with charger. With CR123A accumulator.
      http://www.ebay.com/itm/2600Mah-USB-Portable-External-Battery-Charger-Power-Bank-for-Cell-Mobile-Phone-/301514424642?pt=LH_DefaultDomain_0&var=&hash=item4633a90142

      Very cheap

      1420881033-0de30-1672kb.jpg
      1420881032-82f5e-1161kb.jpg

      posted in Hardware
      Ivan Z
      Ivan Z
    • RE: Mini battery sensor

      Thank
      Sensor ready work. (I have not valid binary Optiboot)

      20150402_172032.jpg

      posted in Hardware
      Ivan Z
      Ivan Z
    • Mini battery sensor

      3flvH7a.jpg

      I was inspired by the project "Minimal design thoughts" and i made my version, without 32Khz crystal, EPROM and security

      MDSens.zip

      The result
      1427468437-818f4-18kb.jpg

      I have no experience with write bootloader. Without crystal.

      Please help my start my project

      I want use Optiboot bootloader

      Best regards from MajorDomo project users

      posted in Hardware
      Ivan Z
      Ivan Z
    • RE: Humidity / Temperature Sensor

      Снимок.JPG

      Снимок2.JPG

      My devices
      Снимок.JPG
      Снимок.JPG

      posted in My Project
      Ivan Z
      Ivan Z
    • RE: Humidity / Temperature Sensor

      I power DHT22 from arduino pin. It help make economy battery. When controller sleep, power pin set to low.

      If using 3.3 power - no needed R2

      If you use CR123A accomulator. You will not need Regulator and the device will be smaller

      posted in My Project
      Ivan Z
      Ivan Z
    • RE: MySensors support in MajorDoMo

      I have 4 mysensor device in MajorDomo. Work well.

      1. Door sensor, Reed switch & Vibration sensor
      2. Pulse meter for Gas meter
      3. DHT22
      4. Hygrometer for my plants

      In plan

      • Pulse meter for water counter

      Every sensor insert in small box - power bank http://www.ebay.com/itm/2600mAh-USB-Power-Bank-Portable-External-Battery-Charger-For-iphone-Samsung-/261693722800?pt=US_Cell_Phone_PDA_Chargers&var=&hash=item3cee2950b0
      And small accumulator http://www.ebay.com/itm/271676342921?_trksid=p2060778.m2749.l2649&ssPageName=STRK%3AMEBIDX%3AIT

      Looks like this http://smartliving.ru/forum/download/file.php?id=1417

      posted in General Discussion
      Ivan Z
      Ivan Z
    • RE: Minimal design thoughts

      If use one-sided mounting and on other side set CR2450 holder. Will get a small deviceю

      20141216_175103[1].jpg

      posted in Hardware
      Ivan Z
      Ivan Z
    • How MMQT get BATTERY_LEVEL

      How MMQT get I_BATTERY_LEVEL information?

      posted in General Discussion
      Ivan Z
      Ivan Z