Code Monkey home page Code Monkey logo

discord-bot-pi-pico-display's Introduction

Discord-Bot-Pi-Pico-Display

This bot recieves messages from a Discord server and then displays them over USB on E-Ink screen connected to Raspberry Pi Pico.

How it works and more details:

The Raspberry Pi Pico requires the 3-colour 7,5" 800x480 Waveshare Pico-ePaper-7.5-B. Pi Pico is connected to the computer via USB and runs its MicroPython program.

The Discord bot runs on the computer. When it recieves a message, it sends the text and message author over USB to the Pi Pico, which then displays the data on the E-Ink (and displays new messages and who written them in new rows).

This way you can track messages from the Discord server the bot is on.

This program is also a example/demo of USB Serial communication between computer and Pi Pico.

The WaveShare E-Ink is equipped with a reset button, you can use it to force clear the E-Ink screen and reset the Pico's program. This may crash the Discord bot on the PC though.

The Discord bot requires Token stored in a .env file. May require adapting to latest Discord API requirements.

If it's long, the text is split before sending and then reconnected into a single string on the Pico.

image

discord-bot-pi-pico-display's People

Contributors

wojtekb30 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.