Week 4









Week 4 Aims: 

- Finishing the second Idea successfully. 


Week 4 Issues: 

- Soldering the LEDs together. 


In this final week, we managed to finish our second Idea successfully.  Here are some of the steps that we have done to finish the process: 


Note: in week 3, we stated that the code was our primary concern. The problem was not in the coding, but rather in the circuit. It turns out that an oscilloscope must be connected to the clock generator for the Lights to respond to music. The oscilloscope probe was used to examine the clock generator's pins 0 and 1. The circuit was operating well and serving its intended function. A reason might be that the output of the Clock generator is defective due to soldering and the oscilloscope probes are fixing this issue. 




Masterclock was configured for usage with the nin-default 25 MHz frequency. With output 0 frequency of 165 KHz and output 1 frequency of 104 KHz.



Here are the steps that were done this week: 


1- Soldering the LEDs (WS2812B) together: 





                             We managed to solder all of the LEDs together as shown in the figure below:  


     Where the Red wire is the 5V, the Blue wire is the ground and the Green wire is the Data.





2- Following that, we utilized the same circuit and Code as in weeks 2 and 3






The Main Libraries are: 

1-  (si5351mcu.h) to control the clock generator that is linked to the msgeq7.
2- (FastLED.h) to control the LEDs. 
3- (Si.init) to produce a non-default frequency of 25 MHz. 



3- The Final Result: 






A Frequency test was carried out in the lab which will be discussed more on the inspection Day. 


Additional Circuit 

This circuit allows us to control the LEDS without the need to adjust the code constantly. The potentiometers allow us to control the sensitivity, brightness, and peak delay of the LEDS. The micro-push button allows us to change modes of the spectrum.








     End of Week 4.......
































Comments

Popular posts from this blog

Week 1