Code Monkey home page Code Monkey logo

gpiotest's People

Contributors

bunchc avatar gnumoksha avatar goldyfruit avatar ianwarn avatar joshschools avatar kgbplus avatar taehyunnkim avatar whiteneon 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

Watchers

 avatar  avatar  avatar

gpiotest's Issues

new revision:

P1_REVISION: 3
REVISION: b03115
TYPE: Pi 4 Model B
MANUFACTURER: Sony
PROCESSOR: BCM2711
RAM: 2G

Maybe the "hardware not supported" message should say "GPIOTEST does not support this version of Raspberry PI". Would have saved me several hours.

raspberry 2B+ no results GPIOtest

Hello
I suspect I roasted one or more Gpoi-pins. Anyway SPI doesn't do its job like it used to, since I tried to measure battery voltage via Mcp3008 ADconverter
Gpio load spi gives gpio:unable to load/unload modules etc
Ls /dev/spi gives the two devices /dev/spidev0.0 and 0.1
Did raspi-config, dtparam=spi=on
Lsmod gives no spidev anymore! But bcm2835_gpiomem is there.
Controled the settings several times, updated etc, no clue. So tried to test with Gpiotest.py.
sudo pigpiod but when I run the program in CL, i get no message and a new commandline after 1-2 seconds.
No message. What can be the background of this?
Is my SPI "broken"? If just Gpiotest would work!
I have a Rasberry 2B v.14 2014
Linux raspberry 4.1.19-v7+

Thanks

New rPi: Pi Zero 2

Very useful script :)

It currently does not support the rPi Zero 2, as it is not recognised.

Trying in a Raspberry Pi 4

root@raspberrypi:~/gpiotest# python gpiotest.py
hardware not supported
Traceback (most recent call last):
File "gpiotest.py", line 399, in
termOn()
File "gpiotest.py", line 39, in termOn
curses.nocbreak()
_curses.error: must call initscr() first

addstr() returned ERR

Please add a line in the readme file:
remember: terminal screen need to big enough or "addstr() returned ERR"

To fix this try increase size of current terminal windows (by mouse).

Trying for Raspberry Pi 3 Model B Rev 1.2

root@automacao:~/gpiotest# python gpiotest.py
hardware not supported
Traceback (most recent call last):
File "gpiotest.py", line 406, in
termOn()
File "gpiotest.py", line 39, in termOn
curses.nocbreak()
_curses.error: must call initscr() first

hardware not supported

The error

pi@raspberrypi:~/src/gpiotest $ sudo python3 gpiotest.py
hardware not supported
Traceback (most recent call last):
  File "gpiotest.py", line 395, in <module>
    termOn()
  File "gpiotest.py", line 39, in termOn
    curses.nocbreak()
_curses.error: must call initscr() first
pi@raspberrypi:~/src/gpiotest $ sudo python2 gpiotest.py
hardware not supported
Traceback (most recent call last):
  File "gpiotest.py", line 395, in <module>
    termOn()
  File "gpiotest.py", line 39, in termOn
    curses.nocbreak()
_curses.error: must call initscr() first

Aditional data

  • Board version (as shown by pinout): Pi Model 3B+ V1.3
$ lsb_release -a
No LSB modules are available.
Distributor ID: Raspbian
Description:    Raspbian GNU/Linux 10 (buster)
Release:        10
Codename:       buster

Running on RPi compute 4 module

Hello,

I'm trying this on the RPi compute 4 module mounted onto an RPi compute 4 IO board; the argument is b03410 but there are multiple configurations of the compute 4 module. From what I can understand this combination is the same as an RPi 4. Is it just a case of adding this into the code to handle the compute module?

Cheers,

Neil

Trying in a Raspberry Pi 4

root@raspberrypi:~/gpiotest# python gpiotest.py
hardware not supported
Traceback (most recent call last):
File "gpiotest.py", line 399, in
termOn()
File "gpiotest.py", line 39, in termOn
curses.nocbreak()
_curses.error: must call initscr() first

Hardware Not Supported - RPI 4 8gb

Receive Hardware Not Supported when running python script.

pi@fluiddpi:~/gpiotest $ sudo python gpiotest.py --gpio_num 26 hardware not supported
pi@fluiddpi:~/gpiotest $ sudo python gpiotest.py --gpio_num 17 hardware not supported
pi@fluiddpi:~/gpiotest $ sudo python gpiotest.py hardware not supported

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.