hi all, i am working on a large, model railway layout, it has in excess of 200 electricaly isolated tracks. the plan is to drive theese sections of track with H Bridges using pic's and probally shift registers, however at the moment we also have a small oval 'testing track' with wich we are trying out various control methods etc. the following is a overall schematic of the H Bridge design we intend to use (please note ignore the transistor values on the drawing as theese havnt been decided yet so i used generic for the drawing).
now my question is... we want to be able to measure the current being drawn from the H bridge output from the track section, i have discounted things like high side chips etc due to the large number that would be needed eventualy, so i wondered if i conected a resistor as shown in the second drawing and conecting to the pic's AN0 would i be able to read the current? the exspected range of current would be from around 100ma to say 2.5-3A.
is this possiable or if not how would i do it?
many many thanks