Hi all, I need to switch sharp 2d120x sensors on & off but want to use software as in portb0 = 1 & portb0= 0 to switch them on individually as I running 4 at the moment & want to double up to 8 sensors for 360 sensing on my robot (baised on a spider). I'm also not sure if it would save much power cos these sensors use little current & i'm thinking of using seperate battery's for mcu & motors. I'm using lipo 3.7v with switching regulator 5v out. Would it be worth switching them?? Also at mo i'm running the whole thing on 1 battery with no problems but i do suffer some volt & current drops when motors change direction so thats my reason thinking about seperate power supplies.
I hope some one can shed light on this subject
thanks to all who take the time to read this.
I hope some one can shed light on this subject
thanks to all who take the time to read this.