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. New Attiny1614 /3224 /3226 Support?

New Attiny1614 /3224 /3226 Support?

Scheduled Pinned Locked Moved Hardware
6 Posts 3 Posters 110 Views 3 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.
  • M Offline
    M Offline
    Mr_nanick
    wrote on last edited by
    #1

    Dear all,
    i hopes you are doing well.
    Thoses new attiny have similar hardware of the atmega328.
    Have you ever seen any subject about their compatibility with mysensors Library?
    Thank you for your help.

    C 1 Reply Last reply
    0
    • M Mr_nanick

      Dear all,
      i hopes you are doing well.
      Thoses new attiny have similar hardware of the atmega328.
      Have you ever seen any subject about their compatibility with mysensors Library?
      Thank you for your help.

      C Offline
      C Offline
      chey
      wrote on last edited by
      #2

      @Mr_nanick It appears there is full Arduino support for those via the megaTinyCore.

      They also seem to have plenty of flash.

      I don't see why it wouldn't work.

      1 Reply Last reply
      0
      • Bogusz JagodaB Offline
        Bogusz JagodaB Offline
        Bogusz Jagoda
        wrote on last edited by
        #3

        Trying to adapt MyS to tiny3227.

        • selfmade devbrd done.
        • pickit4 as a programmer (UPDI) works from newest Arduino 1.8.16 with megaTinyCore added to board manager
        • churning datasheets for HAL part adaptation.

        It is still quite amount of work to be done, even before first successful compilation...

        1 Reply Last reply
        0
        • Bogusz JagodaB Offline
          Bogusz JagodaB Offline
          Bogusz Jagoda
          wrote on last edited by
          #4

          Some advances made.

          Library is compilable @ 3227, but stripped from IRQ functionality.

          DevEnv: Microchip Studio & vMicro w/ Arduino 1.8.16

          Tests ongoing...

          1 Reply Last reply
          0
          • Bogusz JagodaB Offline
            Bogusz JagodaB Offline
            Bogusz Jagoda
            wrote on last edited by Bogusz Jagoda
            #5

            Ok.
            Some progress.
            I've ATtiny 3227, so tested on it, with RFM69, works in IRQ mode ok.

            How to use:

            • download library from github & replace in-place in arduino user lib folder
            • use SpenceKonde megaTinyCore for newest ATtiny support
            • required define (non-standard) goes into main sketch file (.ino) before <include "MySensors.h> :
            #define MY_RFM69_IRQ_PIN PIN_PA5
            #ifdef MY_RFM69_IRQ_PIN
            	#define MY_RFM69_IRQ_PORT_vect        PORTA_PORT_vect
            #endif
            

            https://github.com/Gobol/MySensors

            1 Reply Last reply
            1
            • Bogusz JagodaB Offline
              Bogusz JagodaB Offline
              Bogusz Jagoda
              wrote on last edited by
              #6

              Main problem (already "quickfix" solved) is completely new and incompatibile interrupt system implemented in new (post-2016) ATtinys. More flexible, but also coming with some problems when using Arduino-like code and few libraries. Other than that, due to completely new power management these features I don't tested yet, may not work properly...

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


              26

              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