-
Notifications
You must be signed in to change notification settings - Fork 12
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
Suggestion: Make a shorter version with 12 gates instead of 24 #20
Comments
+1 for the UK also, 90% of beehives here are National with small entrances (5"). |
This would be a great improvement to this project. In your case you are quite easily able to cut away some of the box material, but the most common hive entries in Sweden are only 12cm long. I would love to have the knowledge on how to change the schematic properly but I don't know how :D |
Unfortunately it is a shared hive, I've been disallowed from cutting it. I'm currently learning Kicad, I think we can modify the design fairly easily. |
Aaah I see. Haha, I downloaded Kicad right after I wrote the last comment to you! 😂 Let's try to do this! |
@chinswain I wont be able to create a shorter version. Do u have a spare PCB to sell to a fellow beekeeper in Sweden? |
I've cut mine and starting building them so no spare. |
@chinswain hope your hives are healthy! How is the bee counter project going? |
Is anyone who made shorder version of the pcb? |
I just tested using a TV infra red remote control which triggered all of the sensors using the above script so I'm not sure what the issue is, must be the LEDs? Edit: I think the problem is with the LED power for sure, the camera used to test has IR night vision with the IR filter removed so the LEDs should appear vastly brighter... Update: It looks like the issue is with the MOSFET, if I bypass it the LED's are significantly brighter. I tried another MOSFET (NDP6020P) which increased the brightness slightly but nowhere near the level of the bypass. I've ordered a new FQP30N06L, hopefully it's just a dud. |
Hey, I'm just trying to catch up... What is the problem? The IR LEDs are not triggering a 3.3V sensor output? Is that correct? I see you tested the shift registers by shorting 3.3v to the shift register input. That was smart to test. There is also sufficient IR in any semi-direct sun light that will also trigger the sensors and perhaps your IR remote control (I never tried that but cool idea). I like to use a small piece of white paper at a short distance away from the sensor (about 1/4" to 3/8"). Be careful with those LEDs! The LEDs work OK with the 22ohm resistors installed. Good enough to test the functionality of the shift registers. Once the jumpers are soldered, the LEDs should only be allowed to stay ON for a maximum of 100us.... otherwise they will burn themselves out. |
Hi Thomas, Thanks for replying and thanks for making the PCB available to the public. The problem is the LED's are barely lighting up, I cannot work out why. Bypassing the MOSFET pads 2 & 3 proves everything is soldered correctly but using the MOSFET the LED's barely light up at all. From crude testing I assumed there was an issue with the NDP6020P from china, so ordered a few from Amazon and eBay (It's no longer available from reputable stores) but it's the same with them all (Can you recommend any others that would work?) After many failed attempts at modifying in KiKad we've cut your PCB in half, in theory it should work looking at the schematics. We cut it exactly here: Everything works fine, gates respond to an IR remote and IR LED's on cameras trigger them. Any ideas? |
Exactly, via a webcam with the IR filter removed they are very bright, pads are open and when I short the MOSFET pins it's for less than a second. |
Ok, if those solder pads are open then you can short the mosfet all day and there is no problem. The other mosfet you mentioned, the NDP6020, is a P-channel mosfet. The one we need is an N-channel mosfet. The generic one I listed the FQP30N06 is super generic. It should work fine but you can substitute another one as long as it is type N-channel and the threshold voltage is around 2.5V, and the pinout is the same (the ordering of the pins is G, D, S as opposed to D, G, S or something else). The threshold voltage is the voltage needed to turn it ON. Try jumping 3.3V to the Gate 'G' pin. This should mimic the way the micro-controller turns the mosfet ON. If that works then you may just have a damaged trace from the micro-controller to the 'G' pin. This is common when you solder/resolder. Its easy to fix by adding a little jumper wire between the micro-controller pin and the 'G' pin. |
jumping 3.3V to the gate produces the same result (very dim LED's). I've checked the traces with a multimeter and can't find any breaks, the 3.3V signal is making it to the gate pin of the MOSFET. I noticed the drain is only 2v when under load, without the LED's it's 3.3v on a breadboard, if I add a standard LED to the drain and 3V source it drops from 3.3V to 2.6V. Everything points towards the MOSFET I think? Bizarre as I've tried three some different sources... ChatGPT suggests IRF3708PBF as an alternative, Vgs is 2.8V. Here's my FQP30N06L, this was from eBay, I've just ordered a few from AliExpress... |
I think both mosfets should work... but sticking with the FQP30N06L for now... Can you check the voltage at the Drain pin when the gate is triggered ON. Looking at the FQP30N06L datasheet there should be ~40mV resistance between the drain and the source. If we do our LED math and evaluate the current across 2 LEDs, with forward voltage of 1.25V each, supply voltage of 3.3V, and a 22ohm resistor, our current is about 36ma. So the voltage drop across the mosfet from drain to source is 36ma x 40mV => 0.001V... so pretty much nothing. Sorry to be rambling on here... I'm just thinking out loud because its been awhile sense I looked at this and to be honest I haven't considered for some time the resistance of an N-channel mosfet. I knew it was small but that is really small. So we should be getting good current passing through this mosfet with little resistance... All this is to ask, can you verify again what voltage you are reading at the drain pin when the gate is triggered ON? Could it be you have a short somewhere on your gate pin? Does the gate pin show a resistance of 10k to ground? There are mosfets that don't trigger at 3.3V and need a full 5V to reach threshold... and those FQP30N06L are so generic, perhaps they're getting manufactured with other specifications?? |
Hi Thomas, It looks like it was the MOSFET, I replaced it with this and it's working perfectly: IRLB8721PbF https://cdn.shopify.com/s/files/1/0176/3274/files/irlb8721pbf.pdf?v=1646930126 Thanks for replying! So that confirms it - if people want a shorter version, just cut exactly as shown. |
good to hear! I made a note on the readme page |
I love this project!
I would suggest adding a short version that supports 12 gates instead of your original 24. Some type of hives here in Sweden doesn't have as wide opening as Langsroth has.
The text was updated successfully, but these errors were encountered: