Code Monkey home page Code Monkey logo

rtd-rpi's People

Contributors

alexburcea2877 avatar bingdom avatar ewjax avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

rtd-rpi's Issues

problem after trying to update firmware

~/rtd-rpi/update $ ./update 0
You are ready to update the firmware on your board.
Your Raspberry Pi must be connected to the internet.
Type "yes" (without quotes) to continue or anything else to quit:
yes
CPUID: 4d0047000a51504734363520
Downloading firmware...               Done
Bootloader no answer!!!
~/rtd-rpi/update $ ./update 0
You are ready to update the firmware on your board.
Your Raspberry Pi must be connected to the internet.
Type "yes" (without quotes) to continue or anything else to quit:
yes
CPUID: 4d0047000a51504734363520
Downloading firmware...               Done
Programming the board...
Write fail!
FAIL to write!

After this it is no longer possible to to read from RTD sensors.

:~/rtd-rpi/update $ rtd 0 read 1
MEGA-RTD id 0 not detected

This was working before.

measure the value of a resistor

Hi Alexburcea2877 , could you here help me?

when using RTD-RPI, i want to measure the value of a resistor, is there a way to do this?
I can measure the value of a resistor by RTD-RPI okay?
thank you.

how can the resistance measure above 390 ohms

Hi Alexburcea,
The RTD board uses a PT100 sensor and the maximum resistance of the PT100 actually measures 390 ohms. so when measuring resistances above 390 ohms the results are all around 410 ohms. how can resistors be above 390 ohms.
Thanks very much.

newMsg = { payload : msg.payload };
if(parseFloat (msg.payload) > 500 || parseFloat (msg.payload) < -60)
{
newMsg.payload = " 0 ";
}
return newMsg ;

lost contact to V4.1 board and unable to upgrade FW on 5.0 board

i have a setup with a raspberrypi ZW and two rtd boards(one is from the kickstarter v4.1(rtd 0) and the other board is bought from you regular shop v 5.0(rtd 1) and one 4relind board (rtd 2) on a pHAT Stack
by [Pimoroni](https://shop.pimoroni.com/collections/all?vendor=Pimoroni) .
This has worked very well for over a year but recently i have had some big variations in the reading from two of the sensors. While investigating this problem decided to upgrade the rtd software and firmware i discoverd that

When i tried to upgrade to the latest firmware

pi@rpi-zw-01:~/rtd-rpi/update $ ./update 0
You are ready to update the firmware on your board.
Your Raspberry Pi must be connected to the internet.
Type "yes" (without quotes) to continue or anything else to quit:
yes
CPUID: 520027001651524635333820
Downloading firmware...               Board version < 6.0
Done
Programming the board...  9%
 Retry 21 times. Write fail!
FAIL to write!
pi@rpi-zw-01:~/rtd-rpi/update $ ./update 1
You are ready to update the firmware on your board.
Your Raspberry Pi must be connected to the internet.
Type "yes" (without quotes) to continue or anything else to quit:
yes
CPUID: 3b001d000151564135373120
Downloading firmware...               Board version < 6.0
Done
Bootloader no answer!!!

no rtd boards ar detected

rtd -list
0 board(s) detected]

detecting the 4relind board is working

pi@rpi-zw-01:~/rtd-rpi/update $ 4relind -list
1 board(s) detected
Id: 2

When disconnecting the kickstarter board(rtd 0) i can connect to the other boards.

pi@rpi-zw-01:~ $ rtd 1 board
Mega RTD firmware version 1.11
Vin 5.048V, Vrasp 5.042V, CPU Temp 37C
pi@rpi-zw-01:~ $ rtd 1 read 1
19.793970
pi@rpi-zw-01:~ $ rtd 1 read 2
32.919575

pi@rpi-zw-01:~/rtd-rpi/update $ 4relind -list
1 board(s) detected
Id: 2

but not able to upgrade the rtd 1 board

pi@rpi-zw-01:~/rtd-rpi/update $ ./update 1
You are ready to update the firmware on your board.
Your Raspberry Pi must be connected to the internet.
Type "yes" (without quotes) to continue or anything else to quit:
yes
read cmd NACK ret 0xffffffff !!!
Cpu id read fail!!

pi@rpi-zw-01:~/rtd-rpi/update $ ./update 1
You are ready to update the firmware on your board.
Your Raspberry Pi must be connected to the internet.
Type "yes" (without quotes) to continue or anything else to quit:
yes
CPUID: 3b001d000151564135373120
Downloading firmware...               Board version < 6.0
Done
Bootloader no answer!!!

if i connect the raspberry pi directly on the rtd1 board i get the same behaviour.

pi@rpi-zw-01:~/rtd-rpi/update $ ./update 1
You are ready to update the firmware on your board.
Your Raspberry Pi must be connected to the internet.
Type "yes" (without quotes) to continue or anything else to quit:
yes
CPUID: 3b001d000151564135373120
Downloading firmware...               Board version < 6.0
Done
Bootloader no answer!!!

read value on sensor is way to high with PT1000 sensor

the resistor value is correct and the read value shoukd be around 20C.

~ $ rtd 1 read 5
223.538010
~ $ rtd 1 readres 5
1085.951782
~ $ rtd 1 styperd 2
1
:~ $ rtd 1 board
Mega RTD firmware version 1.10
Vin 5.146V, Vrasp 5.158V, CPU Temp 33C
:~ $ rtd 0 board
Mega RTD firmware version 1.10
Vin 5.144V, Vrasp 5.133V, CPU Temp 31C
:~ $ rtd -v
rtd v1.2.2 Copyright (c) 2016 - 2021 Sequent Microsystems

This is free software with ABSOLUTELY NO WARRANTY.
For details type: rtd -warranty

hardware version 5.0

problem to update firmware on hw-v4.1

./update 0
You are ready to update the firmware on your board.
Your Raspberry Pi must be connected to the internet.
Type "yes" (without quotes) to continue or anything else to quit:
yes
CPUID: 520027001651524635333820
Downloading firmware...               Done
Programming the board...  3%
Write fail!
FAIL to write!

curent sw version.

rtd -v
rtd v1.2.2 Copyright (c) 2016 - 2021 Sequent Microsystems

This is free software with ABSOLUTELY NO WARRANTY.
For details type: rtd -warranty

Only resistor value is presented in node-red node

When using the node-red RTD node i only get the resistor value independent if i tic the "Output sensor resistance" box or not.
i have pulled the latest git version and re installed the rtd node but the issue persist.

Release python module onto pypi?

Hi,

Is it possible that we could get the python modules deployed to PyPi?

This would then allow us to track updates with dependabot. For example,

We generally specify a requirements.txt with a collection of modules that our project uses. It could look something like this for us.

rtd-rpi==1.3.0

Obviously it would also allow us to install the module as normal

python -m pip install rtd-rpi

This should also be available for the other python libraries like this one

First sensor group is reading the wrong values

i have connected all channels except RTD3 on one of my rtd-rpi boards
RTD5-RTD8 works fine
RTD1-RTD4 is not working properly.
several readings from channel 4

pi@rpi-zw-01:~ $ rtd 1 read 4
35.084435
30.902273
30.902273
30.902273
29.323097
29.323097
34.212376

several readings from channel 5 but with the same RTD sensor used in previous test on channel 4 (the reading coresponds with expected result)

pi@rpi-zw-01:~ $ rtd 1 read 5
3.243091
3.243091
3.279506
3.279506
3.233865
3.285515

i get similar faulty readings from all the channels in group 1
this has worked before, problem has arriesed during autom winter 2022, no changes has been done to the system during this time
is there a way to see if it is a fault in the HW?

pi@rpi-zw-01:~ $ rtd -v
rtd v1.2.4 Copyright (c) 2016 - 2022 Sequent Microsystems

pi@rpi-zw-01:~ $ rtd 1 board
Mega RTD firmware version 1.13
Vin 5.013V, Vrasp 4.985V, CPU Temp 38C

pi@rpi-zw-01:~ $ rtd 1 styperd 1
1

pi@rpi-zw-01:~ $ rtd 1 styperd 2
1

pleas help!

Issue with Measurement Repeatability

Hello,

We are attempting to calibrate the RPI Tophat to evaluate it for use as a cheaper alternative to expensive data-loggers.

Our temperature source (Beamex MB140) is accurate to < 0.01 oC and we are using 1/3 DIN 3-wire PT100 sensors (native accuracy of +- 0.1oC, but since we calibrate to a Beamex MB140, with other data-loggers we see calibrated accuracy better than +- 0.01oC).

We are having issues with the repeatability of measurements from one day to another. Before calibration, the temperatures we see with 1/3 DIN 3-wire PT100s and the Tophat are generally within +- 2 oC at 25 oC. Immediately after calibration we see as good as +- 0.03 oC. However the temperature values we read then drift. After a few hours it is +- 0.3 oC, and after a day up to +- 1 oC. A unit I calibrated a week ago (8-sensor) is now +- 1.7 oC.

I see this problem in all 8 boards we have tried (some boards are V 5.1 and some are V 6.2).

I saw in another thread that "the worst precision is the pull-up resistor from the measuring circuit which is +/-1%". 2 oC at 300K is almost 1%.

Is this 1% drift after calibration expected then? Ideally we would like to maintain an accuracy of < +- 0.1 oC, but I'm not sure if its possible with this system?

problems with temperature display

Hi Alexburcea2877 , could you here help me?
I would like to display a number with only two digits after the decimal point in NODE-RED.
(NODE-RED URL: 192.168.1.21:1880/UI/#/.....)
I wonder how to make it show a fixed numbers (say 2 numbers) after the decimal point. For example
if TEMPERATURE = 26.5787 ---> Temperature = 26.57

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.