NoahTan96
Posts: 1
Joined: Mon Jul 10, 2017 7:07 am

RPICT3 Temperature and Current Sensor

Mon Jul 10, 2017 7:31 am

Hi all,
I recently bought and installed a sensor from Lechacal.com, using the command line :

$ cat /dev/ttyAMA0

the line is supposed to generate readings of an induced A/C connection with the use of a current amplifier. But I keep getting fluctuating readings from the sensor even without connection of the current amplifier, not to mention connecting the current amplifier does not help in any way, as the readings generated constantly fluctuate in a way that indication of whether the sensor is working or not, can't be told.

Does anybody have any idea how this thing works?

amcdonley
Posts: 135
Joined: Mon Jan 26, 2015 5:56 pm
Location: Florida, USA

Re: RPICT3 Temperature and Current Sensor

Wed Jul 12, 2017 8:37 pm

Did you try their sample program ??

Code: Select all

sudo apt-get install python-serial
Then copy the following into an executable file and run it.
#!/usr/bin/python
import serial
ser = serial.Serial('/dev/ttyAMA0', 38400, timeout=1)

try:
       while 1:
               response = ser.readline()
               z = response.split(",")
               if len(z)>=2:
                       print "Power 1: %s Watts" % z[0]
                       print "Power 2: %s Watts" % z[1]
                       print "Power 3: %s Watts" % z[2][:-2]
except KeyboardInterrupt:
       ser.close()

LeChacal
Posts: 1
Joined: Mon Sep 11, 2017 2:04 pm

Re: RPICT3 Temperature and Current Sensor

Mon Sep 11, 2017 2:18 pm

We would need to know what measuring range is expected and the data the RPICT3 outputs.

The RPICT3 is sold by default for 100A rating. Obviously with this range we are looking for power around 1kw and above to be significant. If this is tested with something of about 25W or below then this is such a small value that it would be buried in the noise and appear fluctuating.

The best when purchasing these is to established which range is to be measured. Then order the appropriate board. The RPICT3 can be rated down to 5A. Which is more suitable for small power.

Return to “Automation, sensing and robotics”

Who is online

Users browsing this forum: No registered users and 19 guests