The Cyclic Redundancy Check (CRC) byte in a serial packet is used for error detection. The method covered in this post is identical to the Maxim/Dallas 1-wire devices called Dow CRC. This is done through the following formula: Lucky for us, this data can be compressed to a simple Look Up Table (LUT) for efficient […]
Year: 2017
Eagle Tip: Exporting Pick and Place Data
When submitting a design to a fab to get your electronics assembled, you’ll need to generate the “XY Data” file that can then be imported into the board houses’ software to program their Pick-and-Place machine. The default-installed ULP below will generate the data file in a format that matches Altium Designer and will be useable […]
Reading negative voltages with an ADC using passives
Reading simple 0 to 5V or 0 to 3.3V signals with an ADC is trivial and can be done entirely with the integrated hardware on most microcontrollers. Things get slightly more difficult when you need to sample analog signal that can be negative or positive. This blog post will walk you through a basic solution […]