|
|
yann_g
from now on 2012-03-25 19:20 [#02431806]
Points: 3772 Status: Lurker
|
|
4. Getting more pins, part II + LDR Calibration
|
|
freqy
on 2012-03-29 19:29 [#02432121]
Points: 18724 Status: Regular | Show recordbag
|
|
cool shift reg vid
|
|
yann_g
from now on 2012-04-01 17:39 [#02432217]
Points: 3772 Status: Lurker
|
|
watched it already, thanks!
here's what i did with 1 shift register: youtube
|
|
freqy
on 2012-04-01 21:59 [#02432228]
Points: 18724 Status: Regular | Show recordbag
|
|
lol, your desk looks just like mine. i have my arduino but with flashing green leds in front of me : ).
cool . wow you hooked up an ic. nice n neat.
im making a 9x9 multiplexer , 81 led outputs from just 9 pins.
they will all be able to latch on/off at the same time ,so no flicker.
you've probably seen this.: but if you need loads more outs.
how to make a multiplex circuit
|
|
RussellDust
on 2012-04-01 22:07 [#02432229]
Points: 16053 Status: Lurker
|
|
I only use it to make detonators.
|
|
yann_g
from now on 2012-04-02 12:07 [#02432255]
Points: 3772 Status: Lurker | Followup to freqy: #02432228
|
|
Yes I've seen it but it looks more complicated than using a chip :)
I just published the article about the shift register if you wanna read it :)
there
|
|
freqy
on 2012-04-02 13:05 [#02432257]
Points: 18724 Status: Regular | Show recordbag
|
|
very nice. : )
so you send a series of logic 0's/1's to the chip and it then outputs a specific led? cool.,
I wonder, can you put another of these on 3 output's of the first one? Would it just be a little slower to react , the more you add.
cool work, wish i had looked at a shift register first, but i'm half way through something so i'm going to make a printed circuit board for a 9x9 multiplexer, and see how small i can make it. : )
|
|
sadist
from the dark side of the moon on 2012-04-02 13:32 [#02432258]
Points: 8670 Status: Lurker | Followup to freqy: #02432257
|
|
dunno if you can chain multiplexers. doesn't seem impossible but this wouldn't be a sophisticated thing to do.
you can connect a few parallel though and address them separately.
|
|
yann_g
from now on 2012-04-02 14:11 [#02432259]
Points: 3772 Status: Lurker | Followup to freqy: #02432257
|
|
http://arduino.cc/en/Tutorial/ShiftOut
look at the last example. seems quite simple to chain them.
|
|
freqy
on 2012-04-02 16:48 [#02432272]
Points: 18724 Status: Regular | Show recordbag
|
|
wow , that does look neat n tidy too,
i was having problems with multiplexing because of the rate i could bang out from max to arduino.
in my test, i was using max to bang out to a multiplexer to 9 leds , i banged out a loop as fast as possible and the leds were flickering a fair bit they did look like they were all on at the same time but..a bit naf.. i had all my baud rates the same , so i assumed that max could only send so many bangs to the arduino per second and i reached the limit. and if i had issues with just 9 leds. I imagined how bad 80 leds would be..
so i figured to build little latch circuits on the end of each of the outputs so to hold the led on, and it works perfect, but a fair amount of circuitry is needed. i may as well buy 4 mega arduinos lol.
i think a loop from the arduino is quicker and less prone to glitches. perhaps?
|
|
Fah
from Netherlands, The on 2012-04-02 16:56 [#02432273]
Points: 6428 Status: Regular
|
|
This is interesting information. I'm supposed to make a new step sequencer for a pattern/EEPROM-less Korg minipops and i'm needing quite a few ShiftIns and Outs for the pushbuttons and feedback LEDs. Though i think for my application i might as well use Shiftregisters.
|
|
Fah
from Netherlands, The on 2012-04-02 16:59 [#02432274]
Points: 6428 Status: Regular
|
|
Also, what aruidno are you using Yann? I'm using a Duemillanov (if i spelled it correctly) and i've noticed digital pin 2 called in the code is actually digital pin 1 on the board somehow, do you have the same problem? This has kept me up till 9 am once to troubleshoot another sequencer i was building, and i fixed it by accidently putting a lead into digi pin 1 instead of 2 (as i obviously called pin 2 in the code).
|
|
Fah
from Netherlands, The on 2012-04-02 17:00 [#02432275]
Points: 6428 Status: Regular
|
|
Ah just saw your video, you use an UNO so that mistake must be fixed :)
|
|
freqy
on 2012-04-02 17:05 [#02432276]
Points: 18724 Status: Regular | Show recordbag
|
|
on my arduino dumilenouvy (spelling lol )
pin 2 = pin 0 pin 3 = pin1
(i use serial from max tho)
i can only get 12 outs on my board , i think the analog ins can be made to become outputs through a sketch too.
|
|
yann_g
from now on 2012-04-02 18:04 [#02432277]
Points: 3772 Status: Lurker | Followup to Fah: #02432274
|
|
sounds weird, never had such unexpected behaviour on my uno :)
btw it's "duemillanove"
|
|
Fah
from Netherlands, The on 2012-04-02 18:27 [#02432280]
Points: 6428 Status: Regular | Followup to freqy: #02432276
|
|
You can analog out but they only work on the PWM digital pins, afaik the analog ins stay analog ins forever.
|
|
freqy
on 2012-04-02 18:39 [#02432281]
Points: 18724 Status: Regular | Show recordbag
|
|
yann, thats right the dumienlynovy , i always get that wrong.
fah , srry i thought i read somewhere that by changing the arduino sketch each of the analog inputs could be turned into digital outs as desired. ive been having weird dreams lately anyway, i have diffrent browser bookmarks in my dreams. lol. im just being silly now.
|
|
Fah
from Netherlands, The on 2012-04-02 20:01 [#02432288]
Points: 6428 Status: Regular | Followup to freqy: #02432281
|
|
Who knows it might be possible though, but did you google around for it?
|
|
freqy
on 2012-04-02 20:12 [#02432289]
Points: 18724 Status: Regular | Show recordbag
|
|
I cant find it now, googled for a fair while : (
if you ever need it, i'm sure someone on the arduino forums knows.
: )
|
|
Fah
from Netherlands, The on 2012-04-02 20:54 [#02432295]
Points: 6428 Status: Regular
|
|
well i only really need the PWM outputs if i need them, and i think if you need more you can always use a output shiftregister since the data pin is PWM, and thus i think you can have variable outputs on the shiftout as well. This i never experimented with though.
|
|
yann_g
from now on 2012-04-02 23:19 [#02432306]
Points: 3772 Status: Lurker | Followup to freqy: #02432281
|
|
i read that as well
|
|
yann_g
from now on 2012-04-07 08:08 [#02432599]
Points: 3772 Status: Lurker
|
|
LDR > MIDI
|
|
freqy
on 2012-04-07 18:58 [#02432610]
Points: 18724 Status: Regular | Show recordbag
|
|
cool
i can see your gonna be making a uniquely cool console!
here you are, in a forma world.
|
|
freqy
on 2012-04-07 19:05 [#02432611]
Points: 18724 Status: Regular | Show recordbag
|
|
project enclosure consoles
more
|
|
Messageboard index
|