-->
Page 2 of 2

Re: ESP8266: Handling analog signals without an analog input

PostPosted: Mon Apr 20, 2015 2:15 pm
by alonewolfx2
What is your pcb design program ?
trackerj wrote:When playing with analog I will suggest you to use a proper ADC/DAC for a decent accuracy.

MCP3421 I2C ADC : http://www.esp8266-projects.com/2015/04/18-bit-adc-mcp3421-i2c-driver-esp8266.html
MCP4726 I2C DAC : http://www.esp8266-projects.com/2015/03/mcp4726-12-bit-i2c-dac-driver-for.html
Pretty accurate DAC, as you can see also from this test: http://www.esp8266-projects.com/2015/03/mcp4726-12-bit-i2c-dac-driver-for_7.html

Re: ESP8266: Handling analog signals without an analog input

PostPosted: Mon Apr 20, 2015 3:31 pm
by trackerj
[quote="alonewolfx2"]What is your pcb design program ?

Mostly Eagle and DesignSpark PCB. Why? What are you using

Re: ESP8266: Handling analog signals without an analog input

PostPosted: Mon Apr 20, 2015 3:59 pm
by martinayotte
It just make me remembered that I've some MCP3021 and MCP4725 sitting in my drawers. I've just soldered them on TSSOP adaptors like TrackerJ did ... ;)

Re: ESP8266: Handling analog signals without an analog input

PostPosted: Mon May 04, 2015 9:14 pm
by frob
Very nice write-up hbouzas!
i used those 555 timers extensively in my misspent youth...
it reminds me of an ancient technique i put to good use many years ago,
if you really wanna really go bare-bones minimalist, it can be done with an even more primitive circuit -
using a comparator (or op-amp) and a sawtooth generator consisting of a constant current source ( 2 transistors like 2n4401 /3901 etc.. and 2 resistors ) to charge a capacitor, then reset that with a GPIO as necessary.
its surprisingly accurate.

cheers