patr0805
Newbie level 1
Hi electro noob here!
I am making a small project where I need 64 small electromagnets in a grid to be turned on and off many times a second. The goal is essentially to have a small sheet on top of the grid and have multiple small metal pieces controlably moving around on the grid due to the electromagnets below. For this I cannot use a relay to have the Arduino switch an external powersource to the electromagnets. Instead I tried with transistors and assembled what can be seen on the link below:
https://sebastianpatten.files.wordpress.com/2011/02/transistor-switch-logical-entities.jpg
I am using a MMBT2222A NPN Bipolar Transistor, 1 A 40 V, 3-Pin SOT-23 transistor, but when I switch on the transistor the electromagnet becomes extremely weak compared to directly plugging it to the external powersource (External powersource is rated at 9V 1300mA). Now why is this happening? What would a proper setup be here? Also I considered having one electromagnet turned on would make that one more powerful than if multiple were simulatanously turned on at the same time, so I was thinking about turning the electromagnets on/off very fast as to always keep the illusion present that they may all be turned on, but actually only one is at a time.
Also if there are other tips you could give on this kind of application, it will be appreciated.
Thanks for the help
I am making a small project where I need 64 small electromagnets in a grid to be turned on and off many times a second. The goal is essentially to have a small sheet on top of the grid and have multiple small metal pieces controlably moving around on the grid due to the electromagnets below. For this I cannot use a relay to have the Arduino switch an external powersource to the electromagnets. Instead I tried with transistors and assembled what can be seen on the link below:
https://sebastianpatten.files.wordpress.com/2011/02/transistor-switch-logical-entities.jpg
I am using a MMBT2222A NPN Bipolar Transistor, 1 A 40 V, 3-Pin SOT-23 transistor, but when I switch on the transistor the electromagnet becomes extremely weak compared to directly plugging it to the external powersource (External powersource is rated at 9V 1300mA). Now why is this happening? What would a proper setup be here? Also I considered having one electromagnet turned on would make that one more powerful than if multiple were simulatanously turned on at the same time, so I was thinking about turning the electromagnets on/off very fast as to always keep the illusion present that they may all be turned on, but actually only one is at a time.
Also if there are other tips you could give on this kind of application, it will be appreciated.
Thanks for the help