The 1947 - Present Chevrolet & GMC Truck Message Board Network







Register or Log In To remove these advertisements.

Go Back   The 1947 - Present Chevrolet & GMC Truck Message Board Network > General Truck Forums > Electrical

Web 67-72chevytrucks.com


Reply
 
Thread Tools Display Modes
Old 06-21-2018, 09:43 PM   #26
franken
Registered User
 
Join Date: Jun 2013
Location: Somewhere
Posts: 3,052
Re: Any electronics nerds interested in Arduino/Atmel?

Quote:
Originally Posted by dmjlambert View Post
Well I don't know about PWM for AC, I think it is for DC motors only, but I may be mistaken. It will be interesting to find out how it goes.
Look into a triac for AC PWM... https://www.google.com/search?ei=6ko....0.okNKgaixWr8

As for BJTs vs FETs they use a bit different terminology but the basic difference is the former operates on base current, and the latter on gate voltage. FET tech typically uses less current and higher voltage.
franken is offline   Reply With Quote
Old 06-27-2018, 11:44 AM   #27
davepl
Registered User
 
davepl's Avatar
 
Join Date: Aug 2006
Location: Redmond, WA
Posts: 6,330
Re: Any electronics nerds interested in Arduino/Atmel?

Quote:
Originally Posted by dmjlambert View Post
Well I don't know about PWM for AC, I think it is for DC motors only, but I may be mistaken. It will be interesting to find out how it goes.
It works for light bulbs, I'm just not sure about electric motors. I think if the PWM wave is fast enough (like 1000Hz at least) and the relay fast enough, it should work perfectly!

Since I have two phases I'd need two relays, though.
__________________
1970 GMC Sierra Grande Custom Camper - Built, not Bought
1969 Pontiac 2+2 427/390 4-speed Coupe
1969 Pontiac 2+2 427/390 4-speed Convertible
davepl is offline   Reply With Quote
Old 06-28-2018, 02:17 AM   #28
87Skier
Registered User
 
87Skier's Avatar
 
Join Date: Mar 2014
Location: Corvallis, OR
Posts: 711
Re: Any electronics nerds interested in Arduino/Atmel?

Quote:
Originally Posted by davepl View Post
It works for light bulbs, I'm just not sure about electric motors. I think if the PWM wave is fast enough (like 1000Hz at least) and the relay fast enough, it should work perfectly!

Since I have two phases I'd need two relays, though.
I'm not entirely sure what you want to achieve.

Do you have a AC (alternating current not air conditioning) motor that you want to soft-start? Are you trying to drive DC cooling fans with PWM for speed control? Is the fuel pump supposed to be variable output?
__________________
1972 GMC Jimmy Custom 4.8L (L20)/6L90E/NP205
1989 Chevy Suburban V2500 350/Turbo 400/4.11 gears
1996 Chevy Suburban K1500 350/4L60E
87Skier is offline   Reply With Quote
Old 06-28-2018, 04:20 PM   #29
dmjlambert
Senior Member
 
dmjlambert's Avatar
 
Join Date: Apr 2016
Location: Cypress, TX
Posts: 3,505
Re: Any electronics nerds interested in Arduino/Atmel?

What is the purpose of soft-starting an AC motor? What does it achieve?
dmjlambert is offline   Reply With Quote
Old 06-29-2018, 12:30 PM   #30
87Skier
Registered User
 
87Skier's Avatar
 
Join Date: Mar 2014
Location: Corvallis, OR
Posts: 711
Re: Any electronics nerds interested in Arduino/Atmel?

Quote:
Originally Posted by dmjlambert View Post
What is the purpose of soft-starting an AC motor? What does it achieve?
Motors have high inductance, so when you power them on by just connecting it to line voltage, it is essentially a short for a small window of time. This causes a voltage drop in the system while the motor comes up to speed, and also means that the current in the motor is extremely high during this time.

Soft-starting drastically reduces the startup current and the current through the motor coils.
__________________
1972 GMC Jimmy Custom 4.8L (L20)/6L90E/NP205
1989 Chevy Suburban V2500 350/Turbo 400/4.11 gears
1996 Chevy Suburban K1500 350/4L60E
87Skier is offline   Reply With Quote
Old 07-08-2018, 09:41 AM   #31
oldgold70c10
Who's got steelies?
 
oldgold70c10's Avatar
 
Join Date: Feb 2006
Location: Morrison, Oklahoma
Posts: 1,023
Re: Any electronics nerds interested in Arduino/Atmel?

Quote:
Originally Posted by 87Skier View Post
Motors have high inductance, so when you power them on by just connecting it to line voltage, it is essentially a short for a small window of time. This causes a voltage drop in the system while the motor comes up to speed, and also means that the current in the motor is extremely high during this time.

Soft-starting drastically reduces the startup current and the current through the motor coils.
Although it sounds good, it is probably not a great idea to try soft starting a split-phase motor (cap start-cap run, or cap start-induction run) like is used on an air compressor. These motors pull a lot of amps on start up because they are high torque motors, and need to come up to speed quickly.
The type of motor usually used for soft-start is a 3-phase motor, and they are available with built-on or separate inverters/vfd module, so you can operate them from a single-phase power source
__________________
1969 C10 LWB W/ 250 I6 & 3spd
1970 C10 with '67 small window cab, 68 front end, blue; 305/TH350, 3.08 limited slip rear end, manual brakes, power steering; & 4-wheel drums-My daily driver.
1975 Chevelle Malibu Classic Coupe 350/th350 mint green
1970 C20 Suburban 350/700R4 4.10 gearing green & white
1978 Big 10 Silverado 350/th350, working ac, 2 tone blue-My summer daily driver
1983 GMC 1500 Sierra 305/SM465 2.73 rear end

How to add a trip odometer to your 67-72 stock speedometer

How to rebuild your Q-Jet

My Truck Page
My Youtube Channel
oldgold70c10 is offline   Reply With Quote
Old 07-08-2018, 06:27 PM   #32
87Skier
Registered User
 
87Skier's Avatar
 
Join Date: Mar 2014
Location: Corvallis, OR
Posts: 711
Re: Any electronics nerds interested in Arduino/Atmel?

Quote:
Originally Posted by oldgold70c10 View Post
Although it sounds good, it is probably not a great idea to try soft starting a split-phase motor (cap start-cap run, or cap start-induction run) like is used on an air compressor. These motors pull a lot of amps on start up because they are high torque motors, and need to come up to speed quickly.
The type of motor usually used for soft-start is a 3-phase motor, and they are available with built-on or separate inverters/vfd module, so you can operate them from a single-phase power source
I forgot to mention this.

Also, soft-starting reduces the average current, not the peak current through the coils.
__________________
1972 GMC Jimmy Custom 4.8L (L20)/6L90E/NP205
1989 Chevy Suburban V2500 350/Turbo 400/4.11 gears
1996 Chevy Suburban K1500 350/4L60E
87Skier is offline   Reply With Quote
Old 07-10-2018, 10:35 AM   #33
davepl
Registered User
 
davepl's Avatar
 
Join Date: Aug 2006
Location: Redmond, WA
Posts: 6,330
Re: Any electronics nerds interested in Arduino/Atmel?

Can someone explain cap-start? Does it store a bunch of surge energy in a cap for the initial inductive "kick" when the motor starts?

I decided not to monkey with my big compressor. I have a small desktop compressor I used for tires and air brushing that I will play with instead!

I built a switched outlet box with a 30A Craydon SSR in it to play with, we shall see. I searched and paid extra for a non-zero-cross relay. Normally they don't switch until the next time the AC crosses zero, which is OK as a switch but wouldn't work for AC slicing.

I've also been tinkering with a bunch of old retro displays and trying to interface them to modern electronics. Here are some of my results!

Little saga on the VFD display: it's a Japanese unit from Noritake and uses hand-coded timing loops to drive it that I could only get to work on the CPU they designed it for (which I'm not using because it's ancient). So for the $1.75 they cost, I dedicated an Atmel 328P (which it works with) just to controlling the VFD. It then exposes the standard LCD interface across the i2c bus so that the ESP32 can call it as if it were a local display. Works great, but was a bit of an investment.

I'm a software guy, so every one of these little wires is a victory ;-)
Attached Images
  
__________________
1970 GMC Sierra Grande Custom Camper - Built, not Bought
1969 Pontiac 2+2 427/390 4-speed Coupe
1969 Pontiac 2+2 427/390 4-speed Convertible
davepl is offline   Reply With Quote
Old 07-10-2018, 09:09 PM   #34
oldgold70c10
Who's got steelies?
 
oldgold70c10's Avatar
 
Join Date: Feb 2006
Location: Morrison, Oklahoma
Posts: 1,023
Re: Any electronics nerds interested in Arduino/Atmel?

Quote:
Originally Posted by davepl View Post
Can someone explain cap-start? Does it store a bunch of surge energy in a cap for the initial inductive "kick" when the motor starts?

I decided not to monkey with my big compressor. I have a small desktop compressor I used for tires and air brushing that I will play with instead!

I built a switched outlet box with a 30A Craydon SSR in it to play with, we shall see. I searched and paid extra for a non-zero-cross relay. Normally they don't switch until the next time the AC crosses zero, which is OK as a switch but wouldn't work for AC slicing.

I've also been tinkering with a bunch of old retro displays and trying to interface them to modern electronics. Here are some of my results!

Little saga on the VFD display: it's a Japanese unit from Noritake and uses hand-coded timing loops to drive it that I could only get to work on the CPU they designed it for (which I'm not using because it's ancient). So for the $1.75 they cost, I dedicated an Atmel 328P (which it works with) just to controlling the VFD. It then exposes the standard LCD interface across the i2c bus so that the ESP32 can call it as if it were a local display. Works great, but was a bit of an investment.

I'm a software guy, so every one of these little wires is a victory ;-)
You have to have some way of setting up a rotating magnetic field in a single-phase motor. Otherwise, the field just alternates without rotating. In a cap-start motor, there are 2 windings, a run and a start. The run winding is across the ac line, the start winding is across the ac line with a capacitor in series with it. The capacitor causes a shift in that winding (along with the winding being wound slightly different than the run) so that the field will rotate, to start the motor. On many motors, once the motor comes up to about 75% or running speed, a centrifugal switch cuts out the start winding, This is a capacitor-start, induction run. For loads requiring more running torque, a capacitor start, capacitor run motor is used. These have two capacitors, one for starting and one for running. The run capacitor stays in series with the start coil all the time. Air compressors and table saws often use cap-start, cap run motors. Another type of capacitor motor for low-torque loads like fans omits the start capacitor and has just a run capacitor. These are called permanent split capacitor (PSC) motors and they are very efficient.
__________________
1969 C10 LWB W/ 250 I6 & 3spd
1970 C10 with '67 small window cab, 68 front end, blue; 305/TH350, 3.08 limited slip rear end, manual brakes, power steering; & 4-wheel drums-My daily driver.
1975 Chevelle Malibu Classic Coupe 350/th350 mint green
1970 C20 Suburban 350/700R4 4.10 gearing green & white
1978 Big 10 Silverado 350/th350, working ac, 2 tone blue-My summer daily driver
1983 GMC 1500 Sierra 305/SM465 2.73 rear end

How to add a trip odometer to your 67-72 stock speedometer

How to rebuild your Q-Jet

My Truck Page
My Youtube Channel
oldgold70c10 is offline   Reply With Quote
Old 07-11-2018, 11:11 AM   #35
davepl
Registered User
 
davepl's Avatar
 
Join Date: Aug 2006
Location: Redmond, WA
Posts: 6,330
Re: Any electronics nerds interested in Arduino/Atmel?

Aha! That must have been what my EE friend at the power company was talking about when he was trying to dissuade me from doing this on my big 240V compressor... he talked about the potential of a centrifugal switch.

I need to read up a little more on single-phase induction motors, as with brushes and no moving fields, they're a little mysterious!
__________________
1970 GMC Sierra Grande Custom Camper - Built, not Bought
1969 Pontiac 2+2 427/390 4-speed Coupe
1969 Pontiac 2+2 427/390 4-speed Convertible
davepl is offline   Reply With Quote
Old 12-13-2021, 10:59 PM   #36
dmjlambert
Senior Member
 
dmjlambert's Avatar
 
Join Date: Apr 2016
Location: Cypress, TX
Posts: 3,505
Re: Any electronics nerds interested in Arduino/Atmel?

So, bringing up this older thread to continue discussion. It's a slow process to work on the truck, but now that I finally got the air conditioning going I can think about other things. I was forbidding myself to work on other things until I got the darned A/C going. Here in Texas for a daily driver truck, A/C is pretty important for comfort. Although I usually roll down the window and stick my arm out, there are a few dozen days here where it is HOT.

Anyway back to the electronics and programming nerd discussion, I have in my truck's future the idea of power window for the passenger side. I have such a strong passion for rolling the windows down while I drive, if it's not too hot. And it rains a lot here. So when it starts raining, I need to pull over in a parking lot, put the truck in park, and scoot way across the truck and roll up that window. So, when I do the power windows as described in the "power windows on the cheap" thread, I will want to add a controller. I'm not too much into the idea of mounting typical power window buttons, I just don't like the look. So, I got a cruise control stalk. They reproduce these now, but I got an old used one off eBay.

Name:  stalk.jpg
Views: 72
Size:  69.8 KB

Now I am working on the idea of using that button to roll the window up and down, and I've also considered hiding my garage door remote and operate it via a relay, and perhaps temporarily turning on windshield wipers (mist control), and perhaps one day in the future install cruise control. Do all those things and more with one button.

The code:
https://pastebin.com/dPbVhxqk

Demo video of the code:
https://www.youtube.com/watch?v=xDpqLDz1xEk

So what are the best button press patterns to use to do the various things? My initial thoughts are the cruise control pass through as described in the program is likely to work fine. That is a slow press followed by slow release, and is sent to the cruise control as a fast press followed by finger controlled slow release. Then the next most frequent thing I would do is rolling that passenger window up and down. So I would probably do that with a fast press to start the window moving, and release the button to stop the window rolling. I will program it so every time I operate the window it would move in the opposite direction compared to the previous movement. Quick press and release can do the garage door remote.

Last edited by dmjlambert; 12-13-2021 at 11:01 PM. Reason: Change some words and minor corrections
dmjlambert is offline   Reply With Quote
Old 12-14-2021, 02:27 PM   #37
pjmoreland
Senior Member
 
pjmoreland's Avatar
 
Join Date: Jan 2005
Location: CA
Posts: 5,164
Re: Any electronics nerds interested in Arduino/Atmel?

Does that cruise control button have two contacts in it? It's got three wires for some reason. Could it be that pressing the button part way does something different than pressing the button all the way? If so, then that might give you more options on how to control multiple things with one button.
pjmoreland is offline   Reply With Quote
Old 12-14-2021, 11:39 PM   #38
dmjlambert
Senior Member
 
dmjlambert's Avatar
 
Join Date: Apr 2016
Location: Cypress, TX
Posts: 3,505
Re: Any electronics nerds interested in Arduino/Atmel?

Yes, 2 sets of contacts, at different depths of button press. It appears to be most useful to detect how fast you are pressing or releasing the button. I can have the Arduino recognize slow press followed by slow release, or slow press followed by fast release, or fast press followed by slow release, or fast press followed by fast release. Partial press and release is also possible, but a little harder to reliably do with my finger without accidentally hitting the deep contact some of the attempts.
dmjlambert is offline   Reply With Quote
Old 12-14-2021, 11:40 PM   #39
pjmoreland
Senior Member
 
pjmoreland's Avatar
 
Join Date: Jan 2005
Location: CA
Posts: 5,164
Re: Any electronics nerds interested in Arduino/Atmel?

Quote:
Originally Posted by dmjlambert View Post
Yes, 2 sets of contacts, at different depths of button press. It appears to be most useful to detect how fast you are pressing or releasing the button. I can have the Arduino recognize slow press followed by slow release, or slow press followed by fast release, or fast press followed by slow release, or fast press followed by fast release. Partial press and release is also possible, but a little harder to reliably do with my finger without accidentally hitting the deep contact some of the attempts.
That's nifty
pjmoreland is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 06:39 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Copyright 1997-2022 67-72chevytrucks.com