Jump to content
  • 0

MCC 134 Installation Instructions not working


Osiris

Question

Hello,

I bought a MCC 134, after installing the Raspberry Pi 4 operating system with the desktop option, I proceeded to install the library like described in the MCC DAQ HAT Library document as follow:

  1. sudo apt update
  2. sudo apt full-upgrade
  3. sudo reboot
  4. sudo apt install git
  5. cd ~
  6. git clone https://github.com/mccdaq/daqhats.git
  7. cd ~/daqhats
  8. sudo ./install.sh
  9. sudo pip install daqhats --break-system-packages

After all these was done in order, I checked the Accessories start menu and the DAQ HAT Manager is not there and when I run the command this is what I get:

  • admin@raspberrypi:~ $ daqhats_list_boards
  • bash: daqhats_list_boards: command not found

The SPI and I2C are selected in preferences.

Please advise.

Thanks

Osiris

 

 

 

Link to comment
Share on other sites

7 answers to this question

Recommended Posts

  • 0

Hello @Osiris.

Which Raspberry Pi OS are you using?

Try the beta version by performing the following commands:

1. $ cd daqhats

2. $ sudo ./uninstall.sh

3. $ git pull

4. $ git checkout pi5

5. $ sudo ./install.sh

6. $ pip install daqhats

You can switch back to the released library by uninstalling the library, running “git checkout master”, and then installing the library.

 

Regards,

Fausto

Link to comment
Share on other sites

  • 0

Hello Fausto,

It is a Raspberry Pi 4 and the operating system is:

  1. Operating System: Raspbian GNU/Linux 12 (bookworm)
  2.  Kernel: Linux 6.6.20+rpt-rpi-v8
  3.  Architecture: arm64

Do I still continue and try the beta version for pi5?

Thanks

Osiris


 

 

Link to comment
Share on other sites

  • 0

Hello Fausto,

I installed another board to the previous setup, the new board is the MCC 152, I configured the MCC 134 at address 0 (no jumpers) and the second board the MCC 152 with a jumper at A0.

I opened the MCC DAQ HAT Manager, but it only finds the MCC 134 board.

Please advise.

Osiris

 

Link to comment
Share on other sites

  • 0

Hello @Osiris.

Please confirm the SPI and I2C options are selected under Preferences - Raspberry Pi Configuration.

Also, since you changed your board stack, you must update the saved EEPROM images so that the library has the correct board information. You can use the DAQ HAT Manager or the Terminal command:  sudo daqhats_read_eeproms

If the MCC 152 continues to be undetected, remove both boards and install just the MCC 152 onto the Raspberry Pi.  Be sure to remove the address jumper from the MCC 152.  Restart the RPi and then use the DAQ HAT Manager or the Terminal command:  sudo daqhats_read_eeproms

Regards,

Fausto

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...