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
  1. Home
  2. Hardware
  3. LGT8F328P and MySensors

LGT8F328P and MySensors

Scheduled Pinned Locked Moved Hardware
6 Posts 4 Posters 54 Views 4 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by
    #1

    I bought some of the LGT8F328P arduino "clones", since they have some improvements over the normal nanos.
    Unfortunately they did not work with mysensors. The serial output was nonsense.
    Is it possible to use them for mysensors? how is that possible?
    Greets patrick

    1 Reply Last reply
    0
    • OldSurferDudeO Offline
      OldSurferDudeO Offline
      OldSurferDude
      wrote on last edited by
      #2

      @paede said in LGT8F328P and MySensors:

      LGT8F328P

      There are some instructions on this page? Here's another link that might be helpful.

      I know nothing about this device other than the google search I just did on. Some red flags went up for me. The use of software for the third party board, and a newbie extoling its virtues. (astroturfing)

      Even if you get it running, it may not work with MySensors. I bought three official Nano Every's with your same hopes and expectations. It claimed to be a direct replacement/upgrade. First, the MySensors nRF24 software did not work. Then I was unable to find a reliable way to put the Every into deep sleep.

      I've had pretty good luck with the Nano clones on AliExpress. I'd recommend getting the RF Nano because the radio is built in. Before I put one into production, I spray it with electrical lacquer to prevent corrosion. That said, as with everything else you get on AliExpress, caveat emptor.

      It will be appreciated if you get it working and present the details here as to how you did it.

      -OSD

      1 Reply Last reply
      1
      • ? Offline
        ? Offline
        A Former User
        wrote on last edited by
        #3

        I use a lot of arduino nanos with mysensors in my home. I am not a newbie in mysensors. I could't find my old mysensors forum account :-(

        LGT8F328P works fine on other arduino programms. There must be something with mysensors that isn't compatible. I guess it has to do with the timing and the greater frequency of 32mhz.

        1 Reply Last reply
        0
        • P Offline
          P Offline
          patrick schaerer
          wrote on last edited by patrick schaerer
          #4

          It seems to be the same problem as in this thread: https://forum.mysensors.org/topic/11935/problem-with-lgt-rf-nano/8

          I'll try the KooLru Library and will report my results.

          PS: I found my original mysensors account :-) and deleted the new one.

          1 Reply Last reply
          1
          • P Offline
            P Offline
            patrick schaerer
            wrote on last edited by
            #5

            The KooLru Library (https://github.com/KooLru/MySensors/tree/LGT8F) worked. It would be nice to have it included in the normal MySensors Library

            1 Reply Last reply
            0
            • Boštjan FerličB Offline
              Boštjan FerličB Offline
              Boštjan Ferlič
              wrote on last edited by
              #6

              Hello

              I still didn't figure it out exactly, what is the issue with LGT8F328P and arduino, but for start, it can work, if you define 4x faster baud rate. So I define MY_BAUD_RATE 76800 and connect terminal with 19200, and it works. LGT is started in 8 MHz by default, and it looks like this is not corrected with mysensors. But this only helped for serial port, because later I had issues with DHT library timings.

              If I later change speed to 16 MHz and start serial port again, it works as expected:

              noInterrupts();
              CLKPR = 0x80;
              CLKPR = 0x01;
              interrupts();
              Serial.begin(19200);

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              14

              Online

              11.7k

              Users

              11.2k

              Topics

              113.1k

              Posts


              Copyright 2025 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
              • Login

              • Don't have an account? Register

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