Sunday, April 13, 2014

Back on Track

Finally was able to sit down and solder for a little bit yesterday.

Completed all connections from the 589 parallel outs to pull down resistors, from the 589 serial out to 'duino, grounds, voltage and control lines from 'duino to 589.

Remaining work:

  • control lines from duino to 595 set
  • ground from 595 set to duino
  • voltage from duino to 595 set
  • line from duino to speaker resistor
  • ground second set of LEDs to duino
  • and probably should expose some convenient pins to attach the speaker wires

Wow.  All of the sudden, the workload looks reasonable and testing is in sight.  I only have 2 months left to finish on schedule.

I am still not very confident in my soldering and hope testing isn't overwhelmingly painful, requiring a bunch of resoldered joints.  I am afraid that a few dart hits will cause some of the joints to fail.

I am really liking the idea of a printed board if there is a v2.

Sunday, April 6, 2014

Perf Board Diagrams

The diagram I made last night is very cluttered, so I broke it out into a series of specific diagrams that are easier to follow:
The full rats nest

Parts:
  • 2 x 74HC595 Serial-Parallel Shift Register
  • 1 x 74HC589 Parallel-Serial Shift Register
  • 6 x 5mm LED 
    • 2 x red
    • 2 x yellow
    • 2 x green
  • 15 x Resistor
    • 1 x 100 Ohm
    • 6 x 220 Ohm
    • 8 x 10 k-Ohm
  • 1 x Arduino
  • 1 x Electonic Dartboard
    • 1 x 20 pin Ribbon Connector in 2 rows of 10
    • 1 x Small Piezo Speaker


Here is the Shopping List exported from Fritzing:
AmountPart TypeProperties
1Piezo Speaker
1Generic shrouded header - 20 pinspackage THT; hole size 1.0mm,0.508mm; row double; form ♂ (shrouded male); pins 20; pin spacing 0.1in (2.54mm)
2Green LED - 5mmpackage 5 mm [THT]; leg yes; color Green (555nm)
2Yellow LED - 5mmpackage 5 mm [THT]; leg yes; color Yellow (595nm)
2Red LED - 5mmpackage 5 mm [THT]; leg yes; color Red (633nm)
1Arduino Micro (Rev3)type Arduino Micro (Rev3)
1100 Ω Resistorpackage THT; tolerance ±5%; bands 4; resistance 100Ω; pin spacing 400 mil
810k Ω Resistorpackage THT; tolerance ±5%; bands 4; resistance 10kΩ; pin spacing 400 mil
6220 Ω Resistorpackage THT; tolerance ±5%; bands 4; resistance 220Ω; pin spacing 400 mil
174HC589package DIP16 [THT]; type 74HC595; variant variant 1
274HC595package DIP16 [THT]; type 74HC595




Voltage (red) and Ground (black)

ColorComponentConnectionPinComponentConnectionPin
Red'duino5v5v>74HC589vcc16
>74HC595-1Master Reset10
>vcc16
>74HC595-2Master Reset10
>vcc16
Black'duinogndgnd>74HC589gnd8
>Output Enable10
>74HC595-1gnd8
>Output Enable13
>74HC595-2gnd8
>Output Enable13
>LED (x6)Cathode-
>Piezo SpeakerNegative Terminal-
>10k-Ohm Resistor (x8)
[pull-down]



Shift Register Control:
Shift Clock (blue), Latch Clock (yellow) and Parallel Load (white)

ColorComponentConnectionPinComponentConnectionPin
Blue'duinodigital 5d5>74HC589Shift Clock11

digital 10d10>74HC595-1Shift Clock11

>74HC595-2Shift Clock11
Yellow'duinodigital 6d6>74HC589Latch Clock12
digital 11d11>74HC595-1Latch Clock12
>74HC595-2Latch Clock12
White'duinodigital 4d4>74HC589Parallel Load13

Serial to Parallel - 'duino to Dartboard:
Serial In from 'duino (orange), Serial Daisy Chain (green), Parallel Out to Dartboard (purple)

ColorComponentConnectionPinComponentConnectionPin
Orange'duinodigital 9d9>74HC595-1Serial In14
Green74HC595-1Serial Out9>74HC595-2Serial In14
Purple74HC595-1Parallel Data Out15, 1-7>DartBoardRow 1: 1-81-8

74HC595-2Parallel Data Out6-7>DartBoardRow 1: 9-109-10
Parallel to Serial - Dartboard to 'duino:
Parallel In from Dartboard (brown), Serial Out to 'duino (orange)


ColorComponentConnectionPinComponentConnectionPin
Orange'duinodigital 7d7>74HC589Serial Out9
Brown74HC589Parallel Data In1-7>DartBoardRow 2: 1-71-7


Parallel Data In15, 1-7>10k-Ohm Resistor (x8)
[pull-down]

LEDs and Speaker:
Parallel Out to LED (rgb), 'duino to Piezo Speaker (pink)

ColorComponentConnectionPinComponentConnectionPin
RGB74HC595-2Parallel Data Out15, 1-5>220 Ohm Resistor (x6)

Pink'duinodigital 8d8>100 Ohm Resistor

Silver220 Ohm Resistor (x6)
>LED (x6)Anode+
100 Ohm Resistor>Piezo SpeakerPositive Terminal+



Follower Hoax and Winter Sucks

OK, I think the whole follower thing was a hoax.  Probably someone hired to try to keep bloggers posting or something.  whew!  Things are going to be a lot easier now that nobody is watching again.

I was going to get a lot done over the winter, but winter sucks.  No motivation.  Winter's still trying to linger, but spring is squeezing in enough to matter. So I got a little inspired tonight.

Downloaded the latest version of Fritzing and whipped up an "accurate" perf board diagram:

Well, the "no motivation" thing wasn't entirely true.  I did spend a little time messing with Pygame and OpenGL, 'cause when you are making progress on a project and need to focus on its tasks to make the project a success, it's always a good idea to start more projects.

Sigh.  I'll probably end up posting about the "new" game projects.

Me out.