You are not logged in.
Hi Shahin,
you introduced support for pressure Sensor in the new 4209 build. I found these new settings in then machine.json file:
"PressureType": 0,
"PressureAddress": "",
"PressureSpeed": 0,
"PressureRegex": "",
"PressureDebug": true,
"ScaleClockPin": "",
"ScaleDataPin": "",
"OpenScaleAddress": "",
Would you be so kind to shortly explain what do do or setup, to use the sensor to stop the peel move.
Thanks in advance,
Michael
Offline
If you are wiring HX711 directly you need to fill below parameters:
"ScaleClockPin": "",
"ScaleDataPin": "",
Then open /analytic path twice to see data being visualized.
Offline
Hi Shahin,
all I get is this log message:
Module scale: Error reading waitForDataReady error: timeout
Offline
It seems pins does not get low to start reading, may indicate wiring issue.
Offline
After checking and doublechecking the wiring i assumed my hx711 or the loadcell is broken so i bought a second one from a different vendor. Its the same behaviour after installing the new sensor. No signal shown on the /analytic page. only output on the status page is: "Tracking Start monitoring data sources" but nothing happens. What else can i check / test for debugging?
Offline
I downloaded a hx711 python script from https://github.com/tatobari/hx711py
and adapted the values to match my gpio configuration. Data readout with that script is working pretty well.
As i can confirm now that my hx711 and the loadcell are working with my pi i think this is a bug in nanodlp.
Offline
I guess pin numbering is different, to python script. Please, try physical one.
Offline
Sorry, no improvement by this.
I changed the phyton script to GPIO.setmode(GPIO.BOARD) and switched the used GPIO pins to pins not providing extra functionality. So runing the python script with hx = HX711(16, 22) shows output on the console.
Settings in nanodlp are:
"ScaleClockPin": 22,
"ScaleDataPin": 16,
after restart the only reaction from nanodlp is:"Scale Error reading waitForDataReady error: timeout"
Offline
Change on NanoDLP side.
22 => 15
16 => 36
Offline
Sorry, i don't get it.
I'm using
Clock: Physical 22 / GPIO 25
Data: Physical 16 / GPIO 23
On my Pi Physical 36 / GPIO 16 is already in use for something different.
Last edited by binfordboy (2021-02-22 10:40:49)
Offline