Introduction: Teaching the Laws of Signs Kit
The device is based on a 2x4 decoder (74LS139) because this decoder shows a configuration that corresponds exactly in its inputs to the combination of signs of the operations of multiplication and division while its outpus give a result to each combination of inputs.
Step 1: Bill of Materials
1 High Class ABS Plastic Speedy Box Enclosure 6.0"L x 3.5"W x 1.9"D
1 Arduino Uno Proto Shield (PCB only)
4 Resistor Carbon Film 220 Ohm 1/4 Watt 5% (In Bags of 10 and 100)
1 Pass-Through Female Headers for Arduino Shields - 1x8 and 1x6 Position (2 each)
10 LED MOUNTING HARDWARE,T1-3/4,CLEAR,STANDARD
1 CABLE,USB2.0,A/A,6 FEET,BLACK,USB-A MALE TO USB-A MALE
10 5mm Water Clear RGB LED - Common Anode
1 QUAD 2-INPUT POSITIVE OR GATE DIP-14 (74LS32)
1 Socket IC 14 Pin Dual Wipe Soldertail Low Profile 0.03 Inch Width
1 Decoder/Demultiplexer Dual 2-to-4 16-Pin Plastic Dip Tube (74LS139)
1 Socket IC 16 Pin Dual Wipe Soldertail Low Profile 0.30 Inch Width
1 Toggle Switch Single Pole Single Throw (On-Off) (MTS101) Solder 125 VAC @ 5 Amp 1/4 Inch Mounting
1 Switch Rotary Shaft Solder Lug 25mm 10M 4 Position
1 HEAT SHRINK TUBING,FIT221-1/16-Black, 4 FEET,Black POLYOLEFIN TUBING
1 KNOB,1/4 INCH SHAFT,POINTER,WITH SET SCREW
1 10 Color Stranded Wire Kit Assortmen
1 Breadboard Jumper Wire-One Pin Male to Male 15cm 10pcs
What you will need:
Plastic Cable Clamps 1/2"
Step 2: Working With the Enclosure of Your Project 1
In this step, you will need to make a few holes: ones of 1/4" and another one of 3/8" in the front panel
Step 3: Working With the Enclosure of Your Project 2
It´s important that this drill be made so that you can install the switch to turn (ON/OFF) your project. Note that this hole is 1/4" .
Step 4: Completing the Holes in the Project
It´s imperative that this hole be made so that you have all of holes you need for the project. This hole is to pass through the enclosure the USB-A cable.
Step 5: LED MOUNTING HARDWARE,T1-3/4,CLEAR,STANDARD
LED MOUNTING HARDWARE,T1-3/4,CLEAR,STANDARD is a support for installing the LEDs used in this prohect, and so showing a better presentation. In the current step, it´s necessary to install 10 sockets of this type where will be inserting the RGB LEDs.
Step 6: Diagram 1
In the diagram 1, you can see the changes in the combination of inputs and outputs by observing the inputs (0 , 0) Minus, Minus for an output (+) Plus while the black and orange wires are respectively GND and +5V.
Step 7: Diagram 2
In the diagram 2, you can see the different combination of inputs and outputs and also the use of black and orange wires for doing the connections.to GND and +5V respectively where you can observe the inputs (0, 1) Minus, Plus for an output (-) Minus.
Step 8: Diagram 3
In the diagram 3, you can observe the changes in the combination of inputs and outputs but also can note that the black and orange colors are the wires used to do the connections in the rotary switch by representing the zeros and ones respectively. In this diagram is observable the inputs (1, 0) Plus, Minus for a result (-) Minus.
Step 9: Diagram 4
In the diagram 4, you can see the changes in the combination of inputs and outputs by observing the inputs (1 , 1) Plus, Plus for an output (+) Plus.
Step 10: Working With RGB LEDs 1
Before using the RGB LEDs, take 6 RGB LEDs and check them by using a multimeter for verifying their quality either good or bad. Also cut the blue terminal of each RGB.
Step 11: Working With RGB LEDs 2
Once checked the 6 RGB LEDs, insert them into the sockets previously installed where you can use Heat Shring Tubing. Note that you should insert each LED with its red end toward bottom and for forming a line will be matching each color terminal of these RGB LEDs without blue terminal by interconnecting each group of 3 LEDs with their respective color terminal.
Step 12: Working With RGB LEDs 3
Before connecting the 4 RGB LEDs, you can use Black Heat Shrink Tubing in each terminal of these LEDs if want.
Step 13: Working With RGB LEDs 4
For this step, you can use orange wire for interconnecting the two groups of 5 LEDs and their common anode terminal. Also interconnect the rest of the common anodes of each LED except the green terminal of the bottom LEDs..
Step 14: Working With RGB LEDs 5
Now, interconnect the missing green terminals of the bottom LEDs and use green wire for these connections if want.
Step 15: Installing the Toggle Switch ON/OFF
Install The Toggle Switch ON/OFF and connect an orange wire to one of its terminals while the other end of the orange wire to common anode of the RGB LEDs.
Step 16: Preparing the Jumper Wires 1
Take 6 Jumper Wires Male to Male by thinking in the colors that you want to use in your project and cut them in two same parts and reserve for the following step.
Step 17: Preparing the Jumper Wires 2
Cut wires for preparing your jumper wires male to male. In this steo, I´m preparing 2 green wires and 2 red wires for each group of RGB LEDs for being connected to their green and red terminal respectively. Also prepare 1 white wire and 1 brown wire for being connected to the 2 poles of your rotary switch, to A0 and A1 respectively.
Step 18: Working With RGB LEDs 6
Of the jumper wires previously prepared in the step 17, connect the green and red wires of each group of RGB LEDs. From the left group, draw the wires for connecting to pin 10 the red one and to pin 11 the green one while from the right group, will connect to pin 8 the green one and to pin 9 the red one. For the rest of the wires, you should reserve until new instructions.
Step 19: Working With the Rotary Switch 1
For working with the rotary switch 2 poles, 4 positions, you should check it so that you can know where is each position of each pole and so you do the connections correctly. In the connections done in the rotary switch, you can observe orange and black wires for the 4 positions. Also note that the 2 poles represent the 2 inputs of your project (A0 , A1 read from left to right) while the 4 positions represent the combination of inputs, that is, the black wires are 0´s and the orange wires are 1´s and these combinations of inputs in the left side comes up to down, but the right side comes down to up.
Step 20: Working With the Rotary Switch 2
Connect the white and brown wires to the poles of your rotary switch by connecting to A0 and A1 respectively while the black and orange wires should be connected to GND and +5V respectively.
Step 21: Preparing the USB-A Cable 1
Take the CABLE,USB2.0,A/A,6 FEET,BLACK,USB-A MALE TO USB-A MALE and cut one of its ends so that you can only leave the red and black wire that are +5V and GND respectively while removing the other two wires.
Step 22: Working With the Rotary Switch 3
Using the USB-A cable prepared in the previous step and without forgeting pass it through the enclosure, do a node to support it inside of the box and connect it in your rotary switch to GND and +5V the black and red wire respectively. Besides that, draw an orange wire of your rotary switch for using later.
Step 23: Working With the Rotary Switch 4
In your enclosure, install the rotary switch by adjusting perfectly the USB-A cable previously passed through the hole done in this and without forgeting connecting the extra orange wire that should be connected to the toggle switch ON/OFF.
Step 24: Preparing the USB-A Cable 2
In this step, you are going to install a holder cable so that you can support the knot done previously in your USB-A cable. Here I´m using a plastic adjusted holder of 1/2" with an adhesive base for fixing perfectly inside the box.
Step 25: Working WithThe PCB 1
In this step, you are going to install the socket for the 74LS139 and 74LS32 then you need to install IC socket:: one of 14-pin and other of 16-pin. Also do the connections from these sockets to GND and +5V and connect the resistors by using black heat shrink tubing if want.
Step 26: Working With the PCB 2
Do the rest of connections and install the Pass-Through Female Headers for Arduino Shields -(2) 1x8 and (1) 1x6 Position.
Step 27: Working With the PCB 3
Now, you can insert the integrated circuits: 74LS139 aand 74LS32
Step 28: Working With the PCB 4
Connect the red and green wires to pins 8, 9, 10, and 11 while orange and black wires to +5V and GND respectively by installing also white and brown wires to A0 and A1 in that orden.
Step 29: Power Switch
You can also use a few foam tape close to the power switch so that you can write ON and OFF and so control the power of your project.
Step 30: Completing the Project
To complete the project, you can use a few foam tape in the scale and so representing the combination of signs that you will want to select in this interesting project.
Step 31: Using the Project 1
The laws of the signs of multiplication and division in their first combination: minus, minus (- -) will result in a positive sign (+). Then select the first scale: minius, minus (- -) so that you can observe the result: plus (+)
Step 32: Using the Project 2
The laws of the signs of multiplication and division in their second combination: minus, plus (- +) will result in a negative sign (-). Then select the second scale: minius, plus (- +) so that you can observe the result: minus (-).
Step 33: Using the Project 3
The laws of the signs of multiplication and division in their third combination: plus, minus (+ -) will result in a negative sign (-). Then select the third scale: plus, minius (+ -) so that you can observe the result: minus (-).
Step 34: Using the Project 4
The laws of the signs of multiplication and division in their forth combination: plus, plus (+ +) will result in a positive sign (+). Then select the forth scale: plus, plus (+ +) so that you can observe the result: plus (+).