Sebastian Eduardo Bongain Rosales Posted September 28, 2018 Share Posted September 28, 2018 Hi, Is there any way to set all gpio to low in OPI Zero during de boot? becouse my OPI Zero is turning on some devices when is turning on. i've been searching about this problem but i couldn't find any solution. ty! Link to comment Share on other sites More sharing options...
martinayotte Posted September 29, 2018 Share Posted September 29, 2018 Maybe you should explain more about your use-case scenario, because GPIOs are normally floating until been initialized either by DT or by specific kernel driver ... Link to comment Share on other sites More sharing options...
Sebastian Eduardo Bongain Rosales Posted September 29, 2018 Author Share Posted September 29, 2018 17 hours ago, martinayotte said: Maybe you should explain more about your use-case scenario, because GPIOs are normally floating until been initialized either by DT or by specific kernel driver ... Hi, i have circuits which are powered using transistors conected to gpio. when i connect the power to the OPI Zero using the micro usb, while the OPI Zero is booting some GPIO change their state to High, and i only can set to low running some script or using the console. My problem is that the board is turning on devices before my script start. That's why i want to set all the gpio ports to low in boot. Ty, EDIT: im using ARMBIAN 5.60 stable Ubuntu 16.04.5 LTS 3.4.113-sun8i Link to comment Share on other sites More sharing options...
olivluca Posted September 30, 2018 Share Posted September 30, 2018 Did you try to put an external pull down resistor on the transistor base? Link to comment Share on other sites More sharing options...
Recommended Posts