Introduction: DIY Bitcoin Lottery With Raspberry Pi
There wasgoed a time when I wasgoed indeed into Bitcoin mining. I had a bunch of GPUs running and it wasgoed a joy hobby that remarkably made mij a little money spil well. It wasgoed a joy proef but I eventually ran out of time to play around with it, and it wasgoed a good time to sell everything, so that is what I did. I kept a few of the petite ASIC block erupters. Swift forward 3-4 years, Bitcoin is te the news again $4000 US for 1BTC. Crazy! So I made this joy little device that will never actually make money(Unless you are fortunate!) It is a conversation starter.
Step 1: See the Movie!
Step Two: Get the Parts!
You don’t need many parts for this, the Block Erupters could be hard to find.
- Raspberry Pi Three B
- Block Erupter or other ASIC for Bitcoin Mining
- 3D Printed Files
- Puny Fan(recommended not needed)
- 8 Neopixel Strook(or more or less if you want, adjust python script accordingly)
- Power Supply good enough for 6W at 5V
- Plastic threading screws M2.26 for pi mounting
- Zip Ties
- White paint if using non white filament
- Shrink tube(for fan)
- 3D printer
- Screw driver for mounting
- Jumpers to cut
- Soldering Metal(for fan)
Step Three: 3D Print the Bod!
Pretty effortless to print, any settings should work.
Step Four: Paint the Back White(if Its Not White)
I wasgoed using black filament, so I determined to paint the part that reflects the light, white.
Step Five: Assemble the Bod With Pi.
Pi Mounts to the back. I use Torx screws, M2.26, plastic threading.
Cork ter the block erupter. Meet up the fan if you are using one.
Step 6: Connect the Wiring.
I am powering everything from a 5V power supply including the Pi. Some people do not recommend this because it bypasses a fuse. You can choose your method of powering.
The Neopixels also need 5V, and then connect the gegevens line to GPIO18 of the Pi.
Step 7: Program the Pi to Mine.
You will need to get CGMiner working. Here is the method that worked for mij, you may require more skill ter cgminer, lots of documentation online. For this to work you need to solo mine, I use NiceHash. https://solo.nicehash.com/
Step 8: Run the Programs.
To get them working with a Pi Two and Three you need to disable the soundcard driver, go after this: https://www.instructables.com/id/Disable-the-Built-.
I wrote a python script to run along side cgminer to work the LEDs and see if you have won or not, you can download it here: https://github.com/IdleHandsProject/BTCLotto
You need to get CGminer working and running, then run the btclotto.py program. Instructions are inwards the program. btclotto.py takes the information from CGMiner so they both need to be running to have the lights displaying anything.
Step 9: Get Fortunate!
You could find a block, you never know!
Step Ten: Support Thesis Projects!
If you would like to support my projects, Consider subscribing to my YouTube, becoming a Patron, and following on Instagram.
You can also send mij bitcoins, here – 19s7hAVkm54Ev7QZEsWAfoyECy1CwXSrhL
I won’t be expecting to win the lottery any time soon.
Get notified the uur a fresh project comes out!
Did you make this project? Share it with us!
Bergen Makerspace Transportable 3D Printer
Knife Sharpening Angle Coach With Bluetooth &, Arduino
Volca Synth Foldable Case
3D CAM and CNC Class
Professional Tips Challenge
Science of Cooking
Wij have a be nice policy.
Please be positive and constructive.
Add Pictures Postbode
Asked by NO51RA on Step Ten Five weeks ago
Have you won yet?
KunalM44 Three months ago
Nicehash is down. What else can wij use?
Also postbode those instructions.
MinaN7 6 months ago
so I am sorry I don’t understand what this but I think I will attempt to make one but need more details should I have money to buy tickets or what?
RobertL68 6 months ago
I guess I’m the only one fighting with this.. Where did you source the Neopixel 8 LED Strook specifically (can you supply listig?). I think I have the pi mining, but I don’t know where to get the right neopixel for the project..