Ligne 1 : |
Ligne 1 : |
| {{ENG-CANSAT-PICO-NAV}} | | {{ENG-CANSAT-PICO-NAV}} |
− |
| |
− | {{traduction}}
| |
| | | |
| == Raspberry-Pi PICO == | | == Raspberry-Pi PICO == |
Ligne 144 : |
Ligne 142 : |
| * '''AGND''' - Reference ground for analog reading. | | * '''AGND''' - Reference ground for analog reading. |
| * '''ADC_VREF''' - Analog input voltage reference. It is the 3.3V with additional filtering. Do not applies any voltage to this pin, do not use it to supply power to the project. | | * '''ADC_VREF''' - Analog input voltage reference. It is the 3.3V with additional filtering. Do not applies any voltage to this pin, do not use it to supply power to the project. |
| + | |
| + | The ADC (''Analog To Digital'' converter) does offers 12 bits resolution. So the ADC returns a numeric value from 0 to 4095 for an applied voltage going from 0 to 3.3V . |
| + | |
| + | This means that ADC resolution is 3.3V / 4095 = 0.0008058607 (so 0.8 mV). |
| | | |
| === UARTs === | | === UARTs === |
− | [[fichier:ENG-CANSAT-PICO-PINOUT-33.png]]
| + | The Pico have many buses but one must be highlighted, it is '''UART(0)'''. UART is often referred as serial port. |
| + | |
| + | '''UART(0)''' is the prefered position to replicates the MicroPython REPL (MicroPython interactive command line interpreter) but is free to use for scripts. |
| + | |
| + | REPL stand for ''Read, Evaluate, Print Loop''. |
| | | |
| + | REPL is available over: |
| + | * USB connector |
| + | * can be made available over UART(0) then just plug a [https://shop.mchobby.be/product.php?id_product=144 console cable] on RX & TX to get access to the REPL via the UART(0) . |
| | | |
− | REPL on UART(0)
| + | [[fichier:ENG-CANSAT-PICO-PINOUT-33.png]] |
| | | |
| === Special Pins === | | === Special Pins === |
Ligne 155 : |
Ligne 164 : |
| | | |
| | | |
− | * '''RUN''' - xxx. Act like '''Reset''' pin. | + | * '''RUN''' - This pin acts like '''Reset''' pin. Tie it to the ground and the the Pico immediately stops. |
− | * '''3V3_EN''' - Already mentionned. Deactivate the 3.3V power regulator when tied to the ground. | + | * '''3V3_EN''' - Deactivate the 3.3V power regulator when tied to the ground. This will completely switch off the Pico power |
| * '''GP23''' - PowerSave internal board pin. Depending on the conditions, this pin can reduce the power consumption of the board. | | * '''GP23''' - PowerSave internal board pin. Depending on the conditions, this pin can reduce the power consumption of the board. |
− | * '''GP24''' - Already mentionned. This internal board pin is High when the board is connected to a computer or wall adapter (when VBus = 5V). | + | * '''GP24''' - This internal board pin is pulled HIGH when the board is connected to a computer or wall adapter (when VBus = 5V). |
− | * '''GP25''' - Board LED | + | * '''GP25''' - Controls the onboard LED. The GP25 is not wired to a board pin. |
| | | |
| === Debug Pins === | | === Debug Pins === |
| + | The debugging port is an advanced feature used with OpenOCD. It allows software debugging on the MicroControler. |
| + | |
| [[fichier:ENG-CANSAT-PICO-PINOUT-35.png]] | | [[fichier:ENG-CANSAT-PICO-PINOUT-35.png]] |
| | | |
− | * '''SWCLK et SWDIO''' - those contact points, visible under the board, are used to program the microcontroler. You can also use thoses contact to connect the SWD debugger. | + | * '''SWCLK et SWDIO''' - Software Clock and Software IO. Used to connect the SWD debugger. |
| | | |
| == Pico Ressource == | | == Pico Ressource == |
| | | |
− | The [https://github.com/mchobby/pyboard-driver/tree/master/Pico Github of MCHobby contains useful PICO ressources] for designing schematic and board with the Pico. | + | The [https://github.com/mchobby/pyboard-driver/tree/master/Pico Github of MCHobby contains useful PICO ressources] for designing schematic and connexion between boards with the Pico. |
| | | |
| The [https://github.com/mchobby/pyboard-driver/tree/master/Pico#pico-overlay Pico overlay] help to identifies Pins on the Pico. | | The [https://github.com/mchobby/pyboard-driver/tree/master/Pico#pico-overlay Pico overlay] help to identifies Pins on the Pico. |