Hello, I follwed this protocol instead to try to connect the waveshare camera to the pybadge adafruit: https://learn.adafruit.com/adafruit-mlx ... mal-camera
One of the lines in the example code is "i2c = busio.I2C(board.SCL, board.SDA, frequency=800000)" but I am not using pins. Do you know what can I use to replace it?
thanks
MLX90640 not found when running MLX90640_simpletest
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- alixdujardin
- Posts: 12
- Joined: Tue Jan 24, 2023 1:06 pm
- alixdujardin
- Posts: 12
- Joined: Tue Jan 24, 2023 1:06 pm
Re: MLX90640 not found when running MLX90640_simpletest
Is that because these need to be connected?
- Attachments
-
- 328722119_872498873802241_5146611541181832049_n.jpg (294.41 KiB) Viewed 32 times
- adafruit_support_carter
- Posts: 29168
- Joined: Tue Nov 29, 2016 2:45 pm
Re: MLX90640 not found when running MLX90640_simpletest
board.SCL and board.SDA are the pins on the STEMMA connector:
https://learn.adafruit.com/adafruit-pyb ... rs-3028457
https://learn.adafruit.com/adafruit-pyb ... rs-3028457
- alixdujardin
- Posts: 12
- Joined: Tue Jan 24, 2023 1:06 pm
Re: MLX90640 not found when running MLX90640_simpletest
Oh I see, do you have any idea why the code doesn't recognize the connectors then?
- adafruit_support_carter
- Posts: 29168
- Joined: Tue Nov 29, 2016 2:45 pm
Re: MLX90640 not found when running MLX90640_simpletest
Not sure what's meant by not recognizing the connector. If it's an issue talking to the MLX90640, then it may be something else? Same as with the Arduino library, it may not work with that breakout.
- alixdujardin
- Posts: 12
- Joined: Tue Jan 24, 2023 1:06 pm
Re: MLX90640 not found when running MLX90640_simpletest
Well I tried to run circuitpython_I2C_Scan, and I have a problem with the SCL and SDA connector it's said, "verify your wires," but it is solder so I am not sure what the problem is
- adafruit_support_carter
- Posts: 29168
- Joined: Tue Nov 29, 2016 2:45 pm
Re: MLX90640 not found when running MLX90640_simpletest
Does that breakout include pull up resistors on the SCL/SDA lines?
Please be positive and constructive with your questions and comments.