Show Posts
Pages: 1 2 [3] 4 5 ... 290
31  Using Arduino / Networking, Protocols, and Devices / Re: Xbee sleep mode question on: August 24, 2014, 08:43:06 pm
I haven't tried it, but on page 91 of the XBee ZB product manual, it says:

Quote
IO Sampling
End devices can be configured to send one or more IO samples when they wake from sleep. To enable IO sampling on an end device, the IR command must be set to a non-zero value, and at least one analog or digital IO pin must be enabled for sampling (D0 - D9, P0-P2 commands). If IO sampling is enabled, an end device sends an IO sample when it wakes and starts the ST timer. It will continue sampling at the IR rate until the sleep timer (ST) has expired. See chapter 8 for details.
32  Using Arduino / Programming Questions / Re: how to make a attiny85 go to sleep? on: August 23, 2014, 05:20:27 pm
Jack thank you what i was trying to do is take as little power as i can while keeping the attiny85 in sleep or idle mode something i was going to use a button to wake it up just for a brief second or less then that but i forgot i had some PIR sensors so what i would like to do is add that to this project so when someone walks past it  the attiny comes out of sleep mode or idle mode and turns on a led problem is The PIR sensor takes power trying to make the battery last a long time its a 4.5v battery pack 3 double A batteries. trying to get it to last months if can.will the sleep mode help it?

Sleep mode will reduce power used by the microcontroller (power-down mode will save the most power, idle mode less so, see the datasheet).

Not knowing anything about this particular PIR sensor, it's hard to comment. If it can generate an interrupt, then it can bring the MCU out of sleep mode. If the sensor needs to be on continually, then it may draw too much power. I might consider having the MCU turn the sensor on and off at some regular interval, say half a second or whatever is just quick enough to catch someone walking by. If the sensor can be powered up and read in, say, a few milliseconds, then power use could be reduced by an order of magnitude, maybe more.
33  Using Arduino / Programming Questions / Re: random serial thoughts. on: August 23, 2014, 05:03:29 pm
Not with the standard IDE but you may be interested in http://bitlash.net/
[/quote
Jack,
would this stop Arduino IDE compiler to go crazy when I have HyperTerminal open and using it as test to my app?
It is getting annoying to keep restarting the terminal.
Cheers Vaclav

Unknown. I don't know the first thing about Bitlash, I am just aware of it. Try it and let us know.
34  Community / Exhibition / Gallery / Re: button bounce profiler on: August 23, 2014, 04:59:48 pm
What is the y-axis on the charts? I assume the x-axis is time, some tick marks would be helpful.
35  Using Arduino / Programming Questions / Re: how to make a attiny85 go to sleep? on: August 23, 2014, 04:52:39 pm
https://gist.github.com/JChristensen/5616922#file-sleep_attinyx5-ino
36  Using Arduino / Programming Questions / Re: code in code on: August 23, 2014, 12:43:07 pm
Not with the standard IDE but you may be interested in http://bitlash.net/
37  General Category / General Discussion / Re: kickstarter - what a crock! on: August 22, 2014, 09:30:51 am


38  General Category / General Discussion / Re: kickstarter - what a crock! on: August 22, 2014, 07:30:56 am
You can't possibly be old enough to play golf smiley-grin
39  General Category / General Discussion / Re: kickstarter - what a crock! on: August 21, 2014, 10:23:18 pm
The 1284P board I designed is pretty simple, but it fits my needs. Didn't consider it a breakthrough or anything, so I published it on GitHub just in case someone else could use it. So putting a Kickstarter campaign together didn't occur to me but would definitely have taken several times the effort that went into designing the board itself.

Should be interesting to see what this guy uses for a core.

Quote
Also, to "install" the board in the Arduino IDE you will just need to copy and paste a folder I will provide in the hardware directory of your Arduino IDE's install location.

Quote
I will definitely make a good guide on using the Mini Duino+ after the campaign is successful.
40  Using Arduino / Programming Questions / Re: Altering an RTC library. on: August 21, 2014, 05:26:53 pm
Good find aeternus!

Unfortunately, the reason we're using the MCP79511 is for the unique ID  address MAC address.

MCP79411 has a 48-bit MAC address; MCP79412 has a 64-bit MAC address. The library mentioned above works with both and has a function to read the MAC address. I've also used 24AA02E48 for MAC addresses, very inexpensive.

(Thanks, @aeternus  smiley)
41  Community / Bar Sport / Music & Electricity on: August 19, 2014, 03:51:26 pm
A musician friend of mine told me that he was in the local orchestra when it played an outdoor concert. The sky became stormy, but they played on - "Until lightning struck the orchestra leader," he said sadly. "My gosh!" I said. "Was he badly hurt?" "Nah, he's fine. See, he's a very poor conductor."
42  Using Arduino / Networking, Protocols, and Devices / Re: Setting up X-bee network in API mode on: August 19, 2014, 11:55:57 am
All is explained in the product manual.
Andrew Rapp's library makes it easy.
Be sure to set AP=2.
43  Community / Bar Sport / Re: Winter vs Summer on: August 19, 2014, 06:45:17 am
Saw a news item saying that they may get snow in the mountains of Scotland. This global warming thing is really getting out of hand, eh.
44  Using Arduino / Microcontrollers / Re: "Divide Clock by 8" fuse in order to use 16MHz RC oscillator for low voltage? on: August 18, 2014, 04:57:39 pm

I agree.  After rereading it my post is confusing.  I meant have the CKDIV8 fuse bit set and adjust the divisor in setup.  Initialization would be at 2 MHz.  Everything else would be at 8 MHz.

What can I say, I can't help picking nits.  Although a person might get away with it the other way around, I can't recommend it.
45  Using Arduino / Microcontrollers / Re: "Divide Clock by 8" fuse in order to use 16MHz RC oscillator for low voltage? on: August 18, 2014, 04:27:22 pm
The CKDIV8 fuse bit just determines the initial value of CLKPR.

Which means that @halfdome could change the divisor to two in setup resulting in the processor running at 8 MHz.  The processor would always be within specifications for 3 volts but the final speed would be more reasonable.

Well, the processor would be within spec except for the code executed before setting CLKPR  smiley-wink
Pages: 1 2 [3] 4 5 ... 290