Navigation

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

    Ikes 72000

    @Ikes 72000

    3
    Reputation
    14
    Posts
    5
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    Ikes 72000 Follow

    Best posts made by Ikes 72000

    • RE: Compilation error nrf52_dk plateformio

      I just tried this code and compilation fail.

      #define MY_GATEWAY_SERIAL
      #include <MySensors.h>
      
      void setup() {
        // put your setup code here, to run once:
      }
      
      void loop() {
        // put your main code here, to run repeatedly:
      }
      

      Log:

      Processing nrf52_dk (platform: nordicnrf52; board: nrf52_dk; framework: arduino)
      ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
      Verbose mode can be enabled via `-v, --verbose` option
      CONFIGURATION: https://docs.platformio.org/page/boards/nordicnrf52/nrf52_dk.html
      PLATFORM: Nordic nRF52 4.4.0 > Nordic nRF52-DK
      HARDWARE: NRF52832 64MHz, 64KB RAM, 512KB Flash
      DEBUG: Current (jlink) On-board (cmsis-dap, jlink) External (blackmagic, stlink)
      PACKAGES:
       - framework-arduinonordicnrf5 1.600.190830 (6.0)
       - tool-sreccat 1.164.0 (1.64) 
       - toolchain-gccarmnoneeabi 1.70201.0 (7.2.1)
      LDF: Library Dependency Finder -> http://bit.ly/configure-pio-ldf
      LDF Modes: Finder ~ chain, Compatibility ~ soft
      LibraryManager: Installing id=548
      Using cache: C:\Users\Ikes\.platformio\.cache\08\6b3d0755f5ced94725e5025051350d08
      MySensors @ 2.3.2 has been successfully installed!
      Found 37 compatible libraries
      Scanning dependencies...
      Dependency Graph
      |-- <MySensors> 2.3.2
      |   |-- <Time> 1.6
      |   |-- <SPI> 1.0
      |   |-- <Wire> 1.0
      Building in release mode
      Compiling .pio\build\nrf52_dk\src\main.cpp.o
      Compiling .pio\build\nrf52_dk\lib45d\Time_ID44\DateStrings.cpp.o
      Compiling .pio\build\nrf52_dk\FrameworkArduino\Stream.cpp.o
      Compiling .pio\build\nrf52_dk\FrameworkArduino\Uart.cpp.o
      In file included from C:\users\ikes\.platformio\packages\framework-arduinonordicnrf5\cores\nRF5/Arduino.h:17:0,
                       from C:\users\ikes\.platformio\lib\Time_ID44\DateStrings.cpp:12:
      C:\users\ikes\.platformio\lib\Time_ID44\DateStrings.cpp: In function 'char* monthStr(uint8_t)':
      C:\users\ikes\.platformio\packages\framework-arduinonordicnrf5\cores\nRF5/avr/pgmspace.h:105:49: error: 'const void*' is not a pointer-to-object type
       #define pgm_read_ptr(addr) (*(const void *)(addr))
                                                       ^
      C:\users\ikes\.platformio\packages\framework-arduinonordicnrf5\cores\nRF5/avr/pgmspace.h:63:45: note: in definition of macro 'strcpy_P'
       #define strcpy_P(dest, src) strcpy((dest), (src))
                                                   ^~~
      C:\users\ikes\.platformio\lib\Time_ID44\DateStrings.cpp:72:29: note: in expansion of macro 'pgm_read_ptr'
           strcpy_P(buffer, (PGM_P)pgm_read_ptr(&(monthNames_P[month])));
                                   ^~~~~~~~~~~~
      C:\users\ikes\.platformio\lib\Time_ID44\DateStrings.cpp: In function 'char* dayStr(uint8_t)':
      C:\users\ikes\.platformio\packages\framework-arduinonordicnrf5\cores\nRF5/avr/pgmspace.h:105:49: error: 'const void*' is not a pointer-to-object type
       #define pgm_read_ptr(addr) (*(const void *)(addr))
                                                       ^
      C:\users\ikes\.platformio\packages\framework-arduinonordicnrf5\cores\nRF5/avr/pgmspace.h:63:45: note: in definition of macro 'strcpy_P'
       #define strcpy_P(dest, src) strcpy((dest), (src))
                                                   ^~~
      C:\users\ikes\.platformio\lib\Time_ID44\DateStrings.cpp:86:28: note: in expansion of macro 'pgm_read_ptr'
          strcpy_P(buffer, (PGM_P)pgm_read_ptr(&(dayNames_P[day])));
                                  ^~~~~~~~~~~~
      In file included from .pio\libdeps\nrf52_dk\MySensors/MySensors.h:74:0,
                       from src\main.cpp:7:
      .pio\libdeps\nrf52_dk\MySensors/hal/architecture/NRF5/MyHwNRF5.cpp: In function 'uint16_t hwCPUVoltage()':
      .pio\libdeps\nrf52_dk\MySensors/hal/architecture/NRF5/MyHwNRF5.cpp:506:16: warning: 'sample' is used uninitialized in this function [-Wuninitialized]
        return (sample*3600)/255;
               ~~~~~~~^~~~~~
      *** [.pio\build\nrf52_dk\lib45d\Time_ID44\DateStrings.cpp.o] Error 1
      =========================================================================================== [FAILED] Took 5.57 seconds ===========================================================================================
      
      posted in Development
      Ikes 72000
      Ikes 72000
    • RE: Best PC platform for running Esxi/Docker at home?

      @monte said in Best PC platform for running Esxi/Docker at home?:

      +1 for proxmox. Didn't have good experience with esxi. Proxmox is opensource, free and debian-based. Using it on HP microserver gen 8.
      As for CPU choice I don't see how there would be any issue with Ryzen. All you need from processor is hardware virtualization, and I think all except the lowest level ones have it nowadays.

      I have two HP gen8 microserver running Esxi 6.7U3, working fine.
      I tried Proxmox earlier, and encountered some issues.
      Both HP run old cpu (core i3 and xeon e3-1265) and 7 or 8 VM each (OMV, pfsense, Nodered, Mosquitto, HA, Nextdom, seedbox, other).
      Cpu are not used much, less than 25%.
      So with recent cpu, you shoudn't have any issues.

      posted in Controllers
      Ikes 72000
      Ikes 72000
    • RE: Floor Cooling in my House

      Hi,

      @Strontvlieg, you can use Node-red for that, it's simple and work fine.
      I use both Modbus and Mysensor at home, with Node-red.

      Modbus Node red
      Mysensors Node red

      With this solution, it will be easy to do what you need to achieve.

      posted in General Discussion
      Ikes 72000
      Ikes 72000

    Latest posts made by Ikes 72000

    • RE: Advisory: put IOT devices on a separate LAN/vLAN for better security

      I have 2 hp servers at home running esxi from an SD card, and it has been working fine for 2 years now.
      I also tried proxmox for a few months, but encountered some stability issues and bugs.
      Both solutions have pros and cons, but now I clearly prefer esxi.
      Datastores and network are easier to manage and it is very easy to passtrought hardware to virtual machine. All the hard disks of my servers are managed by VM (Open Media Vault, Raid 5 software), without any problem.
      I also use a Pfsense VM to manage all my networks, with different VLANs. It is very easy to manage VLAN under esxi with vSwitch.
      In the next few weeks, I will be switching to OPNsense.
      I chose this solution to mutualize the material resources, knowing that this solution can pose problems in certain cases.

      posted in General Discussion
      Ikes 72000
      Ikes 72000
    • RE: [Answered] Any recommended load-and-go VM or Docker images for mysensors?

      @NeverDie said in Any recommended load-and-go VM or Docker images for mysensors?:

      @Puneit-Thukral I seem to have an addon store even though I simply loaded the VM and didn't do a supervised install:
      hastore.png
      Is what's pictured here the same as what you're referring to?

      Yes this is the addon store of HA.

      posted in Controllers
      Ikes 72000
      Ikes 72000
    • RE: Best PC platform for running Esxi/Docker at home?

      @monte said in Best PC platform for running Esxi/Docker at home?:

      +1 for proxmox. Didn't have good experience with esxi. Proxmox is opensource, free and debian-based. Using it on HP microserver gen 8.
      As for CPU choice I don't see how there would be any issue with Ryzen. All you need from processor is hardware virtualization, and I think all except the lowest level ones have it nowadays.

      I have two HP gen8 microserver running Esxi 6.7U3, working fine.
      I tried Proxmox earlier, and encountered some issues.
      Both HP run old cpu (core i3 and xeon e3-1265) and 7 or 8 VM each (OMV, pfsense, Nodered, Mosquitto, HA, Nextdom, seedbox, other).
      Cpu are not used much, less than 25%.
      So with recent cpu, you shoudn't have any issues.

      posted in Controllers
      Ikes 72000
      Ikes 72000
    • RE: Floor Cooling in my House

      Hi,

      @Strontvlieg, you can use Node-red for that, it's simple and work fine.
      I use both Modbus and Mysensor at home, with Node-red.

      Modbus Node red
      Mysensors Node red

      With this solution, it will be easy to do what you need to achieve.

      posted in General Discussion
      Ikes 72000
      Ikes 72000
    • RE: 💬 EFEKTA Temp&Hum sensor(ver. nRF52 )+E-Ink display

      @berkseo, thanks.
      Finally, I found another solution with image2cpp, that allow direct conversion of svg files.

      link text

      So i can convert icons from [link text] (https://iconify.design/icon-sets/mdi/)

      alt text

      And for fonts, i use link text, it works fine with Gxepd2 library.

      posted in OpenHardware.io
      Ikes 72000
      Ikes 72000
    • RE: 💬 EFEKTA Temp&Hum sensor(ver. nRF52 )+E-Ink display

      Hi,

      @berkseo , do you use image2lcd to convert image to .c ?
      With what parameters ?

      Thanks.

      Ikes

      posted in OpenHardware.io
      Ikes 72000
      Ikes 72000
    • RE: 💬 nRF52832 ESP-LINK Shield for ESP8266 Wemos D1 Mini

      @NeverDie, no, log is from arduino ide.

      posted in OpenHardware.io
      Ikes 72000
      Ikes 72000
    • RE: 💬 nRF52832 ESP-LINK Shield for ESP8266 Wemos D1 Mini

      @NeverDie, yes, but same, nothing in the console.
      I will check my wiring.

      And what the signification of this in log ?

      Temporary breakpoint 1 at 0x1370: file G:\Documents\Arduino\libraries\MySensors/hal/architecture/NRF5/MyMainNRF5.cpp, line 23.
      Starting program: C:\Users\Ikes\AppData\Local\Temp\arduino_build_693731\MyBoardNRF5.ino.elf 
      Note: automatically using hardware breakpoints for read-only addresses.
      
      Temporary breakpoint 1, main ()
          at G:\Documents\Arduino\libraries\MySensors/hal/architecture/NRF5/MyMainNRF5.cpp:23
      23	{
       
      
      posted in OpenHardware.io
      Ikes 72000
      Ikes 72000
    • RE: 💬 nRF52832 ESP-LINK Shield for ESP8266 Wemos D1 Mini

      @NeverDie , thanks, but unfortunately this doesn't work.

      Sketch i upload to nrf:

      // Enable serial gateway
      #define MY_GATEWAY_SERIAL
      
      #include <nrf.h>
      #include <MySensors.h>
      
      void setup() {
        Serial.begin(460800);
        Serial.println();
        Serial.println("Countdown 3...");
        Serial.flush();
        delay(100);
        Serial.println("Countdown 2...");
        Serial.flush();
        delay(100);
        Serial.println("Countdown 1...");
        Serial.flush();
        delay(100);
        Serial.println("Starting...");
        Serial.flush();
        delay(100);
      }
      uint32_t loopCounter=0;
      void loop() {
        Serial.println(loopCounter++);
        Serial.flush();
      }
      

      Log:

      c:/users/ikes/appdata/local/arduino15/packages/sandeepmistry/tools/gcc-arm-none-eabi/5_2-2015q4/bin/../lib/gcc/arm-none-eabi/5.2.1/../../../../arm-none-eabi/bin/ld.exe: warning: changing start of section .bss by 4 bytes
      c:/users/ikes/appdata/local/arduino15/packages/sandeepmistry/tools/gcc-arm-none-eabi/5_2-2015q4/bin/../lib/gcc/arm-none-eabi/5.2.1/../../../../arm-none-eabi/bin/ld.exe: warning: changing start of section .heap by 4 bytes
      c:/users/ikes/appdata/local/arduino15/packages/sandeepmistry/tools/gcc-arm-none-eabi/5_2-2015q4/bin/../lib/gcc/arm-none-eabi/5.2.1/../../../../arm-none-eabi/bin/ld.exe: warning: changing start of section .stack_dummy by 4 bytes
      c:/users/ikes/appdata/local/arduino15/packages/sandeepmistry/tools/gcc-arm-none-eabi/5_2-2015q4/bin/../lib/gcc/arm-none-eabi/5.2.1/../../../../arm-none-eabi/bin/ld.exe: warning: changing start of section .bss by 4 bytes
      c:/users/ikes/appdata/local/arduino15/packages/sandeepmistry/tools/gcc-arm-none-eabi/5_2-2015q4/bin/../lib/gcc/arm-none-eabi/5.2.1/../../../../arm-none-eabi/bin/ld.exe: warning: changing start of section .heap by 4 bytes
      c:/users/ikes/appdata/local/arduino15/packages/sandeepmistry/tools/gcc-arm-none-eabi/5_2-2015q4/bin/../lib/gcc/arm-none-eabi/5.2.1/../../../../arm-none-eabi/bin/ld.exe: warning: changing start of section .stack_dummy by 4 bytes
      c:/users/ikes/appdata/local/arduino15/packages/sandeepmistry/tools/gcc-arm-none-eabi/5_2-2015q4/bin/../lib/gcc/arm-none-eabi/5.2.1/../../../../arm-none-eabi/bin/ld.exe: warning: changing start of section .bss by 4 bytes
      c:/users/ikes/appdata/local/arduino15/packages/sandeepmistry/tools/gcc-arm-none-eabi/5_2-2015q4/bin/../lib/gcc/arm-none-eabi/5.2.1/../../../../arm-none-eabi/bin/ld.exe: warning: changing start of section .heap by 4 bytes
      c:/users/ikes/appdata/local/arduino15/packages/sandeepmistry/tools/gcc-arm-none-eabi/5_2-2015q4/bin/../lib/gcc/arm-none-eabi/5.2.1/../../../../arm-none-eabi/bin/ld.exe: warning: changing start of section .stack_dummy by 4 bytes
      Le croquis utilise 22984 octets (4%) de l'espace de stockage de programmes. Le maximum est de 524288 octets.
      Target voltage: 3.73V
      Remote debugging using \\.\COM6
      Available Targets:
      No. Att Driver
       1      Nordic nRF52 M3/M4
       2      Nordic nRF52 Access Port 
      Attaching to Remote target
      0x000009c4 in ?? ()
      Reading symbols from MyBoardNRF5.ino.elf...done.
      Loading section .text, size 0x59c8 lma 0x0
      Loading section .ARM.exidx, size 0x8 lma 0x59c8
      Loading section .data, size 0xbc lma 0x59d0
      Start address 0x1410, load size 23180
      Transfer rate: 39 KB/sec, 891 bytes/write.
      Temporary breakpoint 1 at 0x1370: file G:\Documents\Arduino\libraries\MySensors/hal/architecture/NRF5/MyMainNRF5.cpp, line 23.
      Starting program: C:\Users\Ikes\AppData\Local\Temp\arduino_build_693731\MyBoardNRF5.ino.elf 
      Note: automatically using hardware breakpoints for read-only addresses.
      
      Temporary breakpoint 1, main ()
          at G:\Documents\Arduino\libraries\MySensors/hal/architecture/NRF5/MyMainNRF5.cpp:23
      23	{
      
      Program complete!
      

      Don't see anything in esp-link console.

      posted in OpenHardware.io
      Ikes 72000
      Ikes 72000
    • RE: 💬 nRF52832 ESP-LINK Shield for ESP8266 Wemos D1 Mini

      Hi,

      I'm new to mysensors, and for tests purpose, i need this gateway.
      Wemos works fine with esp-link.
      For nrf52832, i use Plateformio ide, and mysensors serial gateway sketch.

      // Enable debug prints to serial monitor
      #define MY_DEBUG
      
      
      // Enable and select radio type attached
      //#define MY_RADIO_RF24
      #define MY_RADIO_NRF5_ESB
      //#define MY_RADIO_RFM69
      //#define MY_RADIO_RFM95
      
      // Set LOW transmit power level as default, if you have an amplified NRF-module and
      // power your radio separately with a good regulator you can turn up PA level.
      //#define MY_RF24_PA_LEVEL RF24_PA_LOW
      
      // Enable serial gateway
      #define MY_GATEWAY_SERIAL
      
      // Define a lower baud rate for Arduinos running on 8 MHz (Arduino Pro Mini 3.3V & SenseBender)
      #if F_CPU == 8000000L
      #define MY_BAUD_RATE 38400
      #endif
      
      // Enable inclusion mode
      #define MY_INCLUSION_MODE_FEATURE
      // Enable Inclusion mode button on gateway
      //#define MY_INCLUSION_BUTTON_FEATURE
      
      // Inverses behavior of inclusion button (if using external pullup)
      //#define MY_INCLUSION_BUTTON_EXTERNAL_PULLUP
      
      // Set inclusion mode duration (in seconds)
      #define MY_INCLUSION_MODE_DURATION 60
      // Digital pin used for inclusion mode button
      //#define MY_INCLUSION_MODE_BUTTON_PIN  3
      
      // Set blinking period
      #define MY_DEFAULT_LED_BLINK_PERIOD 300
      
      // Inverses the behavior of leds
      //#define MY_WITH_LEDS_BLINKING_INVERSE
      
      // Flash leds on rx/tx/err
      // Uncomment to override default HW configurations
      //#define MY_DEFAULT_ERR_LED_PIN 4  // Error led pin
      //#define MY_DEFAULT_RX_LED_PIN  6  // Receive led pin
      //#define MY_DEFAULT_TX_LED_PIN  5  // the PCB, on board LED
      
      #include <MySensors.h>
      
      void setup()
      {
          // Setup locally attached sensors
      }
      
      void presentation()
      {
          // Present locally attached sensors
      }
      
      void loop()
      {
          // Send locally attached sensor data here
      }
      
      

      As this, gateway don't work, esp-link don't receive anything.
      I think i need to specify witch pins of NRF are used for rx tx, but how doing that ?

      Thanks

      Ikes

      posted in OpenHardware.io
      Ikes 72000
      Ikes 72000