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

Raspberry Pi support #9

Open
arslan437 opened this issue Mar 3, 2021 · 4 comments
Open

Raspberry Pi support #9

arslan437 opened this issue Mar 3, 2021 · 4 comments

Comments

@arslan437
Copy link

Is there any way to use Raspberry Pi ?

@hzeller
Copy link
Owner

hzeller commented Mar 3, 2021

Not right now, as it relies on the PRU of the Beaglebone Black.

There is a plan to integrate an FPGA at some point (and I think @hstarmans has something brewing), which would allow to use a simple Raspberry Pi and output to SPI.

I have that on my TODO list, but don't hold your breath as I also have a ton of other projects going on :)

@arslan437
Copy link
Author

Thanks for the fast reply.

Can you share any document or link that explains how can we draw a dot? what pwm duty cycle or frequency ? or any other info that is help full

@hzeller
Copy link
Owner

hzeller commented Mar 3, 2021

Drawing a dot is essentially switching on the laser at the exact time the mirror moved it to the right place; if you want to know the details, you have to read the code that does the synchronization.
The highlevel design document explains some more context.

The laser is either on or off, so in order to get more exposure, you have to stay at one point and wait for multiple cycles sending multiple dots there. This is the 'exposure factorin the ldgraphy binary (option-x`): it slows down the forward movement of the board.

If you just want to use the device and draw a dot, it is as simple as creating a PNG file with a dot and giving it to ldgraphy - it does the rest.

@hstarmans
Copy link

@arslan437 , here is an instruction video of my current setup https://youtu.be/Ri6DAneEzw4
The board can be found here https://github.com/hstarmans/firestarter/tree/master/pi_hat This all works and has been tested on Raspberry pi. The current code is in migen. I am upgrading it to nmigen and adding motion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants