. .

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    I had a look though the Huanyang inverter manual and the only reference I can find to PWM is SPWM, which is used within the inverter to control output switching. If your arduino is putting out 5v PWM signal and you have connected it to VI it will be switching on and off like it is stupid. What software are you using on the arduino. If you are using GRBL v0.9 then D11 should put out a 0-5v analogue signal
    https://github.com/grbl/grbl/wiki/Connecting-Grbl. I have the feeling that describing D11 output as PWM is in error.

  2. #2
    Quote Originally Posted by cropwell View Post
    If you are using GRBL v0.9 then D11 should put out a 0-5v analogue signal
    https://github.com/grbl/grbl/wiki/Connecting-Grbl. I have the feeling that describing D11 output as PWM is in error.
    No. The MEGA328/2560 based arduinos do not have a DAC, or any other form of analogue output. They provide a number of PWM-enabled discrete outputs (those prefixed with a tilde on the board silk-screening) with the signal value switched between GND and VCC - which if used for e.g. LED drives allows a direct control over the LED luminance, similarly for a DC motor drive; but the output remains a digital PWM signal (they do, however, support multiple ADC inputs)
    Last edited by Doddy; 30-05-2018 at 07:39 PM.

  3. #3
    Quote Originally Posted by Doddy View Post
    No. The MEGA328/2560 based arduinos do not have a DAC, or any other form of analogue output. They provide a number of PWM-enabled discrete outputs (those prefixed with a tilde on the board silk-screening) with the signal value switched between GND and VCC - which if used for e.g. LED drives allows a direct control over the LED luminance, similarly for a DC motor drive; but the output remains a digital PWM signal (they do, however, support multiple ADC inputs)
    You are right Doddy, I have had a closer look at the AnalogueWrite function. The DAC converters in the arduino put out a variable duty cycle PWM 0-5v. I have a feeling that that is where the OP's problem lies. I fell into the trap of assuming that, when Arduino described the board as having DAC function they meant in in the true sense. Maybe a simple RC integrator would prove the root of the problem, but in the long term an OpAmp circuit would be better (to give a better 0-5v). I am surprised that the inverter does not have an integrator on the input VI.
    Last edited by cropwell; 30-05-2018 at 08:14 PM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Fanuc OT - Fuses blowing
    By Cube3 in forum Machine Control Software
    Replies: 7
    Last Post: 19-07-2017, 08:03 PM
  2. HEIDENHAIN VRZ 731B - Blowing Fuses
    By goweruser in forum General Electronics
    Replies: 2
    Last Post: 06-02-2017, 10:52 PM
  3. Wabeco controller fuse blowing
    By Stewart in forum Motor Drivers & Controllers
    Replies: 3
    Last Post: 01-03-2015, 10:37 PM
  4. So close.....am882 driver blowing fuse
    By Danielroyal25 in forum Motor Drivers & Controllers
    Replies: 12
    Last Post: 29-03-2014, 09:32 PM
  5. 3 axis driver...Fuses keep blowing
    By dudz in forum Motor Drivers & Controllers
    Replies: 5
    Last Post: 28-01-2013, 08:05 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •