Giter Site home page Giter Site logo

ralphhightower / stackypi Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sbcshop/stackypi

0.0 1.0 0.0 3.35 MB

StackyPi is a compact and advanced board that is designed with the RP2040 Micro-controller, which provides one set of 2x20 pin headers on which you can connect Raspberry Pi HATs. It means that one can plug HAT designed for Raspberry Pi and run it via the Pico Zero RP2040 that would make the user perform the advanced functions on it.

License: MIT License

Python 100.00%

stackypi's Introduction

StackyPi

StackyPi is a compact and advanced board that is designed with the RP2040 Micro-controller, which provides one set of 2x20 pin headers on which you can connect Raspberry Pi HATs. It means that one can plug HAT designed for Raspberry Pi and run it via the Pico Zero RP2040 that would make the user perform the advanced functions on it.

StackyPi consists of standard Raspberry Pi 40 pins on its board for Raspberry Pi HAT. One can plug Raspberry Pi HAT by directly putting it on the StackyPi that has the power pins for the connection. StackyPi is a board on which, clear and descriptive pin labels make the process easier for the user.

Pin Out Of StackyPi

Point need to remember

There is a printing error on the PCB of StackyPi version v1. CLK and RST text on the board is reversed; the real SWCLK or CLK pin is on the RESET side (bottom), the RST pin is on the CLK side (top), and SWIO or IO is on the centre.

Download Thonny IDE

https://thonny.org/

For setup the Board in thonny

  • Now connect USB Cable on USB Port of Pico.
  • Press boot button on stackypi then plug in computer. after that release the button.Open Thonny IDE and Choose interpreter as MicroPython (Raspberry Pi pico). Then click on install and update firmware

Or you can download the firmware from below link: https://micropython.org/download/rp2-pico/

On board Status led of stackypi is connected with GP25 Pin

Run this file led_blink.py to blink onboard status led

Already we install the micropython on StackyPi

Pin Out Of SD Card Module

There are some example codes below

  • lcd_display_1.3_inch - this folder have two files
    • 1._3_lcd_display.py - demo code of 1.3 lcd display
    • firmware.uf2 - This is the firmware of lcd display.press boot button then plug usb to pc then release button ,you need to drag and drop the firmware to stackypi
  • lora_home_automation - this folder have one file
    • homeautomation.py - Run this file to control home appliances
  • lora_receiver - this folder have two files
    • lora_receiver.py - receiver code
    • firmware.uf2 - lcd display firmware
  • pi_relay6 - this folder have one file
    • 6_channnel_relay.py - Run this file to control relay
  • relay4_zero - this folder have one file
    • relay_4_zero.py - Run this file to control relay zero
  • rfid_hat - this folder have two files
    • rfid_hat.py - Run this file to read rfid cards
    • ssd1306.py - this is the library of oled display, save this file to stackypi
  • round_lcd_1.28_hat - this folder have two files
    • round_lcd_1_28.py - demo code of 1.28 round lcd display
    • firmware.uf2 - This is the firmware of round lcd display, drag and drop the firmware to stackypi
  • sd_card - this folder have three files
    • sdcard.py - This is the library of sdcard onboard sd card module, save this file to stackypi. save this library inside pico
    • firmware.uf2 - This is the firmware of round lcd display, drag and drop the firmware to stackypi
    • main.py - you need to run this file to read/write sd card
  • led_cube - inside this folder there is a file name "led_cube.py",run this file before this mount picube on the StackyPi

Getting Started of StackyPi

https://www.youtube.com/watch?v=EEsRHvAQ-30

stackypi's People

Contributors

sbcshop avatar sbcshop1 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.