I was originally going to use Arduino UNO for this project, but there are not enough ports, so for the drawing schematic, I used a Rasberry pi 4 as an example. But I would like to stick with Arduino if possible.
The whole thing will be connected to a small 5 inch LCD display showing the status of each relay.
8 wireless charging copper modules
8 relays
8 IR sensor
3 Flame sensor
3 Smoke detector
3 Temp sensor
2 alarm buzzers
Total 35 signal pins required, and what is missing from the schematics are the VCC, GND connections to each sensor, which I am seeking help with how to achieve simple wiring for this amount of sensors.
The Arduino MEGA 2560 R3 has many more pins than the UNO.
What is a "wireless charging copper module" and how does it interface with an Arduino? From the diagram, it looks like you have the Arduino control power to 8 Qi wireless chargers with IR reflectance sensors to only turn them on when a device is present and various sensors to detect catastrophic failure, like fire.
All of the Qi chargers I have run on 5V and have an LED to indicate that a device is present. Maybe that can eliminate the relay modules and the IR sensors.
It would help a lot if it were is standard schematic form, not frizzy or picture and yes show all power, ground and interconnections. Also show each of the parts and links to them.
johnwasser:
The Arduino MEGA 2560 R3 has many more pins than the UNO.
What is a "wireless charging copper module" and how does it interface with an Arduino? From the diagram, it looks like you have the Arduino control power to 8 Qi wireless chargers with IR reflectance sensors to only turn them on when a device is present and various sensors to detect catastrophic failure, like fire.
All of the Qi chargers I have run on 5V and have an LED to indicate that a device is present. Maybe that can eliminate the relay modules and the IR sensors.
Yes you definitely got my plan. I am doing wireless chargers similar to Qi , but the output is 12.6V and 8.4V respectively, the battery is a lipo instead of lithium-ion. There is overcharging protection in each battery but coming from china, I would like to set up an optimum charging for battery, 80%/20%, so the relay will turn on/off according to the voltage. In addition, it acts to save power for 8 wireless chargers.
Depending on the protocols and speed requirements of you other sesneors there are tricks and techniques to reduce pin count.
Multiple DS1820s can be run on the one wire interface using one pin, for example.
Helpful too would be some idea of what the Arduino or other computational unit would be expected to perform.
a7
Yes it will be used for wireless charging to 8 Lipo batteries, and each battery is connected to a D1 Mini module to report voltage, current and temperature data through wifi communication. Therefore the server end of the board must have wifi capability. It monitors all the battery status and send signals to relays, it is also monitoring in case of fire, smoke and trigger an alarm. There will be a LCD connected to the board for displaying these information. If any wifi signal is dropped, the corresponding relay will stop also and report an error message
The way I see the project is, check for signals and perform a task. So speed-wise 1 second between each interval is plenty. Is it possible to connect the same type of sensors with 1 wire?