Giter Club home page Giter Club logo

p4wnp1_aloa_oled_menu_v2's Introduction

P4wnP1_ALOA_OLED_MENU_V2

on the road P4wnP1 ALOA menu

Installation instructions on boot partition edit config.txt to set I2C and SPI to active in termnial you can type nano /boot/config.txt find the section far away down and set :

dtparam=i2c_arm=on dtparam=i2c1=on

and find and set spi section

dtparam=spi=on

note : for the waveshare hat i used (and all gui.py is set like this) the inteface is SPI and not I2C if you have a I2C oled edit gui.py file and set on line 72 USER_I2C = 1 #set to 1 if your oled is I2C

GPIO 8 keys are default waveshare hat

you can edit to set to your hat if different GPIO KEY_UP_PIN : 6, KEY_DOWN_PIN : 19, KEY_LEFT_PIN : 5, KEY_RIGHT_PIN : 26, KEY_PRESS_PIN : 13, KEY1_PIN : 21, KEY2_PIN : 20, KEY3_PIN : 16

Remember this menu is in alpha version, not all function are ready

then to install , run sh install.sh and script will install all the files needed

if error with luma , think about install luma core : pip install luma.core pip install luma.oled

directly flashable image file available at http://dl.free.fr/j8M68z2JK (OLED and UPS module installed) mirror on mega : https://mega.nz/#!ZEkDlSLJ!ZAIxmKVmsGwjK2ICfrWRni7kuFJyMXsg9eTDayQqe_U

new 21.02.2020 : https://mega.nz/#!YYtS2S6A!Q5OgMvLUtAM_x7jt7vBTY8Zu8lHdyyPoaLdsipVufWg P4wnP1 v0.1.1 with oled drivers and menu preinstalled

in P4wnP1 web interface , if you want to menu start at "boot" create a trigger in you default template (by default startup) with : when service start => run script sh and choose runmenu.sh

enjoy

p4wnp1_aloa_oled_menu_v2's People

Contributors

beboxos avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

p4wnp1_aloa_oled_menu_v2's Issues

Screen brightness

I have a problem with the screen brightness. Despite the fact that the brightness is set to 255 in gui.py, it is pretty dark on startup. It gets to full brightness when I go in the settings and set it manual.
Does anyone else have this problem?

pi zero with 1.3 Waveshare oled

Parts

Where do i find part and what can it do

Adafruit 128x64 OLED Joystick Bonnet

I can't get this menu working with the Adafruit 128x64 OLED Joystick Bonnet and I'm not sure why. I get nothing at all on the screen.

I've changed all reference in gui.py from sh1106 to ssd1306, I've changed the key pin variables to the proper pins for this screen and Joystick/keys (in several places, including some command strings that had hard codes pin numbers for RST and DC), I've made sure the gui.py is set to use SPI, and I've made sure SPI is enabled in the config.txt

I know this screen works because I've used it with the original P4wnP1 OS using the Adafruit_GPIO.SPI and Adafruit_SSD1306 libraries.

Adafruit 128x64 OLED Joystick Bonnet

I can't get this menu working with the Adafruit 128x64 OLED Joystick Bonnet and I'm not sure why. I get nothing at all on the screen.

I've changed all reference in gui.py from sh1106 to ssd1306, I've changed the key pin variables to the proper pins for this screen and Joystick/keys (in several places, including some command strings that had hard codes pin numbers for RST and DC), I've made sure the gui.py is set to use SPI, and I've made sure SPI is enabled in the config.txt

I know this screen works because I've used it with the original P4wnP1 OS using the Adafruit_GPIO.SPI and Adafruit_SSD1306 libraries.

startup image size and key layout

I love this project and display a gif as the startup img.

Another quick question, the change key layout
doesnt seem to work for me, what is it supposed to do and how can i get it to work?

FR Layout issue and others improvements

Bonjour Stéphane,

Je suis tes travaux sur ALOA avec intérêts, et je sens que je vais bientôt me lancer.
J'ai du coup qques questions (un peu naïve probablement):

  • Au vu de l’exécutable que tu proposes pour corriger les problème de clavier Fr ALOA, je comprends qu'il faut le lancer sur chaque machine cible afin que celle-ci interprète correctement l'injection HID Fr de P4wnP1 ALOA? N'est-il pas possible de proposer un Pull de correction sur la version de Mame82
    => Ta vidéo vient de répondre à ma question...
  • Vu la photo de l'OLED display HAT pour RP WZ, je comprends que c'est directement pluggable sur une RP zero WH (headers intégrés)?
  • Penses-tu qu'il soit possible d'intégrer une mini batterie Lithium Ion Polymer (genre 400mAh), pour pouvoir préparer son device en autonomie électrique (et accessoirement gagner le temps du boot lors du plug de la clef USB)? Je pensais aux accessoires de Pimoroni : On-Off shim ou LiPo shim.
  • Est-ce que tu continues de faire évoluer ton plan mis en ligne sur Autodesk? Je pense que ça serait sympa de prévoir un cache (détachable si besoin) pour la face comportant l'écran OLED. Comme ça, on l'enlève pour préparer sa clef et on le remet pour qu'elle ressemble à une clef USB "normale". Qu'en penses-tu?

Merci pour ton travail et ta vidéo de présentation de l'outil, c'est vraiment bien fait.

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.