Timeline for Did I do this circuit diagram correctly?
Current License: CC BY-SA 3.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Oct 12, 2014 at 15:41 | comment | added | Michael | @KyranF I see. I'll look that up. Thank you so much! | |
Oct 12, 2014 at 15:36 | comment | added | KyranF | @Michael you cannot use +- PWM values, it is 0-255 only. It's an unsigned number. -255 does not exist in that context. You need to read some tutorials/instructables on basic H bridge motor driving with microcontrollers, it will give you a more reasonable idea on how it's done. | |
Oct 12, 2014 at 15:33 | comment | added | Leon Heller | PWM doesn't control motor direction. | |
Oct 12, 2014 at 15:21 | comment | added | Michael | I took the 5V regulator out already :s I realized that was a big error. The SPST switches are for turning off the battery packs when the motors are not in use. The 6V regulator is because the motors take a maximum of 6V. Yes, two 7.2V battery packs. I thought that I could control the direction of the motors with PWM, and digital writing with -255. Is that not right? | |
Oct 12, 2014 at 15:18 | history | answered | KyranF | CC BY-SA 3.0 |