Happy Box

Thinking of what to do for tomorrow. I know what I was going to do, but then I realized I was missing midst of the stuff that would make it work. My current plan only requires things I have.
So. Altoids tin, 555 timer pulsing a red LED (like a heart beat) when a contact stitch is open (as in the box is open) all powered on a AAA battery (or AA if it will fit).
To do:
Plan circuit
Fab battery holder and contact switch
Think of doing an anatomical heart cut out
Breadboard circuit
Solder circuit

Seems legit

So six pwm pins seems to be enough, and the Arduino Uno has six, so I’m feeling okay. Now I just need to decide if I want to have more than two sinks. I think the sink pins are the limit for how many LEDs are lit at once.  Obviously I don’t want to go over five at once lest the blue smoke should escape. Either way, this. Of course I was lazy and decided to stop before determining the entirety of entropy. That totally sounds like a hipster band. If I ever have a robot band, that might be their name. Entirety of Entropy.

image

Chaos wiring

Right… well, if I have two pwm pins I can then have two LEDs lit at once with completely different timing and brightness. It’s cheesy but it work. By having them haphazardly strung… just a second. Was I second guessing myself for nothing. I have the rows… wait, I use all pwm with half the LEDs be in opposite sho that they do function as a diode. Yeah. Six pwm pins, each pin goes to two LEDs, but they’re going back to back. I then use a few more pins to selectively sink. I need to graph this out, because I’m really confused now.
I know. Surprise.

I would like to say my procrastination was because I knew on some level of the previously mentioned problem

I would also like a moon base. Totally didn’t realize it until I actually cut wire. No use crying over spoiled milk.
Using 12 output pins (beyond the lack of 12 pwm pins) would be the easiest solution. Since I’m wanting to go pwm rather than persistence of vision, I’m limited to something like six out and no using the D in LED.
I think, assuming no desire to massively change the concept, I might just go all chaos on the wiring. If there were more input and output wire combinations than I really needed I could have pseudo randomization. Like six “rows” going to four sinks might work. Of course, this would start to diminish my extensibility rather fast. I might have to start doing some charts.

Derp?

I was getting ready to go to bed, thinking of getting my solder on, mowing down some popcorn, and derp. LightBeer has a problem. If I put a pin up, the entire row is up. If I bring another pin down, the entire column is down. I can’t pulse in and out different bottles at different intervals. I need to think about this.

The new phonebook is here!

No. No it’s not. I on the other hand actually did something. Mainly, I did what I kept rambling on about.

Bent some LEDs, short leg bent.

image

image

…and precut wire, marking it where the bottle mouths reside.

image

Now, to solder, but not tonight.

Right

Still slacking. I mean, it’s not even a legit fear of failure. Just laziness. On the other hand, food truck last night was wicked good. In fact, it was so good, we didn’t get pictures because the Wif and I were both too busy eating.
Falafel Salam
I feel dirty. I totally just linked to… the Book of Faces. If I do that three times, do I summon Candy Man?
Since I’m being so good at slacking, I think tonight I’ll start laying out wire, and bending all my LEDs. That might be some good prep. I should also use a sharpie to tag where the shower joints are. It’ll be easier doing them on a fat surface than free floating in air.

Tried flowcharting on the bus

I think I need to get my better sketch book soon. Heavy lined paper and diagrams don’t mesh that well. I’m not particularly sure if this is an example of selective memory remembering this style of lab book as being dope, or a failure on my part to check describe the item to the Wif. I’m voting the latter, as I’m positive that I told her they were yellow paper, in a blue cloth bound book, and probably sold in her school bookstore. I think she got me a blue book. Of course, this is without me knowing what a blue book actually looks like. Either way it’s an exchange journal, probably be fine for dealing the written word, maybe just not pictures and whatever.
But yeah, I think I’m sitting this post so I don’t have to diagram out my Arduino sketch.
So…
Setup
Initialize
Test
Initialize

Loop
Random anode
If is null
Random cathode
If is null
Anode 1
Cathode low
If anode = 255
Anode = -1×255
If anode =/= 0
Anode +1

Argle gargoyle barghest.  

No more excuses

I do up LightBeer tonight. I have the bottles glued, a lot of wire, LEDs, solder, soldering iron, it’s dark, and I’m wearing sunglasses.
Of course even once everything is wired up, I still need to code. I had done earlier versions written, but never got past prototyping the code before I stopped due to (not) working on the physical side. I wonder if there is a analogy somewhere in the hardware/software versus mundane/magical. Probably is.
Either way, tonight I build. I’ll get all my LEDs wired in and the first round of code, even if it’s just turning on one LED. Just so long add its whichever LED I choose. Our at least that’s the plan. Really, even the best lasted plans collapse at first contact.
After I get that and the random iteration done, it will be time to start extending. I’m thinking for starters, a temperature based speed would be good. Probably have it be an inverse association. The colder it is, the faster they go.