Yahoo Groups archive

AVR-Chat

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

Messages

Browse messages

Page 114 of 307 · 15341 messages matched

Re: problesm with PWM

2007-07-04 by kernels_nz

Hi Tom, Sorry, I am a C programmer, so wouldnt be much help with your assembly language, just a few things you definately want to check: 1. Have you defined the PWM pin as output ? I did a search through your code and didnt find a reference to the DDR register ? 2. Where did you

Thread view Attachments: 0

Antenna interfacing help?

2007-07-04 by Richard Cooke

Hi Folks, We need some help with a small hand held RF remote controller project. We're willing to pay for the help. Basically we need some help with the matching circuit from the nRF905 to a small helical antenna. If this is an inappropriate post I apologize. I don't know where e

Thread view Attachments: 0

RE: [AVR-Chat] (was I2C again)

2007-07-04 by Tim Mitchell

John Samperi wrote: > At 07:48 PM 3/07/2007, you wrote: >> compatibility mode which handles this pin swap, it does not swap the >> pins for the high-voltage progamming mode - > > That's interesting, it does not say anything about that in the > migration note for the T25 (I can se

Thread view Attachments: 0

Re: [AVR-Chat] hrm...why for I am not getting PWM output from this?

2007-07-04 by Thomas Keller

Good idea, but it solved nothinhg. I set com1a0 to 1, with no obvious result. )-: enkitec@gmail.com wrote: > > > I think you should set one of the COM1 bits on TCCR1A register. > > On 3 Jul 2007 at 18:35, Thomas Keller wrote: > > > The code seems to be stepping through the tabel

Thread view Attachments: 0

Re: [AVR-Chat] hrm...why for I am not getting PWM output from this?

2007-07-04 by enkitec@gmail.com

I think you should set one of the COM1 bits on TCCR1A register. On 3 Jul 2007 at 18:35, Thomas Keller wrote: > The code seems to be stepping through the tabel correctly, and > outputting the control value to the timer/counter0, which is the PWM > unit. Why am I not getting any PW

Thread view Attachments: 0

hrm...why for I am not getting PWM output from this?

2007-07-03 by Thomas Keller

The code seems to be stepping through the tabel correctly, and outputting the control value to the timer/counter0, which is the PWM unit. Why am I not getting any PWM output from the output pin? ----- cut here ----- ; ; FILE NAME: SantaFe.asm ; ; PROJECT: *** REDACTED *** ; ; DAT

Thread view Attachments: 0

RE: [AVR-Chat] (was I2C again)

2007-07-03 by John Samperi

At 07:48 PM 3/07/2007, you wrote: >compatibility mode which handles this pin swap, it does not swap the >pins for the >high-voltage progamming mode - That's interesting, it does not say anything about that in the migration note for the T25 (I can see the problem with the T45 and

Thread view Attachments: 0

Re: [AVR-Chat] I2C again

2007-07-03 by dlc@frii.com

To be fair, this didn't happen recently but a few years ago. It was one of their lower pin count ones, 20 pins or so. I forget which one, but one I was using got obsoleted and the rep said to use a part that was not pin compatable. The details are vague to me now but they made an

Thread view Attachments: 0

RE: [AVR-Chat] I2C again

2007-07-03 by Tim Mitchell

-----Original Message----- From: AVR-Chat@yahoogroups.com [mailto:AVR-Chat@yahoogroups.com] On Behalf Of John Samperi Sent: 03 July 2007 10:22 To: AVR-Chat@yahoogroups.com Subject: RE: [AVR-Chat] I2C again At 06:06 PM 3/07/2007, you wrote: >They just obsoleted the Tiny15 with no

Thread view Attachments: 0

RE: [AVR-Chat] I2C again

2007-07-03 by John Samperi

At 06:06 PM 3/07/2007, you wrote: >They just obsoleted the Tiny15 with no pin compatible replacement, for >one. As far as I can tell the Tiny15L is still in full production. IF it would be obsoleted, what would stop you using the Tiny 25/45/85? The fact that it has on chip debug?

Thread view Attachments: 0

Re: [AVR-Chat] I2C again

2007-07-03 by Roy E. Burrage

No religious war, just a statement of fact. If you can cite an example of replacing a chip without the replacement being both pin and code compatible I'd like to see it. That hasn't been my experience in the past 10 years or so. Not only do they replace with pin and code computab

Thread view Attachments: 0

RE: [AVR-Chat] I2C again

2007-07-03 by Tim Mitchell

John Samperi wrote: > At 02:14 PM 3/07/2007, you wrote: >> they replace parts (with parts that aren't pin >> compatable) > > Can you please give an example of the above? As far as I can tell > they have made pin AND pretty much code compatible upgrades for all > of their chips, a

Thread view Attachments: 0

Re: [AVR-Chat] I2C again

2007-07-03 by John Samperi

At 02:14 PM 3/07/2007, you wrote: >they replace parts (with parts that aren't pin >compatable) Can you please give an example of the above? As far as I can tell they have made pin AND pretty much code compatible upgrades for all of their chips, at least since 1999. Regards John S

Thread view Attachments: 0

Re: [AVR-Chat] I2C again

2007-07-03 by dlc

Bah humbug. Another religious war. I love the AVR, but I hate Atmel. Their tools are weak, they replace parts (with parts that aren't pin compatable) at whim and sometimes are difficult to even get in the US. However, they are the only choice of cheap micros for Mac or Linux deve

Thread view Attachments: 0

Re: [AVR-Chat] I2C again

2007-07-03 by David VanHorn

I'm getting sonar data now. On top of everything else, the one sonar unit I was working with, out of the four I have, was bad! On 7/2/07, Roy E. Burrage wrote: > Minimum 4 times a day scrub with lye soap and a scrub brush or a > scouring pad, rinse with clorox water. Do this for

Thread view Attachments: 0

Re: [AVR-Chat] I2C again

2007-07-03 by Roy E. Burrage

Minimum 4 times a day scrub with lye soap and a scrub brush or a scouring pad, rinse with clorox water. Do this for a week after each PIC project and you should be okay. A saturated solution of NaCl in water will also do as a substitute for the clorox water and should do the tric

Thread view Attachments: 0

Re: [AVR-Chat] I2C again

2007-07-02 by David VanHorn

On 7/2/07, John Samperi wrote: > At 07:58 AM 3/07/2007, you wrote: > >What I'm wrestling with at the moment, is what the SONAR wants though. > > It MUST be that darned PIC messing with your mind :-) Yup.. Pic rays.. > >but you CANNOT read the data using the broadcast address.. >

Thread view Attachments: 0

Re: [AVR-Chat] I2C again

2007-07-02 by John Samperi

At 07:58 AM 3/07/2007, you wrote: >What I'm wrestling with at the moment, is what the SONAR wants though. It MUST be that darned PIC messing with your mind :-) >but you CANNOT read the data using the broadcast address.. That makes sense otherwise all units would try and respond a

Thread view Attachments: 0

Re: [AVR-Chat] I2C again

2007-07-02 by David VanHorn

> AVR311 and AVR315 have pretty good descriptions of how TWI works. Right.. What I'm wrestling with at the moment, is what the SONAR wants though. I discovered one interesting thing today though.. You can START a ping using the broadcast address, but you CANNOT read the data usin

Thread view Attachments: 0

RE: [AVR-Chat] I2C again

2007-07-02 by larry barello

Normally I2C is ... Where the data is originated/read depending upon the state of the r/w bit. Repeat stop is just a variation of the stop bit. It *still* has to be followed with the address & r/w bit of the device you want to access. After that the contents of the is up to you a

Thread view Attachments: 0

Re: [AVR-Chat] I2C again

2007-07-02 by David VanHorn

Ok, check me on this: To read a bunch of data from the devantech device: Send a start Write the address (with write bit cleared) as $00 Write another byte that says what register I want to read from (starting address) Issue 19 pairs of "read a byte" commands Issue a stop Or, do I

Thread view Attachments: 0

Re: [AVR-Chat] I2C again

2007-07-02 by David VanHorn

I made a little progress, I had the read/write bit inverted. It acks now, but only address 0 E0 still does not. Hammering away at it, I MAY have accidentally changed the address. Now my problem is that I'm somehow not continuing with the transaction after writing the address, and

Thread view Attachments: 0

Re: [AVR-Chat] I2C again

2007-07-01 by John Samperi

At 08:26 AM 2/07/2007, you wrote: >http://www.robot-electronics.co.uk/htm/srf08tech.shtml I suppose you have looked at the code examples like the one for the MAVERIC (M128), it is unfortunately in C but may be able to just compile it and see if it works. http://www.bdmicro.com/co

Thread view Attachments: 0

Re: [AVR-Chat] I2C again

2007-07-01 by David VanHorn

On 7/1/07, John Samperi wrote: > At 03:30 AM 2/07/2007, you wrote: > >it's as if the sonar dosen't hear me. > > Does the TWI driver work ok with ANYTHING yet? This is the only I2C device I have, so I don't know. I have several, but they all act the same. >Is there something (link

Thread view Attachments: 0

Re: [AVR-Chat] I2C again

2007-07-01 by John Samperi

At 03:30 AM 2/07/2007, you wrote: >it's as if the sonar dosen't hear me. Does the TWI driver work ok with ANYTHING yet? Is there something (links??) to set the address of the device? Ca you get a DS1307 RTC chip (easily available) and test the driver with that? Or post a link to

Thread view Attachments: 0

I2C again

2007-07-01 by Dave VanHorn

Ok, before I start banging on this again.. I have the Devantech sonar connected, verified per docs that SDA and SCL are connected to the right pins on the M128, and they are pulled high, and that the scope sees valid high and low levels. I have the code that IMHO should start a p

Thread view Attachments: 0

All who expressed concern

2007-06-29 by Thomas Keller

About my STK-500 running too hot on a 12 volt (regulated) rail: It has been sitting on the desk running the Switches & LEDS sample program that ships with it, with all the LEDS illuminated, for over 72 hours continuously, and the regulators and bridge rectifier are barely warm to

Thread view Attachments: 0

interesting uses of engineering

2007-06-29 by Captain Impala

Being robotics people, we develop skills in mechanical, electrical, and software engineering. With this in mind, I've found I tend to appreciate the projects of others more than I used to, especially when they built some crazy redneck toy thats overpowered, destructive, or has st

Thread view Attachments: 0

RE: [AVR-Chat] Problem with a-d converter on Tiny24 - SOLVED!

2007-06-29 by Tim Mitchell

John Samperi wrote: > At 09:00 PM 28/06/2007, you wrote: >> Then it never got re-enabled. Obvious really, only been trying to >> find it for 2 days. > > This is where the automatic self kicking machine would come in handy > :-) > Yeah... I did read of one organisation which kept

Thread view Attachments: 0

RE: [AVR-Chat] Problem with a-d converter on Tiny24 - SOLVED!

2007-06-28 by John Samperi

At 09:00 PM 28/06/2007, you wrote: >Then it never got re-enabled. Obvious really, only been trying to find >it for 2 days. This is where the automatic self kicking machine would come in handy :-) Regards John Samperi ******************************************************** Ampert

Thread view Attachments: 0

RE: [AVR-Chat] Problem with a-d converter on Tiny24 - SOLVED!

2007-06-28 by Tim Mitchell

Tim Mitchell wrote: > Hello folks > I'm having a really hard time getting the a-d converter running on > the Tiny 24. It just won't go. I am probably doing something really > stupid but I can't see it. Doh, it's OK, I found the problem. Amazing how explaining the problem helps yo

Thread view Attachments: 0

Problem with a-d converter on Tiny24

2007-06-28 by Tim Mitchell

Hello folks I'm having a really hard time getting the a-d converter running on the Tiny 24. It just won't go. I am probably doing something really stupid but I can't see it. Here is the code dealing with the adc... .include ldi tempA,(1

Thread view Attachments: 0

Re: Placing and soldering SMD parts for prototypes - OT?

2007-06-28 by kernels_nz

I use the same process with no-clean liquid flux, works very well. Solder paste + toaster oven also works amazingly well if your doing many SMD components. The method described has also worked well for me on 5mm*5mm QFN package chips without any problems. Knowing the process is g

Thread view Attachments: 0

Re: Placing and soldering SMD parts for prototypes - OT?

2007-06-27 by Brian

I do this stuff everyday at work. It even works on QFP100 and bigger with 10mil pitch. Place your part on the board, hold the center down with your finger. Place flux at four spots, one on each side and touch with a clean iron to tack and hold it there. next, flux all for sides w

Thread view Attachments: 0

Re: [AVR-Chat] Re: *urk*

2007-06-27 by Thomas Keller

Eric Engler wrote: > > Go to it's folder on the hard disk and search for help files ending in > .chm. Double-click on them to see if they work. > No, none of them work. The simply tell me they cannot br executed, no reason or hint given as to why. )-: > > If not, then there's som

Thread view Attachments: 0

Re: [AVR-Chat] I2C / TWI

2007-06-27 by Ranjit Puri

Hi Dave, Heres some bit banged TWI code for you. http://ranjit.puri.googlepages.com/I2C_AVR_sampleC.zip Regards Ranjit On 6/27/07, David VanHorn wrote: > > > For bit banged ASM stuff look at AVR300 and AVR302, I have used the > > master and it works very well. Some people think t

Thread view Attachments: 0

Re: [AVR-Chat] I2C / TWI

2007-06-27 by David VanHorn

> For bit banged ASM stuff look at AVR300 and AVR302, I have used the > master and it works very well. Some people think that there may be > some merits on using the bit banged TWI as they suspect some hardware > issue with the hardware TWI. I have some more bits if you get stuck

Thread view Attachments: 0

Re: [AVR-Chat] *doggone it all to heck*

2007-06-27 by John Samperi

Well I don't think I can help much more without you answering questions, sorry. As a suggestion I would unplug everything off the STK and have a look at VTG and VREF and FINALLY tell us what the ISP frequency is set to like I have asked a few times before. The 12V rail for the ST

Thread view Attachments: 0

Re: [AVR-Chat] *doggone it all to heck*

2007-06-27 by David VanHorn

> OH, yerah, power supply: I am running mine off a 12 volt rail, and the > regulatro is not even noticeably warm to the touch, so I don;t think > that is a problem. Just for chagrins, have you measured VCC? The reg might be cool, because it's not outputting much current, because

Thread view Attachments: 0

Re: [AVR-Chat] Placing and soldering SMD parts for prototypes - OT?

2007-06-27 by John Samperi

At 12:00 PM 27/06/2007, you wrote: >I'm looking for some suggestions/words of wisdom on what other folks >do for their prototypes. Let someone ELSE do it??? It works for me :-) Regards John Samperi ******************************************************** Ampertronics Pty. Ltd. 11

Thread view Attachments: 0

Re: [AVR-Chat] Placing and soldering SMD parts for prototypes - OT?

2007-06-27 by Alexandre Guimarães

Hi, Richard I have been using some QFN packages and sometimes I get shorts also... My solution is to use a weller Pyropen butane iron with a tip that makes it put just hot air out and a little SMD rework flux. I put the flux on all the sides of the chip and reflow it with the sol

Thread view Attachments: 0

Re: [AVR-Chat] Placing and soldering SMD parts for prototypes - OT?

2007-06-27 by Tim Gilbert

Richard, Most of the time, liberal use of flux and some solder braid will clean up most problems. Tim Gilbert JEM Innovation Inc. 303-926-9053 (office) 303-437-4342 (cell) 720-890-8582 (fax) www.jeminnovation.com www.pdksolutions.com ----- Original Message ----- From: Richard Coo

Thread view Attachments: 0

Re: *urk*

2007-06-27 by Eric Engler

--- In AVR-Chat@yahoogroups.com, Thomas Keller wrote: > > > I re-downloaded AVTStudio. Still getting the same error messages, > stillnot finding a log fiel (which it says it is creating). > > Anyone have any ideas as to why my AVRStudio 4.12 brings up nothing > when I click on va

Thread view Attachments: 0

Re: Placing and soldering SMD parts for prototypes - OT?

2007-06-27 by Don Kinzer

--- In AVR-Chat@yahoogroups.com, "Richard Cooke" wrote: >I've been fairly successful in soldering SMD >parts for my prototypes but [...] I can hand solder but I much prefer to manually place the parts and then put the boards in a reflow oven. If you have the inclination, you migh

Thread view Attachments: 0

Placing and soldering SMD parts for prototypes - OT?

2007-06-27 by Richard Cooke

Hi Folks, Up until today, I've been fairly successful in soldering SMD parts for my prototypes but it looks like I've got a short in one of the QFN32 parts. How do you place them? I guess my hand shook a bit when I was placing the thing and now one of the Vcc pads are shorted to

Thread view Attachments: 0

Re: [AVR-Chat] *doggone it all to heck*

2007-06-26 by Thomas Keller

OK, now I am beginning to beleive my STK-500 may be faulty I just plugged an AT90S2313 into it. Correct socket, all jumpers are set appropriately, per the User Guide. When I turn it on, the "Target Power LED begins slowly blinking (a condition not documented in the User Guide) an

Thread view Attachments: 0

Re: [AVR-Chat] Re: Interfacing a 5 Volts LCD to a 3.3 Volts system.

2007-06-26 by Alexandre Guimarães

Hi, I do not have speed or space problems so I think I can get away nicely with just a voltage divider even if the bus is bidirectional. If I am not missing anythink obviuos, from 5v to 3v it will work as a regular voltage divider and from 3v to 5v it will act as a simple series

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.