Hi. Putting final touch to a very interesting project, using a Raspberry PI to interface with a M6e Nano reader (using the Mercury API library). We’re using a PIR to trigger sync tag reads on the M6e Nano and setting PowerMode=MAXSAVE to reduce power consumption and heat generation when idle.
We are now adding a fan control thread to our Python script to start a cooling fan whenever the temperature of the M6e Nano or Raspberry PI exceeds 70 degrees, and turn it off when the temperature of both is below 65 degrees.
Could there be a conflict if the fan control thread tries to read the M6e temperature at the exact same time that a sync tag read is running in the main loop? And also the other way: is we try to start a sync tag read while the M6e is responding to a temperature read request?
In the main endless loop, triggered by the PIR when movement is detected in front of the antenna:
tags_list = reader.read(timeout=5000) #read tags during 5 seconds
In the fan control thread (checking every 5 minutes):
m6e_start = str(reader.get_temperature())
Thanks in advance