博文

How to Build a Ozone Disinfection Box to Kill Virus Saftly

The below content of the blog is from google doc and keeps updating when I have more progress. If you want to click the link in this blog, please right-click the link and select open in new tab (window).  

AWG Wire Size table

AWG Wire Sizes (see chart below) AWG : In the American Wire Gauge (AWG) system, wire size diameters can be calculated by applying the formula D(AWG)=.005·92((36-AWG)/39) inch. For the 00, 000, 0000 etc. gauges you use -1, -2, -3, which makes more sense mathematically than "double nought." This means that in American wire gage every 6 gauge decrease gives a doubling of the wire diameter, and every 3 gauge decrease doubles the wire cross sectional area. Similar to dB in signal and power levels. An approximate but accurate enough form of this formula contributed by Mario Rodriguez is D = .460 * (57/64)(awg +3) or D = .460 * (0.890625)(awg +3). Metric Wire Gauges (see table below) Metric Gauge :  In the Metric Gauge scale, the gauge is 10 times the diameter in millimeters, so a 50 gauge metric wire would be 5 mm in diameter. Note that in AWG the diameter goes up as the gauge goes down, but for metric gauges it is the opposite. Probably because of this confusion, most of the t

How to build a cheap J-Link lite debug tool for Infineon XMC CPu

Here I share a cheap way to build a J-Link Lite debug tool for infineon from a boot kit from Infineon which cost 24 Dollars on Mouser or Digikey.

Induction heater

How to Program XMC Mcu with XMCFlasher

图片
1. Download XMCFlasher from website of Infineon .  Or use this link XMCFlasher ; 2. Install Oracle Java8 JRE . If it is not yet installed in your system. 3. Install the latest Segger JLink software . 4. Extract the folder XMC™ Flasher to the preferred location. Double click on XMCFlasher.jar, Click on Connect and select which mcu you are going to program. If some error happen. Maybe it because the BMI set is not correct. You can set the BMI mode by click on the BMI on menu. Click Select File button to select which program is going to program. Usually the file is locate in the \Debug or \Release subfolder under your project folder depends on you set of project. After that, click Program button, the mcu will programmed. If you have several board to program, click Connect button when you change a board and click Program Button. I found in some computer, when you run XMCFlasher.jar. It will show an error. Even I reinstall Java, the error is still there. But When I

Windows 10 CHM Help Files Showing Up Blank

图片
Windows Help CHM viewer Only show up the table of contents, but the content pane was blank. The reason is that Windows 10 will block the files download from internet automatically.  If you unblock the file, then the content pane will show up correctly. Find the .chm file location, right click, and go If you have a lot files do not showing up correctly. You can use PowerShell to solve the problem. Locate the folder contains all the help files. Right click the blank place of the fold with shift key. Then select power shell. In Power Shell run this command: Get-ChildItem  -Recurse | Get-Item -Stream Zone.Identifier -ErrorAction Ignore | Select-Object -ExpandProperty FileName | Get-Item | Unblock-File