Skip to main content


This article shows the pin names used by the processor in CanSat NeXT, as well as shows what pins you can use to extend your project.


The picture below shows the pins for using the extension header for adding external electronics to the board.

CanSat NeXT board pinout

Here is the full list of pins used by CanSat NeXT board. The internal use refers to the pin being used for the on-board resources, and extension refers to the pins having been routed to the extension interface. Some pins, those for I2C and SPI, are used both internally and externally. The library name refers to a macro name, which can be used instead of the pin number when CanSatNeXT library has been included.

Pin NumberLibrary nameNoteInternal/External
0BOOTUsed internally
1USB_UART_TXUsed for USBUsed internally
3USB_UART_RXUsed for USBUsed internally
4SD_CSSD card chip selectUsed internally
5LEDCan be used to blink on-board LEDUsed internally
12GPIO12Extension interface
13MEAS_ENDrive high to enable LDR and thermistorUsed internally
14GPIO14Can be used to read if SD-card is in placeUsed internally
15GPIO15Extension interface
16GPIO16UART2 RXExtension interface
17GPIO17UART2 TXExtension interface
18SPI_CLKUsed by the SD-card, also available externallyBoth
19SPI_MISOUsed by the SD-card, also available externallyBoth
21I2C_SDAUsed by the on-board sensors, also available externallyBoth
22I2C_SCLUsed by the on-board sensors, also available externallyBoth
23SPI_MOSIUsed by the SD-card, also available externallyBoth
25GPIO25Extension interface
26GPIO26Extension interface
27GPIO27Extension interface
32GPIO32ADCExtension interface
33GPIO33ADCExtension interface
34LDRADC for the on-board LDRUsed internally
35NTCADC for the thermistorUsed internally
36VDDADC used to monitor supply voltageUsed internally
39BATTADC used to monitor battery voltageUsed internally