Diego Sierra wrote: >On Sat, 23 Feb 2002, Thomas C. Sefranek wrote: > >>Over what voltage compliance range? >>What control voltage burden have you allowed? >> > >The output voltage should be between 2V and 15V, then input voltage is >about 18V. > >I will be happy with just an idea on how to do it. > >>Current is controlled with series resistance. >> > >Ok, I see that, using a regulator such a lm317 I can have a constant >current, changing the resistance connected to it I can change the current >value; and now the question arise: who to attach the outputs pins of the >pic to change that resistance value? > What granularity do you need? For just a few values you can do a pseudo D-A with resistors. Otherwise a "real" D to A is good for this. > > >Cheers, >Diego. > >-- >http://www.piclist.com hint: The PICList is archived three different >ways. See http://www.piclist.com/#archives for details. > > > -- * | __O Thomas C. Sefranek tcs@cmcorp.com |_-\<,_ Amateur Radio Operator: WA1RHP (*)/ (*) Bicycle mobile on 145.41, 448.625 MHz ARRL Instructor, Technical Specialist, VE Contact. http://hamradio.cmcorp.com/inventory/Inventory.html http://www.harvardrepeater.org -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.