Hello, I will be blunt and honest, This is my first time looking at a Linux system let alone trying to learn to code in python and I'm struggling big time trying to learn this all. I need a coding mentor who is willing to communicate with me and help me get this done. Ahead of time, I apologize for my lack of vocabulary and my unorthodox techniques and perspective and thank you for your everlasting patients and I really appreciate any and all time you invest into helping me!
Question: Will you look over my project (posted below) and help me get it coded? ideally, i would be able to have an interface that would allow ease of use programmable on//off cycle on each outlet (all 8) and also in addition to, a simple toggle on//off of all 8 as well. ( example: [OUTLET 1] on=15 minutes off=45 minutes * repeat*
[OUTLET 2] on= 16 minutes off=44 minutes *repeat*
[OUTLET 3] on=2pm off=11pm
[OUTLET 4] ON
etc....etc......)
Here's where i am so far the best i can sum it up;
Relay Diagram of relay
CanaKit GPIO to Breadboard Interface Board
This is how i wired the relay to the main power source
Below is a how I wired the breadboard to the relay. (Picture is visual rep of it written out)
Relay | Gpio#
JD=Vcc 5v
GND GND
Vcc 5v
1n1 GPIO 17
1n2 GPIO 27
1n3 GPIO 22
1n4 GPIO 23
1n5 GPIO 24
1n6 GPIO 26
1n7 GPIO 12
1n8 GPIO 16
what do you think? Can you tailor some code for me? I'm sure the code is out there some where, I most likely just need some guidance on how to fine tune it to my wiring/setup.
Anxiously and hopefully awaiting a response
~Mathew
* WORKING WITH ELECTRICITY IS EXTREMELY DANGEROUS. DO NOT TRY THIS. THIS IS A HYPOTHETICAL PROJECT NOT MEANT TO BE DUPLICATED OR REPRODUCED BUT FOR EDUCATION PURPOSES ONLY. ALWAYS USE ALL SAFETY STANDARDS WHEN WORKING WITH ELECTRICITY PER YOUR AREAS LAWS AND REGULATIONS*
Message was edited by: Mathew Rawlings THANKS PETER






