[–] 2 points 10 months ago

Where does it normally plug into? If it plugs into some sort of computing device, then yeah, one of them MAY be signal (probably LIN). If it could function with a simple switch however, then as the other said, try every combination possible.

  • source
  • [–] 5 points 10 months ago* (last edited 10 months ago)

    Read about multiplexing. There are various ways to achieve it, the easiest way is to just arrange it on a grid. Let's say 5×5. So with 10 pins, you can address 25 doors. For the lock, the easiest would be a solenoid / magnetic lock. You can also use a motor, but that would require a more complex addressing to reverse the rotation for opening and closing

    Edit for more clarity about the simple method: Think of every door as a solenoid connected to GND. You only need VCC to open it. You can use relay module to switch the row and column to connect the VCC of the solenoid. But you need to wire every solenoid in "AND" switch configuration so it only turns on if and only if both row and column switch are closed

  • source
  • [–] 1 point 11 months ago

    If your lithium battery has BMS, it should be fine since a lot of BMS will have a lot of protection including over current. If your raw dog the cell, then as the other said, any voltage and current into the battery should be capped. Ideally, you should monitor each cell as well to prevent an over voltage of any of the cells in the pack. If you want to be safe without monitoring every cell, then just make sure nothing gets back into the battery. Nothing goes in = can't get overcharged by accident from back emf.

  • source
  • view more: ‹ prev next ›