Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Messages

Browse messages

Page 134 of 307 · 15341 messages matched

temp sensor

2007-01-16 by magzky02

hello guys, i used a digital temp sensor to monitor a temperature of a certain ic near to it. Now my question is that what part of the IC sense the temperature? Is it their body? or a certain PIN? thanks, mago

Thread view Attachments: 0

Re: [AVR-Chat] connect butterfly to 5V circuit.

2007-01-16 by Cat C

I don't have something that wouldn't need modifying, but I think the original application stores the name you input (for badge mode) in that external chip. You can either get the real original from Atmel, or a GCC version from... someplace on the web. Cat ----Original Message Fol

Thread view Attachments: 0

Re: [AVR-Chat] connect butterfly to 5V circuit.

2007-01-15 by James Ronald

Cat, Ah, good point. I don't use it so I don't know. Mine could be toast now... If you have a sample program that you would like me to try I would be willing to do so and let you know if works or not. Jim ----- Original Message ----- From: "Cat C" To: Sent: Monday, January 15, 20

Thread view Attachments: 0

Re: [AVR-Chat] connect butterfly to 5V circuit.

2007-01-15 by Cat C

Is your external memory chip still working? It annoyed me it's max rating is about 3.6V, so I never dared to power it at 5V, but I sure wish I could. Maybe you don't use it, so you don't know it's gone? Cat ----Original Message Follows---- From: "James Ronald" Reply-To: AVR-Chat@

Thread view Attachments: 0

Re: [AVR-Chat] connect butterfly to 5V circuit.

2007-01-15 by James Ronald

Running the Butterfly at 5 volts and connecting to 5 volt logic circuits has worked fine for me. Jim ----- Original Message ----- From: "gpolder" To: Sent: Monday, January 15, 2007 5:16 AM Subject: [AVR-Chat] connect butterfly to 5V circuit. >I like to interface a butterfly to a

Thread view Attachments: 0

connect butterfly to 5V circuit.

2007-01-15 by gpolder

I like to interface a butterfly to a 5 volt logic circuit (actually an analog devices dds). What is the best approach? 1- run the butterfly on 3 volt and just connect the output to the 5 volt dds inputs? 2- use level converters between the two? 3- run the butterfly on 5 volt? tha

Thread view Attachments: 0

Re: [AVR-Chat] still no interrupts

2007-01-15 by John Samperi

At 01:29 PM 15/01/2007, you wrote: >It never goes to the interrupt, How long is NEVER? Have you waited several seconds? Minutes? Remember that the simulator is just that, it is not real time as if you had an ICE, so a mS machine real time may take several seconds or minutes on a

Thread view Attachments: 0

still no interrupts

2007-01-15 by Thomas Keller

Richard; I tried what you said. But if I set a breakpoint inside the interrupt handler (at TIMER0:) and run my coee, all it ever does is cycle rapidlybetween the rjmp MAIn and the sleep command in the main routine. It never goes to the interrupt, and it neer updates anything. You

Thread view Attachments: 0

NO INTERRUPTS?

2007-01-14 by Thomas Keller

As far as I can tell, no interrupt of any kind is occuring in this code...which doesn't make a lot of sense to me. *HELP* (please?) tom --- ; ;============================================================================== ; ; NAME: beacon.asm ; ; PROJECT: ***REDACTED*** ; ; VERSI

Thread view Attachments: 0

Re: [AVR-Chat] Re: GPS

2007-01-14 by Jim Wagner

Some schools are strong on theory and very weak on application. The student is expected to choose a "project" (often without knowledge of the possible, what is hard and what is easy, etc) and use that to learn about application of theory. I had a student in Junior Circuits Lab (l

Thread view Attachments: 0

Re: [AVR-Chat] Re: GPS

2007-01-14 by Jim Wagner

How a GPS is used also depends on the GPS engine. Some have ASCII serial data accessed through a UART. Some have USB. Some don't have any. Its your choice. Jim On Sun, 14 Jan 2007 09:16:05 -0600 (CST) Zack Widup wrote: > On Sun, 14 Jan 2007, Stefan Wimmer wrote: > > > --- In AVR-

Thread view Attachments: 0

Re: [AVR-Chat] NO INTERRUPTS?

2007-01-14 by Richard Reeves

> As far as I can tell, no interrupt of any kind is occuring in this > code...which doesn't make a lot of sense to me. *HELP* (please?) The interrupts work fine. Do a ctrl+F7 to run it, click your cursor on the second "rjmp TIMER0" line, and then click ctrl+F10 (run to cursor.) W

Thread view Attachments: 0

Re: [AVR-Chat] Re: GPS

2007-01-14 by Zack Widup

I've had a question for some time. Not to get down on people from India, but it appears to me that at least about 90% of these messages asking for help originate from there. They mostly appear to be asking for help on homework projects, although I couldn't swear to that. Why aren

Thread view Attachments: 0

Re: [AVR-Chat] Re: GPS

2007-01-14 by Zack Widup

On Sun, 14 Jan 2007, Stefan Wimmer wrote: > --- In AVR-Chat@yahoogroups.com, "omid2007ir" wrote: > > > > pl tell me how can using GPS in my project? > > > > That depends a littel bit on the type of your project. > > For example: I can't see an obvious reason to use GPS in an egg

Thread view Attachments: 0

Re: GPS

2007-01-14 by omid2007ir

--- In AVR-Chat@yahoogroups.com, Zack Widup wrote: > > On Sun, 14 Jan 2007, Stefan Wimmer wrote: > > > --- In AVR-Chat@yahoogroups.com, "omid2007ir" wrote: > > > > > > pl tell me how can using GPS in my project? > > > > > > > That depends a littel bit on the type of your project.

Thread view Attachments: 0

Re: [AVR-Chat] Re: GPS

2007-01-14 by Leon

----- Original Message ----- From: Zack Widup To: AVR-Chat@yahoogroups.com Sent: Sunday, January 14, 2007 3:28 PM Subject: Re: [AVR-Chat] Re: GPS I've had a question for some time. Not to get down on people from India, but it appears to me that at least about 90% of these message

Thread view Attachments: 0

Re: [AVR-Chat] Re: GPS

2007-01-14 by Roy E. Burrage

He might also be trying to find out where students go instead of doing their own homework for class projects. REB enkitec wrote: >--- In AVR-Chat@yahoogroups.com, "Stefan Wimmer" wrote: > > >>--- In AVR-Chat@yahoogroups.com, "omid2007ir" wrote: >> >> >>>pl tell me how can using G

Thread view Attachments: 0

Re: GPS

2007-01-14 by enkitec

--- In AVR-Chat@yahoogroups.com, "Stefan Wimmer" wrote: > > --- In AVR-Chat@yahoogroups.com, "omid2007ir" wrote: > > > > pl tell me how can using GPS in my project? > > > > That depends a littel bit on the type of your project. > > For example: I can't see an obvious reason to us

Thread view Attachments: 0

Re: GPS

2007-01-14 by Stefan Wimmer

--- In AVR-Chat@yahoogroups.com, "omid2007ir" wrote: > > pl tell me how can using GPS in my project? > That depends a littel bit on the type of your project. For example: I can't see an obvious reason to use GPS in an egg cooking timer oproject...

Thread view Attachments: 0

Re: [AVR-Chat] GPS

2007-01-14 by Leon

----- Original Message ----- From: omid2007ir To: AVR-Chat@yahoogroups.com Sent: Tuesday, January 09, 2007 5:03 AM Subject: [AVR-Chat] GPS pl tell me how can using GPS in my project? ---------------------------- Buy a suitable GPS module and interface it. Leon -- Leon Heller Amat

Thread view Attachments: 0

RE: [AVR-Chat] GPS

2007-01-14 by Cat C

u put it in your project, and then you use it. ----Original Message Follows---- From: "omid2007ir" Reply-To: AVR-Chat@yahoogroups.com To: AVR-Chat@yahoogroups.com Subject: [AVR-Chat] GPS Date: Tue, 09 Jan 2007 05:03:13 -0000 pl tell me how can using GPS in my project? Yahoo! Grou

Thread view Attachments: 0

GPS

2007-01-09 by omid2007ir

pl tell me how can using GPS in my project?

Thread view Attachments: 0

Re: [AVR-Chat] still no working interrupt )-:

2007-01-09 by Jim Wagner

I have not tried "sleep" on the simulator but I would bet that sleep is not simulated. Jim On Mon, 08 Jan 2007 18:44:06 -0600 Thomas Keller wrote: > > > OK. Here is my main loop: > > MAIN: > > sleep > rjmp MAIN ; go back to > sleep until next > interrupt > ; in > other words, > l

Thread view Attachments: 0

Re: [AVR-Chat] still no working interrupt )-:

2007-01-09 by Thomas Keller

Well, nice theory, but it didn't pan out. I replaced all the reti's in the vector table with rjmp DEBUG statements. I created an IRQ handler named DEBUG that simply alters the value of r28 from oxff to oxoo back and forth. Placed a watch on r28, and ran the code. Still oscillates

Thread view Attachments: 0

Re: [AVR-Chat] still no working interrupt )-:

2007-01-09 by Thomas Keller

> OK. Here is my main loop: MAIN: sleep rjmp MAIN ; go back to sleep until next interrupt ; in other words, loop forever .exit now, when i am simulating this, the instruction pointer simply oscillates rapidly between the line with "sleep" and the line with "rjmp MAIN" on it. This

Thread view Attachments: 0

CTC problem

2007-01-09 by jimmcguffin

I am trying to make a sweeping frequency output using an Mega128. I set timer 1 to CTC (mode 4), and set OC1A to output. If I run my program normally, the OC1A output toggles nicely at whatever fixed frequency I want. But when I start sweeping, as soon as I write a new value to t

Thread view Attachments: 0

Re: [AVR-Chat] still no working interrupt )-:

2007-01-08 by dlc@frii.com

I don't have time to pore over your code looking for the smoking gun, but there are two comments I will make that can affect what you are doing and how the missing interrupt could be going awry. 1) You don't save status in your ISR. You should save it and retrieve it before exiti

Thread view Attachments: 0

Re: [AVR-Chat] still no working interrupt )-:

2007-01-08 by Richard Reeves

...And your interrupt vector for Compare match A is wrong. It's the one before it that you want (I just single-stepped it and it hit the reti on the line before, as indicated below with asterisks. Have a look at page 46 of the data-sheet. With that changed, it hits the interrupt

Thread view Attachments: 0

Re: [AVR-Chat] still no working interrupt )-:

2007-01-08 by Richard Reeves

I think you're setting the wrong bits in TIMSK. If you want to enable Compare A and the Overflow for Timer0, you need to load TIMSK with $12 according to the simulation I have running now, which works id I manually set those bits in TIMSK. Richard > > I don't get it. My stand alo

Thread view Attachments: 0

still no working interrupt )-:

2007-01-08 by Thomas Keller

I don't get it. My stand alone interrupt routine works, but I cannot seem to get interrupts to work in this program. here is the code (with comments which reveal proprietary information redacted out): ; ;============================================================================

Thread view Attachments: 0

Re: [AVR-Chat] *yikes*

2007-01-06 by Jim Wagner

Tom - A technique I have used to debug timers is to temporarily set up the timer so that the interrupt happens in a relatively few clock cycles. This can be done by using the minimum clock prescale, a small compare value, etc. Then, I manually steep through the program and when i

Thread view Attachments: 0

Re: [AVR-Chat] *yikes*

2007-01-06 by Thomas Keller

Jim; Yeah, I know it is a bit much, I had forgotten about the sei instruction, which is something that hasn't existed on processors i have worked with in the past. Yes, I have the interrupts enabled (at least, if I understood the data sheet on how to do that, I do), and yes (agai

Thread view Attachments: 0

Re: [AVR-Chat] *yikes*

2007-01-06 by Jim Wagner

Tom The only bit that has anything to do with interrupts in the SREG is Bit7:GlobalInterruptEnable. Are you doing all that to try to set and clear Bit7? It would seem like it OUGHT to execute an ISR. Do you have the corresponding bits set in the timer? For a Mega16, its the TIMSK

Thread view Attachments: 0

Re: [AVR-Chat] *yikes*

2007-01-06 by Thomas Keller

John. I didn't use an sei instruction,no. I set the appropriate bit in a register, read in the current SREG vale, or'ed it together,t hen used an out instruction to store the result in the SREG. While unconventional, it SHOULD have the same net result. John Samperi wrote: > > At

Thread view Attachments: 0

Re: [AVR-Chat] *yikes*

2007-01-05 by Jim Wagner

It just does not update while running. I use breakpoints when you need to trap on something. Jim On Fri, 05 Jan 2007 14:32:03 -0600 Thomas Keller wrote: > I feel like such a dummy. I have my program doing > everything I want > and need it to do, with one exception (a major except

Thread view Attachments: 0

Re: [AVR-Chat] *yikes*

2007-01-05 by John Samperi

At 07:32 AM 6/01/2007, you wrote: >I cannot get the timer interrupt to work. You have NOT enabled the general interrupts as far as I can see with a SEI instruction. This sets the general interrupt bit. You will also need to set to the timer interrupt, don't have time right now to

Thread view Attachments: 0

*yikes*

2007-01-05 by Thomas Keller

I feel like such a dummy. I have my program doing everything I want and need it to do, with one exception (a major exception, to be sure). I cannot get the timer interrupt to work. if I step through the program manually, it does what I need of it, but when I try to get the timer

Thread view Attachments: 0

Re: [AVR-Chat] interrupt emulation?

2007-01-04 by David VanHorn

On 1/4/07, Roy E. Burrage wrote: > > The only problem I've had with them is the A/D ISR. When it gets there > you'll have to fake it out by manually entering some data. Other than > this they work for me too. There's another point where studio could improve. At one point, when I

Thread view Attachments: 0

Re: [AVR-Chat] interrupt emulation?

2007-01-04 by Jim Wagner

Tom, When you think you SHOULD get an int, but don't, stop emulating and check the interrupt bits in the source register and check the various control bits that determine what happens to the int. Each interrupt source (timer, etc) has a register with a bit that indicates the stat

Thread view Attachments: 0

Re: [AVR-Chat] interrupt emulation?

2007-01-04 by Roy E. Burrage

The only problem I've had with them is the A/D ISR. When it gets there you'll have to fake it out by manually entering some data. Other than this they work for me too. Design notes 24 and 46 from AVRFreaks might help you with this. REB larry barello wrote: >You are most likely do

Thread view Attachments: 0

Re: [AVR-Chat] interrupt emulation?

2007-01-04 by David VanHorn

On 1/4/07, Thomas Keller wrote: > > > OK. I am now running into problems with interrupts in emulation. > Can AVR Studio emulate interrupt driven programs (e.g., with timer > interrupts)? Either ti cannot, or I am, doing something wrongelse wrong > in my interrupt setup. I'm votin

Thread view Attachments: 0

RE: [AVR-Chat] interrupt emulation?

2007-01-04 by larry barello

You are most likely doing something wrong. Internally generated interrupts work for me. -----Original Message----- From: AVR-Chat@yahoogroups.com [mailto:AVR-Chat@yahoogroups.com] On Behalf Of Thomas Keller OK. I am now running into problems with interrupts in emulation. Can AVR

Thread view Attachments: 0

interrupt emulation?

2007-01-04 by Thomas Keller

OK. I am now running into problems with interrupts in emulation. Can AVR Studio emulate interrupt driven programs (e.g., with timer interrupts)? Either ti cannot, or I am, doing something wrongelse wrong in my interrupt setup. I did remember to set the interrupt enable masks, bot

Thread view Attachments: 0

RE: [AVR-Chat] *sigh*

2007-01-04 by larry barello

Believe me when I say I feel your pain in getting started, but also believe me: The tools and the processor are not buggy. They really do work as the data sheet says. I consider myself a fairly advanced AVR programmer in both C and ASM. Of all the times I have been stumped by som

Thread view Attachments: 0

Re: [AVR-Chat] *sigh*

2007-01-04 by David VanHorn

On 1/4/07, Thomas Keller wrote: > > Ah. A real world example of the mysterious lpm instruction. Now I > see how that is used. Thanks, David. The part that gets most people, is the multiplication of the table address by two, but when you see that the AVR stores words instead of by

Thread view Attachments: 0

Re: [AVR-Chat] *oh*

2007-01-04 by David VanHorn

On 1/4/07, Thomas Keller wrote: > > Dave, that's the point. it doesn';t appear to be laoding ANYTHING. I > can use thw memory watch to look at the EEPROM contents, and they are > correct (now that I know about "downloading" the eep file). Buty > according to the debugger, NOTHING

Thread view Attachments: 0

Re: [AVR-Chat] *sigh*

2007-01-04 by Thomas Keller

Ah. A real world example of the mysterious lpm instruction. Now I see how that is used. Thanks, David. David VanHorn wrote: > > On 1/3/07, Thomas Keller > wrote: > > > Well, I was under the impression that data HAD to be in EEPROM or RAM. > > How woudl you address it if it is in

Thread view Attachments: 0

Re: [AVR-Chat] *oh*

2007-01-04 by Thomas Keller

Thanks John! That sbi instruction was the culprit. I misunderstood, and thought that was only necessary if one was worried about the 4 clock cycle delay in reading EEPROM. *sigh* tom John Samperi wrote: > > I have taken the liberty to rearrange your code to my > liking :) this wi

Thread view Attachments: 0

Re: [AVR-Chat] *oh*

2007-01-04 by Thomas Keller

Dave, that's the point. it doesn';t appear to be laoding ANYTHING. I can use thw memory watch to look at the EEPROM contents, and they are correct (now that I know about "downloading" the eep file). Buty according to the debugger, NOTHING is appearing in either EEDR *OR* the regi

Thread view Attachments: 0

Tutorial Microcontroller

2007-01-04 by Anggoro Dwi L

Tutorial Microcontroller. You can get in website : www.microcontroller-microcontroller.blogspot.com __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com [Non-text portions of this me

Thread view Attachments: 0

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.