Showing posts with label Tutorial. Show all posts
Showing posts with label Tutorial. Show all posts

Thursday, 2 April 2015

Problems with the Circuit Part 2

So to continue from my last post, here is a photo diary of me connecting the arduino to the breadboard.

1) Here you see Digital Pins 9, 10 and 11 from the arduino connected to the Gate Pins of each of the N Channel MOSFETs. You also see Pin 7 occupied, it is connected to the Reset Pin 7 of the MSGEQ7.

  
2) Next digital Pin 4 of the arduino is connected to Strobe Pin 4 of the MSGEQ7 (orange wire). Digital Pin 2 of the arduino is connected just underneath the 10K resistor (blue wire).

 3) Here we are connecting the power connections from the arduino to the board. Take the 5v output of the Arduino and connect it to the bottom positive power rail. The ground pin next to the 5v and connect it to the bottom ground rail. Then take the Vin pin on the arduino and connect it to the top positive power rail.


4) Here are the red and white cables seen above connected to the breadboard.


5) Next we have the yellow Vin connected to the top positive rail.


6) Now we look at the analogue inputs of the arduino. Connect analogue pin 1 (A0) to the central pin of the 1K potentiometer.


7) Next, analogue in pin 4 (A3) is connected to the output pin 3 of the MSGEQ7.



8) Finally, I have jumper inserted into the RGB and 12v inputs of the LED strip ready for connection. The RGB lines will be connected to the Drain pins of the N Channel MOSFETs from left to right respectively, and 12v is fed from the 12v power line.


So the arduino code is loaded, the Breadboard and circuitry is complete to the fritzing guide. Hopefully this rebuild may yield some results! Fingers crossed :) One final point for Russell, I decided it would be easier to follow his method of powering it all, and found a similar power brick to the one that came with the LEDs (except I havent stripped the connection off this one). I see no reason why it wont work, it's the same voltage with a slightly lower amperage. Hopefully this should be OK.


The Left one is the original LED PSU, the right one is the one im using.






Wednesday, 1 April 2015

Problems with my Audio Reactive LED circuit

So I finally got all the last parts for the project and set about building the circuit last night with no success, so I have decided to give a photo blog of the build stage by stage for the benefit of Russell who can hopefully point out to me where I have gone wrong.

This is going to be snappy as I have lots to do and don't want to bore Russell. So from the top then!

1) Insert MSGEQ7


2) Connect Caps (Left 33pf, right 100nf). The left wire of thee right cap goes to Ground Pin 6 of the MSGEQ7. The 33pf's right wire connects to Oscillator Pin 8 (connection will be broken with resistor)


3) Connect 3rd Cap, which sits "over" the second cap. The left wire goes to Input Pin 5


4) Insert 220K resistor between 33pf and Pin 8


 5) Insert second 100nf cap. Pin 1 Positive and Pin 2 Negative


 6) Connect Positive and Negative Pins to the power rail via Cap.


7) Next is soldiering two jump wires the positive and ground connection on this little Stereo Jack Input.


8) You see 5 Pins, Ground is the centre pin, closest to the input. The two at the top here (actually on the right) are Negative, and the bottom two are positive. TRS stands for Tip, Ring, Sleeve. Tip is positive, Ring is Negative and Sleeve is ground.


9) Here is the Input with jumpers soldiered on. (And a slightly burnt desk :/)


10) Here is the TRS taped down to the BB with leccy tape. The positive connects through Cap 2 to Input Pin 5, Ground to the Ground Rail.


11) 3 N Channel MOSFET Transistors are added to the board. N Channels have three pins, Gate, Drain and Source from left to right.


 12) Each source Pin is connected to the ground top rail of the breadboard.


13) The 220k resistor is now connected to the bottom power rail - live to left, ground to right.


14) Here is another angle to show the exact connection, the ground wire connects to the 33pf capacitor left wire, not the resistor.


15) Here we connect the ground of the MSGEQ7 to the bottom ground rail.


16) Next I insert the 1K potentionmeter and 10K resistor. They are not connected.


17) Here, the ground rails are connected together, a button is attached via soldiered jump wires. The live rail is connected to the positive of the button, the negative back to above the 10K resistor. I have also attached the bottom live rail to the right pin of the potentiometer.


18) Here, I attach a jumper to the central pin of the potentiometer for data transfer to the arduino, I have also connected the jumper from the left of the 10K resistor to the bottom ground rail.


19) Here the left pin of the potentiometer is connected to the bottom ground rail.


20) Here are the connections for the arduino attached to the gate pins of the MOSFETs


21) Finally, I attach the live 12v top rail connector which feeds the LED strip power.



So as far as I am aware, that should be the breadboard and circuit good to go, next post is about all the connections from the Arduino to the Breadboard, there will be a tutorial just like this for that too. Hopefully these can go towards helping people do this in the future too! Cheers