User Tools

Site Tools


getting_the_wiring_right

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
getting_the_wiring_right [2022/08/02 11:19] frchrisgetting_the_wiring_right [2022/08/03 11:25] (current) frchris
Line 1: Line 1:
 +
 +====== Getting the Wiring Right ======
 +
 +===== Raspberry Pi 3+ =====
 +
 +
 In 2018 the Preinstalled BlueJ IDE, the Pi4J library that was in the directory ''/usr/share/bluej/userlib/''  did not recognize my new pi 3 B+. After [[http://wiringpi.com/wiringpi-updated-for-the-pi-v3plus/|installing the latest WiringPi]] and [[http://pi4j.com/install.html|intalling the latest Pi4J]],  In 2018 the Preinstalled BlueJ IDE, the Pi4J library that was in the directory ''/usr/share/bluej/userlib/''  did not recognize my new pi 3 B+. After [[http://wiringpi.com/wiringpi-updated-for-the-pi-v3plus/|installing the latest WiringPi]] and [[http://pi4j.com/install.html|intalling the latest Pi4J]], 
 I still had to I still had to
Line 43: Line 49:
 </code> </code>
 The kit I bought from CanaKit had wriiten the BCM numbers, but I needed to program with the wPi numbers. The kit I bought from CanaKit had wriiten the BCM numbers, but I needed to program with the wPi numbers.
 +===== Raspberry Pi 400 =====
 +In 2022 I got a Raspberry Pi4 400. Unfortunately, it was so new, the old gpio -v gave me the message "Oops - unable to determine board type... model: 19"
  
-In 2020 v.2 was ready.  Go to [[https://pi4j.com/architecture/about-the-code/download/]].  To get the new code, go to [[https://github.com/Pi4J/pi4j-v2|github/pi4j-v2]]. +I found some help at [[https://pi4j.com/1.4/install.html]].  I followed the "Easy Method" which produced the {{ ::pi4j-core.jar}} file that needed In order for BlueJ to find it, I copied it over to the proper directory:
- +
-ran the line +
-<code>sudo dpkg -i wiringpi-latest.deb</code> +
- +
-In 2021 v.1.4 became the last update of [[https://github.com/Pi4J/.github/tree/main/profile|v.1]]  +
- +
-[[http://wiringpi.com/wiringpi-updated-for-the-pi-v3plus/|wiringPi 2.36 for the Pi v3+]]+
  
-[[http://wiringpi.com/wiringpi-updated-to-2-52-for-the-raspberry-pi-4b/| wiring 2.52 for 4B]]+<code>sudo cp /opt/pi4j/lib/*.jar /usr/share/bluej/userlib/</code>
  
-<code>apt install wiringpi</code>+[[https://pi4j.com/1.3/pins/rpi-400.html| GPIO pins on the 400]]
  
-<code>curl -sSL https://pi4j.com/install | sudo bash </code> 
  
-check with the command lin  
-<code> gpio -v </code> 
getting_the_wiring_right.1659453593.txt.gz · Last modified: 2022/08/02 11:19 by frchris

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki