pwms with vb control

Discussion in 'Programmer's Corner' started by rajrbr, Apr 13, 2010.

  1. rajrbr

    Thread Starter New Member

    Apr 8, 2010
    hi iam new-bee to this forum

    i want to design pwm with vb control ( using usb or serial port) .
    i want to design ac/dc power supply i need variable set voltage at output

    if any one can provide circuit and programme details that will be a great help for my project

    many thanks in advance

  2. retched

    AAC Fanatic!

    Dec 5, 2009
    Do you want to send the PWM signal out the serial port, or send the requested frequency to a uC and have it produce the PWM?
  3. rajrbr

    Thread Starter New Member

    Apr 8, 2010
    Dear sir

    serial port out to pwm
    and pwm out to vary the dc /ac voltage.

    in otherwords when i put the voltage value ( numeric) in vb6.that analog voltage should be available at the o/p (pwm).
    eg:- if i set the voltage value 10 vdc in VB then i sould get 10 vdc o/p across o/p.


  4. beenthere

    Retired Moderator

    Apr 20, 2004
    I might suggest that the programming part is almost the least of it. You need some device at the other end of the serial cable (USB is much more likely to be found in the future than RS-232 serial) to take the PWM value and produce the desired output. A significant portion of that is hardware, unless this is a school problem that is proof-of-principle only.