check out the new easy-bee-counter => https://github.com/hydronics2/2019-easy-bee-counter/blob/master/README.md
It's probably a few of those tough to solder surface mount resistors. You should try the easy to solder through hole version -> https://github.com/hydronics2/2019-easy-bee-counter/blob/master/README.md
It works better with the ESP32... I didn't realize the ESP8266 - A5 pin is missing. The pinout says NC or not connected...
the easy way to fix this is to use an ESP32..... The alternative is just tie the NC pin to another pin with a jumper wire. You can use the RX pin.. and then change the pin inialization on line 42 from A5 on to RX.
Unfortunately the 74hc165 is not a true SPI device so even if you add a chip-select pin, it wont release the SPI buss... https://electronics.stackexchange.com/questions/12...Here's a serial Data logger worth checking out.You also might consider plugging the bee-counter into a SBC like a raspberry pi.There's also i2c memory (in stock at mouser)
hmmm... yea I wonder if it's because I have all the chip-select pins on the shift-registers tied to GND so they are always active? As a dirty fix you could cut the traces and use patch wire to connect all the chip select pins to free GPIO pin on the micro?... not a bad fix? something to try?... damn... but I think there is another issue too. I ran into this before... The shift registers are not true SPI devices.. so it wont work without a triple-state-buffer chip... it looks like the 74hc165 is not a true SPI device. It doesn't have a tri-state buffer on the MISO. https://electronics.stackexchange.com/questions/121249/how-to-put-a-74hc165-on-an-spi-bus
ok, pull request accepted and merged. thank you
cool... you should link your fork here so people can find it.
hey thanks... good feedback... I did add the male headers recently but still missing the 10k resistors. I'll add those. feel free to push or link your code for the thingSpeak. I think other people might be into it and I haven't gotten it done yet.
if you're having trouble uploading to JLCPCB... hit the big green button and download the whole github repository... see pic
keep an eye on the github site and I may add some data logging in the next few months... Data currently outputs serial over the USB cable.Adafruit has a ton of instructions to capture data wirelessly using their adafruit.io platform. Here's an example: https://learn.adafruit.com/iot-temperature-logger-with-arduino-and-adafruit-io
if you want to use wifi you should use the feather esp32in stock here: https://www.digikey.com/product-detail/en/adafruit-industries-llc/3591/1528-2514-ND/8119805
These are the files you need... just zip them and upload them to the board house...
yes... I can't figure out what is going on... I tried uploading multiple times and it gets currupted on download. the easy fix is to download all the individual files and zip them yourself. https://github.com/hydronics2/2019-easy-bee-counter/tree/master/PCB_files/Kicad_v/gerbers
In the past I've sometimes just stuck a little porch-roof on the side of the hive to keep the moisture off the electronics. These macro electronics fairly resilient. I left an Arduino sitting mostly exposed all winter (not powered on) and it booted right back up in the spring!
I've seen people do estimates of hive flights using the weight of the bees that left during the day. Take the night time weight minus the daytime weight (at any particular time) and divide by the weight of the honeybee. I think hive weight is super useful and interesting. hive weight can give you a pretty good idea of nectar flow, honey production... Some granular data like the time bunches of bees appear to be leaving and returning might be lost in the weight data... like too small to tease out.
yes! I do that all the time; that is, us an Arduino to communicate with a raspberry PI. The current footprint accepts an Adafruit M0 which is about the same as a nano, right? check it out. https://www.adafruit.com/product/3727 - official pagehttps://www.digikey.com/product-detail/en/adafruit-industries-llc/3727/1528-2554-ND/8346575 - alternative supplier
My buddy worked on the web interface couple years ago. He's going to pick up this project in a couple months once the bees start flying. So I'll update then. I don't know what's best to use right now. I think adafruit.iO might be something to look at.
Electronics is a trap. be warned!
You upload the zip files directly to the board manufacturer. If you'd like to see the files you can download Audesk Eagle PCB software and open the xxxx.brd file
You bet! And thank you. Yeah I never get tired of studying bees.... super organisms have hints of humanity, keep secrets of botany, have engineering and their DNA, and support like a 1/3 of our food in our good supply.
I get a lot of educational institutions looking for someone to build one for them. I'll try to pair you up with one.
Well the boards are fairly cheap and the micro-controller is not too expensive either. You can also just buy a few of the other parts (buy 3 of everything) and do a partial build and see how it goes. This is a great beginner soldering project.
Yeah I love seeing CV projects. It's definitely key to future research. I really want to do a CV project for bees too.
COVID-19 Airflow Sensor Automotive HackView Instructable »
Yeah I love the Mojo. I see a lot of comments on the FPGA boards poo poo'ing the programming environment and 'not quite verilog' code they used but it helped me get a very complex project done.
Yea the cost of PCBs has definitely been a game changer. The cost to MFG/ship the boards for this project has dropped from ~$140 to ~$15
Easy Bee CounterView Instructable »
Just finishing up this design but wanted to start pushing this out. This version of the bee counter is all through hole components. I really wanted to make an easy to assemble bee counter for folks just starting out.https://github.com/hydronics2/2019-easy-bee-counter
ok, getting ready to post all the files here: https://github.com/hydronics2/2019-easy-bee-counter
I think I'm going to try to knock out a new board in the next week... It'll be a little untested but might be worth the wait.
Hey jczd.. that looks like a great board. Here's a look at the one I'm working on... I might have some time to push forward in the next couple of months. It has a top and a bottom and a layout for an ESP32 and an Atmel M0 SAMD21. I use the atmel chip a lot so I mainly put it their for debugging and will switch to the ESP32 for the final run.
I'm digging into this project again. It's been so long sense the last design I plan to make some improvements. The price of Printed Circuit Boards (PCBs) has come down quite a bit so I'm making a large sensor board, 24 gates and about 14.5" long to go all the way across the hive body. Also about ~1.5" wide to block out any IR from the sun. Let me know if you have any questions/ideas.
Hello,I'm digging into this project again. It's been so long sense the last design I plan to make some improvements.The price of Printed Circuit Boards (PCBs) has come down quite a bit so I'm making a large sensor board, 24 gates and about 14.5" long to go all the way across the hive body. Also about ~1.5" wide to block out any IR from the sun. Let me know if you have any questions/ideas.
I just posted some code here: https://github.com/hydronics2/Bee-counter-3.1/tree/master
yes, I think a gap sensor would work great. I went with the reflective sensors because I thought at the time they were less expensive and then became interested in mfg with surface mount parts.
sorry I don't really have a good sketch to publish right now. I'll try to get it on github soon.
I added a zip file with eagle docs next to the schematics.
the gates are 3/8 wide (9.5mm) and the headers are 8.5mm high. I've not completed the testing and finish the programming to distinguish between drones and workers but I think it should be pretty easy to do.
Acrylic flowers of SMD LEDs