Search found 5 matches
- Sun Dec 24, 2017 1:57 pm
- Forum: Other projects
- Topic: Adding a 5V Fan to a Raspberry Pi 3 Model B and having control of it
- Replies: 56
- Views: 88332
Re: Adding a 5V Fan to a Raspberry Pi 3 Model B and having control of it
Cant be sure because I cant see clearly but Ii think you might have things connected wrong. your circuit should look like this ( diode left out for clarity ) https://i.imgur.com/hdjeZnB.jpg?1 which matches this diagram https://i.imgur.com/ynC6IiP.jpg for reference. https://i.imgur.com/D0ub1W3.jpg 😓...
- Sun Dec 24, 2017 12:26 am
- Forum: Other projects
- Topic: Adding a 5V Fan to a Raspberry Pi 3 Model B and having control of it
- Replies: 56
- Views: 88332
- Sat Dec 23, 2017 11:56 pm
- Forum: Other projects
- Topic: Adding a 5V Fan to a Raspberry Pi 3 Model B and having control of it
- Replies: 56
- Views: 88332
Re: Adding a 5V Fan to a Raspberry Pi 3 Model B and having control of it
It should work with a 470 ohm resistor. You do need a resistor you could try 220 ohm. But don't go to low or you could end up drawing to much current from the gpio pin. What's the rating of the fan you are using ? EDIT........ Just checked and 2N2222 and 470 ohm resistor should power 5V 0.3A fan at...
- Sat Dec 23, 2017 10:39 pm
- Forum: Other projects
- Topic: Adding a 5V Fan to a Raspberry Pi 3 Model B and having control of it
- Replies: 56
- Views: 88332
Re: Adding a 5V Fan to a Raspberry Pi 3 Model B and having control of it
Using my original diagram to connect your fan you can control the fan speed using PWM. try this simple example code it will drive you fan at various speeds as a demonstration, it uses gpio 25 but if your fan is connected to another gpio just change the gpio number in the code. #written for python2 ...
- Mon Dec 18, 2017 7:07 pm
- Forum: Other projects
- Topic: Adding a 5V Fan to a Raspberry Pi 3 Model B and having control of it
- Replies: 56
- Views: 88332
Re: Adding a 5V Fan to a Raspberry Pi 3 Model B and having control of it
Here you go simple 2n2222 transistor fan driver. included diode to protect transistor from back emf. base current will be about 5ma, which is well within the GPIO limits. do not connect the fan yellow wire it will be outputting 5v signal which will damage you GPIO, if you really need to measure the...