Nice Circuits - Electronics, 3d printing and robots

CH340G USB to RS232 TTL module schematic (D-SUN-V3.0)

Cheap ($1) chinese USB to RS232 TTL modules from eBay. Works fine and is cheap enough to be thrown anywhere. Windows drivers download: CH340G datasheet (third-party translation): Schematic (reverse engineered): Source version (KiCad): PCB with marked components: Other photos:

Playing With Analog to Digital Converter on Arduino Due

Today I’m going to present some of more advanced capabilities of ADC built in ATSAM3X8E - the heart of Arduino Due. I like the Arduino platform. It makes using complex microcontrollers much simpler and faster. Lets take for example the analog-to-digital converter. To configure it even on Atmega328 (Arduino Uno/Duemilanove) you must understand and set correct values in 4 registers. And it can be much more in complex device, like 14 in ATSAM3X8E (Arduino Due)!