{"product_id":"tiny-2040","title":"Tiny 2040","description":"\u003cp\u003eA postage stamp sized RP2040 development board with a USB-C connection, perfect for portable projects, wearables, and embedding into stuff.\u003c\/p\u003e\n\u003cp\u003eWhile we love the Raspberry Pi Pico we also wanted something smaller and with a bunch more flash on board. Introducing the Tiny 2040 - a teeny tiny powerhouse with the chops to realise truly ambitious projects.\u003c\/p\u003e\n\u003cp\u003ePowered and programmable via USB-C, Tiny 2040 comes with 8MB of QSPI (XiP) flash on board (there's also a budget friendly 2MB version available). The board is designed with castellated pads to allow it to be directly soldered onto a PCB (or you can attach \u003ca href=\"\/en-eu\/products\/pico-header-pack\" target=\"_blank\" rel=\"noopener noreferrer\"\u003epin headers\u003c\/a\u003e to hook it up on a breadboard or connect things to it directly with wires). We've also managed to fit in a programmable RGB LED, a reset button and some clever circuitry that lets you use the boot button as a user controllable switch.\u003c\/p\u003e\n\u003cp\u003eIt's compatible with firmware built for the Raspberry Pi Pico but offers a reduced number of pins due to its size. You can even run MicroPython on it!\u003c\/p\u003e\n\u003cp\u003eDue to popular demand, we've now also got headered Tiny 2040s available, with downwards pointing pin headers lovingly pre-soldered by pirates.\u003c\/p\u003e\n\u003ch2\u003eFeatures\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003ePowered by RP2040\u003c\/li\u003e\n\u003cli\u003eARM Cortex M0+ running at up to 133Mhz\u003c\/li\u003e\n\u003cli\u003e264kB of SRAM\u003c\/li\u003e\n\u003cli\u003eUSB-C connector for power, programming, and data transfer\u003c\/li\u003e\n\u003cli\u003e2MB or 8MB of QSPI flash supporting XiP\u003c\/li\u003e\n\u003cli\u003eUser controllable RGB LED\u003c\/li\u003e\n\u003cli\u003eTwelve IO pins (including four 12-bit ADC channels)\u003c\/li\u003e\n\u003cli\u003eSwitch for basic input (doubles up as DFU select on boot)\u003c\/li\u003e\n\u003cli\u003eOn-board 3V3 regulator (max regulator current output 300mA)\u003c\/li\u003e\n\u003cli\u003eInput voltage range 3V - 5.5V\u003c\/li\u003e\n\u003cli\u003eDimensions: approx 22.9 x 18.2 x 6mm (L x W x H, including the USB-C port)\u003c\/li\u003e\n\u003cli\u003e\u003ca href=\"https:\/\/github.com\/pimoroni\/eagle\/blob\/master\/lbr\/pimoroni-boards.lbr\" target=\"_blank\" rel=\"noopener noreferrer\"\u003eEagle CAD part\u003c\/a\u003e\u003c\/li\u003e\n\u003cli\u003e\n\u003ca href=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0174\/1800\/files\/Tiny2040_PIM558_schematic.pdf?v=1631525309\" target=\"_blank\" rel=\"noopener noreferrer\"\u003eSchematic\u003c\/a\u003e (8MB)\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cdiv style=\"text-align: left;\"\u003e\u003cimg src=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0174\/1800\/files\/tiny-2040-pinout-diagram_4dd9e9ab-6f6f-4b63-82d4-16793d109f17.png?v=1614260173\" alt=\"\"\u003e\u003c\/div\u003e\n\u003ch2\u003eGetting Started\u003c\/h2\u003e\n\u003cp\u003eTiny 2040 is firmware agnostic! You can program it with \u003cstrong\u003eC\/C++ or MicroPython\u003c\/strong\u003e in the same way as you would a Raspberry Pi Pico, though you'll need to bear in mind that it has a reduced number of pins. You can find (lots) more information on how to do that (as well as download links for the firmware\/SDK) on the \u003ca href=\"https:\/\/www.raspberrypi.org\/documentation\/rp2040\/getting-started\/\" target=\"_blank\" rel=\"noopener noreferrer\"\u003eRP2040 landing page\u003c\/a\u003e.\u003c\/p\u003e\n\u003cp\u003eYou can also use \u003cstrong\u003eCircuitPython\u003c\/strong\u003e on your Tiny 2040! CircuitPython is an easy to use, well-established ecosystem with lots of example code and drivers for interfacing with different kinds of hardware.\u003c\/p\u003e\n\u003cul\u003e\n\u003cli\u003eCircuitPython firmware for Tiny 2040: \u003ca href=\"https:\/\/circuitpython.org\/board\/pimoroni_tiny2040\/\" target=\"_blank\" rel=\"noopener noreferrer\"\u003e8MB\u003c\/a\u003e \/ \u003ca href=\"https:\/\/circuitpython.org\/board\/pimoroni_tiny2040_2mb\/\" target=\"_blank\" rel=\"noopener noreferrer\"\u003e2MB\u003c\/a\u003e\n\u003c\/li\u003e\n\u003cli\u003e\u003ca href=\"https:\/\/learn.adafruit.com\/welcome-to-circuitpython\" target=\"_blank\" rel=\"noopener noreferrer\"\u003eGetting started guide\u003c\/a\u003e\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch2\u003eNotes\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eThe RGB LED is connected to GP18-GP20 and \u003cstrong\u003eactive low\u003c\/strong\u003e (so the on\/off state will work in the opposite way to the LED on a Raspberry Pi Pico). You can PWM the pins to dim the LED - check out \u003ca href=\"https:\/\/forums.pimoroni.com\/t\/tiny-2040-rgb-led-control-tutorial\/16604\" target=\"_blank\" rel=\"noopener noreferrer\"\u003eTonygo2's MicroPython example\u003c\/a\u003e.\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch2\u003eAbout RP2040\u003c\/h2\u003e\n\u003cp\u003eRaspberry Pi's RP2040 microcontroller is a dual core ARM Cortex M0+ running at up to 133Mhz. It bundles in 264kB of SRAM, 30 multifunction GPIO pins (including a four channel 12-bit ADC), a heap of standard peripherals (I2C, SPI, UART, PWM, clocks, etc), and USB support.\u003c\/p\u003e\n\u003cp\u003eOne very exciting feature of RP2040 is the programmable IOs which allow you to execute custom programs that can manipulate GPIO pins and transfer data between peripherals - they can offload tasks that require high data transfer rates or precise timing that traditionally would have required a lot of heavy lifting from the CPU.\u003c\/p\u003e","brand":"Pimoroni","offers":[{"title":"8MB","offer_id":39560012234835,"sku":"PIM558","price":8.95,"currency_code":"EUR","in_stock":true},{"title":"8MB Headered","offer_id":39560012267603,"sku":"PIM592","price":11.95,"currency_code":"EUR","in_stock":false},{"title":"2MB","offer_id":39560012300371,"sku":"PIM593","price":7.95,"currency_code":"EUR","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0174\/1800\/products\/tiny-2040-2_b1d082c2-59d4-4ed6-841f-72acc234cbb7.jpg?v=1616398927","url":"https:\/\/shop.pimoroni.com\/en-eu\/products\/tiny-2040","provider":"Pimoroni Ltd","version":"1.0","type":"link"}