This night I dreamt up something that looks to me just a job for the Pico.
The probem I want to solve is, that all the members in my household are trying to make the Chinese very rich by ordering lots of small and big stuff from the likes of AliBaba and Temu. that means that we miss out on lots of deliveries because we either are not there or asleep. (my wife often runs night shifts and the household adapts to her rithm)
The parts list starts like this:
- a metal dustbin with cover (painted post office red of course
- a metal Z arm to switch he lock, I fabricate that myself if not available.
- a relay, or two
- possibly stepper motor
- A solenoid (Thx, Dave!), latch/lock type (thx ccrause)
- a rubber numeric keyboard. (or a couple of buttons, three will do)
- a pico, optionally with Wifi kit
- a motion detector or light sensor
- some custom software to drive that all
There is a starters kit for the Pico that contains most of the parts, including a small breadboard and the detectors but not the relay(s) and a stepper motor.
The inner workings are very simple:
- When the delivery bin is empty the access code are zero's and the bin is open.
- When a delivery is made through the bin and the lid closes, the bin locks with a code that only we have. That's where the relays solenoid and the motion or light detection detector comes in.
Ideally a possbility to remotely reset the code (through the Wifi module)
Now, my problem is that I never worked with the pico to drive hardware like this.
So, my question is:
Can somebody provide me with:
- If possible, schematics to pull this off
- recommedation on what type of relay and motor solenoid to use? Solved. Thx ccrause.
I think help with the software development is not really necessary although tips are welcome.
If somebody wants to help, the reward is that I will build TWO delivery bins, one for the person that helps me out!