Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
O

osalval

@osalval
About
Posts
7
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • RealTimeClockDisplaySensor.ino
    O osalval

    Thank you @Jackpot

    Don´t Works for mi. As somebody told, I think is the MQTT Gateway that no respond to requestTime.
    I`m not software men but I think the sketch is correct and MQTT Gateway should answer wirt the value in "receiveTime"

    Troubleshooting

  • RealTimeClockDisplaySensor.ino
    O osalval

    @osalval
    By the way I find, THE ONLY one library: LiquidCrystal, that Works with Arduino V1.5.8:

    https://bitbucket.org/fmalpartida/new-liquidcrystal/downloads
    LiquidCrystal_V1.2.1.zip
    https://bitbucket.org/fmalpartida/new-liquidcrystal/downloads/LiquidCrystal_V1.2.1.zip

    I still can not fetching time from controller. What i shoul do with openHAB and MQTTGateway?

    Troubleshooting

  • RealTimeClockDisplaySensor.ino - no fetch time from controller
    O osalval

    @osalval
    By the way I find, THE ONLY one library: LiquidCrystal, that Works with Arduino V1.5.8:

    https://bitbucket.org/fmalpartida/new-liquidcrystal/downloads
    LiquidCrystal_V1.2.1.zip
    https://bitbucket.org/fmalpartida/new-liquidcrystal/downloads/LiquidCrystal_V1.2.1.zip

    I still can not fetching time from controller. What i shoul do with openHAB and MQTTGateway?

    OpenHAB display mqtt broker gat mqtt openhab rtc

  • RealTimeClockDisplaySensor.ino - no fetch time from controller
    O osalval

    Hi, I'm not a software men.
    I have working well MQTT Gateway with Openhab

    The sketch RealTimeClockDisplaySensor.ino compile in Arduino 1.0.6 with a lot of red lines "avrdude" but finish anyway.
    This is that monitor shows:

    sensor started, id 22
    send: 22-22-0-0 s=255,c=0,t=17,pt=0,l=5,st=ok:1.4.1
    send: 22-22-0-0 s=255,c=3,t=6,pt=1,l=1,st=ok:0
    read: 0-0-22 s=255,c=3,t=6,pt=0,l=1:M
    send: 22-22-0-0 s=255,c=3,t=11,pt=0,l=9,st=ok:RTC Clock
    send: 22-22-0-0 s=255,c=3,t=12,pt=0,l=3,st=ok:1.0
    RTC has set the system time
    send: 22-22-0-0 s=255,c=3,t=1,pt=0,l=0,st=ok:
    requesting time
    send: 22-22-0-0 s=255,c=3,t=1,pt=0,l=0,st=ok:
    requesting time
    send: 22-22-0-0 s=255,c=3,t=1,pt=0,l=0,st=ok:
    requesting time
    send: 22-22-0-0 s=255,c=3,t=1,pt=0,l=0,st=ok:
    requesting time
    send: 22-22-0-0 s=255,c=3,t=1,pt=0,l=0,st=ok:
    requesting time
    send: 22-22-0-0 s=255,c=3,t=1,pt=0,l=0,st=ok:
    requesting time
    send: 22-22-0-0 s=255,c=3,t=1,pt=0,l=0,st=ok:
    requesting time
    send: 22-22-0-0 s=255,c=3,t=1,pt=0,l=0,st=ok:

    So it did not get time from controller. Is it neccesary add something in openhab?

    OpenHAB display mqtt broker gat mqtt openhab rtc

  • RealTimeClockDisplaySensor.ino
    O osalval

    @osalval

    Solved, it was the contrast adjustable resistor of IIC interface, its very critical, now its working fine.

    Thanks

    No so fine it doesn't fetch the time from controller

    Troubleshooting

  • RealTimeClockDisplaySensor.ino
    O osalval

    @osalval
    Hi, after reinstall IDE 1.0.6, it compile OK, but now liquid display don't show nothing.

    Monitor shows:

    sensor started, id 20
    send: 20-20-0-0 s=255,c=0,t=17,pt=0,l=5,st=ok:1.4.1
    send: 20-20-0-0 s=255,c=3,t=6,pt=1,l=1,st=ok:0
    read: 0-0-20 s=255,c=3,t=6,pt=0,l=1:M
    send: 20-20-0-0 s=255,c=3,t=11,pt=0,l=9,st=ok:RTC Clock
    send: 20-20-0-0 s=255,c=3,t=12,pt=0,l=3,st=ok:1.0
    send: 20-20-0-0 s=255,c=3,t=1,pt=0,l=3,st=ok:1.0
    requesting time
    send: 20-20-0-0 s=255,c=3,t=1,pt=0,l=3,st=ok:1.0
    requesting time
    send: 20-20-0-0 s=255,c=3,t=1,pt=0,l=3,st=ok:1.0
    requesting time
    send: 20-20-0-0 s=255,c=3,t=1,pt=0,l=3,st=ok:1.0
    requesting time
    send: 20-20-0-0 s=255,c=3,t=1,pt=0,l=3,st=ok:1.0
    requesting time

    Troubleshooting

  • RealTimeClockDisplaySensor.ino
    O osalval

    Hi, not compiling for mi either:

    Arduino: 1.5.8 (Windows 8), Board:"Arduino Nano, ATmega328"

    Using library SPI in folder: C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI
    Using library MySensors in folder: C:\Program Files (x86)\Arduino\libraries\MySensors (legacy)
    Using library Time in folder: C:\Program Files (x86)\Arduino\libraries\Time (legacy)
    Using library DS3232RTC in folder: C:\Program Files (x86)\Arduino\libraries\DS3232RTC (legacy)
    Using library Wire in folder: C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\Wire
    Using library LiquidCrystal in folder: C:\Program Files (x86)\Arduino\libraries\LiquidCrystal (legacy)

    C:\Program Files (x86)\Arduino/hardware/tools/avr/bin/avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=158 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR -I
    C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino -I
    C:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs -I
    C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI -I
    C:\Program Files (x86)\Arduino\libraries\MySensors -I
    C:\Program Files (x86)\Arduino\libraries\Time -I
    C:\Program Files (x86)\Arduino\libraries\DS3232RTC -I
    C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\Wire -I
    C:\Program Files (x86)\Arduino\libraries\LiquidCrystal

    C:\Users\Oscar\AppData\Local\Temp\build6354959487290696935.tmp\MySensors_RealTimeClockDisplaySensor.cpp -o C:\Users\Oscar\AppData\Local\Temp\build6354959487290696935.tmp\MySensors_RealTimeClockDisplaySensor.cpp.o

    In file included from C:\Program Files (x86)\Arduino\libraries\LiquidCrystal/LiquidCrystal_I2C.h:35:0, from MySensors_RealTimeClockDisplaySensor.ino:21:
    C:\Program Files (x86)\Arduino\libraries\LiquidCrystal/LCD.h:421:44: error: 'prog_uchar' does not name a type
    void createChar(uint8_t location, const prog_uchar charmap[]);
    ^
    C:\Program Files (x86)\Arduino\libraries\LiquidCrystal/LCD.h:421:63: error: ISO C++ forbids declaration of 'charmap' with no type [-fpermissive]
    void createChar(uint8_t location, const prog_uchar charmap[]);
    ^
    Error de compilación

    Troubleshooting
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular