I ran into some problems with the vending machine a few weeks ago. This led to a bit of code cleanup, but the real problem was too little space in the enclosure where I was putting the main PCB, RPi ZeroW and the camera. This led to some wires getting stress-damaged and led to some weird behavior.
Once I found the cause I revised the enclosure to provide more space and better accesibility to the electronics. I replaced the 110mm/50mm T-joint hilding the camera with a 110mm T-joint and an eccentric 110mm-50mm adapter. Now there is more space and the electronics are easier to mount and get to.


To better regulate the number of peanuts that are dispensed I added a small lip to the dispenser opening. Hopefully this will lead to 1-2 peanuts dispesnsed instead of 1-4.

I'm also adding a "calibration mode" you can activate from the web interface so you can calibrate the deposit and dispense sensors without triggering events and optimizing the pin usage on the RPi to work better with the wire arrangement coming from the VMFB-MC PCB.
I'm taking a break from this for a couple weeks, but should have the latest hardware and software deployed on the balcony again before the end of May.
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.