Giter Site home page Giter Site logo

edison's Introduction

Raspberry Pi’s newest OS (Bookworm) released on December 5, 2023, does not work well with this installation. For best results, use a Raspberry Pi 4 (not a Raspberry Pi 5) and use the legacy 64-bit OS. Instructions are in the Important - Please Read file on this repository.

On March 26, 2024, OpenAI updated its billing system to require the pre-purchase of credits in order to use the API for most users. If you do not pre-purchase credits, you will get an API error.

Also, The i2C interface needs to be turned on in order for the display to show the time (thank you to luckyzero46 for pointing this out). To do so, open a terminal and enter:

sudo raspi-config

Then use the arrow on your keyboard to scroll down to Interface Options and press Enter. Next scroll down to I2C and press Enter. You will be asked whether you want to enable the I2C interface. Scroll to Yes and press enter. Then press OK followed by Finish and reboot your Pi.

1 2 3 4 5 6 7 8 9 10 11 12

edison's People

Contributors

devmiser avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

edison's Issues

Error messages?

Hi- Sorry if this is not the correct place to put this, but I tried your project and am getting the following messages.

Do you know what could be wrong? I've never used a backpack before so do you think it's that? It was plugged in like your diagram stated.

Thanks for any help!
Elly

===========start===========
pi@raspberrypi:~/Edison $ python3 Edison.py
Traceback (most recent call last):
File "/home/pi/Edison/Edison.py", line 46, in
i2c = board.I2C()
File "/home/pi/.local/lib/python3.9/site-packages/board.py", line 409, in I2C
return busio.I2C(SCL, SDA)
File "/home/pi/.local/lib/python3.9/site-packages/busio.py", line 37, in init
self.init(scl, sda, frequency)
File "/home/pi/.local/lib/python3.9/site-packages/busio.py", line 162, in init
raise ValueError(
ValueError: No Hardware I2C on (scl,sda)=(3, 2)
Valid I2C ports: ((1, 3, 2), (0, 1, 0), (10, 45, 44))
===========end===========

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.