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: http://www.arduined.eu/ch340g-converter-windows-7-driver-download/ CH340G datasheet (third-party translation): http://cdn2.boxtec.ch/pub/diverse/ch340g-datasheet.pdf Schematic (reverse engineered): Source version (KiCad): https://github.com/NiceCircuits/modules_from_china/tree/master/CH340G_D-SUN-V3.0 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)!