OK so I'm new to arduino. I had two sensors wired up at separate times, both worked. I know there's a way to do two at a time, but I think I screwed up the scl and sda. I thought my board had two sda pins and two scl pins. Now I can't find either device using i2c scanner, even when I only have one plugged in at a time. only some random device (even when nothing is plugged in at address 0x42).
Did I toast my board? Kill the sensors? Where do I start trouble shooting to find out?
Which Arduino? On the UNO the scl and sda pins are also a4 and a5, so if you have anything connected to them it will confuse things. Are both sensors the same type? If so you need to change the address of one of them. Many devices have address selection that can be changed on one of them.
Be sure you have pull up resistors of the proper value, I like about 1 mA on each bus line when driven low. Run the scanner and let us know what you get. If you get readings try each then both. If each gives you the same address then you need to change one.
I do not sell resistors so using them or not is a zero sum gain for me. I tell you what, read the specification and I think you will add them. This link will get you that specification.
I'm new to arduino. I had two sensors wired up at separate times, both worked. I know there's a way to do two at a time, but I think I screwed up the scl and sda. The two sensors have different addresses. I thought my board had two sda pins and two scl pins. Now I can't find either device using i2c scanner, even when I only have one plugged in at a time. only some random device (even when nothing is plugged in at address 0x42).
Did I toast my board? Kill the sensors? Where do I start trouble shooting to find out?
Written rule or generally frowned upon? What's wrong with asking for help? So far you haven't been any help, other than trying to get me in trouble for some perceived slight against you.
Reddit is a different forum, no? I fail to see what rule i have broken. It says different categories on this site. Maybe read the rules before you quote them
The Cicerone board has on-board pullup resistors to 3.3 volts on the I2C lines, 10k ohm each.
As I pointed out earlier, the u-blox MAX-M10S GNSS receiver is the device at I2C address 0x42.
What specific sensors are you using? Are they designed to run at 3.3 volts?
Asking the same question multiple times is called cross-posting.
If you cross-post, the moderators will delete your extra posts, and you will get a warning.
The moderators are generally not so heavy handed. In exchange we expect people who post to other sites to provide links to those posts. This allows the UNPAID VOLUNTEERS to make an informed choice about if and where to help.
@sdkjfh, this would be an excellent point to respond with that list.
Thanks for the reply. They're both mean to run at 3-5V and from the documentation I see that they both have on board pull ups as well. I did manage to get the one going eventually, but it seems as if the other has fully died and will need to be warrantied or replaced.
I'm quite confused, are Reddit and Arduino the same company? Is it the same entity that owns and operates both? Quoting from the rules:
"We know you are anxious to get an answer to your problem, but re-posting the same question to multiple categories of the forum causes duplicate effort, and divides the focus on your problem. You'll get a better answer if everyone can discuss it in one place. Asking the same question multiple times is called cross-posting. Cross-posting is very annoying to people trying to help you. If you cross-post, the moderators will delete your extra posts, and you will get a warning. Save all the hassle, and just post the question once. It will be noticed."
If the rule is indeed that you intend to control what I post elsewhere then state that. Do you care that I also emailed one friend and texted another?
This definitely feels like a moment of tiny fragile moderator, with a big stick choosing to selectively interpret the rules.
If @van_der_decken had opened with something helpful and community minded like "Hey I see it's your first post but please be aware of OUR SPECIFIC interpretation of cross posting (because apparently this site and the UNOFFICIAL arduino subreddit are one and the same) this is not allowed" I might have not gone digging into the rules, but thanks to opening with a snarky and incredibly unhelpful comment I felt I should maybe bring up the rules, since you two seem to have both chosen very selective interpretations of them.
I'll delete this post later, but this has been nothing more that the two of you flexing. Reddit has been useful, glad I posted there!