Jump to content

Hi guys, for the next term we have to make a project in physics of what ever we want. WHATEVER!

So i've decided to use my python code knowledge and love of computers to create a rail gun which will work by a line of electromagnets reversing their current as a ball bearing roles past a light gate. The plan for that design is to have two 12V DC car batteries setup so one will cause current to flow one way and one for current to flow the other. In order to make this work each battery needs a switch. So here's my question, how can i use my raspberry pi to activate a switch not be a switch? If i hook up the battery through the GPIO it will fry the board, so how to i use the raspberry pi to activate a switch. Thanks in advance

Link to comment
https://linustechtips.com/topic/387330-raspberry-pi-controlled-rail-gun/
Share on other sites

Link to post
Share on other sites

You could possibly try using an SCR for your power gate. Its a diode that takes a signal input (this would come from the Pi) to complete the circuit.

 

Edit:

Heres a link https://en.wikipedia.org/wiki/Silicon-controlled_rectifier

CPU: Intel i7 - 5820k @ 4.5GHz, Cooler: Corsair H80i, Motherboard: MSI X99S Gaming 7, RAM: Corsair Vengeance LPX 32GB DDR4 2666MHz CL16,

GPU: ASUS GTX 980 Strix, Case: Corsair 900D, PSU: Corsair AX860i 860W, Keyboard: Logitech G19, Mouse: Corsair M95, Storage: Intel 730 Series 480GB SSD, WD 1.5TB Black

Display: BenQ XL2730Z 2560x1440 144Hz

Link to post
Share on other sites

Hi guys, for the next term we have to make a project in physics of what ever we want. WHATEVER!

So i've decided to use my python code knowledge and love of computers to create a rail gun which will work by a line of electromagnets reversing their current as a ball bearing roles past a light gate. The plan for that design is to have two 12V DC car batteries setup so one will cause current to flow one way and one for current to flow the other. In order to make this work each battery needs a switch. So here's my question, how can i use my raspberry pi to activate a switch not be a switch? If i hook up the battery through the GPIO it will fry the board, so how to i use the raspberry pi to activate a switch. Thanks in advance

Also don't forget to follow your topic

CPU: Intel i7 - 5820k @ 4.5GHz, Cooler: Corsair H80i, Motherboard: MSI X99S Gaming 7, RAM: Corsair Vengeance LPX 32GB DDR4 2666MHz CL16,

GPU: ASUS GTX 980 Strix, Case: Corsair 900D, PSU: Corsair AX860i 860W, Keyboard: Logitech G19, Mouse: Corsair M95, Storage: Intel 730 Series 480GB SSD, WD 1.5TB Black

Display: BenQ XL2730Z 2560x1440 144Hz

Link to post
Share on other sites

hahah yeah of course, the SCR seems like the concept I have in my head. If it's power is a 12v car battery what kind of voltage should the SCR be rated at?

I thinks a better question would be current since a lot of SCRs are built to handle way more voltage than that.

CPU: Intel i7 - 5820k @ 4.5GHz, Cooler: Corsair H80i, Motherboard: MSI X99S Gaming 7, RAM: Corsair Vengeance LPX 32GB DDR4 2666MHz CL16,

GPU: ASUS GTX 980 Strix, Case: Corsair 900D, PSU: Corsair AX860i 860W, Keyboard: Logitech G19, Mouse: Corsair M95, Storage: Intel 730 Series 480GB SSD, WD 1.5TB Black

Display: BenQ XL2730Z 2560x1440 144Hz

Link to post
Share on other sites

I can't remember if I was reading the specification right since its been quite some time since I've dealt with any electronics but I think this should suffice and allow for bigger more dangerous things in the future.

http://www.digikey.com/product-detail/en/S6020L/S6020L-ND/2336

CPU: Intel i7 - 5820k @ 4.5GHz, Cooler: Corsair H80i, Motherboard: MSI X99S Gaming 7, RAM: Corsair Vengeance LPX 32GB DDR4 2666MHz CL16,

GPU: ASUS GTX 980 Strix, Case: Corsair 900D, PSU: Corsair AX860i 860W, Keyboard: Logitech G19, Mouse: Corsair M95, Storage: Intel 730 Series 480GB SSD, WD 1.5TB Black

Display: BenQ XL2730Z 2560x1440 144Hz

Link to post
Share on other sites

thanks for that, the other method i have just discovered is using a relay switch, would that work well do you think?

I don't think so since relays use magnetism to operate a switch which probably doesn't like strong magnetic from a rail gun.

CPU: Intel i7 - 5820k @ 4.5GHz, Cooler: Corsair H80i, Motherboard: MSI X99S Gaming 7, RAM: Corsair Vengeance LPX 32GB DDR4 2666MHz CL16,

GPU: ASUS GTX 980 Strix, Case: Corsair 900D, PSU: Corsair AX860i 860W, Keyboard: Logitech G19, Mouse: Corsair M95, Storage: Intel 730 Series 480GB SSD, WD 1.5TB Black

Display: BenQ XL2730Z 2560x1440 144Hz

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×