Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Figure out communications between the Rio and Arduino for Neopixels. #45

Closed
wh1ter0se opened this issue Dec 16, 2017 · 5 comments
Closed
Assignees

Comments

@wh1ter0se
Copy link
Owner

Based off #38.

The plan is to use the output pins on the Rio and the input pins on the duino.

This is really just matter of figuring out how to manually change the voltage of a pin in WPILib.

@Nathan-2018
Copy link
Contributor

would we need resistors because i don't think the duino can take more than 1 amp per pin?

@meads594
Copy link
Collaborator

375275a.pdf
I've attached the specification sheet for the RoboRio.

We'll have to decide if we want to use analog or digital pins for the communication between the Arduino and the RoboRio. Digital is probably easier, but may require multiple pins, depending on what we want to do with it. In principle, if we used an analog pin, we could have different voltage levels mean different things. (Although this has its own complications.)

But, in general, you are right. If we use an analog pin then we will have to watch the amount of current to make sure we don't fry the arduino. (The RoboRio documentation says it can only drive 3mA of current, so it may not be a problem.)

@Tyler-Middendorf
Copy link
Collaborator

I found an amaizing string on chiefdelphi talking specifically about this. It talks about how we should approach this communication.

https://www.chiefdelphi.com/forums/showthread.php?t=132572

@wh1ter0se
Copy link
Owner Author

@brogan20 Aside from #73, is this issue solved?

@brogan20
Copy link
Collaborator

Yeah. We got the roborio sending signals to the Arduino. Just have to solve getting multiple parameters in one go now, so issue #73.

wh1ter0se pushed a commit that referenced this issue Mar 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants