tardate

Singapore, Singapore

tardate.blogspot.com

Age: 49

Apr
28
answered How to increment a bootstrap progress bar?
Apr
22
comment Automatically remove *.pyc files and otherwise-empty directories when I check out a new branch
neat, thanks. I add to two hooks. post-merge - caters for pull with merge; post-checkout - caters for branch checkout and also pull with rebase
Apr
21
comment Thermocouple Op-Amp - Arduino
floating inputs are ... floating, so don't mean much;-) Remember the op amp will attempt to equalise the inputs by adjusting the output (only). Try measuring the output. I just wired up an LM358P with 10mV on + and the 120k/1k non-inverting amp config. Theory says 1.21V on the output. I measure 1.10V. If you can't reproduce that, something's up with your op amp or wiring. Beyond that, I just have wild guesses sorry. It might help if you clarify how you are connecting both ends of the thermocouple, and exactly what model it is.
Apr
21
answered Thermocouple Op-Amp - Arduino
Mar
30
awarded Guru
Jan
15
awarded Nice Answer
Jan
15
awarded Yearling
Dec
22
comment Bundler keeps removing 'BUNDLED WITH' section of Gemfile.lock
it seems my issue was caused by rubygems-bundler also needing an update (to 1.4.4), see github.com/bundler/bundler/issues/4180
Dec
22
comment Bundler keeps removing 'BUNDLED WITH' section of Gemfile.lock
hmm, that's what I thought, but in practice I'm finding different. With bundler 1.11.2, a Gemfile.lock that says BUNDLED WITH 1.11.2, same ruby and rvm 1.26.11, and the repo deployed on two identical centos servers .. bundle install removes the BUNDLED WITH on one machine, but leaves it in place on the other. go figure!
Dec
17
comment Why should you use two resistors in parallel on an LED?
If it was already there for another reason.. .. reads like a guess, not an answer. Perhaps an edit for clarity? It's a fact: 8 x 1kΩ with next nearest values at 22Ω and 10kΩ per arduino.cc/en/uploads/Main/Arduino_Uno_Rev3-schematic.pdf The only conjecture is whether the parallel-1kΩ choice was originally motivated by BOM optimisation, but that seems a pretty safe bet in this case. Yes I chuckled at the first line too, but I wouldn't +1 it! Off topic and contradictory .. unless the intention is to imply that BOM optimisation is not "stellar electrical engineering"?
Dec
6
awarded Popular Question
Nov
18
answered Rais 4.2 Can't send outgoing mail using mandrill
Nov
12
awarded Supporter
Nov
12
comment MongoDB doesn't start after changing the data directory
thanks, this was also the solution for me on CentOS 7
Oct
26
comment Newbie : Overheat LD1117 3.3V Regulator (Input Voltage 5V-2A)
nice answer. I'd also recommend making sure you have the correct datasheet for your specific 1117 component. For example, the ST LD1117 has TO-220 pins gnd-out-in, but the UTC LD1117 TO-220 is in-gnd-out. I've connected a UTC per the ST pins before, and without load the first thing I notice is the device quickly gets very hot (thankfully disconnected without damage)
Oct
15
comment What is the cross-platform method of enumerating serial ports in Python (including virtual ports)?
fyi, I'm looking for same. Interesting comparison is how Arduino IDE/Processing does it's serial port enumeration for the Tools menu: github.com/arduino/Arduino/blob/master/arduino-core/src/… tldr: regex city!
Sep
16
comment arduino output pins collapsing voltage - is it dead?
Can you post your code? My first instinct is that you have not set the pin for output, hence this behaviour. But the code will tell...
Sep
15
comment AM Modulator Mixer Circuit
Thanks for sharing the answer Jim. I was able to use a variation on this idea to get the circuit working reasonably well, although as I think you and Andy are indicating, this is only single-side band modulation(?) Details of the circuit & demo are available at github.com/tardate/LittleArduinoProjects/tree/master/… for any who care to crib.
Sep
14
awarded Yearling
Sep
8
awarded Famous Question
1 2 3 4 5