项目作者: kronawetter

项目描述 :
Apple WWDC20 Swift Student Challenge Submission (Accepted)
高级语言: Swift
项目地址: git://github.com/kronawetter/analog-to-digital-conversion.git
创建时间: 2020-05-17T20:42:57Z
项目社区:https://github.com/kronawetter/analog-to-digital-conversion

开源协议:MIT License

下载


Analog-to-Digital Conversion Playground

This playground aims to explain the process of converting analog signals to digital ones. When a device such as Apple Watch takes an ECG (or simply measures the temperature), it does so by measuring an electrical voltage. Since CPUs are digital circuits, the voltage needs to be converted to a digital signal before it can be processed inside the CPU.

There are multiple approaches to analog-to-digital conversion. The presented approach (successive approximation) depends on the conversion of digital signals to analog voltages. Consequently, digital-to-analog conversion is also discussed in this playground.

Screenshot of the fixed-point arithmetic page

Screenshot of the digital-to-analog conversion page

Screenshot of the analog-to-digital conversion page