Using pyboard with HX711

The official pyboard running MicroPython.
This is the reference design and main target board for MicroPython.
You can buy one at the store.
Target audience: Users with a pyboard.
Post Reply
Posts: 1
Joined: Sat Apr 18, 2020 1:12 pm

Using pyboard with HX711

Post by hoodlum » Thu May 14, 2020 2:55 pm

I have a pyboard v1.1 and have tried to use it to interface with an HX711 and load cell. This driver indicates it can be used with an ESP8266 controller but nothing about a regular pyboard, I was unable to find a driver that referenced a pyboard and assumed this driver would work.

When trying to set up the driver in REPL I get this error:

Code: Select all

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "", line 34, in __init__
TypeError: can't convert 'int' object to str implicitly
Is it possible to use the HX711 with a pyboard and what driver can I use to get it working?

Post Reply