Showing posts with label electronic. Show all posts
Showing posts with label electronic. Show all posts

Monday, November 9, 2015

DIY Animation Light box from old LCD screen.


  

    Animation Lightbox can be somewhat expensive and old LCD screens with the broken screen are somewhat useless, Basically, an LCD screen is essentially a lightbox with an LCD panel attached to it. So we are converting it to an animation lightbox.

WARNING: LCD screen especially the one with CCFL backlight contain a HIGH VOLTAGE inverter and capacitor in switching power supply circuit may have some residue charge even after unplugging, CCFL tube may also contain some mercury.
 


    For this project, you need an LCD screen with a functional CCFL or LED backlight, Some LCD screen will automatically turn off if no signal was connected and will not work unless the circuit was modified. this unit just showing NO SIGNAL text on the screen for a long time so no modification to the circuit is needed, My screen is 15 inches Philips 150B3.


    Disassembly the LCD monitor and remove the LCD Panel (The front glass with ribbon cable)  Carefully not to damage the backlight or the circuit board and assembly it back.


    Before put on the front bezel, Apply the electrical tape on any exposed metal frame


 Finished.


 Powered On.




Electricity consumption test.



With clear acrylic sheet and homemade peg bar taped on.

Monday, August 11, 2014

Convert High-Voltage Flash to work with Digital SLR

    วันก่อนไปค้นเจอ Flash ของกล้องฟิลม์มาตัวนึง (ARCHIEVER 828) ก็เลยสงสัยว่าจะสามารถเอามาใช้กับกล้อง Digital SLR (Canon EOS400D) ได้หรือไม่  หลังจากได้หาข้อมูลอยู่สักพักก็พอได้ความว่า  ถ้าจะเอา Flash รุ่นเก่ามาใช้ต้องวัดไฟตรงขา Hot-Shoes ดูก่อน เพราะ Flash บางตัวมีแรงดัน Trigger สูงหลายร้อยโวลท์ ซึ่งไม่เป็นปัญหากับกล้องฟิลม์ แต่ไม่ควรนำมาใช้กับกล้องดิจิตอลอย่างเด็ดขาด พอลองวัดด้วยมัลติมิเตอร์ดูถึงรู้ว่า Flash รุ่นนี้มีแรงดัน Trigger  250v เลยทีเดียว
    โดยในวงจร Flash รุ่นใหม่จะมีวงจร Isolator เป็นตัวแยกระหว่างภาคไฟสูง กับกล้อง แต่ตัวนี้ไม่มี  เราจึงจะทำวงจรในส่วนนี้เพิ่มเข้าไปเพื่อให้สามารถนำ Flash นี้มาใช้กับกล้อง Digital SLR ได้อย่างปลอดภัยครับ

    Just found an old flash unit (ARCHIEVER 828) from an antique film SLR camera and wanted to use it with a modern digital SLR (Canon EOS400D), after some research I've found that those old flash may have a high voltage (up to 400v) at there trigger hot-shoes which may be damaging to a digital camera. After measurement with a digital multimeter, these flash got around 250v.
    This because this flash lacks the isolation circuit that separates the high voltage circuit from the hot shoes. So we are about to make an isolation circuit using an Opto-TRIAC and an SCR device.

รายการอุปกรณ์
Part list:

- SCR    T106D1
- Opto-TRIAC     MOC3020
- R 1/4W  5 K and 220


 Circuit Diagram

    วงจรนี้ใช้ไฟ 6v จากถ่านไฟฉาย AA 4 ก้อน ที่ใช้ใน Flash ครับ

    This circuit is powered by the 6v flash lamp battery (4x AA cell) 


  The circuit in place.

 Close-up



พันทับด้วยเทปพันสายไฟ แล้วสอดเข้าไปในที่ว่างเหนือแผงวงจรครับ

Wrap with electrical tape and place in empty space above the circuit board.


 
เสร็จเรียบร้อย ทดลองวัด Trigger voltage ตอนนี้เหลือ 5-6 v เท่านั้นครับ

Finished Unit. Trigger voltage is now only 5-6 V.











Tuesday, September 3, 2013

USB Sound Card based on PCM2706 chip

Updated(16/02/2021): Added a PCB image file and Eagle CAD file.
 
    ในยุคที่คอมพิวเตอร์โน็ตบุ๊คเข้ามาแทนที่คอมพิวเตอร์แบบตั้งโต๊ะ  การจะต่อ DAC เข้ากับเครื่องเพื่อมเพิ่มคุณภาพเสียงก็คงต้องอาศัย DAC ที่สามารถรองรับ USB ได้เท่านั้น ในวันนี้เราจะทำ Sound Card USB ที่สามารถส่งสัญญาณแบบ S/PDIF ได้ และสามารถใช้เป็น Sound Card เสียบหูฟังได้ในตัวได้ด้วย โดย Chip Burr-Brown PCM2706 ที่เลือกใช้ในวันนี้เป็น Chip ที่สามารถใช้งานได้ง่ายเนื่องจากใช้อุปกรณ์ภายนอกน้อย และไม่ต้องใช้ Driver ในการติดตั้งอีกด้วย

     Nowadays Portable computers are increasing in popularity over a Desktop Computer. So to connect a higher quality audio DAC we would be left with the only choice the USB interface.
     This project is simple to make a USB Sound Card with adequate quality for Laptop use. While also provide S/PDIF Coaxial Output for connection to a higher quality External DAC. The Burr-Brown PCM2706 was selected because of a minimal external component and not requiring drivers.

วงจรที่ใช้ในโปรเจ็กนี้เป็นวงจรที่ดัดแปลงมาจากวงจรใน Datasheet.

Circuit use in this project is derivative from a Datasheet Circuit with only a few minor changes.   


สำหรับแผ่น PCB ในโปรเจ็กนี้ออกแบบด้วยโปรแกรม Eagle โดยเป็นแผ่น PCB แบบด้านเดียว เพื่อให้ง่ายต่อการสร้าง

I use Eagle for my PCB designing. This is a single-sided PCB since we gonna use a home-made laser toner-transfer method.

ไฟล์ PCB ความละเอียด 1200 dpi.

This PCB image is 1200 dpi.

Download PCB and EagleCAD files.



ทำการพิมพ์ลายปริ้นลงบนแผ่นฟิล์มแล้วรีดติดลงบนแผ่นทองแดงที่เตรียมไว้

The Laser Toner has been printed to a waxed paper and then heat-transferred to a copper PCB.



สำหรับน้ำยากัดปริ้นในรูปเป็นน้ำยาสูตรทำเอง ซึ่งเป็นส่วนผสมระหว่าง เป็ดม่วง กับ ไฮโดรเจนเพอออกไซด์ ซึ่งในสูตรนี้ยังไม่สมบูรณ์แบบเท่าใหร่เนื่องจากมีอัตราการกัดที่เร็วเกินไปทำให้ควบคุมได้ยาก อาจจะต้องลดปริมาณไฮโดรเจนลงซักหน่อย

Etching in a home-brew etching solution made of bathroom cleaner (HCl) and Hydrogen Peroxide (H2O2). Not a very perfect etching formula since it eating copper too fast to be controlled. May have too much H2O2.



แผ่นปริ้นที่เสร็จแล้ว  -  The finished PCB.


ตัว Sound Card ที่เสร็จแล้ว  -  Completed Sound Card.

 ด้านหลัง  -  Backside.





การทดสอบ  -  Testing

บน Windows 7 ใช้ได้   -   On Windows7 Passed.



บน Mac OSX (Mountain Lion) ใช้ได้  -  On Mac OSX (Mountain Lion) Passed.


ทดสอบการเล่นแบบ Bit-perfect โดยใช้ไฟล์ dts_the_other_side_44khz บนโปรแกรม foobar แบบ WASAPI ผ่านพอร์ต S/PDIF ผ่าน

 Bit-perfect test using dts_the_other_side_44khz played on foobar via WASAPI through S/PDIF Passed.


ทดสอบประสิทธิภาพ  -  Performance Testing.

    ในขั้นตอนนี้เราจะทดสอบ Sound Card ที่ทำเสร็จด้วยโปรแกรม RMAA เพื่อ วัดคุณสมบัติทางเทคนิกต่างๆ เช่น การตอบสนองความถี่, ความเพี้ยน, สัญญาณรบกวน เป็นต้น โดยการทดสอบนี้อาจไม่แม่นยำนักเนื่องจากการทดสอบทำบน Sound Card ธรรมดา(X-Fi Xtreme Music) ส่วนผลการทดสอบในส่วนของ Sound Bluster Play มีใว้เพื่อการอ้างอิงเท่านั้น โดย Sound Card ทั้งสองรองรับสัญญาณได้ถึง 48 KHz 16 bit แต่ในการทดสอบนี้จะทำที่ 44.1 KHz

    We will test our home-brew sound card with RMAA measurement software to evaluate its Frequency Response,  THD, Noise level through the noise-related measurement may not be very accurate since I use a computer sound card for measurement (Testing hardware: X-Fi Xtreme Music). The Sound Bluster Play result is for reference only. Both sound cards support up to 48 kHz 16 bit. But in this test, I will use 44.1 kHz.



  ผลการตอบสนองความถี่ ที่ 44.1 kHz 16 bit.  -  Frequency response at 44.1 kHz 16 bit.



ผลการทดสอบ  -  RMAA Result.



สรุป  -  Conclusion
    จากผลการทดสอบ Sound Card นี้ถึอว่ามีคุณภาพที่ใช้ได้ดีในระดับหนึ่ง แต่แน่นอนว่าด้วยงบประมาณและความเรียบง่ายของระบบแล้วคงไม่ต้องเทียบกับ Card ระดับ audiophile แน่นอน  นอกจากนี้ยังสามารถใช้เป็นพอร์ต S/PDIF เพื่อใช้เชื่อมต่อกับ DAC ที่มีคุณภาพดีกว่าได้อีกด้วย
    และด้วยอุปกรณ์เสริม Camera Connection Kit เครื่องนี้สามารถต่อเข้ากับอุปกรณ์ IOS Device ได้อีกด้วย (ทดสอบกับ IPAD2)
    ข้อจำกัดของเครื่องนี้คือสามารถรอบรับ Sampling Rate ได้ไม่เกิน 48 KHz ที่ 16 bit เท่านั้น เนื่องจากเป็นข้อจำกัดของตัว Chip ที่ใช้

    This USB Sound Card sound quality is a good performer with decent sound quality. It still definitely not an audiophile kind of card. But consider that It simplistic construction and a driver-free cross-platform operation. It is nice to have a portable sound card. With a S/PDIF output for connection to a higher quality, dedicated external DAC.
    With the addition of the Camera Connection Kit, this unit can also connect the IOS Device (tested on IPAD2).
     A current limitation of this unit is the maximum sampling rate is limited to 48 kHz at 16 bit only due to the the chip limitation.