Found this project based on Scratch to program iphone and android apps called thunkable.com

And this is what I am using I am using it for:

Hardware
– Raspberry Pi Zero
–Pimoroni AutomationpHAT
–3Crydom D1D40 DC relays
– 100watt 12v power supply

Software
– Flask http://flask.pocoo.org (on the Pi to create a web interface to allow the app to control the SSRs)
– Automation pHAT examples and library https://github.com/pimoroni/automation-hat
– Python 3 for the shell scripts
– Thunkable…

The pHAT has one relay but also has some low side switched outputs that are great to run SSR’s at 12V… This unit is 24v max so large loads would need to be isolated via SSR and I am controlling 12v pinch valves mounted in a mini-fridge for dispensing “beverages!”
On a side not using relays with the solenoid valves reduces the need for fly-back diodes due to high voltage spike generated due to magnetic field collapsing I am using special bottle caps that allow me to have dip tubes in soda bottles and an air pump with an analog pressure switch to control the pressures in the bottle to allow even flow of liquids. I am still working on it but it I will post the flask configuration (its a tiny file) and the python scripts I am using to control the pHAT soon…

Car Mounts: Cheap Junk or Expensive Trash… DIY Fix….

so when you use your phone to do your job 13 hours a day 5 days a week Car mounts are important and people who drive while holding their phones well they’ll get what they have coming to them so don’t be one of those people.

Over the years I’ve tried many phone mounts for the car and I really like the suction cup mounts but all of them use odd metal flexible arms that tend to break regardless of if they are expensive or cheap and never really work very well… so I found a solution with a bracket, some the 5-minute Devcon Epoxy (which I highly recommend smells like a fart but it works really well), and a salvaged suction cup mount from the last cheap mount that I bought from Five Below…

I recommend drilling out the hole and putting a screw through the bracket and expoxy in the hole and on the facing surfaces… and fiill in the edgrs over the metal to prevent twsting… If you look at the second photo you will see how it pinches the top of the phone. I have an OtterBox case on here so it makes it have a little indent to grip and it works really well…

Pro tip… The Sharpie/Photo Connection/Slow-Mo Video

Not all manufacturers are repair friendly e.g. using different lengths of cable and different types connectors for connections on printed circuit boards.

So a solution for a problem of knowing what goes where is to mark the connectors with a sharpie…

Sounds insane and stupidly simple but also take a photo with that cell phone that’s in your pocket because some PCBs don’t have all of the connections made and you can go batty trying to figure out the layout…

(Make that phone useful and not an expensive toy that you incessantly stare at…)