Show Posts
|
|
Pages: 1 ... 28 29 [30] 31
|
|
436
|
Forum 2005-2010 (read only) / Interfacing / Re: Inductance issues with PWM and high load
|
on: January 19, 2011, 08:10:39 pm
|
Thank you, it's very interesting  I've made a test circuit like this one:  (Pi filter bridge?) With a 1000µF polarized capacitor and a 0.1µF capacitor (right side) but for the inductance it's write: The inductance value is not too critical, but generally as big as you can manage, a few tens of mill Henrys is normal. It makes me... Thinking :-X Is a spare part from an ATX power supply (I'v an old one to use as parts) from the line +12V could be fine for my case? I don't know the Henry value, but.. It's just before wires, associated with a 2200µF polarized capacitor (it looks like a small vertical cylinder).
|
|
|
|
|
437
|
Forum 2005-2010 (read only) / Interfacing / Inductance issues with PWM and high load
|
on: January 19, 2011, 05:51:59 pm
|
Hi all  I was asking myself to solve a little problem what appends in a small project. In this project, I want to drive a heating element (resistor) by PWM with a Arduino. The resistor (6Ohms) is powered with 12V (security question) by a Darlington transistor (TIP120). The frequency of the PWM is very low (1Hz, but it have to be like that), and resistor' temperature is controlled by the PWM ratio/cycle. All's working very fine, except the resistor makes strong voltage variations in all the 12V line when it's powered on/off, and there's other electronics stuff power by the same line. I recorded variations around 1V and I need <0.1V. I learned it's usual in switch-mode, but what's the best way (simple/sort place to make something) to isolate the rest of the line and other electronics parts? I found some texts speaking about inductance, inductance + capacitor (low pass), but it's not very clear for me, and I'm not an engineer.. :-[ Any idea or schematic will be appreciate, thank! 
|
|
|
|
|
439
|
Forum 2005-2010 (read only) / Interfacing / Re: Guide: accurately read an LM35
|
on: March 19, 2010, 05:48:43 pm
|
|
o.O So my schema is good?
Of course, it read Vout on the Arduino pin #1 and Vref in pin #2. It's a bit different from your original post where it was #0 & #1.
If I'm again wrong, is it possible for you to draw a simple schema of your setup? (I think it will be more easy ^.^)
|
|
|
|
|
440
|
Forum 2005-2010 (read only) / Interfacing / Re: Guide: accurately read an LM35
|
on: March 19, 2010, 04:50:09 pm
|
ekaki: nailed it in one, you take analog readings off pin 1 and 2, pin 2 is the ground reference. So I'v to disconnected the Arduino pin #2? And just read pin #1?Oops, no, we need a LM35'ground reference... Hum.. But where is taken the LM35'ground reference?
|
|
|
|
|
443
|
Forum 2005-2010 (read only) / Interfacing / Re: 16x2 serial LCD backlight flickering
|
on: March 17, 2010, 11:36:32 am
|
|
Yes, it's why I ask in my first post if the most simply solution will be by using an auxiliary way to control the backlight. A way where I could have fine tune possibilities.
I will see.. Cause I will have to make a complete power system, use a I/O output on the Arduino, etc. It's a bit a pity to get a component like this pretty serLCD but to have to hack it at end.
However, thank you for your help Grumpy_Mike -.^
|
|
|
|
|
446
|
Forum 2005-2010 (read only) / Interfacing / Re: 16x2 serial LCD backlight flickering
|
on: March 16, 2010, 05:28:31 pm
|
Thank you to help me, but... I'm not sure to understand what you want to tel me. :-/ In the datasheet of the LCD board I see how changing the duty cycle of the PWM to adjust backlight by sending a cmd to the PIC to change the PWM frequency (0x7C + 128<157). So I think the backlight PWM is driving by the PIC, not by the Arduino (?). :-? I imagine I have to send a cmd to the PIC to change the PWM frequency like in your example, but I don't see how. Sorry for all my questions but I like to know what I do and not just copy some code parts ^.^
|
|
|
|
|
447
|
Forum 2005-2010 (read only) / Interfacing / Re: 16x2 serial LCD backlight flickering
|
on: March 16, 2010, 02:13:54 pm
|
Hum, yes, I had to say "voltage is always the same at high level", I spoke about filtering the signal, in our case. Of course, in PWM, voltage is low or high; not always the same ^.^ No the PWM frequency is controlled by the arduino, you just need to alter some values stored in registers. :-? I did not understood that in the serLCD docs.. Could you tell me the process to alter those values?
|
|
|
|
|
449
|
Forum 2005-2010 (read only) / Interfacing / Re: 16x2 serial LCD backlight flickering
|
on: March 15, 2010, 08:02:34 pm
|
|
I find the backlight very powerfull (very well to use by daylight), but in most of case what I'm making will be use by night (power supply for astro-photo applications) so it's a real need (we try to hide a maximum of lighting). During tests I set the backlight at a very low value (130, BYTE), in regard of possible parameters; it's quite fine, but not too much ^.^
Else, I asked to find a way with the PWM (capacitor?) cause I wouldlike to keep control of brightness by software; it's a good meaning to send visual alerts, by night :o
Anyway, I'll see for a hack of the LCD PCB, and if it's too hazardous (schematic is cheap for the serLCD-v2.. ^.^) I'll do as you say with another circuit to set the backlight. -.^
|
|
|
|
|
450
|
Forum 2005-2010 (read only) / Interfacing / 16x2 serial LCD backlight flickering
|
on: March 15, 2010, 06:28:30 pm
|
|
Hi -.^
I'm asking myself if there's a solution to eliminate backlight flickering when adjusting the brightness under full power on a SparkFun serial LCD (16x2)? This flickering is not very strong, but in some conditions (neon lights for ex.) it's a clearly visible.
If I'm not wrong it's cause the backlight LED is drive by PWM. So, is someone had trying to place a capacitor somewhere to "smooth" the PWM?
Or the best way is to use another power source, without PWM?
|
|
|
|
|