Hi, i have an infra red illuminator that runs off a mains adapter providing it with 12V 500mA and i would like to run it off batteries instead. I have a 12V 1300mAh battery to supply it, how do i work out the resistance i need to add in to make this work?