Hi guys, I’ve bought a SimpleFOCShield and am trying to get it up and running. I’m working through this page first to set up the solder bridges:
What are the “pins A1 and A3”? I downloaded the schematic but see no reference to them.
Thanks.
Hi guys, I’ve bought a SimpleFOCShield and am trying to get it up and running. I’m working through this page first to set up the solder bridges:
What are the “pins A1 and A3”? I downloaded the schematic but see no reference to them.
Thanks.
They are on the Arduino Uno pinout. Those jumpers connect the DRV8313 fault and reset pins to the Arduino pins so your program can see if there is a fault with digitalRead(A3)
(return 1=good, return 0=fault). Once the driver goes into fault state, it won’t do anything until you reset it with digitalWrite(A1, 0); delay(1); digitalWrite(A1, 1);
(the delay is probably unnecessary, but I didn’t see any mention of how long it needs to be held low in the DRV8313 datasheet).
Okay that is useful to know, thanks.
I forgot to say that I am using an ESP32 to drive the SimpleFOCShield so I guess I can just reconfigure it to use the pins I like on the ESP32.
I now see that the SimpleFOCShield I received does not have the pin labelling on the connectors in this image:
That is found on this page:
A1 and A3 are marked as analog input pins in the image but what you are saying makes more sense.
I guess they can be configured as digital as well?
Yep, any digital pins will work in this case. On most microcontrollers, all I/O pins can do digital, and certain ones have additional functions such as analog.