Hi,
I've tried to connect the hx711 to espruino.
unfortunately, the hx711 pd_sck pin asks for a pulse of 1 and 0 (24 to get the bits of reading) then 1-3 bits for the gain setting.
and the max time for the 1 period is 50microseconds (pcd_sck high time) https://cdn.sparkfun.com/datasheets/SensĀors/ForceFlex/hx711_english.pdf
and the espruino min delay for a digitalwrite is 160 microseconds. I've measured with my oscilloscope.
so the hx711 is "too fast" for the espruino.
Do you have an idea how I can get the adc values ?
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Hi,
I've tried to connect the hx711 to espruino.
unfortunately, the hx711 pd_sck pin asks for a pulse of 1 and 0 (24 to get the bits of reading) then 1-3 bits for the gain setting.
and the max time for the 1 period is 50microseconds (pcd_sck high time)
https://cdn.sparkfun.com/datasheets/SensĀors/ForceFlex/hx711_english.pdf
and the espruino min delay for a digitalwrite is 160 microseconds. I've measured with my oscilloscope.
so the hx711 is "too fast" for the espruino.
Do you have an idea how I can get the adc values ?