Post Created date
5 - 40VdcIn to 5vdc/ ~1A peak out, low parts count switcher?
You can't connect any power supply to the USB port supply, this will create a short. You only connect the grounds and use one of the two supplies, USB or external. If you want to...
Thursday, 7 February 2013 - 16:44
5 - 40VdcIn to 5vdc/ ~1A peak out, low parts count switcher?
Quote:5 - 40VdcIn to 5vdc/ ~1A peak out lm2674 is not rated for 1A. Quote:source can (and does) varry from 5v to 40v (depending on SOC and load being taken from it). I need to...
Thursday, 7 February 2013 - 16:29
Eric hits the big time
jgmdesign wrote: I agree with Smiley that the Arduino can/should be looked at in the professional world as a productivity tool. So you mean that a prototype of an idea could be...
Thursday, 7 February 2013 - 09:42
Reading multiple ADC channels.
ADMUX = (ADMUX & 0xE0) | (chan & 0x1F); //select channel (MUX0-4 bits) ADCSRB = (ADCSRB & 0xDF) | (chan & 0x20); //select channel (MUX5 bit) Alex...
Thursday, 7 February 2013 - 08:32
Eric hits the big time
I think each one sees arduino from his own point of view. Clawson sees it as a toy based on his experiance and in relation to his profession and on the other hand you see it as a...
Wednesday, 6 February 2013 - 20:01
format specifier - uint32_t correct syntax
Quote:So is a long int 32 bits Yes. Quote:Integer types having exactly the specified width typedef signed char int8_t typedef unsigned char uint8_t typedef signed int int16_t...
Wednesday, 6 February 2013 - 17:57
format specifier - uint32_t correct syntax
Try sprint("%lu", buffer, v); Alex
Wednesday, 6 February 2013 - 17:52
overflow is possible in 16 bit multiplication codevision
Koshchi wrote:Quote:The problem is that unless you are already using floats in your code this will increase the compiled size because the math library has to be added for float...
Wednesday, 6 February 2013 - 16:23
Re: Efficient way of building strings
[NB: I actually fixed it in his post above so the point is not side-tracked by % signs but I'll leave this as it's worth explaining - and by editing in this comment I just lost...
Wednesday, 6 February 2013 - 15:12
overflow is possible in 16 bit multiplication codevision
Quote:In my experience, 19.53 * PIN_ADC_P1 will not use much more flash or cycles than (5000uL * PIN_ADC_P1) / 256 The problem is that unless you are already using floats in your...
Wednesday, 6 February 2013 - 13:52
overflow is possible in 16 bit multiplication codevision
What I wrote was not about the use of parenthesis, by all means I encourage the use of them but in the codepad snippet he has provided in one of the replies (which seems deleted...
Wednesday, 6 February 2013 - 13:39
overflow is possible in 16 bit multiplication codevision
dbrion0606 wrote: temp = ((unsigned long)PIN_ADC_P1 * 5000 / 256); should be replaced by (makes operations in a given order) temp = ((unsigned long)PIN_ADC_P1 * 5000) /...
Wednesday, 6 February 2013 - 13:09

Pages