teddy
teddy
@teddy
Trusted Member
Joined: 2019-11-04 4:13 pm
Last seen: 2022-08-26 3:37 pm
Topics: 9 / Replies: 57
Reply
RE: I2C with Arduino and Raspberry Pi - Two Methods - I3C

New Device- I2C and SPI are mature but they do have problems. I2C can be relatively slow and SPI usually requires extra pins for each device. Beside...

5 months ago
Forum
Reply
RE: Components & Programming - I3C

I2C and SPI are mature but they do have problems. I2C can be relatively slow and SPI usually requires extra pins for each device. Besides that, there ...

5 months ago
Reply
RE: Current-limiting resistor(s) on RGB LEDs

That can be done, but the brightness WON'T be the same.

2 years ago
Reply
RE: Troubleshooting Raspberry Pi and Arduino communication.

That's what it's all about! Helping Hands!

3 years ago
Reply
RE: Troubleshooting Raspberry Pi and Arduino communication.

Made a slight change to save some code, Ted

3 years ago
Reply
RE: Troubleshooting Raspberry Pi and Arduino communication.

I know nothing about Genry, but GPIO is installed with Buster for the Pi. gpio -v will tell you if it's installed. gpio readall will show the state ...

3 years ago
Reply
RE: Troubleshooting Raspberry Pi and Arduino communication.

Misha & Bill see attached files, 1 updated. Also added clear screen on exit!

3 years ago
Reply
Reply
RE: Troubleshooting Raspberry Pi and Arduino communication.

@bill21 - I found the error with the python code! I'll attach it for you. Once you download it, modify it's Rights: chmod 755 misha.py ...

3 years ago
Reply
RE: Troubleshooting Raspberry Pi and Arduino communication.

YES! That's correct! I'm not sure what your trying to tell me. Everything will be just -- Only the address of what you plug into i2c will show...

3 years ago
Reply
RE: Troubleshooting Raspberry Pi and Arduino communication.

In order to see what's going on in the Serial Monitor, you will need to add the following code in setup() void setup() { Serial.begin(57600); ...

3 years ago
Reply
RE: Troubleshooting Raspberry Pi and Arduino communication.

Rows and Columns line up with the HEX Code.

3 years ago
Reply
RE: Troubleshooting Raspberry Pi and Arduino communication.

I believe that AREF won't be used for your project. It requires hardware and is used for a reference voltage for more accuracy. Yes, 08 is 08...

3 years ago
Reply
Reply
RE: Troubleshooting Raspberry Pi and Arduino communication.

This is 08 HEX for the i2c device you have plugged in. This is set by the manufacture, so each HAT or device that is i2c, will have it's own HEX Add...

3 years ago
Page 1 / 4