2009-06-10 by Dennis Clark
Greetings, Another fellow and I are working on creating avr-gcc code to make an I2C master on a Tiny2313 using the USI module. We have some code from M8 or M128 as a source, but those have full I2C implementations, not the "halfway" module in the T2313. Has anyone implemented suc
Thread view
Attachments: 0
2009-06-10 by internetwasteland
--- In AVR-Chat@yahoogroups.com, "Dennis Clark" wrote: > > Greetings, > > Another fellow and I are working on creating avr-gcc code to make an I2C > master on a Tiny2313 using the USI module. We have some code from M8 or > M128 as a source, but those have full I2C implementations
Thread view
Attachments: 0
2009-06-10 by inuyasha10121
...*facepalm*Damn it all I forgot to put pull downs on the switches...it works fine now, lol. Thanks for the help! I'll post the finished product later on. --- In AVR-Chat@yahoogroups.com, John Samperi wrote: > > At 11:25 AM 10/06/2009, you wrote: > >the LEDs kinda freak out. > >
Thread view
Attachments: 0
2009-06-10 by David VanHorn
On Tue, Jun 9, 2009 at 10:45 PM, John Samperi wrote: > At 11:25 AM 10/06/2009, you wrote: >>the LEDs kinda freak out. > > Do you have the necessary pull up or pull down resistors on the switches? > > Regards That, and debouncing would be where I'd look. I generally avoid doing th
Thread view
Attachments: 0
2009-06-10 by John Samperi
At 11:25 AM 10/06/2009, you wrote: >the LEDs kinda freak out. Do you have the necessary pull up or pull down resistors on the switches? Regards John Samperi ******************************************************** Ampertronics Pty. Ltd. 11 Brokenwood Place Baulkham Hills, NSW 215
Thread view
Attachments: 0
2009-06-10 by inuyasha10121
I'm not sure I can do that, Its a xbox 360 controller, so I'm not really sure how I'd go about doing that, heh.
Thread view
Attachments: 0
2009-06-09 by inuyasha10121
Alright, I don't really understand why this isn't working. I've worked with arduino before, but this is the first time i've gone into bare-bones AVRs(in this case, ATtiny2313). I'm making a controller mod, where you hit Right-click, left-click, right-trigger to engage rapid fire
Thread view
Attachments: 0
2009-06-08 by John Samperi
At 01:56 AM 9/06/2009, you wrote: >Microchip kicked Motorola's butt Not to mention Motorola client's (now ex-clients) playing a bit of football too. Regards John Samperi ******************************************************** Ampertronics Pty. Ltd. 11 Brokenwood Place Baulkham H
Thread view
Attachments: 0
2009-06-08 by Tim McDonough
David Kelly wrote: > Those who were not buying microcontrollers 15 years ago may not know > that to buy a Motorola chip one had to beg for permission and allocation > from Motorola. ... and pray that just as your product was coming out of field test they didn't decide to use the
Thread view
Attachments: 0
2009-06-08 by David Kelly
On Mon, Jun 08, 2009 at 10:02:25AM -0400, Michael Haisley wrote: > So when I saw this message in preview I only saw atmel added a > horrible flash, my first thought was "what, does it program PICs?" When I last used PIC they were only just getting into FLASH. :-) And back on topi
Thread view
Attachments: 0
2009-06-08 by Michael Haisley
So when I saw this message in preview I only saw atmel added a horrible flash, my first thought was "what, does it program PICs?" On 6/8/09, Tim Mitchell wrote: > Eek! Atmel have added a horrible flash intro page to their website. > Flash intro pages should be banned and the perp
Thread view
Attachments: 0
2009-06-08 by David Kelly
On Mon, Jun 08, 2009 at 12:29:30PM +0100, Tim Mitchell wrote: > Eek! Atmel have added a horrible flash intro page to their website. > Flash intro pages should be banned and the perpetrators forced to > write PIC assembler. I think you are being too lenient. No small part of Googl
Thread view
Attachments: 0
2009-06-08 by David VanHorn
On Mon, Jun 8, 2009 at 7:29 AM, Tim Mitchell wrote: > Eek! Atmel have added a horrible flash intro page to their website. > Flash intro pages should be banned and the perpetrators forced to write > PIC assembler. Using Quill pens and parchment they've made themselves! -- There is
Thread view
Attachments: 0
2009-06-08 by Tim Mitchell
Eek! Atmel have added a horrible flash intro page to their website. Flash intro pages should be banned and the perpetrators forced to write PIC assembler. -- Tim Mitchell
Thread view
Attachments: 0
2009-06-07 by Jim Wagner
You set the direction as "input" and the port value as 0x00 to turn off the pull-up resistors. So, write 0x00 to both DDRA and PORTA. Table 20 shows you the combinations. Jim Wagner Oregon Research Electronics On Jun 7, 2009, at 3:37 AM, drs1_shah wrote: > > > hi,can anyone expla
Thread view
Attachments: 0
2009-06-07 by drs1_shah
hi,can anyone explain me the logic behind the pull up resistors in atmega 16.in which condition my input pin is in high impedance state? If i write DDRA=0x00; PORTA=0xFF; this means that i have enable the pull up resistor.so r the pins at +5V or floating input is there? secondly
Thread view
Attachments: 0
2009-06-04 by David VanHorn
> To cut a long story short (about 4 hours of pain), installing, > un-installing Studio, reverting back to V4.14, changing JTAG ice > to RS232 mode instead of USB.... etc. it turned out that I was > trying to run the debugger in "RUN" mode, that is I usually have > a debug mode a
Thread view
Attachments: 0
2009-06-03 by John Samperi
At 12:40 AM 4/06/2009, you wrote: >The turning point for me, seems to have been installing studio32. I was thinking of you a few days ago about Studio weirdness. I thought you might have put a curse on me. :-) To cut a long story short (about 4 hours of pain), installing, un-inst
Thread view
Attachments: 0
2009-06-03 by Dave VanHorn
As many of you know, I've had a devil of a time with studio over the last several years. I may have solved that problem. (tempting fate here with this email) The turning point for me, seems to have been installing studio32. I don't know why, but after that I've only had rare inst
Thread view
Attachments: 0
2009-05-26 by Muhammad Amiruddin
Thanks for your attention, but why all people prefer use C than assembly???? ha ha ha just kidding --- On Mon, 5/25/09, Muhammad Amiruddin wrote: From: Muhammad Amiruddin Subject: [AVR-Chat] i2c DS1307 To: AVR-chat@yahoogroups.com Date: Monday, May 25, 2009, 2:33 AM Dear all plea
Thread view
Attachments: 0
2009-05-25 by Julian Higginson
I got simple I2C working on an AVR to control an I2C device ages ago (forget what the actual IC number was - it was an RTC with some EEPROM) but implementation based on a demo example was absolutely trivial - worked first go! Though again - no assembly - I used AVR GCC, which is
Thread view
Attachments: 0
2009-05-25 by John Samperi
At 12:33 PM 25/05/2009, you wrote: >is there someone could explain me more ?( about device address, >register , etc ). >i use the assembly language http://www.avrfreaks.net/index.php?name=PNphpBB2&file=viewtopic&t=31230&start=0 Scroll down to the second last post. Regards John Sa
Thread view
Attachments: 0
2009-05-25 by Muhammad Amiruddin
Dear all please help me once more time, i have problem with i2c communication for Serial RTC DS 1307, i try to follow the instruction i2c protocol from datasheet, but it not success is there someone could explain me more ?( about device address, register , etc ). i use the assemb
Thread view
Attachments: 0
2009-05-25 by Brian
I have used the I2C comms with the DS1307. I use C programming with CodeVision. Not much of an assembly programmer. I learned from the datasheets, include files, the DS1307 lib file and helpfiles. Brian --- In AVR-Chat@yahoogroups.com, Muhammad Amiruddin wrote: > > Dear all > > p
Thread view
Attachments: 0
2009-05-25 by brewski922
CodeVisionAVR http://www.hpinfotech.ro/html/download.htm has support for the DS1307. The Evaluation copy has a 2kbytes code size limitation. I believe that is the only differance between that and the commercial version. Oh, there is no support. Support is available on the Yahoo "
Thread view
Attachments: 0
2009-05-21 by Gmail
Thanks for your help, tested and is working now.. Moataz Hussein ----- Original Message ----- From: Don Kinzer To: AVR-Chat@yahoogroups.com Sent: Thursday, May 21, 2009 5:40 PM Subject: [AVR-Chat] Re: Branchging intsruction-- BRMI --- In AVR-Chat@yahoogroups.com, "Gmail" wrote: >
Thread view
Attachments: 0
2009-05-21 by Gmail
Hi, I want to branch at a certain part of the program when a register (Temp) value is greater than or equal to $FA. Temp has different values as in not just incrementing. I did as follow ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; Subi Temp, $FA Brmi Inc
Thread view
Attachments: 0
2009-05-21 by Don Kinzer
--- In AVR-Chat@yahoogroups.com, "Gmail" wrote: > I want to branch at a certain part of the program when a > register (Temp) value is greater than or equal to $FA. I doubt that BRMI is the instruction you should be using. It would more commonly be used when the operands are signe
Thread view
Attachments: 0
2009-05-21 by Tim Mitchell
----Original Message---- From: AVR-Chat@yahoogroups.com [mailto:AVR-Chat@yahoogroups.com] On Behalf Of Jim Hatley Sent: 20 May 2009 19:42 To: AVR-Chat@yahoogroups.com Subject: Re: [AVR-Chat] Making music with AVR??? > Here is another for you to check out, ROHM BU8793KN . > Thanks
Thread view
Attachments: 0
2009-05-20 by Brian
I made a yahoo group at http://groups.yahoo.com/group/Central_US_Electronics/ until I get a custome website built. If you are close to IL and willing to travel for meets sign up! You dont have to make every get-together. I don't want this to be a general electronics group, there
Thread view
Attachments: 0
2009-05-20 by Jim Hatley
Here is another for you to check out, ROHM BU8793KN . Jim ----- Original Message ----- From: Tim Mitchell To: AVR-Chat@yahoogroups.com Sent: Wednesday, May 20, 2009 1:52 AM Subject: RE: [AVR-Chat] Making music with AVR??? Hi folks, thanks for all the musical suggestions. I had co
Thread view
Attachments: 0
2009-05-20 by David VanHorn
On Wed, May 20, 2009 at 11:51 AM, Don Kinzer wrote: > --- In AVR-Chat@yahoogroups.com, David VanHorn wrote: >> Is there some site where we could organize meetups? > You might try http://www.meetup.com. I've found several useful meetups in the Portland, OR area using it. I suspect
Thread view
Attachments: 0
2009-05-20 by David VanHorn
I'm in Pittsburgh PA, USA This could get a little crazy in email.. I'd set up a poll, but I think that would be huge. Is there some site where we could organize meetups? -- There is no computer problem which cannot be solved by proper application of a sufficiently large hammer.
Thread view
Attachments: 0
2009-05-20 by Don Kinzer
--- In AVR-Chat@yahoogroups.com, David VanHorn wrote: > Is there some site where we could organize meetups? You might try http://www.meetup.com. I've found several useful meetups in the Portland, OR area using it. I suspect that they have coverage for the major U.S. cities but I
Thread view
Attachments: 0
2009-05-20 by Gary J. Melvin
I'm 25 miles SW of Rockford. Where are you, Brian? Gary. Brian wrote: > > > Is anybody in this group in the US close to IL? Looking for people to > join our small group, not a group on the net but maybe someone we can > meet with and make friends and chat with localy. Maybe meet
Thread view
Attachments: 0
2009-05-20 by Tim Mitchell
Hi folks, thanks for all the musical suggestions. I had completely missed the Atmel midi devices which look just the ticket, if I can actually get hold of any. -- Tim Mitchell
Thread view
Attachments: 0
2009-05-20 by s.holder123@btinternet.com
Seems like a good idea, pity i am in uk :) anyone the uk interested in something similar ? Regards --- In AVR-Chat@yahoogroups.com, "Brian" wrote: > > Is anybody in this group in the US close to IL? Looking for people to join our small group, not a group on the net but maybe some
Thread view
Attachments: 0
2009-05-20 by Zack Widup
I live in Urbana IL. Zack On Tue, May 19, 2009 at 9:54 PM, Brian wrote: > > > Is anybody in this group in the US close to IL? Looking for people to join > our small group, not a group on the net but maybe someone we can meet with > and make friends and chat with localy. Maybe mee
Thread view
Attachments: 0
2009-05-20 by Ranjit Puri
This is on Freescale HCS12 http://www.youtube.com/watch?v=BWQVCscbBvc Source (C++) and a rather elaborate report at http://users.ece.utexas.edu/~rpuri/OptoPhone.zip Donno if you'd find something useful here ... hope you do. Ranjit On Tue, May 19, 2009 at 6:16 PM, Julian Higginson
Thread view
Attachments: 0
2009-05-20 by Brian
Is anybody in this group in the US close to IL? Looking for people to join our small group, not a group on the net but maybe someone we can meet with and make friends and chat with localy. Maybe meet once in a while, once a month or once every 3 months and share ideas and project
Thread view
Attachments: 0
2009-05-19 by Julian Higginson
I seem to remember there is an avr synth project out there somewhere. It implements a basic subtractive synth in firmware... I think it's just a monosynth though. Aaaah - here you go: http://www.elby-designs.com/avrsynth/avrsyn-about.htm I don't know how you'd go with polyphony,
Thread view
Attachments: 0
2009-05-19 by Richard Austin
AY-3-8910, I remember those. Came across an old board I made up with four of those on, play Mozart musical dice. Regarding chips, Atmel do some. Midi ones. Chuck midi at it and out comes stereo. There are loads of midi files around, so should be just a case of sending the file to
Thread view
Attachments: 0
2009-05-19 by Tim Mitchell
I've been asked to make a device which will produce sounds, notes and music. This is an add on to a unit controlled by a mega128. We've previously made something for this customer which plays back WAV samples off a compact flash card, but this time they would like something more
Thread view
Attachments: 0
2009-05-19 by Tim Mitchell
----Original Message---- From: AVR-Chat@yahoogroups.com [mailto:AVR-Chat@yahoogroups.com] On Behalf Of John Samperi Sent: 18 May 2009 23:44 To: AVR-Chat@yahoogroups.com Subject: RE: [AVR-Chat] Mega8 starting at wrong osc speed > At 06:34 PM 18/05/2009, you wrote: > > I do not hav
Thread view
Attachments: 0
2009-05-19 by Brian
Im not strong in SPI but is there sufficent delay in the spi.h to allow data transfer before you set the slave select high? Try adding a 30 ms delay after the adc mesurement and before setting the slave select to high. this should give enough time for slave 1 to recieve the data
Thread view
Attachments: 0
2009-05-18 by John Samperi
At 06:34 PM 18/05/2009, you wrote: >I do not have a cap on the reset line. Coming from 8051 designs, So how did the 8051 get the correct reset? A 8051 diagram in front of me uses a 1uF to VCC and a 22K to ground, (reverse logic of the AVR) also I believe that some 8051 had someth
Thread view
Attachments: 0
2009-05-18 by John Samperi
At 10:24 PM 18/05/2009, you wrote: >I must disconnect and connect the power supply in a very short time What does the hardware look like? Do you have a good reset circuit or use the BOD? Regards John Samperi ******************************************************** Ampertronics Pt
Thread view
Attachments: 0
2009-05-18 by alex levenie
hi everybody,i hope you all be fine my circuit is a digital thermometer using two lm35(sensor), atmega8(master), two atmega 32(slaves) the master must read two sensors output voltage and send each one to different slave , the slaves must show the tempreture according to correspon
Thread view
Attachments: 0
2009-05-18 by Tim Mitchell
----Original Message---- From: AVR-Chat@yahoogroups.com [mailto:AVR-Chat@yahoogroups.com] On Behalf Of John Samperi Sent: 16 May 2009 00:05 To: AVR-Chat@yahoogroups.com Subject: Re: [AVR-Chat] Mega8 starting at wrong osc speed > At 09:31 PM 15/05/2009, you wrote: > > This suggest
Thread view
Attachments: 0
2009-05-18 by Brian
Have you found a solution yet? The data sheet says that internal osc other than the default requires a startup delay if BOD is not used (page 28). This problem could be a lessons learned for the rest of us. If someone else notices this they will know what to do. Brian --- In AVR-
Thread view
Attachments: 0