Giter Site home page Giter Site logo

Comments (10)

taartspi avatar taartspi commented on August 26, 2024 1

also You mentioned using ssh to connect. If you wanted VNC: When starting up bookworm I saw vnc viewers failed.
The temporary fix, raspi-config advanced Wayland, set x11.

sudo nano .config/wayvnc/config
address=0.0.0.0
enable_auth=false
enable_pam=true
private_key_file=/home/pi/.config/wayvnc/key.pem
certificate_file=/home/pi/.config/wayvnc/cert.pem

Then realVNC functioned.

from pi4j-v2.

taartspi avatar taartspi commented on August 26, 2024

Looking at the Pigpio issues, it will not work on P5. There is no detail on when the Pigpio might be modified. There are comments stating this appears to be a large undertaking and there is no firm commitment on who/when. Also, the linuxFS on P5 is not clearly understood. As more of us actually have a P5 in our hands we can validate what does and does not function and then size the work.

from pi4j-v2.

jchristof avatar jchristof commented on August 26, 2024

Thanks for the reply - this is a RPi 4.

from pi4j-v2.

taartspi avatar taartspi commented on August 26, 2024

Oh man. I saw bookworm and jumped to p5. U clearly said p4. I do have a bookworm image waiting for a p5. I will load it into a p4 and try your code. What is the model of the 16x2 you are using and the version of pi4j ?

from pi4j-v2.

jchristof avatar jchristof commented on August 26, 2024

It's out of a FREENOVE starter kit. The tutorial docs describe it:

"The serial-to-parallel IC chip used in this module is PCF8574T (PCF8574AT), and its default I2C address is
0x27(0x3F). You can also view the RPI bus on your I2C device address through command "i2cdetect -y 1"
(refer to the "configuration I2C" section below).
"

from pi4j-v2.

jchristof avatar jchristof commented on August 26, 2024

In /dev
crw-rw---- 1 root i2c 89, 20 Jan 18 21:17 i2c-20
crw-rw---- 1 root i2c 89, 21 Jan 18 21:17 i2c-21

from pi4j-v2.

jchristof avatar jchristof commented on August 26, 2024

Pi4j version - I cloned the main branch of the component project.
https://github.com/Pi4J/pi4j-example-components

<pi4j.version>2.4.0</pi4j.version>

from pi4j-v2.

jchristof avatar jchristof commented on August 26, 2024

Thanks again @taartspi. I spent some time reading the manual and discovered that I needed to enable the i2c interface in raspi config. The listing of the i2c bus in /dev threw me off and I thought it was pre-enabled.

from pi4j-v2.

jchristof avatar jchristof commented on August 26, 2024

User error - needed to read the manual.

from pi4j-v2.

taartspi avatar taartspi commented on August 26, 2024

Evening. Glad you got it going. Take care

from pi4j-v2.

Related Issues (20)

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.