--- title: "LCR T4" tags: OT-Tools, Test Equipment, Transistortester, Ardutester, hackpad --- # LCR T4 ![](https://i.imgur.com/otixZKP.jpg) ## 討論影片 {%youtube txk0KY_J6Xo %} ## 程式碼 https://github.com/svn2github/transistortester/blob/master/Software/trunk/Transistortester.h TestRunning 字串可修改 Q: Mtester 這串logo沒找到位置 A: 應該是["Version x.xxk"](https://github.com/Mikrocontroller-net/transistortester/blob/9acac467fea793dddc64948618c21a63c1b7cd8b/Software/trunk/Transistortester.h#L362) Atmel Studio 7 IDE https://www.microchip.com/mplab/avr-support/avr-and-sam-downloads-archive shellutils AVR-GCC Make for Windows 載點 設定環境變數 [Make for Windows](http://gnuwin32.sourceforge.net/packages/make.htm) https://zh.wikipedia.org/wiki/Make 修改 finish.mk 的mkdir的path ![](https://i.imgur.com/3NySWWU.png) 開Microchip Studio Command Prompt ->Make all ->輸出 mega328_t4.eep mega328_t4.hex mega328_t4.lss mega328_t4.map ## 原理圖部分 https://github.com/svn2github/transistortester/blob/master/Hardware/strip_grid/TransistorTester_strip.pdf ### 線性電源 IC * 78xx,又被稱作L78xx、LM78xx、MC78xx...等,是一種固定式電壓輸出線性電壓調節器的集合。通常被用在需要穩定電源的電路中,具有便利性(易於使用)且低成本的優點。xx指的是其輸出電壓,例如 LM7812 的輸出電壓為 12 伏特。此種調節器輸出之電壓相對於接地點為高,故被稱作正電壓型調節器。可以和負電壓型調節器 LM79xx 搭配使用,以同時提供電路正負電壓。 * https://zh.wikipedia.org/wiki/78xx * 78L05 ### 電晶體 * 9015 * PNP * 9014 * NPN LT1004 * [Texas Instruments LT1004-2.5 系列 電壓參考](https://www.mouser.tw/Texas-Instruments/Semiconductors/Power-Management-ICs/Voltage-References/LT1004-25-Series/_/N-10vu2?P=1yygygvZ1z0zls6) * 2.5v 電壓基準 ic ### 電源區塊 ![](https://i.imgur.com/IbQstbT.png) makefile 版本等待確認 mega328_T3_T4_st7565 mega328_T4_v2_st7565 兩種 ## 燒錄 步驟 1. arduino uno 改造成ISP燒錄器 2. 修改原始碼(一般AVR的原始檔,此專案非Atmel Studio或Arduino方式建立的,很傳統) 4. WinAVR 和 Make for Windows 下載 5. 使用 github 上的 makefile make 6. hex 檔產出 7. hex 上傳 mega328(hex 上傳工具還要找找) avrdude progisp 1.72 燒錄方法 - [x] 1. 把pin焊上去燒錄 - [ ] 2. 找人借探針 avrdude https://www.nongnu.org/avrdude/ 燒錄器 - [x] 1. 拿 口丁arduino uno做 > [name=鄭鴻旗]支持~~~ > [name=黃禹策]我需要大神支援教我改造 > [name=鄭鴻旗] http://information.cpshs.hcc.edu.tw/leson/Arduino/progrmaer.htm 這個可以嗎? > - [ ] 2. 找 avr isp燒錄器 - [ ] 3. 隨便買個燒錄器,用錢解決🤣 接線圖 ## 關於課程規劃: 因為有人捐了很多 LCR T4 壓克力保護殼,雖然有開放給大家來拿,但是還是沒有人要,所以乾脆就採購 LCR T4 回來開課,希望可以把這些材料有效的使用掉並且為口丁空間租金獲得費用,。 1. 這儀器是如何出現的 > [name=黃禹策]用魔法小卡刷的🤣 3. 結構與原理 4. 儀器校正 5. 如何使用 6. 改程式碼換上自己設計的介面圖型 7. 改保護裝置,電壓基準。 8. 改裝置供電方式 看要不要改非電池版本 使用舊版 LCD 繪圖工具 ## 繪圖知識 * [Creating monochrome bitmap files for LCD / GLIB using GIMP](https://www.silabs.com/community/wireless/proprietary/knowledge-base.entry.html/2019/02/14/creating_monochrome-ICUo) Windows * [LCD Assistant](http://en.radzio.dxp.pl/bitmap_converter/) * [Byte to Array Generator](https://www.14core.com/c-array-generator/) * [Image2Bitmap](https://github.com/FoxExe/Image2Bitmap) Mac * [tmapToC](https://github.com/hoiberg/bitmapToC) * [LCD Creator](http://www.csmithsoftware.com/LCD_Creator/LCD_Creator.dmg) ## 線上轉換工具 * [onvert an image to the BMP format](https://image.online-convert.com/convert-to-bmp) 線上轉 BMP 程式只要把檔案拉進去就可以了。 * [Arduboy Image Converter](http://www.bloggingadeadhorse.com/TeamARGImgConverter/) 線上轉 c code 程式只要把 png 檔拉進去就可以了。 ## 討論 https://www.facebook.com/honki/posts/10158199837636375?locale=zh_TW https://www.facebook.com/groups/arduinotaipei/permalink/4462795607081189/ 找出可以畫好 bmp 圖檔的工具,以及可以轉成 c code