2006-10-05 by kholt@sonic.net
Or is the solenoid an intermittant-duty, and the locked on period too long for the IR dissipation? Maybe spikes are a red herring. It's bad to have a system where a SW glitch can kill an expensive part. For a solar system of this type, where you can carefully specify all the comp
Thread view
Attachments: 0
2006-10-05 by Stefan Wimmer
--- In AVR-Chat@yahoogroups.com, "OWEN-A" wrote: >... > > Just done a test with a 12Volt SLA battery and a 12Volt relay coil to prove > the point, 20Volt spike across the battery with a 1N4004 diode across the > coil, 600Volt spike across the battery without the diode, looks like
Thread view
Attachments: 0
2006-10-05 by OWEN-A
Thank you all for the replies. I normally put a 1N4004 diode across the inductor and a BZY18 Zener diode across the 12 volt supply with a 2Amp fuse before the Zener diode on my own designs. I have not designed these boards myself and have only seen a couple of the boards not the
Thread view
Attachments: 0
2006-10-05 by bibin john
see these links http://booksbybibin.14.forumer.com/viewtopic.php?t=119 http://booksbybibin.14.forumer.com/viewtopic.php?t=108 http://booksbybibin.14.forumer.com/viewtopic.php?t=122 http://booksbybibin.14.forumer.com/viewtopic.php?t=118 http://booksbybibin.14.forumer.com/viewtopic
Thread view
Attachments: 0
2006-10-05 by Roy E. Burrage
You might want to go back and add diodes across those solenoids, Owen. Transients on the power line can cause you all sorts of problems that a 3 cent diode will solve. We once had a customer who had us modifying some control modules that they sent all over the world. They had a p
Thread view
Attachments: 0
2006-10-04 by John Samperi
At 10:05 PM 4/10/2006, you wrote: >I struggled yesterday getting the USART on a Mega48 to work. Remember that the USART in the Mega 48/88/168 is **NOT** in the I/O space but in RAM space therefore the code example in the data sheet will NOT WORK. You will need to use STS/LDS to a
Thread view
Attachments: 0
2006-10-04 by Aaron
moemen issa wrote: >I've used Atmel's AVR studio in simulation of the USART and it doesn't show any data in the UDR reg. , but it worked pretty good although ,I think its an internal thing that you can'nt see the UDR filled with data... > > Thanks. I wondered if that might be wha
Thread view
Attachments: 0
2006-10-04 by moemen issa
I've used Atmel's AVR studio in simulation of the USART and it doesn't show any data in the UDR reg. , but it worked pretty good although ,I think its an internal thing that you can'nt see the UDR filled with data... Aaron wrote: I struggled yesterday getting the USART on a Mega4
Thread view
Attachments: 0
2006-10-04 by Aaron
I struggled yesterday getting the USART on a Mega48 to work. Since I got a good nights sleep, I'm going to take another look at the datasheet and my code before I post my initialization. But in the meantime, I never see UDR0 being filled with data, both in the simulator or via de
Thread view
Attachments: 0
2006-10-03 by Henry Carl Ott
At 07:41 AM 10/3/2006, you wrote: >I am trying to modifying a PIC program to get a shift register to work >properly, toggle the clear pin on the shift register to force all outputs to >"0" to prevent it from holding the data for too long and burning out an >expensive solenoid. >
Thread view
Attachments: 0
2006-10-03 by Dave Hylands
Hi Owen, On 10/3/06, OWEN-A wrote: > I am trying to modifying a PIC program to get a shift register to work > properly, toggle the clear pin on the shift register to force all outputs to > "0" to prevent it from holding the data for too long and burning out an > expensive solenoi
Thread view
Attachments: 0
2006-10-03 by OWEN-A
>I am trying to modifying a PIC program to get a shift register to work > properly, toggle the clear pin on the shift register to force all outputs > to > "0" to prevent it from holding the data for too long and burning out an > expensive solenoid. > > The shift register is a 74H
Thread view
Attachments: 0
2006-10-03 by Leon Heller
----- Original Message ----- From: "OWEN-A" To: Sent: Tuesday, October 03, 2006 12:41 PM Subject: RE: [AVR-Chat] Timer Counter >I am trying to modifying a PIC program to get a shift register to work > properly, toggle the clear pin on the shift register to force all outputs > to
Thread view
Attachments: 0
2006-10-03 by OWEN-A
I am trying to modifying a PIC program to get a shift register to work properly, toggle the clear pin on the shift register to force all outputs to "0" to prevent it from holding the data for too long and burning out an expensive solenoid. The shift register is a 74HC595 and will
Thread view
Attachments: 0
2006-10-03 by Celso Monteiro
Dear Owen, It seems to me you've got a noise problem that is corrupting your latch. It would be interesting for you to investigate what's going on. One suggestion I can tell you is periodically rewrite the contents of you latch. Shit happens all the time for everyone. What makes
Thread view
Attachments: 0
2006-10-02 by Jim Wagner
Are you trying to modify a PIC program to operate on AVR? Jim On Mon, 2 Oct 2006 10:25:29 +1000 "OWEN-A" wrote: > I have a situation where a counter used in an interrupt > may rollover before > a compare is reached, for example the timer is set to > 0x26 within the > interrupt th
Thread view
Attachments: 0
2006-10-02 by OWEN-A
I normally use AVR's this is a 1 of "never again" Owen. -----Original Message----- From: AVR-Chat@yahoogroups.com [mailto:AVR-Chat@yahoogroups.com] On Behalf Of John Samperi Sent: Monday, October 02, 2006 11:04 AM To: AVR-Chat@yahoogroups.com Subject: Re: [AVR-Chat] Timer Counter
Thread view
Attachments: 0
2006-10-02 by John Samperi
At 10:25 AM 2/10/2006, you wrote: >the processor is a PIC16F877. You would be better posting on the Microchip list then :-) Regards John Samperi ******************************************************** Ampertronics Pty. Ltd. 11 Brokenwood Place Baulkham Hills, NSW 2153 AUSTRALIA
Thread view
Attachments: 0
2006-10-02 by OWEN-A
I have a situation where a counter used in an interrupt may rollover before a compare is reached, for example the timer is set to 0x26 within the interrupt then decremented by one every time the interrupt is entered until 0 is reached, then reset to 0x26 again. PORTD PIN0 is set
Thread view
Attachments: 0
2006-10-01 by John Samperi
At 03:18 AM 2/10/2006, you wrote: >Are you doing at least 8 NOPS after the transition? ahhhhh I think I tried to slow down a program once before without success, that would explain why :(. Anyway got that bit working at full speed after all. Regards John Samperi *****************
Thread view
Attachments: 0
2006-10-01 by larry barello
Thanks for the tip. I'll try that next chance I get (I punted low power for a while after pissing four hours on it yesterday). So, how is life? I have been more or less swamped with contract work the last three years. 1-1/2 years working on a bar code scanner, then the last year
Thread view
Attachments: 0
2006-10-01 by David VanHorn
On 9/30/06, larry barello wrote: > > Anyone use the clock divisor on the m88? Below is my code. Every so > often > the reset to normal speed fails. Interrupts are disabled during the > ISR() Are you doing at least 8 NOPS after the transition? There's an errata about this, that yo
Thread view
Attachments: 0
2006-10-01 by larry barello
Anyone use the clock divisor on the m88? Below is my code. Every so often the reset to normal speed fails. Interrupts are disabled during the ISR() In short my "system" has a 50hz clock and I divide the CPU clock by 128 when I want low power and the timer wakes me up 2.56 seconds
Thread view
Attachments: 0
2006-09-29 by David VanHorn
:) Can't fix it if it's not broke [Non-text portions of this message have been removed]
Thread view
Attachments: 0
2006-09-29 by Mark Jordan
I found the problem. It was on another part of the code. Thanks, Mark Jordan On 29 Sep 2006 at 11:44, David VanHorn wrote: > > > > Hi David, thanks for the explanation. > > My problem is how to find the LPM passed the end of table > > by looking at the ZH:ZL register. > > > Ah. O
Thread view
Attachments: 0
2006-09-29 by David VanHorn
> > Hi David, thanks for the explanation. > My problem is how to find the LPM passed the end of table > by looking at the ZH:ZL register. Ah. Ok. Normally, I use null terminated strings, and tables of definite length, so I haven't had to do that in a while. I tried the code below
Thread view
Attachments: 0
2006-09-29 by Mark Jordan
On 29 Sep 2006 at 10:34, David VanHorn wrote: > > > > > > ldi ZH, high(TABLE*2) > > ldi ZL, low(TABLE*2) > > > > lpm temp, Z+ > > lpm temp, Z+ > > lpm temp, Z+ > > lpm temp, Z+ > > lpm temp, Z+ > > > > Question: > > > > - What is the current value of ZH:ZL? > > > You could just w
Thread view
Attachments: 0
2006-09-29 by David VanHorn
> > > ldi ZH, high(TABLE*2) > ldi ZL, low(TABLE*2) > > lpm temp, Z+ > lpm temp, Z+ > lpm temp, Z+ > lpm temp, Z+ > lpm temp, Z+ > > Question: > > - What is the current value of ZH:ZL? You could just walk that through the sim and see how it works. Z increments byte by byte, not wo
Thread view
Attachments: 0
2006-09-29 by Mark Jordan
ldi ZH, high(TABLE*2) ldi ZL, low(TABLE*2) lpm temp, Z+ lpm temp, Z+ lpm temp, Z+ lpm temp, Z+ lpm temp, Z+ Question: - What is the current value of ZH:ZL? Thanks. Mark Jordan
Thread view
Attachments: 0
2006-09-25 by Tzif
Hi Zack is right I make GPS and the reference of the GPS should be very accurate Therefor we are using an OCXO at 10 MHz frequency. And as Zack said from the 10 MHz we divide it and make the clock that we want. You can look at the Gollage OCXOs they are pretty good. Tzif From: Za
Thread view
Attachments: 0
2006-09-25 by Ralph Hilton
On Mon, 25 Sep 2006 07:56:11 -0500 (CDT) you wrote: >On Mon, 25 Sep 2006, Ralph Hilton wrote: > >> On Mon, 25 Sep 2006 10:08:28 -0000 you wrote: >> >> >Hi guys, >> > >> >I hope every thing is going OK. >> >I`ve question hoping somebody could provide me what I have to do. >> >How
Thread view
Attachments: 0
2006-09-25 by Zack Widup
On Mon, 25 Sep 2006, Ralph Hilton wrote: > On Mon, 25 Sep 2006 10:08:28 -0000 you wrote: > > >Hi guys, > > > >I hope every thing is going OK. > >I`ve question hoping somebody could provide me what I have to do. > >How can I generate one second accurately to be applied Digital > >
Thread view
Attachments: 0
2006-09-25 by Shekiboy
Hi all Im using Winavr compiler.I need to use a function to generate a random no. in my code.Is there any function for the same like in Turbo C. Thnx Aby
Thread view
Attachments: 0
2006-09-25 by Patrick Timlin
There are a number of ways to generate one second intervals. One way is to use a 32.768kHz crystal as your clock source. These are often used for this because 32768 is 2^15 power and so your clock is easily divided down to give one second intervals. Or put another way, you can us
Thread view
Attachments: 0
2006-09-25 by Ralph Hilton
On Mon, 25 Sep 2006 10:08:28 -0000 you wrote: >Hi guys, > >I hope every thing is going OK. >I`ve question hoping somebody could provide me what I have to do. >How can I generate one second accurately to be applied Digital >Clock ? by the way, I`ve tried by Timer/Counter0 , T/C Pr
Thread view
Attachments: 0
2006-09-25 by musabfakhri
Hi guys, I hope every thing is going OK. I`ve question hoping somebody could provide me what I have to do. How can I generate one second accurately to be applied Digital Clock ? by the way, I`ve tried by Timer/Counter0 , T/C Prescaler , Timer0 ovf0 (Int. Calling) but I didn`t get
Thread view
Attachments: 0
2006-09-24 by debatem1
--- In AVR-Chat@yahoogroups.com, moemen issa wrote: > > I think that the problem may be in the serial port of your PC or the cable itself or even the AVR chip itself ...I'm not trying to get you to a panic attack or something but when I was doing my image processing project I fac
Thread view
Attachments: 0
2006-09-22 by moemen issa
I think that the problem may be in the serial port of your PC or the cable itself or even the AVR chip itself ...I'm not trying to get you to a panic attack or something but when I was doing my image processing project I faced this situation lots of times and the result was that
Thread view
Attachments: 0
2006-09-22 by debatem1
I won't lie to you- I'm totally new with the AVR line of processors, but I've got a rather mystifying problem that just doesn't seem to be addressed anywhere: I order my STK500 and a set of ATMega32's, get them, run the test program- works perfectly. I then hooked up the serial c
Thread view
Attachments: 0
2006-09-21 by Jay Dagenais
AVRs to trade - cleaning out the component bin> Posted by: "Patrick Timlin" ptimlin@yahoo.com ptimlin> Wed Sep 20, 2006 6:58 pm (PST)> So I was sorting through the various AVR chips I have and realized I> have a few I no longer want/need and thought I would offer them up> here in
Thread view
Attachments: 0
2006-09-20 by Patrick Timlin
So I was sorting through the various AVR chips I have and realized I have a few I no longer want/need and thought I would offer them up here in trade for other AVR ICs I could use or want to play with. Keep in mind that some of these are old chips that are now obsolete by Atmel,
Thread view
Attachments: 0
2006-09-20 by larry barello
Get your supplier (Digikey or Allamerican) to do the programming for you. $.25/ea + $50 setup fee. Totally worth it. | -----Original Message----- | From: AVR-Chat@yahoogroups.com [mailto:AVR-Chat@yahoogroups.com] On Behalf | Of Richard Cooke | | Hi Folks, | | What is the collecti
Thread view
Attachments: 0
2006-09-20 by Leon Heller
----- Original Message ----- From: "Richard Cooke" To: Sent: Wednesday, September 20, 2006 6:13 PM Subject: [AVR-Chat] Programming Attiny13 SOIC in quantity? > Hi Folks, > > What is the collective wisdom of the best way to program the ATtiny13 > chips (surface mount package) in a
Thread view
Attachments: 0
2006-09-20 by Mike Harrison
On Wed, 20 Sep 2006 17:13:15 -0000, you wrote: >Hi Folks, > >What is the collective wisdom of the best way to program the ATtiny13 >chips (surface mount package) in a semi-production application? It >looks like we'll be producing 250 to 500 units. And if things go as >planned (bu
Thread view
Attachments: 0
2006-09-20 by Richard Cooke
Hi Folks, What is the collective wisdom of the best way to program the ATtiny13 chips (surface mount package) in a semi-production application? It looks like we'll be producing 250 to 500 units. And if things go as planned (but then again how often do they go as planned) it might
Thread view
Attachments: 0
2006-09-16 by Jim Wagner
Agreed., Jim On Fri, 15 Sep 2006 20:46:31 -0400 "David VanHorn" wrote: > On 9/15/06, Jim Wagner > wrote: > > > > David - > > > > Crystals and capacitors work this way: > > > I know this. I think you meant to direct this to > "lcdpublishing"? > > > [Non-text portions of this messa
Thread view
Attachments: 0
2006-09-16 by Roy E. Burrage
Thanks Ralph and Richard. Those are both in the right price range. I'll look at the demos. For boards, though, I'm going to have to stay a bit closer to home. I use AP Circuits for quick turn and Advanced Circuits for higher quantities when time allows and I need niceties like so
Thread view
Attachments: 0
2006-09-16 by Roy E. Burrage
Altium says it's no longer supported at the web site and recommends their other products. Easytrax! That was the original name. I used that too for a while as a shareware program, or was it freeware? I think I had one of those high end 386DX-40 machines though. Started out with A
Thread view
Attachments: 0
2006-09-16 by Ralph Hilton
On Sat, 16 Sep 2006 00:13:08 -0400 you wrote: I tried Eagle and found it confusingly unintuitive. ExpressPCB is very easy to use but, as you say, one is tied to a rather expensive board manufacturer. The closest I've found to ExpressPCB in terms of ease of use is Target3001 from
Thread view
Attachments: 0
2006-09-16 by Richard Reeves
Roy: > Does anyone have other suggestions in the range? The CM/TM package can also do analog/digital/mixed signal > simulations as well as auto routing, but I'm too much of a control > freak to worry about auto routing too terribly much. > > Any shared experiences would be apprec
Thread view
Attachments: 0