Share
Results 1 to 20 of 169

Thread: Manipulating welder output with Arduino

Hybrid View

joshuab Manipulating welder output... 08-25-2013, 07:10 PM
everlastsupport You could throw a cap in the... 08-25-2013, 07:21 PM
joshuab Arduino uses an AVR... 08-25-2013, 08:19 PM
joshuab PS: Mike, is there any reason... 08-25-2013, 08:25 PM
everlastsupport Only pre-wrapped little... 08-25-2013, 09:03 PM
joshuab There are a couple of... 08-25-2013, 09:28 PM
joshuab BTW, I realize that it's... 08-25-2013, 09:34 PM
sportbike When you are ready to start... 08-27-2013, 03:45 PM
sportbike How fast is the PWM output... 08-26-2013, 02:04 AM
sportbike Use this calculator to... 08-26-2013, 02:07 AM
sportbike You could make up a pulse... 08-26-2013, 02:12 AM
joshuab That's exactly the direction... 08-26-2013, 03:15 AM
joshuab Yup. This is exactly where... 08-26-2013, 03:18 AM
joshuab A small update. The bugs seem... 08-26-2013, 05:13 AM
sportbike According to this link:... 08-26-2013, 02:17 AM
joshuab And it may be as high as 32... 08-26-2013, 03:10 AM
sportbike The circuit in the link in... 09-10-2013, 08:03 PM
sportbike 32kHz should allow for a... 08-26-2013, 11:29 AM
Rambozo One thing you need to take... 08-26-2013, 02:29 PM
joshuab You're 100% right on this. I... 08-26-2013, 03:02 PM
everlastsupport Like a Faraday cage. 08-27-2013, 04:43 PM
joshuab Another small update.... 09-05-2013, 08:55 PM
everlastsupport How complex is the board? ... 09-05-2013, 09:33 PM
sportbike That's too much work....I'd... 09-05-2013, 11:19 PM
joshuab I don't know much on this... 09-06-2013, 12:28 AM
Jason I like the pictures of that... 09-06-2013, 01:30 AM
everlastsupport Unless you know someone that... 09-06-2013, 10:09 AM
joshuab It's not that complicated,... 09-05-2013, 11:01 PM
everlastsupport When you feel it's done let... 09-06-2013, 10:06 AM
joshuab Oh, well, in that case! LOL.... 09-06-2013, 05:55 PM
everlastsupport The main thing is get the... 09-07-2013, 12:05 PM
joshuab Currently, I'm working off... 09-07-2013, 01:45 PM
joshuab I have gotten tired of... 09-10-2013, 07:33 PM
joshuab Scratch that. I don't think... 09-10-2013, 08:53 PM
joshuab I have been soldering like... 09-11-2013, 10:45 PM
Rambozo Looks like you are getting... 09-12-2013, 12:11 AM
joshuab Exactly. The challenge is... 09-19-2013, 11:57 PM
Rambozo You could use a DAC but I... 09-20-2013, 01:58 AM
joshuab Sorry to say, the forum ate... 09-20-2013, 03:08 AM
Rambozo That circuit will still be... 09-20-2013, 04:07 AM
joshuab Sorry to say it's the 22k... 09-20-2013, 06:58 AM
Rambozo Well with a little code and... 09-20-2013, 08:45 AM
joshuab You're right. It's just not... 09-20-2013, 05:01 PM
joshuab While I'm waiting for parts... 09-21-2013, 04:34 PM
joshuab Using DipTrace. I tried... 09-30-2013, 01:14 PM
Rambozo DipTrace is way better than... 09-30-2013, 03:30 PM
joshuab My very-brief impression of... 09-30-2013, 03:55 PM
Rambozo Autorouters are mostly bogus,... 09-30-2013, 04:10 PM
Previous Post Previous Post   Next Post Next Post
  1. #1

    Default

    Quote Originally Posted by everlastsupport View Post
    When you feel it's done let me know and I will layout a board for you. Simple and fun for me. Also other might want to make you pedal.
    Oh, well, in that case! LOL. It is pretty close, but I have to do some actual testing with the welder before I will be sure.

  2. #2

    Default

    Quote Originally Posted by joshuab View Post
    Oh, well, in that case! LOL. It is pretty close, but I have to do some actual testing with the welder before I will be sure.
    The main thing is get the hardware solid, so the amps swings all the way, good resolution, etc. Software can be flashed to fix bugs OR add features later.

    Our new 255EXT has an Infineon MCU and can be flashed. Internal use only at this point. So having the MCU is a cool thing

    Which Arduino did you use? I might go look at them if less than $20. My favorite toy right now is the Raspberry Pi, never did get a Beagle Bone Black.
    Mike R.
    Email: admineverlast@everlastwelders.com
    www.everlastgenerators.com
    www.everlastwelders.com
    877-755-9353 x203
    M-F 12 - 7PM PST
    FYI: PP50, PP80, IMIG-200, IMIG-250P, 210EXT and 255EXT.

  3. #3

    Default

    Quote Originally Posted by everlastsupport View Post
    Which Arduino did you use? I might go look at them if less than $20. My favorite toy right now is the Raspberry Pi, never did get a Beagle Bone Black.
    Currently, I'm working off the Uno R3, but that's just because it's the one that's recommended for first-time purchasers. Going forward, I intend to look closely at something like the DC Boarduino from Adafruit or the Arduino Pro Mini from Sparkfun. Both of these are really tiny, minimalistic units, that are more appropriate for integrated application vs. prototyping.

    The Boarduino design uses a through-hole 328 chip, and is sold as a you-solder-it kit with a PCB. The interesting thing about it, to me, is that you could take the Eagle file (available from Adafruit) and incorporate it into your own PCB, then order the kit and solder the parts directly to your PCB. So your Arduino is 100% integrated into your PCB, vs. floating on top of it, plugged into headers. On the other hand, if one had the level of familiarity with electronics that you have, one could certainly design their own PCB around the base 328 chip. Take the 328 chip, pull out the inputs and outputs to solder pads, lay out a regulated power supply, and that's more or less it. But for only $20, it might be nice to have somebody else do the work for you and just ship you all the parts. If you bought a 328 chip with an Arduino bootloader, you could still take advantage of the Arduino development environment, such as being able to upload and download code via USB or FTDI without having to have a programmer (although, knowing you, you've already got a programmer!).

    The Pro Mini, on the other hand, uses all surface-mount components, and is not sold as a kit, so it would have to be installed on headers. On the other hand, it's only $10, so kind of hard to go wrong there. I'm a little torn between them. The Pro Mini is nearly half the cost of the Boarduino, but the layout of its PCB is a little weird--they stuck three of the analog input solder pads like, right in the middle of the board. It's a silly thing to care about, but it bugs me.

    For prototyping, the Boarduino is perfect, because it's designed to slot into a breadboard. Because of the Pro Mini's odd location of some of its analog inputs, you wouldn't have access to them if it was slotted into a breadboard. Maybe no big deal if you're comfortable with DACs and shift registers and muxes, oh my.

  4. #4

    Default

    I have gotten tired of lugging around a breadboard and having wires and stuff falling out all over the place, so I have started wiring up the circuit on a perf-board. We went to my sister's wedding over the weekend, so this is the first time I have gotten back to the project since I verified that, at least in principle, the "analog switch + PWM signal + parallel resistors = digital potentiometer" solution would work. Well, I'm sorry to report that it won't work after all. The problem is that the internal resistance of the switch is about 180 Ohms (measured between the pins with the switch in the "open" state), and that seems to be enough resistance that the welder never gets to max output. For the time being, I think I'm going to just go back to direct PWM output, so that I can get some kind of an alpha product put together, but I need to leave room on the perf-board for any additional components I'll have to put in (resistors and such), so I'm tempted to try to solve the issue before moving forward.

  5. #5

    Default

    Quote Originally Posted by joshuab View Post
    Well, I'm sorry to report that it won't work after all. The problem is that the internal resistance of the switch is about 180 Ohms (measured between the pins with the switch in the "open" state), and that seems to be enough resistance that the welder never gets to max output.
    Scratch that. I don't think the measly 180 Ohms open-switch resistance is what's doing it. I think the real problem is that if you're using an SPST switch, you can build a rheostat, but not a potentiometer, and the circuit expects a potentiometer. Simply varying the resistance between any two pins doesn't produce the correct output values. Conceptually, what I think you need is a SPDT switch that throws the circuit back and forth between the "pedal up" and "pedal down" states in response to the PWM signal. Or two SPST switches with one hooked up to a NOT of the other's input. But for now, I'm going to just go back to feeding a straight PWM signal to the pin and get on with my day.

  6. #6

    Default

    I have been soldering like mad. Although the hardware design was not 100% complete, I got really tired of stuff falling out all over the place when I was carrying a breadboard around, so I started wiring it up to perf-board. I also ordered a Boarduino so that I could mount the Arduino on headers on the board, instead of having it be a separate component with jumper-wires connecting it to the main-board.

    Once I get all the stuff wired up, there will be a round of debugging where I shake out any mistakes I made in the wiring, followed by another round of software revision, shaking out any lingering bugs and refining any small features that I have glossed over in my desire to get to a working product. I am going to a welding workshop this weekend, and it would be really exciting to have this ready to demonstrate, but I'm not holding my breath. The Boarduino comes tomorrow, and there is every chance that I will find a show-stopping problem that I have totally missed. Even if things go smoothly, it's a lot of work to get done, but it's not out of the question.

    Here are some pics of the project in its current state.

    Click image for larger version. 

Name:	2013-09-11 18.29.10.jpg 
Views:	404 
Size:	148.0 KB 
ID:	10773

    Click image for larger version. 

Name:	2013-09-11 18.29.44.jpg 
Views:	372 
Size:	141.1 KB 
ID:	10775

    Click image for larger version. 

Name:	2013-09-11 18.29.59.jpg 
Views:	347 
Size:	147.6 KB 
ID:	10776

    Click image for larger version. 

Name:	2013-09-11 18.30.23.jpg 
Views:	352 
Size:	142.0 KB 
ID:	10777

    And a video:

    Last edited by joshuab; 09-11-2013 at 10:48 PM.

  7. #7
    Join Date
    May 2012
    Location
    Disneyland
    Posts
    2,662

    Lightbulb

    Looks like you are getting there.
    Did you ever think about using an ardunio perf-shield for a nice compact plug on solution for your wiring points and multiplexer? Something like this.

    Click image for larger version. 

Name:	arduino_proto_shield.jpg 
Views:	342 
Size:	21.1 KB 
ID:	10778

    Since you are back to the PWM you could also add the voltage regulator so that the welder will never get a 5 volt signal even if something happens to stop the PWM. Just dial in the max signal you want then use PWM to lower that as required. I don't see any decoupling caps for those chips, either, something to consider to help prevent noise issues.
    Last edited by Rambozo; 09-12-2013 at 12:28 AM.
    Long arc, short arc, heliarc and in-the-dark!

  8. #8

    Default

    Quote Originally Posted by Rambozo View Post
    Looks like you are getting there.
    Did you ever think about using an ardunio perf-shield for a nice compact plug on solution for your wiring points and multiplexer? Something like this.
    I did, but the protoshields that I'm aware of don't have enough space for the components I'm using. For example, the one I have only has space for a total of 10 rows of DIP IC.



    The Boarduino sort of turns that on its head: instead of putting the perf-board on the Arduino, it puts the Arduino on the perf-board.

    Since you are back to the PWM you could also add the voltage regulator so that the welder will never get a 5 volt signal even if something happens to stop the PWM. Just dial in the max signal you want then use PWM to lower that as required. I don't see any decoupling caps for those chips, either, something to consider to help prevent noise issues.
    Great minds think alike. I built a voltage divider to pull the Arduino's 5v down to a max of 2.7v. This makes sure that, no matter what software mistake might happen, the welder will never see over 2.7v from the Arduino. And it simplifies the code, since I can just use the full range of PWM output, instead of tracking max volts and taking output as a percentage of that. Technically, it also about doubles my usable resolution, but that hardly matters.

    For the decoupling caps, can you provide a basic schematic? Currently, I've got the chips solder-bridged over to a ground/power bus that runs down the middle of the pins. I'm familiar with the concept of decoupling caps, but I don't really know exactly how they fit in a schematic.

    EDIT: Actually, come to think of it, I have seen caps in a schematic, on either side of a component, going from Vcc to Ground. Is that the ones you're talking about?
    Last edited by joshuab; 09-12-2013 at 12:54 AM.

Similar Threads

  1. DIY Arduino THC - Video
    By EmptyNester in forum Everlast Plasma Cutters (PAC)
    Replies: 129
    Last Post: 09-26-2015, 05:49 AM
  2. DIY Arduino THC - Pass 2
    By EmptyNester in forum Everlast Plasma Cutters (PAC)
    Replies: 14
    Last Post: 12-05-2013, 11:58 PM
  3. PP256 goes high and low with output
    By BlownBlueZ06 in forum Everlast Plasma Cutters (PAC)
    Replies: 15
    Last Post: 01-29-2012, 05:04 AM
  4. Thermal Arc 400GMS max output?
    By welderdude in forum General Welder Questions
    Replies: 2
    Last Post: 12-31-2011, 04:23 PM
  5. Power I-MIG 160 output on 120?
    By welderdude in forum MIG Welding (GMAW/GMAW-P/FCAW)
    Replies: 1
    Last Post: 06-21-2011, 02:08 AM

Posting Permissions

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