• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

Serial Comunication with Arduino

Scheduled Pinned Locked Moved Requests
19 Posts 3 Posters 7.1k Views 3 Watching
Loading More Posts
  • 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.
  • S Offline
    s.monti.74
    last edited by May 13, 2019, 5:34 PM

    no code runs on the pi to get the value, the value is read from arduino from the tag and arduino sends the value to the pi via serial. i don’t know which module of magic mirror I have to use to read that value and use it as a notification to switch the profile with MMM-ProfileSwitcher

    1 Reply Last reply Reply Quote 0
    • S Offline
      sdetweil
      last edited by May 13, 2019, 5:56 PM

      ok, got it… you don’t KNOW if you got it in the pi yet…

      this module should work for you

      https://github.com/Tom-Hirschberger/MMM-Serial-Notifications

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 0
      • S Offline
        s.monti.74
        last edited by May 13, 2019, 6:06 PM

        thanks a lot sdetweil

        S 1 Reply Last reply May 13, 2019, 6:10 PM Reply Quote 0
        • S Offline
          sdetweil @s.monti.74
          last edited by May 13, 2019, 6:10 PM

          @s-monti-74

          I think the module will read the serial port , and map that to some notification for other modules

          devices: {
                  '/dev/ttyACM0': {
                    messages: {
                      'Gesture: UP': [    < ---- message it reads from serial port (in your case rfid tag value)
          

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          S 1 Reply Last reply May 13, 2019, 7:05 PM Reply Quote 1
          • S Offline
            s.monti.74 @sdetweil
            last edited by May 13, 2019, 7:05 PM

            @sdetweil YESSSS It works has I want, thanks again

            S 1 Reply Last reply May 13, 2019, 9:22 PM Reply Quote 0
            • S Offline
              sdetweil @s.monti.74
              last edited by May 13, 2019, 9:22 PM

              @s-monti-74 way cool congrats!

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • 1
              • 2
              • 1 / 2
              1 / 2
              • First post
                18/19
                Last post
              Enjoying MagicMirror? Please consider a donation!
              MagicMirror created by Michael Teeuw.
              Forum managed by Sam, technical setup by Karsten.
              This forum is using NodeBB as its core | Contributors
              Contact | Privacy Policy