I use GPIO to read Digital data from Motion sensor. (Motion sensor detect return 1, vice versa return 0)
I want my input pin in pull_up_down mode by function GPIO.setup() but I received a warning "Ignore pull_up_down "
If found this source in Gpio lib and It not accept to use pull_up_down.
I checked this example, It is blocking and GPIO INPUT is in default (value = 1) .
My Gpio.INPut always have value = 1 (3.3 vol). How can I change It to 0 ?
I used function GPIO.setup() with parameter pull_up_down and It return ignore.
Motion sensor response voltage = 3.3v (if detected) , vice versa voltage = 0v
I used jetson.GPIO to read it. But It’s not working.
My problem: when Motion sensor return 1, Jetson read 1 and keep this value (Don’t change when Motion sensor return 0 )
I tested this sensor in Rasp3 and It worked normally.
“It is possible to disable the pull completely or change the pull type from pull-up to pull-down or vice-versa, but to change this we need to generate a new default pin configuration for the Nano, which unfortunately at the moment is a bit of a convoluted process, but nonetheless we are working on putting the information together to allow users to change this.”
So any up for this ? Because In newest version, It not accepted to change mode.
Hi 111convit,
Can you please give the dump of these registers to check your gpio settings:
busybox devmem 0x6000d600
busybox devmem 0x6000d610
busybox devmem 0x6000d620
busybox devmem 0x6000d630
There is no update from you for a period, assuming this is not an issue any more.
Hence we are closing this topic. If need further support, please open a new one.
Thanks
Is the issue resolved? If not, please provide registers data.