Show Posts
Pages: 1 2 [3] 4
31  Forum 2005-2010 (read only) / Workshops / Okinawa? on: July 06, 2008, 12:19:32 pm
Do we have any more arduino users in Okinawa Japan yet?
32  Forum 2005-2010 (read only) / Exhibition / Re: Office Door Sign on: September 15, 2007, 09:52:23 am
Now that is an awesome idea! Log the knocks on the door and make them visible on your web interface. You could probably get it to send you an email when there is a knock as well. I love it.

Tim
33  Forum 2005-2010 (read only) / Exhibition / Re: IR Remote Controll For Arduino on: February 09, 2009, 10:29:37 pm
I'm glad to see this worked. I'm anxious to find a use to play around with it.
34  Forum 2005-2010 (read only) / Exhibition / Re: IR Remote Controll For Arduino on: February 08, 2009, 11:41:48 pm
I don't claim to be an expert on any of these topics, but there are a couple of things I noticed in the code that concern me:

1) First off, in your interrupt function read_ir_bit(), you make a call to delayMicroseconds(). I'm fairly certain that timing functions (including serial) do not work inside an interrupt routine.

2) I believe the preferred method for handling interrupts is to simply set a few variables or bitmasks and then return processing to the rest of your code. For example, things might work out better if read_ir_bit() simply modified a volatile boolean variable irCommandIncoming = true; and then allow the main code loop to process that bit? it's just an idea.

3) also, though your function is named read_ir_bit() it appears to be reading the entire code, thus I would guess that every time the pin is FALLING (which happens numerous times during a single command) you start another interrupt routine. Once the interrupt is triggered by the falling edge, I would disable the interrupt while reading the rest of the command.

These are all just educated guesses. I'll try to play with it a bit myself when I have some free time.

Tim

35  Forum 2005-2010 (read only) / Exhibition / Re: Hacked R/C Moon light displays the current phase on: January 30, 2009, 12:18:38 pm
ThinkGeek got wind of my R/C Moon hack (which means they either read these forums, or hackedgadgets.com) and posted about it on the official ThinkGeek blog: http://www.thinkgeek.com/blog/2009/01/tim-farley-hacks-the-moon-oneu.html

What's more, according to a ThinkGeek staffer, this project helped him convince the company to start a promotion in which hacking ThinkGeek products could get you a $50 gift certificate to the store! (details available on the ThinkGeek Blog)

Wow.
Tim
36  Forum 2005-2010 (read only) / Exhibition / Re: Hacked R/C Moon light displays the current phase on: January 27, 2009, 12:19:42 pm
Quote
Incidentally you know your system will only work in the Northern hemisphere. If you use it in the southern hemisphere you have to hang it up side down otherwise the phase will be in the wrong direction.

Good catch. I'll stick another combobox on the C# form that asks what hemisphere you're in. When the arduino reads the value over serial I'll store it in EEPROM for safe keeping...

It should be a simple fix. You'll notice that I use a single byte and a bitmask to determine the status of the LEDs, so maybe something like:

Code:
currentPhase = getPhase(fullYear, month, day);

if((SouthernHemi) && (currentPhase != 0 && currentPhase != 63))
    currentPhase = ~currentPhase;
    // phase 0 is NEW moon, and phase 63 (00111111b) is FULL moon.
updateMoon(currentPhase);

The two leftmost bits are unused, so their value will not effect the outcome...

Thanks for your input!
Tim
37  Forum 2005-2010 (read only) / Exhibition / Hacked R/C Moon light displays the current phase on: January 27, 2009, 06:45:15 am
I just finished a new little hack. I modified a ThinkGeek R/C Moon Phase light so that it reflects the current lunar phase in realtime.

Essentially, the R/C Moon Phase light is a nightlight that comes bundled with an infrared remote control. The controller allows the user to change the moon's current phase with the press of a button - or automatically cycle through the standard phases of the moon throughout the day.

I decided that it would be more interesting if the model moon actually reflected the current phase of the moon based on the date. I did this by replacing the original PCB with an arduino and a DS1307 realtime clock module from Sparkfun. The DS1307 module maintains the proper time and date, while the arduino calculates the current phase of the moon based on the date. The RTC module contains a coin cell battery backup that enables the internal clock to maintain the proper time, even without power, for up to 17 years!

I also included a simple C# application for Windows.NET that updates the DS1307 in case it starts to drift over time.

Please take a moment to check it out at www.imagitronics.org/rc-moon/

Tim
38  Forum 2005-2010 (read only) / News / Re: Arduino Programming Notebook on: September 07, 2007, 04:57:02 am
I, for one, love the idea of having an arduino reference available in print. The book looks very good, and if my previous experience with Lulu is any indication, I'm sure it will be a quality product. (I just ordered one myself)

I just wish there were more schematics for interfacing with common sensors.

Thanks for your hard work.
Tim

39  Forum 2005-2010 (read only) / News / Re: DuinoStamp - Tiny board with just enough. on: July 06, 2008, 12:30:45 pm
Thanks,

I must have missed it.

I'm looking to make some permanent boards, and this looks like a good basis for such a thing.

Thanks again,
Tim

[EDIT] ahhhh, and I finally found the pinhead library in eagle. Thank you, thank you, thank you. lol [/EDIT]
40  Forum 2005-2010 (read only) / News / Re: DuinoStamp - Tiny board with just enough. on: July 06, 2008, 11:55:03 am
I didn't see the schematic and board layout on your site. Can you hit us with a link to them?

Thanks,
Tim
41  Forum 2005-2010 (read only) / News / Re: Arduino on Popsci on: July 10, 2008, 01:03:22 am
And saying that they declared war was my cheap rhetoric to get people to check out the link smiley-wink

42  Forum 2005-2010 (read only) / News / Arduino on Popsci on: July 09, 2008, 06:59:59 am
In case you hadn't heard, arduino was mentioned yesterday at popsci.com. And they declared war! lol. Check it out. http://www.popsci.com/diy/article/2008-07/processing-cah
43  Forum 2005-2010 (read only) / Frequently-Asked Questions / Re: ATmega168 Lock Bits??? on: September 15, 2007, 09:45:27 am
Brian, I just flashed my NG (m168) to Diecimila last week, this is the command I used (found elsewhere on this forum):

Code:
tools\avr\bin\uisp -dpart=ATmega168 -dprog=dapa -dlpt=0x378 --wr_lock=0x3F
tools\avr\bin\uisp -dpart=ATmega168 -dprog=dapa -dlpt=0x378 --wr_fuse_h=0xDF --wr_fuse_l=0xC7 --wr_fuse_e=0xF8
tools\avr\bin\uisp -dpart=ATmega168 -dprog=dapa -dlpt=0x378 --erase --upload if=bootloader168\ATmegaBOOT_168_diecimila.hex -v
tools\avr\bin\uisp -dpart=ATmega168 -dprog=dapa -dlpt=0x378 --wr_lock=0xCF

In this instance I used 0x3F and 0xCF, respectively. Is that any help?

Tim


44  Forum 2005-2010 (read only) / Frequently-Asked Questions / Re: stand alone Arduino on stripboard on: February 09, 2009, 10:49:41 pm
I've always been a big fan of these Radio Shack boards that are laid out just like a standard breadboard:

http://www.radioshack.com/product/index.jsp?productId=2102846



Makes it ridiculously simple to transfer to a more permanent board (albeit at the expense of size).
45  Forum 2005-2010 (read only) / Frequently-Asked Questions / Re: Mods? on: April 23, 2008, 06:18:36 am
Sounds like all the more reason to upgrade the BB system to another platform that supports some form of CAPTCHA (http://en.wikipedia.org/wiki/Captcha) or other Textual confirmation (http://bbantispam.com/tc/)
Pages: 1 2 [3] 4