Show Posts
|
|
Pages: 1 [2] 3 4
|
|
16
|
Forum 2005-2010 (read only) / Frequently-Asked Questions / Re: graphical lcd (nokia 3310)
|
on: March 31, 2006, 07:59:14 am
|
Hi ! leKuk I think you can try : http://www.flickr.com/photos/fallens/120708373/we can make it work use this schematic , but I can't make sure that Arduino can work at 3.3v if we change 7805 to others. I hope this is helpful ! and the code of massimo : // Mega8 port B pinout for LCD. int LCD_DC_PIN = 1; // PB0 int LCD_CE_PIN = 2; // PB2 int SPI_MOSI_PIN = 3; // PB3 int LCD_RST_PIN = 4; // PB4 int SPI_CLK_PIN = 5; // PB5 I think you should not to use pin1 , and if as "PB0 PB2 PB3 PB4 PB5 " in Arduino is " pin8 pin10 pin11 pin12 pin13(with the LED in Arduino,don't use)" but I don't think it's the problom , just we use PB to make it work that time , and have not try at other pin yet.
|
|
|
|
|
17
|
Forum 2005-2010 (read only) / Frequently-Asked Questions / Re: serial on different pins than 0 or 1
|
on: May 18, 2006, 07:11:58 pm
|
Hi ! mellis , I also very want the software serial too, can I use the codes you gived together ? (I means full duplex) and about the hardware timers , I know a timer IC called :"555" , and there is a software(English) help people to use it , you can download : http://fallen11.googlepages.com/555timer_install.rarbut I don't have experience to programme a software serial use this IC , if you have some codes or examples about let Arduino work with it , please help us , thank you !
|
|
|
|
|
20
|
Forum 2005-2010 (read only) / Frequently-Asked Questions / Re: About "Nested interrupts"
|
on: January 16, 2007, 02:43:03 am
|
Hi! kg4wsv About Nested interrupts, there are some words in avr-lib: Nested interrupts The AVR hardware clears the global interrupt flag in SREG before entering an interrupt vector. Thus, normally interrupts will remain disabled inside the handler until the handler exits, where the RETI instruction (that is emitted by the compiler as part of the normal function epilogue for an interrupt handler) will eventually re-enable further interrupts. For that reason, interrupt handlers normally do not nest. For most interrupt handlers, this is the desired behaviour, for some it is even required in order to prevent infinitely recursive interrupts (like UART interrupts, or level-triggered external interrupts). In rare circumstances though it might be desired to re-enable the global interrupt flag as early as possible in the interrupt handler, in order to not defer any other interrupt more than absolutely needed. This could be done using an sei() instruction right at the beginning of the interrupt handler, but this still leaves few instructions inside the compiler-generated function prologue to run with global interrupts disabled. The compiler can be instructed to insert an SEI instruction right at the beginning of an interrupt handler by declaring the handler the following way: void XXX_vect(void) __attribute__((interrupt)); void XXX_vect(void) { ... } where XXX_vect is the name of a valid interrupt vector for the MCU type in question, as explained below. Now I can use "sei()" at the beginning of ISR in Arduino to have a Nested interrupts , but I want "The compiler can be instructed to insert an SEI instruction right at the beginning of an interrupt handler ". I have some old M16 project use Nested interrupts , I want to move them to Arduino. At the eary time we can use "INTERRUPT(SIG_INTERRUPT)" for a Nested interrupts , "SIGNAL(SIG_INTERRUPT2)" for a no Nested interrupts , but in new avr-lib , there is only "ISR" , can Arduino give us some way to use the code like the old "INTERRUPT(SIG_INTERRUPT)" for a Nested interrupts? Thank you!
|
|
|
|
|
24
|
Forum 2005-2010 (read only) / Frequently-Asked Questions / Is there anybody using AVRprog ?
|
on: July 07, 2006, 12:33:17 pm
|
|
I just make a AVRISP , but it noly work with AVRprog, this is my first time to use AVRprog , so I have some question , Is there anybody using AVRprog ? please help me , thank you !
1, in "Device" , there are "ATmega 8" and "ATmega 8 boot" what's differince between them? and I want to write a bootloader to the MCU , which device should I choose?
2 , I can't find "CKOPT fuse" in "AVRprog" , is it call another name? "Full amplitude" ?
3 , Can I use "Ext. XTAL High Freq" instead of "Ext. Crystal/resonator High Freq" ?
thank you!
|
|
|
|
|
28
|
Forum 2005-2010 (read only) / Frequently-Asked Questions / Dose the bootloader of Arduino like the wiring?
|
on: May 24, 2006, 07:49:18 pm
|
|
I have make a wiring board by hand , and get the bootloader of wiring , but I have any idea about how to burn it to m128, because wiring is not as open as Arduino , I can't get a guide in wiring , so I hope someone can help me , here
the hex is about 6k , and I use a Parallel Port Programmer [ch65306]http://www.arduino.cc/en/Main/ParallelProgrammer if need , I will buy a AVRISP. can any one tell me about the fuse settings ? or a cmd like this :" uisp -dpart=ATmega128 -dprog=dapa -dlpt=0x378 --wr_fuse_l=0xff --wr_fuse_h=0xda --wr_fuse_e=0xff "
thank you !
|
|
|
|
|