Yahoo Groups archive

AVR-Chat

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

Messages

Browse messages

Page 255 of 307 · 15341 messages matched

Re: [AVR-Chat] Re: Ethernet ...

2004-12-02 by dkswitzer-yahoo4096@mailblocks.com

Hi all, I've been working with the ATmega AVRs for a couple of years now and am currently investigating using one in a TCP/IP application. With this in mind, I obtained an AVR Embedded Web Server (AT90EIT1) from Atmel, replaced the ATmega103 with an ATmega128, downloaded the Atme

Thread view Attachments: 0

RE: [AVR-Chat] Migrating from ATmega8535L to ATmega16L

2004-12-01 by John Samperi

At 03:30 AM 1/12/04 -0800, you wrote: > Hi John, I have tried checking my interrupt vectors and stacks. I have >no problem with these cos I'm using .EQU labels. Any changes in the address >will be replaced when I use m16def.inc I have also changed the rjmp and >rcall command to j

Thread view Attachments: 0

gcc source

2004-12-01 by G B

Hello, I am converting the gcc-avr floating point stuff for 'normal' assembly usage, and cannot find two source routines: udivmodqi4 mulhi_const_10 TIA for any help in locating these source routines. I have normal float and trig assembling correctly (I think) but the ascii string

Thread view Attachments: 0

RE: [AVR-Chat] Reading from flash in Assembly

2004-12-01 by Paul Curtis

Hi Paul, > > The reason you can drop one instruction is that you know > the low byte > > of the address is zero and make use of the identity that 0+x = x, > > Yep, I worked that out, just wasn't 100% sure about the > phrase 'page boundry'. Ok. > > but I assume I am talking to som

Thread view Attachments: 0

Re: [AVR-Chat] Reading from flash in Assembly

2004-12-01 by Paul Maddox

Paul, > The reason you can drop one instruction is that you know the low byte of > the address is zero and make use of the identity that 0+x = x, Yep, I worked that out, just wasn't 100% sure about the phrase 'page boundry'. > but I assume I am talking to some spooky RSRE/DRA/DER

Thread view Attachments: 0

RE: [AVR-Chat] Reading from flash in Assembly

2004-12-01 by Paul Curtis

Hi Paul, > > Assuming you align your array on a 256-byte boundary, we > can drop one > > instruction: > > you mean like ;- > > .ORG 0x0200 .... Correct. > Rather than;- > > .ORG 0x0201 ..... Also correct. > That shouldn't be too hard, I just need to make sure its > above the are

Thread view Attachments: 0

Re: [AVR-Chat] Reading from flash in Assembly

2004-12-01 by Paul Maddox

Paul, > Assuming you align your array on a 256-byte boundary, we can drop one > instruction: you mean like ;- .ORG 0x0200 .... Rather than;- .ORG 0x0201 ..... That shouldn't be too hard, I just need to make sure its above the are where the code is. Cheers Paul

Thread view Attachments: 0

Re: [AVR-Chat] Reading from flash in Assembly

2004-12-01 by John Stiekema

Hi Paul, This untried, but pretty sure that I would go for: //assume that we have 16 blocks of 256 in the array... LDS r16,step //this one 0-255? LDS r17,num //this one 0-15? CLR r18 LDI r30,LOW(array) LDI r31,HIGH(array) ADD r30,r16 ADC r31,r17 LPM r18,r30 OUT PORTD,r18 /*...and

Thread view Attachments: 0

Re: [AVR-Chat] Reading from flash in Assembly

2004-12-01 by Paul Maddox

Paul/John, Thanks, I've got enough to be going on with, I'll check out both and have a play. As for the C soloution, I tried, it doesn't compile to tight enough code, SPEED is of the essence for this need. Paul

Thread view Attachments: 0

RE: [AVR-Chat] Reading from flash in Assembly

2004-12-01 by Paul Curtis

John, Paul, > Hi Paul, > > This untried, but pretty sure that I would go for: > > //assume that we have 16 blocks of 256 in the array... > LDS r16,step //this one 0-255? > LDS r17,num //this one 0-15? > CLR r18 > LDI r30,LOW(array) > LDI r31,HIGH(array) > ADD r30,r16 > ADC r31,r1

Thread view Attachments: 0

Reading from flash in Assembly

2004-12-01 by Paul Maddox

Dear all, I've long been a user of C on AVRs, but now I have need for speed, and I'm kinda stuck :-) I have a two dimensional array, called array[16, 256], stored in flash memory (these vaules won't change). and what I need to do is something like this ;- PORTD = array[num, step]

Thread view Attachments: 0

RE: [AVR-Chat] Migrating from ATmega8535L to ATmega16L

2004-12-01 by Andrew Lim

Hi John, I have tried checking my interrupt vectors and stacks. I have no problem with these cos I'm using .EQU labels. Any changes in the address will be replaced when I use m16def.inc I have also changed the rjmp and rcall command to jmp and call. But still not working. Anyhow,

Thread view Attachments: 0

RE: [AVR-Chat] FW: Intro & atmeg88 fuse writing problem

2004-12-01 by Gyuri Szing

Hi Russel! > -----Original Message----- > From: Russell Shaw > Sent: Wednesday, December 01, 2004 9:38 AM > To: AVR-Chat@yahoogroups.com > Subject: Re: [AVR-Chat] FW: Intro & atmeg88 fuse writing problem > > > ... > > > So I would like to ask you for help because I can not > mana

Thread view Attachments: 0

Re: [AVR-Chat] FW: Intro & atmeg88 fuse writing problem

2004-12-01 by Russell Shaw

Gyuri Szing wrote: > Hi All! > > This is my first mail to this mailing list and thus please let me write a few lines introduction firs. > > My name is György Szing and I am writing from Hungary (a small country in Central Europe). I have a degree in electrical engineering and I a

Thread view Attachments: 0

FW: Intro & atmeg88 fuse writing problem

2004-12-01 by Gyuri Szing

Hi All! This is my first mail to this mailing list and thus please let me write a few lines introduction firs. My name is György Szing and I am writing from Hungary (a small country in Central Europe). I have a degree in electrical engineering and I am a working in the automotive

Thread view Attachments: 0

RE: [AVR-Chat] Migrating from ATmega8535L to ATmega16L

2004-12-01 by John Samperi

At 07:05 PM 30/11/04 -0500, you wrote: >Here is the "fun" part.... the system did not run at all. >I wonder if there any additional stuff that I need to do Check your interupt vectors and stack location. Also it looks as if you are going over the 8k page boundaries, (call an jmp

Thread view Attachments: 0

RE: [AVR-Chat] Migrating from ATmega8535L to ATmega16L

2004-12-01 by wbounce

I do not know the 16 at all but you should get the data sheet and see how the fuses are set. Once on my 128 my fuses got corrupted and I could not do anything until I reset them. -----Original Message----- From: Andrew Lim [mailto:normaxcite@yahoo.com] Sent: Monday, November 29,

Thread view Attachments: 0

Re: Ethernet ...

2004-11-30 by Don Kinzer

--- In AVR-Chat@yahoogroups.com, "otojam11" wrote: > I'm working on a project where I have to check the temperature of a > room, but I must be able to check it using the Ethernet protocol, I > was wondering if I can use any AVR uCC to do so, any kind of help > would be good ... E

Thread view Attachments: 0

Ethernet ...

2004-11-30 by otojam11

Hi There ... I'm working on a project where I have to check the temperature of a room, but I must be able to check it using the Ethernet protocol, I was wondering if I can use any AVR uCC to do so, any kind of help would be good ... Thanks ...

Thread view Attachments: 0

STK500 in Belgium

2004-11-30 by Geert De Pecker

Hi, I hope this is not of topic. Could somebody direct me to a good source for atmel components (stk500, processors, crystals) in Belgium? Regards, Geert

Thread view Attachments: 0

Re: STK500 in Belgium

2004-11-30 by Graham Davies

--- In AVR-Chat@yahoogroups.com, Geert De Pecker wrote: > Could somebody direct me to a > good source for atmel components > ... in Belgium? The Atmel Web site lists these distributors: http://www.alcom.be http://www.ebv.com http://www.spoerle.com Most independent suppliers of eq

Thread view Attachments: 0

Re: [AVR-Chat] OT, driving muxed EL display from avr

2004-11-29 by Henry Carl Ott

I don't know, my life is pretty simple already :-) I just checked out their site. Unless I missed something obvious, coolneon.com sells el wire and some el wire sequencers. Not quite what I'm trying to do. I want to use about 96 EL segments to display data, not look phat at a rav

Thread view Attachments: 0

Re: [AVR-Chat] OT, driving muxed EL display from avr

2004-11-29 by kholt@monitor.net

I assume you're familiar with the folks at Cool Neon (coolneon.com). Your life will be simplified by about a factor of 10. Ken > > Hi Folks, > A little off topic (but we'll still have one of our favorite MCUs driving > the mess) > I want to drive a rather large array of electro-l

Thread view Attachments: 0

OT, driving muxed EL display from avr

2004-11-29 by Henry Carl Ott

Hi Folks, A little off topic (but we'll still have one of our favorite MCUs driving the mess) I want to drive a rather large array of electro-luminescent segments. 4 to 8 "chars" with about 16 segments each "char". EL displays need to be driven by a high voltage ac signal in the

Thread view Attachments: 0

Re: [AVR-Chat] HD44780 4-bit mode (was Re: LCD & Keypad selection)

2004-11-29 by william severino

The one gotcha with 4-bit mode is that you need to send the high nibble then the low nibble. Other than that its pretty straight forward! Graham Davies wrote: --- In AVR-Chat@yahoogroups.com, Eric wrote: > most LCD displays will do a > four bit mode as well as 8 bit That's becaus

Thread view Attachments: 0

HD44780 4-bit mode (was Re: LCD & Keypad selection)

2004-11-29 by Graham Davies

--- In AVR-Chat@yahoogroups.com, Eric wrote: > most LCD displays will do a > four bit mode as well as 8 bit That's because most LCD modules use the HD44780 controller. > But I think on a four bit mode > you loose a function, not been > able to make your own character. No, that's

Thread view Attachments: 0

[AVR-Chat] Migrating from ATmega8535L to ATmega16L

2004-11-29 by Andrew Lim

Hi All, I'm currently using ATmega8535L for my development and I'm thinking of migrating my design to ATmega16L. From what I see on the datasheet, the pin configurations are the same. I guess there wont be any issue on this. And I guess the coding will still be the same as well.

Thread view Attachments: 0

Re: [AVR-Chat] AVR,PWM,transistor

2004-11-29 by kc wong

i have try the IRF series (IRF640 & 740), there are better for high speed switching in motor control.i dont know how many voltage & current of your motor control so u better check the data sheet of the power mosfet.always choose the larger voltage and current rating so that there

Thread view Attachments: 0

Re: [AVR-Chat] AVR,PWM,transistor

2004-11-29 by Astria Nur Irfansyah

If your DC motor is small (less than 600 mA), you can use L293D for the driver. It is widely available here :) And about the TIP35, i dont think it is a darlington. Its Hfe is only 25. And i dont think it is wise to uses NPN transistor because the output pin of an 8051 (AVR too?)

Thread view Attachments: 0

RE: [AVR-Chat] LCD & Keypad selection

2004-11-29 by Chuck Hackett

Thanks to all who responded to my LCD/Keypad question. I now have the LCD picked and am narrowing in on a keyboard. Cheers, Chuck Hackett "Good judgment comes from experience, experience comes from bad judgment" 7.5" gauge Union Pacific Northern (4-8-4) 844 http://www.whitetrout.

Thread view Attachments: 0

Re: [AVR-Chat] LCD & Keypad selection

2004-11-28 by James Russo

Chuck, They are not cheap, but check out matrixorbital. They have a wide assortment of text/graphic serial controlled LCD/VFD screens with many including a keypad connection (row/column). It would use two lines (one uart) on a atmel. You TX to the LCD to control what it displays

Thread view Attachments: 0

AVR,PWM,transistor

2004-11-28 by Ridho Alpha

hello sorry for the untranslated email??? i was mis-sent to the groups...sorry.... now i want to ask i want to control motor speed, i use atmega16, xtal 11.0592 MHz and timer1 for generate PWM....and transistor for switching. 1. which one is best timer1 configuration for motor co

Thread view Attachments: 0

RE: [AVR-Chat] LCD & Keypad selection

2004-11-27 by Alex Shepherd

> I'd like them to have a simple, low pin count, interface > (probably serial?). There is a way to interface the normal parallel interface LCD using a serial shift register explained here: http://www.myke.com/lcd.htm Hope it helps Alex

Thread view Attachments: 0

Re: LCD & Keypad selection

2004-11-27 by alan_probandt

The cheapest 'keypad' is also the most elaborate. The standard PS-2 keyboard. They all have internal microprocessors that use (now days) about 5-10 milliAmps. The 4-wire interface is standard (+5, Gnd, data, clock) and there are programs in C (check Atmel's application notes for

Thread view Attachments: 0

Re: [AVR-Chat] LCD & Keypad selection

2004-11-27 by Eric

most LCD displays will do a four bit mode as well as 8 bit, But I think on a four bit mode you loose a function, not been able to make your own character. so that gets it down to 7, D1 to D4, !enable, R/!W, and register select. ----- Original Message ----- From: "Chuck Hackett" T

Thread view Attachments: 0

Re: LCD & Keypad selection

2004-11-27 by Don Blake

--- In AVR-Chat@yahoogroups.com, Eric wrote: > most LCD displays will do a four bit mode as well as 8 bit, But I think on a four bit mode you loose a > function, not been able to make your own character. No, you can still write to the character generator RAM and generate your own

Thread view Attachments: 0

Re: LCD & Keypad selection

2004-11-27 by Don Kinzer

--- In AVR-Chat@yahoogroups.com, "Chuck Hackett" wrote: > I'm looking for an LCD and keypad to use on some personal projects. > I'd like them to have a simple, low pin count, interface (probably > serial?). I've purchased several LCDs from Electronic Goldmine: http://www.goldmine

Thread view Attachments: 0

LCD & Keypad selection

2004-11-27 by Chuck Hackett

I'm looking for an LCD and keypad to use on some personal projects. I'd like them to have a simple, low pin count, interface (probably serial?). As a minimum, the LCD should have at least two lines ~20 char. Ones with larger character capacities and/or graphics would also be appl

Thread view Attachments: 0

Re: LCD & Keypad selection

2004-11-27 by brewski922

www.digikey.com carries a 4x4 matrix keypad like you are asking for it is a www.grayhill.com 4x4 matrix P/N 88BB2 5x4 matrix P/N 88JB2 View it at http://embrace.grayhill.com/embrace/IMAGES/PDF/D-28-32.pdf Ordering info http://embrace.grayhill.com/embrace/IMAGES/PDF/D-28-32.pdf As

Thread view Attachments: 0

BASCOM library help

2004-11-27 by Larry Barello

I am trying to write a library for Bascom. It is giving me fits. Has anyone successfully written a library for BASCOM? Would you be willing to give me some pointers? TIA. ---- Larry Barello http://www.barello.net

Thread view Attachments: 0

Re: AVR distributor in Indonesia

2004-11-27 by Astria Nur Irfansyah

To translate Ridho's post, i think something like an "SMS message recognizer" should be used ;) It seems that his habbit of shortening words (like in SMS) influences the way he writes an e-mail :D Btw, in my other thread "Controlling relays and motors", it turns out that my probl

Thread view Attachments: 0

Re: [AVR-Chat] Stepper motor control

2004-11-27 by Geert De Pecker

Dave, Am I correct in understanding that your dec-to-zero timers then would trigger a pulse, and depending on the acc/decel you set the timers to a greater/smaller count to influence the time between the interrupt and thus the step pulse? Geert Dave VanHorn wrote: > > > > >Would

Thread view Attachments: 0

Re: [AVR-Chat] Stepper motor control

2004-11-26 by Dave VanHorn

At 07:02 PM 11/26/2004, Geert De Pecker wrote: >Dave, > >Am I correct in understanding that your dec-to-zero timers then >would trigger a pulse, and depending on the acc/decel you set the >timers to a greater/smaller count to influence the time between >the interrupt and thus the

Thread view Attachments: 0

Stepper motor control

2004-11-26 by Geert De Pecker

Hi all, I'm new to this list and would like to use an avr to control a couple of stepper motors. To control the acceleration/deceleration I was thinking about a timer interrupt cycle for which I could change the time between step pulses to accelerate till a given max pulse rate.

Thread view Attachments: 0

Re: [AVR-Chat] Stepper motor control

2004-11-26 by Dave VanHorn

> >Would this be the way to go or are there other possibilities? It works nicely. Remember to ramp down as well, you can't stop a motor instantly unless it's running very slowly. You may find that you need more timers, but you can share timers to a degree. I use T0 (because it's

Thread view Attachments: 0

RE: [AVR-Chat] Opto-Isolators

2004-11-26 by Dave VanHorn

> >Yes, I'm currently using a transistor but didn't know if a more preferred >practice was to use an opto. I'll continue with the transistor. This is the fun part, where you get out of the software side, and have to deal with a little hardware. Everything has it's weaknesses. The

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.