2009-05-11 by Muhammad Amiruddin
Is there any other sensor that can measure range over than 15 m? --- On Mon, 5/11/09, Jim Wagner wrote: From: Jim Wagner Subject: Re: [AVR-Chat] (unknown) To: AVR-Chat@yahoogroups.com Date: Monday, May 11, 2009, 2:43 AM On May 10, 2009, at 7:39 PM, Muhammad Amiruddin wrote: > > >
Thread view
Attachments: 0
2009-05-11 by Jim Wagner
On May 10, 2009, at 7:39 PM, Muhammad Amiruddin wrote: > > > Dear all, > > please help me, > > i want make project for measuring the level of water on the tank > that approximately 15 m high. what senssor that i should use ? > > Is there any ultrasonic senssor wich can measure ra
Thread view
Attachments: 0
2009-05-11 by Muhammad Amiruddin
Dear all, please help me, i want make project for measuring the level of water on the tank that approximately 15 m high. what senssor that i should use ? Is there any ultrasonic senssor wich can measure range until 15 m ? rgds, 4mir [Non-text portions of this message have been re
Thread view
Attachments: 0
2009-05-10 by kernels_nz
Hi Doug, I'm fairly sure a few of the other guys are correct. It's likely that you have the port pin setup as an input, which means you are actually toggling the pullup resistor on that pin. Because there is no fet connecting it to ground, you are basically just charging up the c
Thread view
Attachments: 0
2009-05-07 by David VanHorn
> You'll need to do a little engineering around this I think. The AVR can > drive 20ma as I to remember, if at your micro Vdd voltage the current > draw of your piezo is more than that you'll need a driver. Something as > simple as a logic level FET will do the job nicely. Piezos
Thread view
Attachments: 0
2009-05-07 by Dennis Clark
> The PIEZO element is just a standard one that is supposed to be resonant > around 24khz. I disconnected the piezo and the port started toggling, as > it should. Should I put a pair of HEX invertor drivers in parallel for > each output port to drive the piezo element? > I am try
Thread view
Attachments: 0
2009-05-07 by Tim Mitchell
----Original Message---- From: AVR-Chat@yahoogroups.com [mailto:AVR-Chat@yahoogroups.com] On Behalf Of doug_marysnowden Sent: 07 May 2009 06:23 To: AVR-Chat@yahoogroups.com Subject: [AVR-Chat] ATTINY13 driving a Piezo transducer directly? The port just locks high . > The PIEZO el
Thread view
Attachments: 0
2009-05-07 by doug_marysnowden
The PIEZO element is just a standard one that is supposed to be resonant around 24khz. I disconnected the piezo and the port started toggling, as it should. Should I put a pair of HEX invertor drivers in parallel for each output port to drive the piezo element? I am trying to bui
Thread view
Attachments: 0
2009-05-05 by Gmail
Having a quick look at the help of AVR Studio (Ver4.14), I found the mentioned part Atiny 2313 included. You can find details in the Tools user guide help in AVR Studio,STK500- Hardware description- ISP programming. I am not sure if it is not included in your version, so you can
Thread view
Attachments: 0
2009-05-05 by sami saqqa
how can the stk500 program the ATTINY2313? iam usibg avr studio V 4.05 and i cant attiny2313 in tha part list? Sami Z Saqqa Master in Communication Engineering Electronics Eng. +962796268430 +966505176560 Amman Jordan 11947 P O Box 1007 --- On Tue, 4/14/09, Don Kinzer wrote: From
Thread view
Attachments: 0
2009-05-02 by Momen Yousri
See my latest photos, updates and friends on Bebo. Click to view my profile. http://www.bebo.com/inv/9216550425a88894713b9216533855c134 ...................................................................... This email was sent to you at the direct request of Momen Yousri . You ha
Thread view
Attachments: 0
2009-05-01 by David VanHorn
AH! I see it now!... No matter how I slice it, the counts can only be different by integer multiples of three ticks. Interesting.. I'll probably have to rework this routine. As is, it runs every 50mS.. I think I'll have to run it every mS, and only take one sample of each wavefor
Thread view
Attachments: 0
2009-05-01 by David VanHorn
On Thu, Apr 30, 2009 at 8:54 PM, A & T Schrum wrote: > With the timer running at CK/1, then does it not run at the CPU clock > speed? Yes, that's what I intended. > That would mean that instructions that take a couple of cycles to execute will allow for > a couple of cycles on th
Thread view
Attachments: 0
2009-05-01 by A & T Schrum
With the timer running at CK/1, then does it not run at the CPU clock speed? That would mean that instructions that take a couple of cycles to execute will allow for a couple of cycles on the timer to pass. The sequence of steps you do in finding the 5 wave forms are very repeata
Thread view
Attachments: 0
2009-04-30 by David VanHorn
On Sat, Apr 25, 2009 at 1:05 AM, Mark Graybill wrote: > I had some fun with the new Nordic god robot motif on my blog a while > ago, myself: > "Atmel STK-500 Starter Kit for AVR: Now with Death-bots" > http://catsonkeyboards.blogspot.com/2008/10/atmel-stk-500-starter-kit-for-avr-
Thread view
Attachments: 0
2009-04-30 by David VanHorn
Bear with me, this isn't simple. I have two sensors, each outputs a square wave. I need to accurately measure the period of each, and determine the difference in the two periods. Depending on how I set the optimization, I get different results. At -Os, I see values like 292, 304,
Thread view
Attachments: 0
2009-04-30 by Enki
- 'temp' seems to be used inside and outside the INT routine. - The INT return address are pushed forever... MJ Loren Boyle wrote: > There is a problem in the interrupt service routine Timer2_Ovf: The last > part of the code is: > > hh: > ldi Temp,LOW(Sec1) ; After interupt compl
Thread view
Attachments: 0
2009-04-29 by Loren Boyle
There is a problem in the interrupt service routine Timer2_Ovf: The last part of the code is: hh: ldi Temp,LOW(Sec1) ; After interupt completed go back to Sec1 push Temp ldi Temp,HIGH(Sec1) push Temp reti Two bytes are pushed onto the stack and then a rti is executed. The return
Thread view
Attachments: 0
2009-04-29 by STEVEN HOLDER
Try reintialising the uart when you wake up, turn it off when you go to sleep. Set the pins as input high impedance in sleep mode. It is a good idea to have a sleep routine run just before you go to sleep, then a wake routine, so that any values can be set/ cleared consistantly.
Thread view
Attachments: 0
2009-04-29 by Gmail
What i did is that when it wakes, i inserted a delay of 200 ms then started to get data from AD (SPI) and send it (UART), nothing happened; same results. Moataz Hussein ----- Original Message ----- From: wagnerj@proaxis.com To: AVR-Chat@yahoogroups.com Sent: Wednesday, April 29,
Thread view
Attachments: 0
2009-04-29 by Philippe Habib
I don't know what the case is with your part, but some parts have a sleep mode that lets the ADC run and the int can trigger an ADC read to happen. I'd read up on the various sleep mode and see if one is a good fit for what you're trying to do. On Apr 29, 2009, at 11:53 AM, wagne
Thread view
Attachments: 0
2009-04-29 by wagnerj@proaxis.com
Be aware that the processor takes time to wake up. Also, be careful NOT to sleep until all of the bytes have been sent. This means staying awake until the very last stop bit has left the UART. In other words, you cannot just put a byte into the UDR, then sleep. You need to wait u
Thread view
Attachments: 0
2009-04-29 by Jim Hatley
Probably need to enable internal pullup on receive pin or put on an external pullup to be sure receive pin is kept high. Jim ----- Original Message ----- From: Gmail To: AVR-Chat@yahoogroups.com Sent: Wednesday, April 29, 2009 9:23 AM Subject: [AVR-Chat] Sleep ATMega16 I am worki
Thread view
Attachments: 0
2009-04-29 by Gmail
I am working on on a system to record temperature on a flash memory at a programmed rate. As there is nothing to be done between samples (1 Sec- 15 Mins) and it is battery powered I want it to sleep between samples. I am using Mega 16, A/D MCP3550 on Spi, running on 3.6864 Mhz Cr
Thread view
Attachments: 0
2009-04-25 by Mark Graybill
I had some fun with the new Nordic god robot motif on my blog a while ago, myself: "Atmel STK-500 Starter Kit for AVR: Now with Death-bots" http://catsonkeyboards.blogspot.com/2008/10/atmel-stk-500-starter-kit-for-avr-now.html Mark Graybill ---------------------------------------
Thread view
Attachments: 0
2009-04-24 by oriy2003
Hi All Any one know an ISP programmer for the ATtiny24, (home made one) I'm useing the PonyProg which is excellent! but doesn't support this chip yet. Thanks Ori
Thread view
Attachments: 0
2009-04-23 by David VanHorn
Well, it looks like I'll be working this weekend, trying to find out what is causing these debugging issues. They brought me a new Mkii, and an STK600 is supposed to show up tomorrow. Using "golden" hardware should take one factor out of the mix. I think it's amusing that the box
Thread view
Attachments: 0
2009-04-22 by Brian
I still havent recieved a reply. is it because I didn't list a company name or something? Brian --- In AVR-Chat@yahoogroups.com, "Don Kinzer" wrote: > > --- In AVR-Chat@yahoogroups.com, "Brian" wrote: > > Filled one out. waiting for a responce. > I also filled out an RFQ shortly
Thread view
Attachments: 0
2009-04-21 by Jim Wagner
On Apr 20, 2009, at 11:38 PM, Guido Helmstetter wrote: > > > Hi Jim > Well you are correct why not loop around, as powersaving is not the > main concern here and truly this is just for the sake of > understanding how to wake up from sleep mode with interupt. > As I am a beginner
Thread view
Attachments: 0
2009-04-21 by Don Kinzer
--- In AVR-Chat@yahoogroups.com, "Brian" wrote: > Do you still need your socket???? No, I bought one earlier this year and have it in service. Don Kinzer ZBasic Microcontrollers http://www.zbasic.net
Thread view
Attachments: 0
2009-04-21 by s.holder123@btinternet.com
Hi Just to throw a bit in, how you wake up from sleep also depends on the sleep mode you are, INTO can be set as a edge triggered intrerrupt (low to high, high to low) which the port change interrupts are not, the MCUCR determines the type of interrupt generated by INTO. The reas
Thread view
Attachments: 0
2009-04-21 by Guido Helmstetter
Hi Jim Well you are correct why not loop around, as powersaving is not the main concern here and truly this is just for the sake of understanding how to wake up from sleep mode with interupt. As I am a beginner and try to work out all the if, but and why some things may make no s
Thread view
Attachments: 0
2009-04-21 by Brian
Don, Do you still need your socket???? Brian --- In AVR-Chat@yahoogroups.com, "Don Kinzer" wrote: > > --- In AVR-Chat@yahoogroups.com, "Brian" wrote: > >What was your charges? S&H or other taxes? > Shipping was $8.00 by UPS from California to Oregon. I ordered the ZIF socket and
Thread view
Attachments: 0
2009-04-21 by Enki
I would need one, but $45 plus $30 S&H plus 90% import fee is too much for me. Mark Jordan, from southern Brasil. Brian wrote: > Is there anyone else that needs a QFP-32 ZIF socket? > > Brian > > --- In AVR-Chat@yahoogroups.com, "Don Kinzer" wrote: > >> --- In AVR-Chat@yahoogroup
Thread view
Attachments: 0
2009-04-21 by Don Kinzer
--- In AVR-Chat@yahoogroups.com, "Brian" wrote: >What was your charges? S&H or other taxes? Shipping was $8.00 by UPS from California to Oregon. I ordered the ZIF socket and 10 AVR chips. Reasonable, I think. There was no sales tax or any other charges (Oregon does not have a sal
Thread view
Attachments: 0
2009-04-21 by Brian
Don, What was your charges? S&H or other taxes? If they are anything like Mark has said I may just try to etch a board and hold the part on it with my finger to try to program it. Actually I would rather solder it to a board and use hot air to remove it once programmed. $30 is ki
Thread view
Attachments: 0
2009-04-20 by wagnerj@proaxis.com
> Hi Jim > thanks replying to my querie > >> In the GIMSK data page it says "activity on the pin will cause >> interupt even if INT0 is configured as output". > > I am obviously struggling with semantics. > I rearanged the code and realized that if GIMSK set to INTO, the result i
Thread view
Attachments: 0
2009-04-20 by Guido Helmstetter
Hi Jim thanks replying to my querie > In the GIMSK data page it says "activity on the pin will cause > interupt even if INT0 is configured as output". I am obviously struggling with semantics. I rearanged the code and realized that if GIMSK set to INTO, the result is equal to GIM
Thread view
Attachments: 0
2009-04-20 by Brian
Is there anyone else that needs a QFP-32 ZIF socket? Brian --- In AVR-Chat@yahoogroups.com, "Don Kinzer" wrote: > > --- In AVR-Chat@yahoogroups.com, "Brian" wrote: > > Filled one out. waiting for a responce. > I also filled out an RFQ shortly after posting my last response. This
Thread view
Attachments: 0
2009-04-20 by Brian
Thanks, I havent recieved a reply yet. even with the 100 MOQ it is still cheaper than the $160 I have seen for the sockets. Brian --- In AVR-Chat@yahoogroups.com, "Don Kinzer" wrote: > > --- In AVR-Chat@yahoogroups.com, "Brian" wrote: > > Filled one out. waiting for a responce. >
Thread view
Attachments: 0
2009-04-20 by Don Kinzer
--- In AVR-Chat@yahoogroups.com, "Brian" wrote: > Filled one out. waiting for a responce. I also filled out an RFQ shortly after posting my last response. This was the reply that I received today: "We have stock . 1-9 pcs price is 45.00 We have a 100.00 MOQ." If you can find two
Thread view
Attachments: 0
2009-04-20 by Jim Wagner
On Apr 19, 2009, at 6:18 PM, Guido Helmstetter wrote: > > > Hi from newby > In the GIMSK data page it says "activity on the pin will cause > interupt even if INT0 is configured as output". > My program is counting to a preset number and then goes to sleep, > until woken up by pus
Thread view
Attachments: 0
2009-04-20 by Guido Helmstetter
Hi from newby In the GIMSK data page it says "activity on the pin will cause interupt even if INT0 is configured as output". My program is counting to a preset number and then goes to sleep, until woken up by pushing INT0 (pullup 10K). Two thing happen when DDRB PB2 as input. the
Thread view
Attachments: 0
2009-04-18 by Brian
> I bought a Yamaichi IC51-0324-1498 from them in mid-January of this year and it was $41.00. I would suggest going to that site and filling out a request for quote. > > Don Kinzer > ZBasic Microcontrollers > http://www.zbasic.net > Filled one out. waiting for a responce. Brian
Thread view
Attachments: 0
2009-04-18 by Don Kinzer
--- In AVR-Chat@yahoogroups.com, "Brian" wrote: > > The only ones I have found are $160. Is that what you were quoted from West Coast Engineering? http://www.westcoasteng.com I bought a Yamaichi IC51-0324-1498 from them in mid-January of this year and it was $41.00. I would sugge
Thread view
Attachments: 0
2009-04-18 by Brian
> You may be able to find the same Yamaichi socket elsewhere. I have purchased other Yamaichi TQFP sockets from aprilog.com but they didn't have the 32-pin version in stock when I needed it. > > Don Kinzer > ZBasic Microcontrollers > http://www.zbasic.net > The only ones I have f
Thread view
Attachments: 0
2009-04-14 by Don Kinzer
--- In AVR-Chat@yahoogroups.com, "Brian" wrote: > Where can I get a ZIF Socket for a QFP Mega8? Just to prepare you, they are expensive. I bought a clamshell-type ZIF socket for a TQFP-32 (for use with the mega328P-AU) from West Coast Engineering (http://www.westcoasteng.com). I
Thread view
Attachments: 0
2009-04-14 by Brian
Where can I get a ZIF Socket for a QFP Mega8? Brian
Thread view
Attachments: 0
2009-04-13 by John Samperi
At 05:55 PM 13/04/2009, you wrote: >Are there any getting started with AVR USB guides that are simpler >than the application notes from Atmel? Don't know how easy or complicated it is but you can get Dean Camera's LUFA code. http://www.fourwalledcubicle.com/LUFA.php I got one of
Thread view
Attachments: 0
2009-04-13 by kernels_nz
Hi Guys, Has anybody written an application from scratch for one of the AT90USB parts ? Id like to get started with USB. I bought one of the AT90USBKeys and can program and debug it via JTAG. Are there any getting started with AVR USB guides that are simpler than the application
Thread view
Attachments: 0