Show Posts
Pages: [1] 2
1  Using Arduino / Microcontrollers / Re: bootloader for nano v3 on: November 22, 2012, 07:10:52 am
Solved.
There is one in bootloader folder. Just not marked as "P" , but works well.
2  Using Arduino / Microcontrollers / Re: bootloader for nano v3 on: November 22, 2012, 03:13:15 am
Guys, where do I find bootloader file for nano  ?
I want to use with stand alone programmer.
3  Using Arduino / Microcontrollers / Re: bootloader for nano v3 on: November 15, 2012, 11:38:52 am
I dont know it is possible....

No X3 header on nano. USB chip so small , I cant imagine soldering wires directly to it.   smiley-mad

EDIT:

Or should I use my TTL converter instead ?  Then I need to find converter pinout...

Nope - converter has only Tx Rx on output  pins. Chip same size as on Arduino itself , so no soldering for me.
4  Using Arduino / Microcontrollers / Re: bootloader for nano v3 on: November 15, 2012, 11:11:41 am
Win7 here . 
Now lets start reading.
5  Using Arduino / Microcontrollers / Re: bootloader for nano v3 on: November 15, 2012, 11:00:09 am
Thanks again
Stupid question , but i will try : any chance I can use USB-TTL converter for that job ? Its somewhere in my boxes...
6  Using Arduino / Microcontrollers / Re: bootloader for nano v3 on: November 15, 2012, 10:49:59 am
Thanks for answer . Unluckily I do not have a programmer or spare Arduino  smiley-sad

Can you explain how pocket programmer works  ? It comes with some cables or connector to connect to Arduino  ?
7  Using Arduino / Microcontrollers / bootloader for nano v3 on: November 15, 2012, 10:33:08 am
Can I somehow burn bootloader to my repaired nano using laptop and some cable via ICSP?
Seems like new atmega havent got  any bootloader on board.
8  Using Arduino / Programming Questions / Re: Controlling PWM pin on: October 15, 2012, 10:53:32 am
Thanks for thorough explanation.

Cheers
9  Using Arduino / Programming Questions / Controlling PWM pin on: October 15, 2012, 09:32:55 am
I have hooked up LED driver to one of PWM pins. It is for night time moon light.
How I cut off light at day ?

   analogWrite  (moon, 0 );
 or
   digitalWrite  (moon,LOW );
or ...
 

Thanks
10  Using Arduino / Installation & Troubleshooting / Re: How to upload while externaly powered ? on: September 28, 2012, 10:50:37 am
Hi . Thanks for input. That all makes sense now.

Quote
Where did you get that misunderstanding?

Hehehe. That my own invention smiley

I have hoked relays on 1 and 2 pins(was out of free pins).  Probably that's why my arduino quits whenever I plug USB in to it.  
11  Using Arduino / Installation & Troubleshooting / How to upload while externaly powered ? on: September 28, 2012, 07:17:23 am
My Duemilanove is hardwired in to aquarium controler. How can I upload sketches and not disconect all controller from power . I understand as there is conflict(or  whatever bad thing) between 12VDC and 5v from usb coming from my laptop.

 Thanks
12  Using Arduino / Programming Questions / Re: Please help with aquarium lights - one more question on: August 12, 2011, 01:36:59 pm
Yes that worked.   Thanks all for help.

Case closed


 smiley-cool
13  Using Arduino / Programming Questions / Re: Please help with aquarium lights - one more question on: August 12, 2011, 10:23:06 am
Code:
int bluepercent[] =  { 13, 26, 52, 78, 103, 128, 154, 180, 205, 230, 255, 255, 255, 255, 255, 255 };
int whitepercent[]=  { 0,  0,  0,  6,  13,  26,  52,  78, 103, 128, 154, 180, 205, 230, 255, 255 };

int abc(sizeof(bluepercent)/sizeof(bluepercent[0]));


 
    
      int i;
      for (int i = 0; i < abc; i++)
{
  analogWrite(blue, bluepercent[i]);
  analogWrite(white, whitepercent[i]);

       lcd.setCursor(13, 1);  // for blue LEDs
       lcd.print (bluepercent/255*100 );                  // this line      
      
      
       lcd.setCursor(18, 1);  // for white LEDs
       lcd.print( whitepercent/255*100 );                   // this linee too
}


both lines get -" error: invalid operands of types 'int [16]' and 'int' to binary 'operator/'"


EDIT:  would it work  better this way  ?  Im not sure if I understand what "i"  stands for :
Code:
 lcd.print( whitepercent [i] /255*100 );
   

14  Using Arduino / Programming Questions / Re: Please help with aquarium lights - one more question on: August 12, 2011, 01:33:07 am
I try to use "bluepercent" and "whitepercent" variables for calculation, but only  get bunch of errors. I understood this is not allowed to use it directly ?
15  Using Arduino / Programming Questions / Re: Please help with aquarium lights. on: August 11, 2011, 03:26:51 am
Thanks guys,

Now trying to implement . Got bunch of errors, need to deal with them. Can take time for expert like me  smiley-red



OK finally fighted all troubles. And you know what - ALL WORKS BRILLIANTLY. Exactly as I wished - big thanks . My brain is boiling, but was worth.

Now would you please assist me integrating light output printing to LCD? Before simply (i) value was printed 1 to 10, as white and blue proceses were separate and had 10 steps each. Now doing same is rather non informative. It would be nicer to display bluepercent and whitepercent  values in as %  (0   to 99 as only two digit space available).
  Now my sketch looks like this:

Code:
int bluepercent[] =  { 13, 26, 52, 78, 103, 128, 154, 180, 205, 230, 255, 255, 255, 255, 255, 255 };
int whitepercent[]=  { 0,  0,  0,  6,  13,  26,  52,  78, 103, 128, 154, 180, 205, 230, 255, 255 };

int abc(sizeof(bluepercent)/sizeof(bluepercent[0]));


 if (daybyminute >= (ontime*60))
   { if (daybyminute < ((ontime*60) + ramptime))            //if time is in range start fading in
    {
     
      int i;
      for (int i = 0; i < abc; i++)
{
  analogWrite(blue, bluepercent[i]);
  analogWrite(white, whitepercent[i]);

       lcd.setCursor(13, 1);  // for blue LEDs
       lcd.print( here is my problem );                        
       
       
       lcd.setCursor(18, 1);  // for white LEDs
       lcd.print( and here );
       

       int countdown = ((rampup*60)/abc);
       while (countdown>0)
        {
          onesecond();
          countdown--;
        }
       }
     }
    }   




Do you have any ideas ?
Pages: [1] 2