Despite this YouTube video appearing to show a working project…
any Blynk regulars looking at this code know that it wouldn’t work reliably with Blynk, because of all the blocking delays.
The problems with this code are too numerous to mention, and as you’ve obviously taken someone else’s code rather than writing your own I guess that you probably don’t have the coding skills to fix these issues.
My advice would be to either contact the original author of the code (there’s an email address in the YouTube video description but as this is 4 years old and probably never really worked properly, I doubt that you’ll get very far) or to pick a different project for your assignment.
If you do a quick search of this forum for “trashbot” or one of the fairly unique text strings from the code such as “NON METALLIC BIN FULL” you’ll see that others have been warned about the delays, and the topic usually degenerates quite quickly into the author begging for someone to write the code for them, which doesn’t happen.
Pete.