Hi!
I'm trying to design something for making smoke for my uncle's model ship.
The humidifiers/atomizers work very well for this purpose. The ship already has a battery (7v) and a motor. So I want to use this power source if I can.
I design this schematic, but I'm still learning some basic concepts. Is anything in the wiring that can cause a mess? Or even a better way to achieve this?
The 5V output from the 7805 goes to the 5V pin on the Uno, not Vin. Vin needs 7V minimum to meet the minimum input voltage of the weak on board 5V regulator.
What is the purpose of the IR LED? Or is that an IR receiver for IR control remote signals?
No, not really. Like @LarryD says, 5V to the 5V pin.
Be careful when using the power plug or Vin. Powering through Vin or the power jack means that the Arduino and all peripherals that are on the 5V rail are powered by the onboard 5V regulator. The on board 5V regulator is not heat sinked so will supply limited current before it overheats and shuts down. Keep the total power dissipated by the on board regulator to less than 1W to avoid overheating. The amount of current depends on the voltage input to Vin or the power jack. The higher the voltage the less current can by supplied. I would use a buck converter to drop the higher voltage to 5V and connect that to the 5V on the Arduino, bypassing the, weak, 5V regulator if the 5V rail needs to provide much current. Then the rated current of the DC DC converter is available on the 5V line.
Do you have a link to the specific humidifier/atomizer module you are using? The one in the diagram appears to have an enable input, the relay may be unnecessary.