EDIT: Added the newer, more correct version of the Photon pinout
Hi everyone! We had some questions about what the pins on the Photon were. This is a reference card we are including in the Photon Kit that should provide some detail.
@tdphan, wkp-A7 is really two functions. The first is you can use this pin as an analog pin A1. The second is wkp which is the wakeup pin for the STM32 processor. One low power mode for the processor is STANDBY which can only be awakened using the wakeup pin. I described the low power modes for the Photon on this thread:
So 3v3* on the Core is a filtered 3v3 output for voltage sensitive devices.
That is no longer available on the photon. Vbat in this case is the Pin used to supply power to the STM32F205 in deep sleep to retain information (in ram).
This means that your device can enter deep sleep and draw super minimal current (uA i think) for cases where you demand such power saving.
The other sleep mode would be to simply turn off the WiFi module and enter sleep.
Probably didn’t explain it that well but you get the idea
Please confirm which pins on the Photon are 5 volt tolerant. Also, please indicate which pins can be used as interrupts. I need this information in order to port my current project from Core to Photon.
I am currently needing 5 volt tolerant interrupts on Core D3 and D4.
All GPIO pins except A3 and DAC are 5V tolerant (when not in analog mode), if used as a 5V input the pull-up/pull-down resistor should be disabled.
As for which pins are supported for attachInterrupt() I’m going to ping @satishgn on this. It’s not clear from the code what pins are supported, but I’d say most of them should be. There’s bound to be one or more that are not supported.
WKP is where A7 is on the Core, and does also support analog input. RX, and TX also support analog input and will be dual mapped as A8 and A9 respectively. You could access them with analogRead(RX) or analogRead(A8).
Again: Will there be a 2nd UART Port (serial2) like on the Spark??
This is pretty important for me, because I’m currently developing a device that will exchange data between two serial devices and not having a second UART would be pretty much a show stopper…
I know this might be a little off topic, but the Photon has castellated edges. Is there a template for Eagle where you can then solder the Photon directly onto a board?
I looked here:
But I do not see a template for the Photon for use with the castellated edges.
I’m still fairly new to EAGLE, so it might be me just over looking it…