I've just acquired my first Due a few days ago, and I've been reading about before starting to use it. Now I'm totally paranoid about blowing the thing up !
My plan is to use the Due to replace the Uno in a self-balancing robot, which has the following devices:
- MPU6050 accelerometer/gyro - this takes 3.3V in and out so I think should be fine voltage-wise;
- HC-06 bluetooth tranceiver - this takes 3.3V in and already has a voltage divider, so I'll feed it 5V;
- L298 based motor driver - takes 5V power and hopefully 3.3V from the Due digital pins will be enough to trigger the inputs;
- Hall effect rotary encoders on the motors - these take 5V so I assume they output 5V, so these need to be changed;
- SRF-04 ultrasonic distance sensor - takes 5V in (fine) but outputs 5V so needs to be changed.
My main question (other than does this look OK :-[ ) is whether a simple 1k/2k voltage divider to take the output to 3.3V will be sufficient for the encoders and SRF-04 or whether I need a level-shifter to make the Due work ?
Thanks,
David