Show Posts
Pages: 1 [2] 3 4 ... 9
16  Using Arduino / LEDs and Multiplexing / Re: Looking for advice on driving 3w and 1w LED's on: November 09, 2012, 12:44:15 pm
I would not bother about the length it is short enough.
Mind you it will radiate like stink but then you are not going for FCC approval are you.
I hadn't thought of that...  like a giant antenna...  hrm...  any ideas on preventing that?
17  Using Arduino / LEDs and Multiplexing / Re: Looking for advice on driving 3w and 1w LED's on: November 07, 2012, 07:51:16 am
Oh another thought on these red and green LED's... The actual LED's will be each on about 1.2 meters of 22 AWG wire, which means in series from + to - there is a travel of about 4.8 meters of 22AWG wire, I wonder what that does to resistance and capacitance, and if it is enough to merit bumping up the total constant current sink to overcome the loss, plus it will all be on PWM so technically it should be able to be a bit higher because of that too, any thoughts?
18  Using Arduino / LEDs and Multiplexing / Re: Looking for advice on driving 3w and 1w LED's on: November 07, 2012, 07:46:17 am
Actually the primary system battery is roughly 15v, that would be a lot of wasted heat to linearly lose in voltage drop!  So instead I am going to power the lighting system with a switching regulator that can provide 4A at about 5.2v.  Series would be preferred but the voltage isn't quite enough, I don't know if the UBEC's I have coming are switchable to 6v, if it is I will just run those two in series, there is a .5v drop on the current sink too to keep thought of, that puts the theoretical need at 6.5v, however the green LED is spec'd down to 3.4v, so 3.4v + 2.2v + 0.5v = 6.1, and if the UBEC has 6v selector realistic output will be 6.2, I actually have another 7A UBEC that puts out 6.2, I might just use that one.
19  Using Arduino / LEDs and Multiplexing / Re: Looking for advice on driving 3w and 1w LED's on: November 07, 2012, 07:16:59 am
I have been thinking about all of these factors and I know that any sort of linear DC-DC is going to dissipate a LOT of wasted heat and considering the plane  is made of foam excess heat is not preferred smiley.

At least you won't have a problem with airflow...  smiley

Actually no I won't ROFL,  I just did a mounting test as pictured below, zip-ties go through a flattened copper tube to hold the LED star on which makes direct contact with the copper, this is in turn zip-tied to a wooden dowel, which is hot-glued to a piece of foam.  Now the LED star stabalizes at 160F when running at full blast (350ma), the back end of the copper as shown get's up to about 140F, and between the wooden dowel and the foam 111F, where the hot glue is doesn't even get above ambient, so I think all is fine.


But my question remains from above, can I drive both a red (2.2v FV), and a green (3.8v FV) which both have 350ma operating capacity from a 700ma constant current sink and have them equally split the current (5v source), or will I need a resistor on the red to keep it from sucking up more current then green?
20  Using Arduino / LEDs and Multiplexing / Re: Looking for advice on driving 3w and 1w LED's on: November 07, 2012, 06:19:28 am
Ok sofar I am working with the CAT4101 1A constant current sink, for my white LEDs I set the current to 700ma and it runs quite well and use arduino to handle PWM just fine.  Now since my design is using a 5v rail and all of these LED's I am using have FV of roughly 3.5 to 3.8v the driver doesn't have to waste much energy on voltage drop so it stays cool, and the led's get warm of course but not unmanageably so.   Now what I am considering to reduce component count is to power 2 1 watt LED's in parallel off of one CAT4101, they both can do 350ma so the driver set to 700ma should have no problems handling both in parallel, however since the red LED has a FV of 2.2v and not 3.8 like green, will this cause a current split difference between red and green, and if so how much and how can I calculate that and correct for it?
21  Using Arduino / General Electronics / Re: Questions about toner transfer paper and etching... on: November 03, 2012, 02:41:00 pm
Oh, and print off multiple copies.

If you don't, the one copy you have won't transfer right and you'll wish you had another copy.

If you do, then guaranteed, the first attempt will work perfectly smiley-wink

There's a guy called Murphy (who's a sod) that knows all about that smiley-razz
Indeed!  I know Murphy well hehe.  Since my transfer paper is A4 I will print 2 or 3 on one piece. 

I think my first etch will be an LED driver for some high powered LED's, a nice simple project to start with for etching, is there a resource that I could look at that will tell me how much current 1 oz copper clad will handle at certain trace thicknesses?
22  Using Arduino / General Electronics / Questions about toner transfer paper and etching... on: November 03, 2012, 02:20:46 pm
A silly question about toner transfer paper... should it be transferred as fast as possible once printed, or is it OK to print it say hours before actually transferring to the copper?  Reason I ask is my laser printer is at work, so am I going to be OK printing the toner at work and waiting until I get home to use it? 

Thanks!
23  Using Arduino / Microcontrollers / Re: Programming 2560 with ArduinoISP? on: November 02, 2012, 02:32:32 pm
Yes only 1600 bytes, I am using the arduinoISP linked above...
24  Using Arduino / Microcontrollers / Re: Programming 2560 with ArduinoISP? on: November 02, 2012, 02:08:30 pm
Quote
quite odd, picked up odd voltages too off the pins, from like .5v, or 1.25v
That sounds like you didn't set the pins as outputs, or you are looking at the wrong pins.

Post your sketch, and check this for analog/digitlal name to physical pin mapping
http://arduino.cc/en/Hacking/PinMapping2560
Yeah that is the pin mapping I am following...  I will check on it tonight, use my DSO Nano to figure out what's going on.

Could it simply be that the Arduino UNO as an ISP just isn't programming it properly?  I know I read something about 128k flash limit or something...
25  Using Arduino / Microcontrollers / Re: Programming 2560 with ArduinoISP? on: November 02, 2012, 12:42:43 pm

Does this version of AruinoISP make any difference...
http://arduino.cc/forum/index.php/topic,108797.msg824488.html#msg824488

IT does seem to upload a sketch now but it seems the sketch isn't running... I tried blink sketch on a few different digital pins and nothing is happening... quite odd, picked up odd voltages too off the pins, from like .5v, or 1.25v, doesn't make any sense!  And I am tripple checking my connections...
26  Using Arduino / Microcontrollers / Re: Programming 2560 with ArduinoISP? on: October 31, 2012, 02:40:47 pm

Does this version of AruinoISP make any difference...
http://arduino.cc/forum/index.php/topic,108797.msg824488.html#msg824488

I will try it when I get home!  At work now.
27  Using Arduino / Microcontrollers / Re: Programming 2560 with ArduinoISP? on: October 31, 2012, 01:39:42 pm
Yes uploading using ISP.
28  Using Arduino / Microcontrollers / Re: Programming 2560 with ArduinoISP? on: October 31, 2012, 12:43:18 pm
Ok I double checked my wiring and indeed I had the wiring wrong!  I wired it correctly and this time I get a proper device sig, and was able to set fuse bits for 16MHz crystal... however now when I try to upload a sketch:

Code:
avrdude: Version 5.11, compiled on Sep  7 2011 at 19:34:16
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
         Copyright (c) 2007-2009 Joerg Wunsch

         System wide configuration file is "/usr/share/arduino/hardware/tools/avrdude.conf"
         User configuration file is "/home/matcat/.avrduderc"
         User configuration file does not exist or is not a regular file, skipping

         Using Port                    : /dev/ttyACM0
         Using Programmer              : stk500v1
         Overriding Baud Rate          : 19200
avrdude: Send: 0 [30]   [20]
avrdude: Send: 0 [30]   [20]
avrdude: Send: 0 [30]   [20]
avrdude: Recv: . [14]
avrdude: Recv: . [10]
         AVR Part                      : ATMEGA2560
         Chip Erase delay              : 9000 us
         PAGEL                         : PD7
         BS2                           : PA0
         RESET disposition             : dedicated
         RETRY pulse                   : SCK
         serial program mode           : yes
         parallel program mode         : yes
         Timeout                       : 200
         StabDelay                     : 100
         CmdexeDelay                   : 25
         SyncLoops                     : 32
         ByteDelay                     : 0
         PollIndex                     : 3
         PollValue                     : 0x53
         Memory Detail                 :

                                  Block Poll               Page                       Polled
           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
           eeprom        65    10     8    0 no       4096    8      0  9000  9000 0x00 0x00
                                  Block Poll               Page                       Polled
           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
           flash         65    10   256    0 yes    262144  256   1024  4500  4500 0x00 0x00
                                  Block Poll               Page                       Polled
           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
           lfuse          0     0     0    0 no          1    0      0  9000  9000 0x00 0x00
                                  Block Poll               Page                       Polled
           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
           hfuse          0     0     0    0 no          1    0      0  9000  9000 0x00 0x00
                                  Block Poll               Page                       Polled
           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
           efuse          0     0     0    0 no          1    0      0  9000  9000 0x00 0x00
                                  Block Poll               Page                       Polled
           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
           lock           0     0     0    0 no          1    0      0  9000  9000 0x00 0x00
                                  Block Poll               Page                       Polled
           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
           calibration    0     0     0    0 no          1    0      0     0     0 0x00 0x00
                                  Block Poll               Page                       Polled
           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
           signature      0     0     0    0 no          3    0      0     0     0 0x00 0x00

         Programmer Type : STK500
         Description     : Atmel STK500 Version 1.x firmware
avrdude: Send: A [41] . [80]   [20]
avrdude: Recv: . [14]
avrdude: Recv: . [02]
avrdude: Recv: . [10]
avrdude: Send: A [41] . [81]   [20]
avrdude: Recv: . [14]
avrdude: Recv: . [01]
avrdude: Recv: . [10]
avrdude: Send: A [41] . [82]   [20]
avrdude: Recv: . [14]
avrdude: Recv: . [12]
avrdude: Recv: . [10]
avrdude: Send: A [41] . [98]   [20]
avrdude: Recv: . [14]
avrdude: Recv: . [00]
avrdude: Recv: . [10]
         Hardware Version: 2
         Firmware Version: 1.18
         Topcard         : Unknown
avrdude: Send: A [41] . [84]   [20]
avrdude: Recv: . [14]
avrdude: Recv: . [00]
avrdude: Recv: . [10]
avrdude: Send: A [41] . [85]   [20]
avrdude: Recv: . [14]
avrdude: Recv: . [00]
avrdude: Recv: . [10]
avrdude: Send: A [41] . [86]   [20]
avrdude: Recv: . [14]
avrdude: Recv: . [00]
avrdude: Recv: . [10]
avrdude: Send: A [41] . [87]   [20]
avrdude: Recv: . [14]
avrdude: Recv: . [00]
avrdude: Recv: . [10]
avrdude: Send: A [41] . [89]   [20]
avrdude: Recv: . [14]
avrdude: Recv: . [00]
avrdude: Recv: . [10]
         Vtarget         : 0.0 V
         Varef           : 0.0 V
         Oscillator      : Off
         SCK period      : 0.1 us

avrdude: Send: A [41] . [81]   [20]
avrdude: Recv: . [14]
avrdude: Recv: . [01]
avrdude: Recv: . [10]
avrdude: Send: A [41] . [82]   [20]
avrdude: Recv: . [14]
avrdude: Recv: . [12]
avrdude: Recv: . [10]
avrdude: Send: B [42] . [00] . [00] . [00] . [01] . [01] . [01] . [01] . [03] . [00] . [00] . [00] . [00] . [01] . [00] . [10] . [00] . [00] . [04] . [00] . [00]   [20]
avrdude: Recv: . [14]
avrdude: Recv: . [10]
avrdude: Send: E [45] . [05] . [08] . [d7] . [a0] . [00]   [20]
avrdude: Recv: . [14]
avrdude: Recv: . [10]
avrdude: Send: P [50]   [20]
avrdude: Recv: . [14]
avrdude: Recv: . [10]
avrdude: AVR device initialized and ready to accept instructions

Reading | avrdude: Send: V [56] 0 [30] . [00] . [00] . [00]   [20]
avrdude: Recv: . [14]
avrdude: Recv: . [1e]
avrdude: Recv: . [10]
avrdude: Send: V [56] 0 [30] . [00] . [01] . [00]   [20]
avrdude: Recv: . [14]
avrdude: Recv: . [98]
avrdude: Recv: . [10]
################avrdude: Send: V [56] 0 [30] . [00] . [02] . [00]   [20]
avrdude: Recv: . [14]
avrdude: Recv: . [01]
avrdude: Recv: . [10]
################################## | 100% 0.03s

avrdude: Device signature = 0x1e9801
avrdude: NOTE: FLASH memory has been specified, an erase cycle will be performed
         To disable this feature, specify the -D option.
avrdude: Send: V [56] . [a0] . [0f] . [fc] . [00]   [20]
avrdude: Recv: . [14]
avrdude: Recv: . [ff]
avrdude: Recv: . [10]
avrdude: Send: V [56] . [a0] . [0f] . [fd] . [00]   [20]
avrdude: Recv: . [14]
avrdude: Recv: . [ff]
avrdude: Recv: . [10]
avrdude: Send: V [56] . [a0] . [0f] . [fe] . [00]   [20]
avrdude: Recv: . [14]
avrdude: Recv: . [ff]
avrdude: Recv: . [10]
avrdude: Send: V [56] . [a0] . [0f] . [ff] . [00]   [20]
avrdude: Recv: . [14]
avrdude: Recv: . [ff]
avrdude: Recv: . [10]
avrdude: erasing chip
avrdude: Send: V [56] . [ac] . [80] . [00] . [00]   [20]
avrdude: Recv: . [14]
avrdude: Recv: . [00]
avrdude: Recv: . [10]
avrdude: Send: A [41] . [81]   [20]
avrdude: Recv: . [14]
avrdude: Recv: . [01]
avrdude: Recv: . [10]
avrdude: Send: A [41] . [82]   [20]
avrdude: Recv: . [14]
avrdude: Recv: . [12]
avrdude: Recv: . [10]
avrdude: Send: B [42] . [00] . [00] . [00] . [01] . [01] . [01] . [01] . [03] . [00] . [00] . [00] . [00] . [01] . [00] . [10] . [00] . [00] . [04] . [00] . [00]   [20]
avrdude: Recv: . [14]
avrdude: Recv: . [10]
avrdude: Send: E [45] . [05] . [08] . [d7] . [a0] . [00]   [20]
avrdude: Recv: . [14]
avrdude: Recv: . [10]
avrdude: Send: P [50]   [20]
avrdude: Recv: . [14]
avrdude: Recv: . [10]
avrdude: reading input file "/tmp/build3473976189903959033.tmp/Blink.cpp.hex"
avrdude: writing flash (1632 bytes):

Writing | avrdude: Send: U [55] . [00] . [00]   [20]
avrdude: Recv: . [14]
avrdude: Recv: . [10]
avrdude: Send: d [64] . [01] . (Cut this line off so msg would fit)
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
29  Using Arduino / Microcontrollers / Re: Programming 2560 with ArduinoISP? on: October 31, 2012, 12:22:21 pm
I see... assuming wiring is correct... Will having the crystal and caps on breadboard connected with jumpers be a problem with capacitance possibly?
30  Using Arduino / Microcontrollers / Programming 2560 with ArduinoISP? on: October 31, 2012, 05:37:45 am
I got a TQFP breakout board, soldered up a 2560 to it and all the headers.  I tried to setup basically a breadboard 2560.  Now the problem I am running into is the following whenever I try to do anything, what am I missing?  Thanks!

Code:
avrdude: Version 5.11, compiled on Sep  7 2011 at 19:34:16
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
         Copyright (c) 2007-2009 Joerg Wunsch

         System wide configuration file is "/usr/share/arduino/hardware/tools/avrdude.conf"
         User configuration file is "/home/matcat/.avrduderc"
         User configuration file does not exist or is not a regular file, skipping

         Using Port                    : /dev/ttyACM0
         Using Programmer              : stk500v1
         Overriding Baud Rate          : 19200
avrdude: Send: 0 [30]   [20]
avrdude: Send: 0 [30]   [20]
avrdude: Send: 0 [30]   [20]
avrdude: Recv: . [14]
avrdude: Recv: . [10]
         AVR Part                      : ATMEGA2560
         Chip Erase delay              : 9000 us
         PAGEL                         : PD7
         BS2                           : PA0
         RESET disposition             : dedicated
         RETRY pulse                   : SCK
         serial program mode           : yes
         parallel program mode         : yes
         Timeout                       : 200
         StabDelay                     : 100
         CmdexeDelay                   : 25
         SyncLoops                     : 32
         ByteDelay                     : 0
         PollIndex                     : 3
         PollValue                     : 0x53
         Memory Detail                 :

                                  Block Poll               Page                       Polled
           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
           eeprom        65    10     8    0 no       4096    8      0  9000  9000 0x00 0x00
                                  Block Poll               Page                       Polled
           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
           flash         65    10   256    0 yes    262144  256   1024  4500  4500 0x00 0x00
                                  Block Poll               Page                       Polled
           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
           lfuse          0     0     0    0 no          1    0      0  9000  9000 0x00 0x00
                                  Block Poll               Page                       Polled
           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
           hfuse          0     0     0    0 no          1    0      0  9000  9000 0x00 0x00
                                  Block Poll               Page                       Polled
           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
           efuse          0     0     0    0 no          1    0      0  9000  9000 0x00 0x00
                                  Block Poll               Page                       Polled
           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
           lock           0     0     0    0 no          1    0      0  9000  9000 0x00 0x00
                                  Block Poll               Page                       Polled
           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
           calibration    0     0     0    0 no          1    0      0     0     0 0x00 0x00
                                  Block Poll               Page                       Polled
           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
           signature      0     0     0    0 no          3    0      0     0     0 0x00 0x00

         Programmer Type : STK500
         Description     : Atmel STK500 Version 1.x firmware
avrdude: Send: A [41] . [80]   [20]
avrdude: Recv: . [14]
avrdude: Recv: . [02]
avrdude: Recv: . [10]
avrdude: Send: A [41] . [81]   [20]
avrdude: Recv: . [14]
avrdude: Recv: . [01]
avrdude: Recv: . [10]
avrdude: Send: A [41] . [82]   [20]
avrdude: Recv: . [14]
avrdude: Recv: . [12]
avrdude: Recv: . [10]
avrdude: Send: A [41] . [98]   [20]
avrdude: Recv: . [14]
avrdude: Recv: . [00]
avrdude: Recv: . [10]
         Hardware Version: 2
         Firmware Version: 1.18
         Topcard         : Unknown
avrdude: Send: A [41] . [84]   [20]
avrdude: Recv: . [14]
avrdude: Recv: . [00]
avrdude: Recv: . [10]
avrdude: Send: A [41] . [85]   [20]
avrdude: Recv: . [14]
avrdude: Recv: . [00]
avrdude: Recv: . [10]
avrdude: Send: A [41] . [86]   [20]
avrdude: Recv: . [14]
avrdude: Recv: . [00]
avrdude: Recv: . [10]
avrdude: Send: A [41] . [87]   [20]
avrdude: Recv: . [14]
avrdude: Recv: . [00]
avrdude: Recv: . [10]
avrdude: Send: A [41] . [89]   [20]
avrdude: Recv: . [14]
avrdude: Recv: . [00]
avrdude: Recv: . [10]
         Vtarget         : 0.0 V
         Varef           : 0.0 V
         Oscillator      : Off
         SCK period      : 0.1 us

avrdude: Send: A [41] . [81]   [20]
avrdude: Recv: . [14]
avrdude: Recv: . [01]
avrdude: Recv: . [10]
avrdude: Send: A [41] . [82]   [20]
avrdude: Recv: . [14]
avrdude: Recv: . [12]
avrdude: Recv: . [10]
avrdude: Send: B [42] . [00] . [00] . [00] . [01] . [01] . [01] . [01] . [03] . [00] . [00] . [00] . [00] . [01] . [00] . [10] . [00] . [00] . [04] . [00] . [00]   [20]
avrdude: Recv: . [14]
avrdude: Recv: . [10]
avrdude: Send: E [45] . [05] . [08] . [d7] . [a0] . [00]   [20]
avrdude: Recv: . [14]
avrdude: Recv: . [10]
avrdude: Send: P [50]   [20]
avrdude: Recv: . [14]
avrdude: Recv: . [10]
avrdude: AVR device initialized and ready to accept instructions

Reading | avrdude: Send: V [56] 0 [30] . [00] . [00] . [00]   [20]
avrdude: Recv: . [14]
avrdude: Recv: . [00]
avrdude: Recv: . [10]
avrdude: Send: V [56] 0 [30] . [00] . [01] . [00]   [20]
avrdude: Recv: . [14]
avrdude: Recv: . [00]
avrdude: Recv: . [10]
################avrdude: Send: V [56] 0 [30] . [00] . [02] . [00]   [20]
avrdude: Recv: . [14]
avrdude: Recv: . [00]
avrdude: Recv: . [10]
################################## | 100% 0.03s

avrdude: Device signature = 0x000000
avrdude: Yikes!  Invalid device signature.
         Double check connections and try again, or use -F to override
         this check.

avrdude: Send: Q [51]   [20]
avrdude: Recv: . [14]
avrdude: Recv: . [10]

avrdude done.  Thank you.
Pages: 1 [2] 3 4 ... 9