Show Posts
Pages: 1 ... 127 128 [129] 130 131 ... 358
1921  Community / Bar Sport / Re: battery density on: July 21, 2013, 10:46:02 am
Have you tried shading the board?
1922  Community / Bar Sport / Re: battery density on: July 21, 2013, 08:13:34 am
That has all the sounds of a need to be met. How much solution can they afford?

1923  Using Arduino / Programming Questions / Re: Strange behaviour if Serial Monitor on on: July 21, 2013, 07:49:07 am
This gets more interesting to me. I have not begun to play with relays. My ideas are more in the stone wheel category of not switching house AC faster than 1 second apart and try to engineer needs for longer periods than that.

1924  Community / Bar Sport / Re: "The Physics Problem" on: July 21, 2013, 07:35:28 am
And note that the speed you can take a certain radius turn will be different in a level turn vs a descending or rising turn.

Racers learn the course before trying for maximums. A good rider knows how far he or she can lean and still there is no guarantee of safety. What margin you give is the margin you get. Just because someone has killed a tiger with a stick doesn't mean to approach tigers with sticks.

1925  Using Arduino / Programming Questions / Re: Flipping between states on: July 20, 2013, 06:03:21 pm
Code:
if ( Test_State == true )
{
    Test_State = false;
}

if ( Test_State == false )
{
    Test_State = true;
}

So do you walk through your code line by line?
What happens if you start with Test_State as true?
What happens if you start with Test_State as false?

First line - if ( Test_State == true )
then what happens?
What value does Test_State have?

And when it gets to - if ( Test_State == false )
what happens?

You might want to have a read about else that goes with if:
http://arduino.cc/en/Reference/Else

1926  Community / Bar Sport / Re: battery density on: July 20, 2013, 04:54:20 pm
Would it be any good to use flip-dots? Or some kind of stepper-driven card rolodex?


1927  Using Arduino / Programming Questions / Re: Strange behaviour if Serial Monitor on on: July 20, 2013, 02:37:48 pm
I'll stick with a Teensy then.
1928  Community / Bar Sport / Re: battery density on: July 20, 2013, 02:34:56 pm
Look at how much less power electronics use now compared to 40-50 years ago. That trend should on the way down meet batteries on the way up.

Use of earbuds instead of speakers, leds and LCD's and other efficiencies may have room to go yet.

And there's lots of room for self-power. The hand-heat powered flashlight is one beginning. Piezos in shoe soles is another. Put solar cells in your project, been around for decades. With super-capacitor improvements to store generated power, batteries will just be another choice.

1929  Community / Bar Sport / Re: Critical thinking and programming. on: July 20, 2013, 02:24:03 pm
The ones that make a habit of playing lame do get identified and called out for it.
The ones that put in effort do enable the best help to happen for themselves, we appreciate that.

I read a lot of threads that I don't post in just to pick up tips. From the visit counts I expect that a lot of members do the same. So what help is given to one is generally also given to some/many and not wasted.
1930  Community / Bar Sport / Re: Your latest purchase on: July 20, 2013, 02:18:47 pm
Got another order in with Yourduino.

What's their stock level / shipping time like?

Box got in after spending time playing tag with Fedex. From order to arrival worked out to 4 days on a 3 to 6 day shipping method.

Everything arrived in good shape in a sealed & bubble-padded package.

I'm set for a while except maybe I want more of those 5/$1 RGB leds and shift registers to drive them with, or maybe I want analog led drivers.....

1931  Using Arduino / Programming Questions / Re: advantage of voltile keyword on: July 20, 2013, 05:33:55 am
I was thinking more of the way that the compiler deals with volatiles, what it must do/cover because of that keyword.

Buuuuuuuut there is what we should do as well as your article shows.


1932  Using Arduino / Programming Questions / Re: advantage of voltile keyword on: July 20, 2013, 02:05:59 am
A volatile variable can't be accessed while interrupts are on unless it's atomic?
1933  Using Arduino / Programming Questions / Re: Strange behaviour if Serial Monitor on on: July 20, 2013, 01:55:24 am
What is this doing?
Code:
if(Serial.available())

From here it looks like it's being used as a switch. Nothing happens in loop() until a char is in the serial input buffer and then the code in loop() tries to stuff the serial output every 21 ms or so.

Will the anomaly Daylen gets go away if serial is set to run at 115200? Will Daylen get the same results if Daylen switches from relay to led, though I don't see why? IMO there may be something to learn including a total system lesson.

1934  Using Arduino / Programming Questions / Re: Timing is off with a non-blocking delay on: July 19, 2013, 01:05:16 pm
You're probably closer than you think but where is nCycles defined?

You can find all those alphabet-names and more in the complete 328P datasheet (or find the 2560 datasheet for the MEGA2560, etc).

http://www.atmel.com/devices/ATMEGA328P.aspx?tab=documents

1935  Community / Bar Sport / Re: Critical thinking and programming. on: July 19, 2013, 12:50:20 pm
That's solid Rob though IME feature creep is most often the result of managers/customers that don't have more than a clue about the code and an inverse desire to "make it like a Microsoft app".

Pages: 1 ... 127 128 [129] 130 131 ... 358