I have mentioned all working in file. Can someone tell if it is correct or i need some correction. Also does all relay require a new set of batteries like 3 batteries for each relay.
Beginner with iot and circuitry help would be appreciated
How can i run my code of arduino ide on this as simulation??? i tried to upload .ino on code preview didnt worked
Your .fzz file doesn’t load for me. You are far better off not having any of the Fritzing files on onedrive (this is a fairly common experience when onedrive is in the mix.) The .fzz file is missing one of the imported parts files and thus won’t load correctly:
Also, the Fritzing simulation is for electronics circuits. It does not, is not intended to, handle simulating microcontroller code. It uses spice for simulation.
Assuming this is the Grove mist maker as stated, it runs on 5V not 220V and thus will blow it up immediately! It also needs a pwm signal and an enable signal on the 2 right most pins which are unconnected and thus won’t work. On to the battery or batteries (it is unclear if the intent is to have 3x3.7V batteries connected in series to create 12V or if the intent is to have 3 separate 12V batteries, but in either case this is wired incorrectly and won’t work. Feeding 12V in to devices expecting 5V will blow them up. You would need a buck regulator off the 12V supply to provide regulated 5V to the various 5V components. I would advise using SSR (solid state relay) devices in place of the relays to remove mechanical operations (the relays are mechanical) with electronics. Without knowing what the intent is here it isn’t possible so suggest how this should be connected other than not the way it is.
The MQ-135 has the analog output going to an apparently digital pin (although it is possible there is an ADC attached to that pin as well) it should probably be connecting to the digital output which is currently unconnected. In short this project needs major work to be correct.