Read the statement by Michael Teeuw here.
Serial Comunication with Arduino
-
Hello, I am interested in displaying Serial communication between arduino and Magick Mirror.
Something similar is used by MMM-Gesture but I have not been able to modify the code , I would like to display the numerical information from my arduino projects via USB serial.
Does anyone use something like that?
Thank you for advice.
-
@Radek said in Serial Comunication with Arduino:
MMM-Gestur
Hi I have a similar need
I wan’t to send notifications to Magic Mirror (to switch the profile) using an RFID sensor connected to an Arduino
If I pass my personal tag near the RFID sensor connected to the Arduino, I want to switch the profile of magic Mirror
Does anyone know if is possible to use the serial comunication in this way from arduino and RPi ? -
sure… serial is serial…
arduino - write
https://www.arduino.cc/en/serial/write
pi - read (using on.data event)
in node_helper.jshttps://github.com/nebrius/raspi-serial
then the ‘on data’ event can signal the module if needed,
with sendsocketnotification() -
so I abandon the idea of using the arduino outputs (reduced to 3.3 volts) in the GPi input of the RPi and the mmm-buttons module?
thank you very much -
@s-monti-74 yeh, just do serial communications…
-
HI sdetweil, thanks
I have connected my Arduino to RPi with USB cable and I read (on Arduino values of RFID tags) on the Serial monitor of Arduino IDE installed on my RPI
Now I don’t understand which MMM Magic Mirror module I have to use to manage serial datas that I receive from Arduinothanks a lot
bye -
@s-monti-74 I think u will have to create your own module
-
How did u implement the pi side? Python?
-
@sdetweil
mmmmmm… I’m using some MMM modules installed on my mirror, hoping that there is a module like MMM-ArduPort that I can use for my purpose
:flushed_face: -
@s-monti-74 wht do you want to do with the rfid tag value? besides display it? use it as a profile id?