-
Notifications
You must be signed in to change notification settings - Fork 419
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
Add support for Raspberry Pi #21
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This custom PCB is a shield for the Arudino Mega. It takes 24V from the power supply (I included 2 holes below the solder pads to zip tie the wires in place) and uses 2 DC-DC step-down converters (https://www.amazon.com/gp/product/B01MQGMOKI/ref=oh_aui_detailpage_o03_s00?ie=UTF8&psc=1), one for 12V to power the Arduino Mega, and 5V to power the Raspberry Pi. If you are not using the Pi, do not worry about the 5V converter. I included space for 3-pin headers immediately next to each step-down converter for voltage monitoring - this can be for setting the voltage initially or can be implemented more permanently. I'm using these displays, but any similar display should work: https://www.amazon.com/gp/product/B077ZQQQFC/ref=oh_aui_detailpage_o02_s00?ie=UTF8&psc=1. Another solution is to just use a standard multimeter to set the output voltage. The RPi can be directly soldered at the top of the board, or a 2x20 female pin header (similar to the 2x18 header on the Mega) can be soldered for a less permanent installation. I got my RPi Zero W at Microcenter for $5, so I may just make it permanent. The remainder of the I/O is with screw terminals. The terminals are a 0.1" / 2.54mm pitch. I got a combination of 5-, 7-, and 8-connector headers since larger ones get pricey. I purchased them on Arrow.com for pretty cheap. Finally, the most difficult part of the board is soldering the resistors. I used SMD resistors (0805 package size) and I'm planning to solder them with a fine tip on my soldering iron. Alternatively, they can be soldered using solder paste and by putting the board in a toaster oven (one which you're not planning to cook food in ever again!). If enough people would prefer, I can use the blank real estate on the left of the board to incorporate through-hole resistors instead. To be clear, this is exclusively so I don't need to run 3 wires to the limit switches - I'm only running 5V and signal to each limit switch, and using the signal tied to ground with a pull-down resistor on the PCB. For those interested in using the RPi, I will continue to validate the code updates on my end and will push them out here once I know it all works.
Custom PCB Shield
Add relative links for ref documentation (steps to set up RPi).
This is awesome. Thank you for taking the time to put this together.
…Sent from my iPhone
On Mar 4, 2019, at 3:32 PM, Zach Allen ***@***.***> wrote:
I have added the source files for Raspberry Pi as well as instructions on how to set up the Pi. It is written to be able to be followed by someone who has never used a Raspberry Pi before. I went through the setup process on a fresh SD card to make sure it worked.
The easiest way for users to implement the software is with git clone from this repository, which should work out-of-the-box on the Raspberry Pi.
I hope everything is clear in this tutorial, but let me know if there are any additional questions or if you want to change anything, please let me know.
You can view, comment on, or merge this pull request online at:
#21
Commit Summary
Custom PCB Shield
Merge pull request #1 from AllenPrototype/AllenPrototype-Custom-PCB
Delete custom Arduino Mega Sheild
Delete Arduino Mega Custom Shield Image
Delete Arduino Mega Custom Shield Image
Create README.md
Add RPi source files
Update README.md
Update README.md
Create CONGIFUGRE.md
Create AP-SETUP.md
Create SHORTCUT.md
Create RUN-ON-BOOT.md
Update README.md
Add return to README.md
Update CONFIGURE.md
Add return to README.md
Add return to README.md
Update AP-SETUP.md
Update AP-SETUP.md
Add detail to AP-SETUP from RPi Documentation
Update README.md
Update RUN-ON-BOOT.md
Update SHORTCUT.md
Update
Update CONFIGURE.md
Updated AP-SETUP.md
Update SHORTCUT.md
Updated RUN-ON-BOOT.md
update
Update SHORTCUT.md
Add details to SHORTCUT.md
add some details
Update file paths in AR2.py to reflect file structure in GitHub clone
Update README.md
Add details to CONFIGURE.md
Add relative link to SHORTCUT.md
Update paths in *.desktop instructions
Complete SHORTCUT.md
Change order of steps
Complete CONFIGURE.md
Complete AP-SETUP.md
Add info to CONFIGURE.md
Complete RUN-ON-BOOT.md
File Changes
A RaspberryPi/AR2.ico (0)
A RaspberryPi/AR2.py (6791)
A RaspberryPi/AR2.pyc (0)
A RaspberryPi/ARbot.cal (157)
A RaspberryPi/README.md (34)
A RaspberryPi/default calibration values.jpg (0)
A RaspberryPi/display setting.jpg (0)
A RaspberryPi/home (10)
A RaspberryPi/new (82)
A RaspberryPi/play-icon.gif (0)
A RaspberryPi/py2exe.txt (1)
A RaspberryPi/ref/AP-SETUP.md (204)
A RaspberryPi/ref/CONFIGURE.md (50)
A RaspberryPi/ref/RUN-ON-BOOT.md (33)
A RaspberryPi/ref/SHORTCUT.md (45)
A RaspberryPi/rest (8)
A RaspberryPi/setup.py (10)
A RaspberryPi/stack blocks example (172)
A RaspberryPi/stop-icon.gif (0)
A RaspberryPi/vision example (90)
Patch Links:
https://github.com/Chris-Annin/AR2/pull/21.patch
https://github.com/Chris-Annin/AR2/pull/21.diff
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I have added the source files for Raspberry Pi as well as instructions on how to set up the Pi. It is written to be able to be followed by someone who has never used a Raspberry Pi before. I went through the setup process on a fresh SD card to make sure it worked.
The easiest way for users to implement the software is with
git clone
from this repository, which should work out-of-the-box on the Raspberry Pi.I hope everything is clear in this tutorial, but let me know if there are any additional questions or if you want to change anything, please let me know.