I'm working on a miniature train project where I need to detect current usage in individual track zones, for train detection.
I know it has been done many times before, but I do no see any DIY solution or simple sensor I can add in between the power source and the track section.
As an example, if there is any current usage I want a digital input to the Arduino, the current load will not exceed 1A. The voltage is 15-18V AC. (DCC System / NEM / MOROP)
Any suggestion of a sensor or electronic components I can put together and create a sensor my self. ?
I tried to use the ACS712 5A module, but the current load was too low to be detected, and will also cost an Analog input.. Some times the load is as low as 20mA.
So basically what I want the sensor to do is to give a 5V digital signal when there is Load, and no signal when there is No Load.
I know LEM in particular do a massive range, although mostly high current.
The basic idea is put a hall sensor in a thin gap in a toroidal core, and feedback a signal to
keep the primary and secondary MMF's cancelling out, so that the current in the secondary is
proportional to the primary but much smaller and easy to measure - like a current transformer
but able to work at DC too.
The sensitivity and signal/noise ratio can be much better than an ACS715 style chip as the
core magnifies the field considerably, and reduces interference from nearby magnetic components.
You can make it yourself by using any mains to low voltage secondary transformer and letting it serve as your current transformer. Connect the transformer secondary in series with the wire with the current your want to measure. Bridge rectify the now secondary winding(originally the transformer primary) and use a small value filter capacitor.
The voltage from the bridge rectifier is now a function of the current in the transformer's new primary winding.