Yahoo Groups archive

AVR-Chat

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

Messages

Browse messages

Page 234 of 307 · 15341 messages matched

Keyboard delay

2005-02-19 by Valerij Avrealij

Hello 2AVR-Chat members. I have interrupt based keyboard inquiry. How much time I need wait after interrupt occurs and keyboard inquiry? Thanks. -- Valerij Avrealij

Thread view Attachments: 0

RE: [AVR-Chat] Re: Motor Control Problems - more info

2005-02-19 by Robert Adsett

At 07:33 PM 2/19/05 +0000, Doug Locke wrote: >I am sure that one of the hardware gurus will be able to clarify things >more and correct me if wrong, but on first looks the circuit in the pdf >looks incorrect to me if all the mosfets are the same. If I remember >correctly, the ide

Thread view Attachments: 0

Re: [AVR-Chat] A Question About I2C and SMBUS

2005-02-19 by Daniel Adolfsson

Tanks for the reply I realy haven't decided on which avr, probably one of those with internal 8Mhz operation, I will look in to the links you sent later. Is the smbus system designed so that multiple masters can exist on the same bus? i don't want to damage my southbridge. >What

Thread view Attachments: 0

Re: [AVR-Chat] avrexplorer

2005-02-19 by Jim Wagner

There is a good list of C-language (for AVR) tutorials in the main AVR formum of AvrFreaks.net. http://www.avrfreaks.net Jim On Sun, 20 Feb 2005 03:40:17 +1300 Eric wrote: > > C is good, but it is not all that hard in assemly code, > and I belive that sometimes you need to call u

Thread view Attachments: 0

RE: [AVR-Chat] Re: Motor Control Problems - more info

2005-02-19 by Richard Reeves

Doug: > I am sure that one of the hardware gurus will be able to clarify > things more and correct me if wrong, but on first looks the circuit in > the pdf looks incorrect to me if all the mosfets are the same. If I > remember correctly, the idea of the H configuration is to have

Thread view Attachments: 0

RE: [AVR-Chat] Re: Motor Control Problems - more info

2005-02-19 by Doug Locke

Hello Ben I am sure that one of the hardware gurus will be able to clarify things more and correct me if wrong, but on first looks the circuit in the pdf looks incorrect to me if all the mosfets are the same. If I remember correctly, the idea of the H configuration is to have one

Thread view Attachments: 0

AVR ISP ATAVRISP

2005-02-19 by vifra gomez

warning:signature does not match selected device i have the next problem..i have the avr studio last new version.and my avrisp with v2 firmware.... i cant program the chips that i want to burn....(AT90s1200) and (at90s2313) in the program in advanced option i try to read the sign

Thread view Attachments: 0

RE: [AVR-Chat] A Question About I2C and SMBUS

2005-02-19 by wbounce

What AVR? www.AVRFreaks.net as examples of I2C or it is also referred to TWI (two wire interface) For winavr and a atmega128 there are some examples at Brian Dean's website http://www.bdmicro.com/code/ There is a i2cScan, srf08, cmp03 all have I2c code in them. -----Original Mess

Thread view Attachments: 0

RE: [AVR-Chat] Have someone can share example ?

2005-02-19 by wbounce

For a atmega 128 gcc void initmotor(void) { /* use fast PWM mode 10 bit with toggle on compare Reference pages 130 table 58 Page 133 table 61 f OCn = f clk_I_O ------------- N * (1 + TOP) f clk_I_O = 16000000 Top can be either ff ( 255) for mode 5 1ff ( 511) for mode 6 3ff (1023)

Thread view Attachments: 0

Re: [AVR-Chat] Re: Motor Control Problems - more info

2005-02-19 by Roy E. Burrage

Dave, Your test plan looks good, but as someone else asked...are you sure you're turning your MOSFETs on? REB velo1_4mb wrote: --- In AVR-Chat@yahoogroups.com , Robert Adsett wrote: At 09:11 PM 2/18/05 -0500, Ben Matthews wrote: I am a 15 year old high school student using a tiny

Thread view Attachments: 0

Re: [AVR-Chat] Re: Motor Control Problems - more info

2005-02-19 by Robert Adsett

At 10:49 AM 2/19/05 -0500, Robert Adsett wrote: >Um, how are you getting the 10V to drive the gates then? I don't believe >either of these devices are logic level devices and while they will sort of >work at 5V it is asking for trouble. More importantly the high sides need >to ru

Thread view Attachments: 0

Re: [AVR-Chat] Re: Motor Control Problems - more info

2005-02-19 by Robert Adsett

At 02:00 PM 2/19/05 +0000, velo1_4mb wrote: >--- In AVR-Chat@yahoogroups.com, Robert Adsett >wrote: > > At 09:11 PM 2/18/05 -0500, Ben Matthews wrote: > > >I am a 15 year old high school student using a tiny 26 on an >odyssey > > >of the mind project (we have a competition next w

Thread view Attachments: 0

Re: [AVR-Chat] Re: Motor Control Problems - more info

2005-02-19 by Mitch Stein

David Kelly wrote: On Feb 19, 2005, at 8:00 AM, velo1_4mb wrote: Put a 300-500 ohm resistor between the buffer and the MOSFET gate to limit current when the failure occurs. Not only that but it will provide a shunt which allows one to measure the current. Most any time I think th

Thread view Attachments: 0

Re: [AVR-Chat] Re: Motor Control Problems - more info

2005-02-19 by Ben Matthews

Thanks for all the help so far. i am going to add the resistors in a couple minutes, all my electronics stuff is over in our Odyssey of the mind room. i have a hand drawn scematic which i scanned. http://benlinuxisbest1.tripod.com/hbridge.pdf if any one wants to take a look. Ben

Thread view Attachments: 0

Re: [AVR-Chat] avrexplorer

2005-02-19 by Eric

C is good, but it is not all that hard in assemly code, and I belive that sometimes you need to call up Assembly type code from your C program, because it can not be done any other way. I am not sure what is avalible in the electronic (ebook type, web) tutorial world, I think at

Thread view Attachments: 0

Re: [AVR-Chat] Re: Motor Control Problems - more info

2005-02-19 by David Kelly

On Feb 19, 2005, at 8:00 AM, velo1_4mb wrote: > Put a 300-500 ohm resistor between the buffer and the MOSFET gate to > limit current when the failure occurs. Not only that but it will provide a shunt which allows one to measure the current. Most any time I think the circuit can s

Thread view Attachments: 0

A Question About I2C and SMBUS

2005-02-19 by Daniel Adolfsson

Hi, I have been a member of this group for a while now, I cant remember if I have ever written anything before though. But hers my question: I recently purchased a EPIA M1000 (a micro itx board with a 1 GHz processor) this board has some really useful interfaces but the one that

Thread view Attachments: 0

the Keyboard

2005-02-19 by Eric

Hi all Just a note to say I am making good progress on the keyboard, not too sure if my code is "tidy" way of doing it. but it is almost 2.30am on Sunday morning in "Kiwi" land and I must do some other Email to do with work before I go to bed. The other day I had a lot of "Instru

Thread view Attachments: 0

Re: Motor Control Problems - more info

2005-02-19 by velo1_4mb

--- In AVR-Chat@yahoogroups.com, Robert Adsett wrote: > At 09:11 PM 2/18/05 -0500, Ben Matthews wrote: > >I am a 15 year old high school student using a tiny 26 on an odyssey > >of the mind project (we have a competition next week :) ). This is Ben's father. A little more info. B

Thread view Attachments: 0

avrexplorer

2005-02-19 by mehdy jadidi

hi every body i have avr studio 4.2 and i need to write my program in C because i dont know asm... if you can do it please email me how can i do it and if you have ebooks in this subject i need it more please help me Do you Yahoo!? Yahoo! Search presents - Jib Jab's 'Second Term'

Thread view Attachments: 0

Re: need help programming / project

2005-02-19 by Joe

How about magnets on one side and reed switches or halleffect sensors on the other side? JoeT --- In AVR-Chat@yahoogroups.com, "Dave Mucha" wrote: > > --- In AVR-Chat@yahoogroups.com, "Stefan Trethan" > wrote: > > On Fri, 18 Feb 2005 16:49:29 -0000, Dave Mucha > > wrote: > > > >

Thread view Attachments: 0

Re: [AVR-Chat] Motor Control Problems

2005-02-19 by Robert Adsett

At 09:11 PM 2/18/05 -0500, Ben Matthews wrote: >I am a 15 year old high school student using a tiny 26 on an odyssey >of the mind project (we have a competition next week :) ). we are >building a vehicle based on an 18 volt drill motor. i have built an H >bridge based on the desi

Thread view Attachments: 0

Re: [AVR-Chat] Motor Control Problems

2005-02-19 by Robert Adsett

At 09:11 PM 2/18/05 -0500, Ben Matthews wrote: >I am a 15 year old high school student using a tiny 26 on an odyssey >of the mind project (we have a competition next week :) ). we are >building a vehicle based on an 18 volt drill motor. i have built an H >bridge based on the desi

Thread view Attachments: 0

Re: [AVR-Chat] Motor Control Problems

2005-02-19 by Ivan Vernot

Hi Ben, I don't have the book so I can't comment on whether the circuit is correct - so for now lets assume it is. Can you explain in more detail how the 74HC244 is connected to your H bridge and a little more detail about how the AVR is connected to the 74HC244. If I understand

Thread view Attachments: 0

Re: [AVR-Chat] Motor Control Problems

2005-02-19 by Lee Leathers

The 18v drill motor is dc right ;) I opened up the datasheet on the k2232, and you look fine with using that (max 60v 25amps). hmm.. dunno.. but there are geniuses around here.. so they will know something Lee ----- Original Message ----- From: Ben Matthews To: AVR-Chat@yahoogrou

Thread view Attachments: 0

Motor Control Problems

2005-02-19 by Ben Matthews

Hi, I am a 15 year old high school student using a tiny 26 on an odyssey of the mind project (we have a competition next week :) ). we are building a vehicle based on an 18 volt drill motor. i have built an H bridge based on the design on page 263 of "The Robot Builder's Bonanza"

Thread view Attachments: 0

Re: Amazon Re: [AVR-Chat] The keyboard

2005-02-19 by Russell Shaw

Eric wrote: > Oh-dam-it > I forgot to say I was going to focus on the assembly code for now, and try out my C coding after the book > comes, that Amazon stuff up really got me worked up, I just got a email to say one two piece order is on > the way. I hope they picked up the doub

Thread view Attachments: 0

Re: [AVR-Chat] The keyboard

2005-02-18 by Jesper Hansen

> Were you say "Set values 0xE0, 0xD0, 0xB0, 0x07 on PA4..7 and watch PA0..3 > for a low to > see which key is was." > I think there is a typing error and 0x07 should be 0x70, Oops, yes, it has to be 0x70 ofcourse. The idea is to just have a single row low. > But I was thinking o

Thread view Attachments: 0

Re: [AVR-Chat] need help programming / project

2005-02-18 by Dave VanHorn

> >I am looking for someone who can lay out the curcuit, schematic, >program the micro test it. Well, that's the sort of thing I do.. I've watched the emails, but I'm just getting back up to speed. Sounds like you're not married to a particular technology, but the requirements ar

Thread view Attachments: 0

Re: Amazon Re: [AVR-Chat] The keyboard

2005-02-18 by Eric

Hi again By the way Application notes AVR242 on page 4 has a interesting four digit 7 segment LED, 4*4 keyboard with a AT90S1200 but it uses two ports B & D. not that I would use it, it is just food for thought. From Eric ----- Original Message ----- From: "Eric" To: Sent: Saturd

Thread view Attachments: 0

Re: Amazon Re: [AVR-Chat] The keyboard

2005-02-18 by Stefan Trethan

On Sat, 19 Feb 2005 09:41:45 +1300, Eric wrote: > I'm confused Stefan > why switch the rows from output to input & Columns from input to output? > it just sounds like a waste of > software space for what it is worth. > From Eric Well, i thought it is needed? How would i know whic

Thread view Attachments: 0

Re: Amazon Re: [AVR-Chat] The keyboard

2005-02-18 by Dave VanHorn

At 03:39 PM 2/18/2005, Stefan Trethan wrote: >On Fri, 18 Feb 2005 15:34:36 -0500, Dave VanHorn >wrote: > > > > >> > >> I am currently making something with a 3x4 keyboard. > >> I have connected the 3 columns to the 3 external iterrupts, and the 4 > >> rows > >> to I/O. > >> The p

Thread view Attachments: 0

Re: [AVR-Chat] Re: need help programming / project

2005-02-18 by Stefan Trethan

On Fri, 18 Feb 2005 20:28:29 -0000, Dave Mucha wrote: > > yes, postioning and alignment can be guaranteed. One option is to > align them with dimples and to connect them with magnets. > Dave :-))) i can imagine something really nice with small neo magnets. place 2 in each device,

Thread view Attachments: 0

Re: Amazon Re: [AVR-Chat] The keyboard

2005-02-18 by Eric

I'm confused Stefan why switch the rows from output to input & Columns from input to output? it just sounds like a waste of software space for what it is worth. From Eric ----- Original Message ----- From: "Stefan Trethan" To: Sent: Saturday, February 19, 2005 9:28 AM Subject: Re

Thread view Attachments: 0

Re: Amazon Re: [AVR-Chat] The keyboard

2005-02-18 by Stefan Trethan

On Fri, 18 Feb 2005 15:34:36 -0500, Dave VanHorn wrote: > >> >> I am currently making something with a 3x4 keyboard. >> I have connected the 3 columns to the 3 external iterrupts, and the 4 >> rows >> to I/O. >> The plan is to set the column pins (interrupts) to pullup, and input

Thread view Attachments: 0

Re: Amazon Re: [AVR-Chat] The keyboard

2005-02-18 by Dave VanHorn

> >I am currently making something with a 3x4 keyboard. >I have connected the 3 columns to the 3 external iterrupts, and the 4 rows >to I/O. >The plan is to set the column pins (interrupts) to pullup, and input, and >the rows to output, low. >My hope is when someone presses a key

Thread view Attachments: 0

Re: Amazon Re: [AVR-Chat] The keyboard

2005-02-18 by Stefan Trethan

On Fri, 18 Feb 2005 15:16:04 -0500, Dave VanHorn wrote: > > The easy way to do a matrix keyboard, is to take rows (or columns) and > make > them inputs pulled up, and take the other side (col or row) and make them > the scanned outputs, active low. > So, when you are seeing all h

Thread view Attachments: 0

Re: Amazon Re: [AVR-Chat] The keyboard

2005-02-18 by Dave VanHorn

At 02:40 PM 2/18/2005, Eric wrote: >Oh-dam-it >I forgot to say I was going to focus on the assembly code for now, and try >out my C coding after the book >comes, that Amazon stuff up really got me worked up, I just got a email to >say one two piece order is on >the way. I hope th

Thread view Attachments: 0

Re: [AVR-Chat] Re: need help programming / project

2005-02-18 by Stefan Trethan

On Fri, 18 Feb 2005 19:26:17 -0000, Dave Mucha wrote: > > IR would be fine, prefer to have extreemly close and not something > that would work more than an inch apart. > And, yes, each unit will have a battery. Most likely a flat cell > phone batt or similar > Dave I think coils

Thread view Attachments: 0

Re: Amazon Re: [AVR-Chat] The keyboard

2005-02-18 by Eric

Oh-dam-it I forgot to say I was going to focus on the assembly code for now, and try out my C coding after the book comes, that Amazon stuff up really got me worked up, I just got a email to say one two piece order is on the way. I hope they picked up the double order mistake. Fr

Thread view Attachments: 0

Amazon Re: [AVR-Chat] The keyboard

2005-02-18 by Eric

Thank you for your response I have that book "Embedded C Programming and the Atmel AVR" Barnett, Cox & O'Cull A Thomson - Delmar Learning Publication ISBN: 1401812066 coming from Amazon UK last night, I wanted two things, I stuffed the order up and could not cancel the mess up I

Thread view Attachments: 0

Re: need help programming / project

2005-02-18 by Dave Mucha

--- In AVR-Chat@yahoogroups.com, "Stefan Trethan" wrote: > On Fri, 18 Feb 2005 19:26:17 -0000, Dave Mucha > wrote: > > > > > IR would be fine, prefer to have extreemly close and not something > > that would work more than an inch apart. > > And, yes, each unit will have a battery

Thread view Attachments: 0

Re: [AVR-Chat] The keyboard

2005-02-18 by Eric

Thanks Jesper I know my circuit was a bit bare & rude, and could not get any ruder, I did think about the short on the output lines killing a micro port, but mainly the port has the ADC on them, The read made module from http://www.futurlec.com/ has the buzzer on port D and the r

Thread view Attachments: 0

Re: need help programming / project

2005-02-18 by Dave Mucha

--- In AVR-Chat@yahoogroups.com, "Stefan Trethan" wrote: > On Fri, 18 Feb 2005 18:14:31 -0000, Dave Mucha > wrote: > > > > > The mating would be by being next to each other. maybe a contact > > type connection, but not plugs or any type of protruding contacts. > > Think of a deck

Thread view Attachments: 0

Re: [AVR-Chat] Re: need help programming / project

2005-02-18 by Stefan Trethan

On Fri, 18 Feb 2005 18:14:31 -0000, Dave Mucha wrote: > > The mating would be by being next to each other. maybe a contact > type connection, but not plugs or any type of protruding contacts. > Think of a deck of cards that would be flat and need to touch to be > identified. (rea

Thread view Attachments: 0

Re: need help programming / project

2005-02-18 by Dave Mucha

--- In AVR-Chat@yahoogroups.com, "Stefan Trethan" wrote: > On Fri, 18 Feb 2005 16:49:29 -0000, Dave Mucha > wrote: > > > > > It would be that one part would be connected to another of about 40 > > possible combinatoins, and only if it is correct would the thing > > work. say, lig

Thread view Attachments: 0

Re: [AVR-Chat] need help programming / project

2005-02-18 by Stefan Trethan

On Fri, 18 Feb 2005 16:49:29 -0000, Dave Mucha wrote: > > It would be that one part would be connected to another of about 40 > possible combinatoins, and only if it is correct would the thing > work. say, light an LED or something. > I'm thinking when the two parts meet, they bo

Thread view Attachments: 0

need help programming / project

2005-02-18 by Dave Mucha

Hi all, I am in need of a circuit that can detect mating to another part. Think door lock and keys, or party favors... ?? It would be that one part would be connected to another of about 40 possible combinatoins, and only if it is correct would the thing work. say, light an LED o

Thread view Attachments: 0

Re: [AVR-Chat] The keyboard

2005-02-18 by Jose Fuentes

I recommend you to use at least 330 ohms resistors on all the pins used for the keyboard. Otherwise you could unintentionally damage the ports, for instance you could inadvertedly put all the pins as ouputs and make a short-circuit with the switches. I would scan the keyboard thi

Thread view Attachments: 0

RE: [AVR-Chat] The keyboard

2005-02-18 by Javier Fiasche

i thing you should send a 1 to one row, scan the columns, and then send another 1 to the next row, not just send all the 4 1s to all the row at the same time Here goes the code for a working 4*7 matrix keyboard /*-------------------------------------------------------------------

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.