Querela / termux-usb-python

USB access with Python on Termux (Android)
MIT License
62 stars 13 forks source link

Request for help #1

Closed pecasdev closed 4 years ago

pecasdev commented 4 years ago

Hey sorry to bother you on your repository but there's no other way to contact github users, I saw on other threads that you managed to setup a 1.5 inch oled rgb i2c module from Waveshare on your raspberry pi. I have the same module and am trying to get it to work but having issues. If you're free and can help, shoot me an email please: [REDACTED]

Querela commented 4 years ago

Hi, no problem. Please wait a few days because I'm slightly busy with work. Essentially, I used the example code linked in the weaveshare wiki and followed their tutorial + a website about raspberry pi pins. I also used their own display driver (test code works well) to write my own animations. I will take some photos for the pins.

pecasdev commented 4 years ago

Some of the libraries are outdated and unsupported, I can't get i2cdetect to find the module, so I'm thinking maybe I wired it wrong? Sure send a pic of the pin wiring whenever you can thanks.

On Thu, Mar 12, 2020 at 6:20 AM Querela notifications@github.com wrote:

Hi, no problem. Please wait a few days because I'm slightly busy with work. Essentially, I used the example code linked in the weaveshare wiki and followed their tutorial + a website about raspberry pi pins. I also used their own display driver (test code works well) to write my own animations. I will take some photos for the pins.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Querela/termux-usb-python/issues/1#issuecomment-598110685, or unsubscribe https://github.com/notifications/unsubscribe-auth/AH52ZXA7A7N7AB77J5WKWFLRHCZPTANCNFSM4LFYQQGQ .

Querela commented 4 years ago

https://www.waveshare.com/wiki/1.5inch_RGB_OLED_Module

https://www.waveshare.com/wiki/Libraries_Installation_for_RPi

Photos still in work ... Will clean this up later but those were my references. I still have my setup readme on my rpi but it is still offline and stowed away.

pecasdev commented 4 years ago

Hey thanks for the response. In the time since we last spoke I managed to get it to work, so it's all good now. Thank you for the help!

On Mon, Mar 16, 2020 at 1:42 PM Querela notifications@github.com wrote:

https://www.waveshare.com/wiki/1.5inch_RGB_OLED_Module

  • Demo Code Download (contains driver library + examples)
  • User Manual

https://www.waveshare.com/wiki/Libraries_Installation_for_RPi

  • I installed wiringPi, and the Python libs, like RPi.GPIO, and bcm2835 c libs
  • enabled the interfaces, like i2c, serial, spi with raspi-config

Photos still in work ... Will clean this up later but those were my references. I still have my setup readme on my rpi but it is still offline and stowed away.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Querela/termux-usb-python/issues/1#issuecomment-599672438, or unsubscribe https://github.com/notifications/unsubscribe-auth/AH52ZXH5LF4LEKP4IRWMSWLRHZQJLANCNFSM4LFYQQGQ .

Querela commented 4 years ago

Ok, no problem. And congrats. :-) Sorry, but I was/am still somewhat swamped with work... Will close for now. And will see about adding some easier direct contact options.