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.rar
but 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 !
18  Forum 2005-2010 (read only) / Frequently-Asked Questions / Re: arduino bluetooth on: January 15, 2007, 12:39:27 am
Hi ! pascal
you can diy a arduino bluetooth by your self , use a arduino broad and a BT module, we already do 4 BT broads . they work fine! there are some info about this in http://www.arduino.cc/playground/Learning/Tutorial01
19  Forum 2005-2010 (read only) / Frequently-Asked Questions / Re: About "Nested interrupts" on: January 16, 2007, 09:37:00 pm
Thank you for your help mellis!
You are right , just little people need  nested interrupts  :'(
I'll try to modify the Arduino core !

You have already do a perfect preject !  Arduino make programing MUC very easy !!!!
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:
Quote
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!
21  Forum 2005-2010 (read only) / Frequently-Asked Questions / About "Nested interrupts" on: January 15, 2007, 12:30:54 am
I'm very happy to see  arduino 7 , it adds many cool things. now we have interrupts, and is there a way for us to do a Nested interrupts ? thank you!
22  Forum 2005-2010 (read only) / Frequently-Asked Questions / Re: Atmega8(L) - Arduino 3V Version on: May 19, 2006, 07:03:14 pm
beltran : No, I need both 5V and 3V , I add LM317 after 7805 [ch65292] and it give 3V power to one IC in my board which need 3V.  I can't get the  circuit now ( I'm in school , the  draft of circuit is at home) , I will post it next time.

and you can see this circuit in my flickr , is a very easy way to get Atmega8 work in 3.3V:
http://www.flickr.com/photos/fallens/120708373/
23  Forum 2005-2010 (read only) / Frequently-Asked Questions / Re: Atmega8(L) - Arduino 3V Version on: May 18, 2006, 07:21:55 pm
Hi gll!

The IC called "7805" in the board make a 5V voltage for Arduino , in one of my projects , I need work with 3V , so I add a IC called "LM317" to provide 3V from 5V [ch65292]the data of LM317 : http://www.fairchildsemi.com/ds/LM/LM317.pdf

hope it is helpful
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!
25  Forum 2005-2010 (read only) / Frequently-Asked Questions / Re: where to add the hardware&arduino in wiki on: June 06, 2006, 10:17:11 am
Sorry beltran,

these days I can't be online, so I can't see you reply. I just see it today .

After end my school work , I will try to add some projects we make about Interfacing-hardware to the wiki
26  Forum 2005-2010 (read only) / Frequently-Asked Questions / where to add the hardware&arduino in wiki on: May 22, 2006, 08:09:15 pm
Hi ! I want to add something about "Bluetooth Arduino" , "Ethernet Arduino" and "infrared  Arduino" to wiki , but I only see some section about software & arduino (flash+arduino;vvvv+arduino.......)  ,  where to add hardware + arduino in wiki ?

thank you !
27  Forum 2005-2010 (read only) / Frequently-Asked Questions / Re: Dose the bootloader of Arduino like the wiring on: May 25, 2006, 03:47:38 am
thank you mellis !
I had post the question on the forum of wiring , but still on reply ,
the thing I only can do is waiting smiley-sad
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 !
29  Forum 2005-2010 (read only) / Frequently-Asked Questions / Re: Powering Arduino by Battery? on: May 22, 2006, 07:23:31 pm
I think all kinds of batterys of phone or li batterys are OK , it is no expensive in China , about $8
30  Forum 2005-2010 (read only) / Frequently-Asked Questions / Re: Powering Arduino by Battery? on: May 22, 2006, 08:06:58 am
Hi mitcho ! just like this one : http://www.mob-hiway.com/product/205.html  
it is the battery of  my phone : k508
Pages: 1 [2] 3 4