Hackable Microcontroller-Powered Valentine's Card 133
compumike writes "If you have a significant other to impress this Valentine's Day, consider putting your programming skills to use. This video tutorial shows how to build an LED Heart Valentine's card, powered by a microcontroller running C code, with a neat randomized 'twinkling' effect in an interrupt handler. Think about it: how many ladies can say that their Valentine's card runs at 14 MHz?"
More Likely Responses (Score:5, Funny)
Her: Really?! 14? How many songs does that mean it can hold?
or
Him: Yeah, babe, and now you can tell your friends that your Valentine's Day card runs at 14 MHz.
Her:
or
Him: Yeah, babe, and now you can tell your friends that your Valentine's Day card runs at 14 MHz.
Her:
(She remains as silent as all other RealDolls)
Re:More Likely Responses (Score:5, Funny)
Think about it: how many ladies can say that their Valentine's card runs at 14 MHz?"
Clearly this is a trick question. No such girlfriend ever existed in the first place.
Re:More Likely Responses (Score:5, Funny)
OK, but bear with me..... assume a spherical girlfriend of uniform density.....
Re: (Score:2, Funny)
Re:More Likely Responses (Score:5, Funny)
That's easy, just imagine the average American woman.
Re: (Score:1)
He said "uniform density", American women tend to be top-heavy.
Re: (Score:2)
Top-heavy women or GTFO!
Re: (Score:1)
...and if she is a Banach spherical gilfriend [wikipedia.org], you can get two of them at the price of one!
Re: (Score:1)
Think about it: how many ladies can say that their Valentine's card runs at 14 MHz?"
Clearly this is a trick question. No such girlfriend ever existed in the first place.
& this is clearly a trick answer since no-one mentioned girlfriends. Clearly when the OT referred to 'ladies' it was actually a euphemism for 'moms', the only women in the lives of those building these cards.
Re: (Score:1)
Re:More Likely Responses (Score:5, Informative)
Considering my wife came across an electronics project I made, didn't care what it was or how much work it cost and threw it away.. I'm probably not going to spend hours and hours making a valentines day card twinkle...
Re: (Score:2, Redundant)
That wasn't funny, mod that sad you sick sick moderators.
Re: (Score:1)
It would have been funnier if she'd reprogrammed it to spell out DIVORCE.
Re: (Score:2)
Re: (Score:1)
Re: (Score:2)
Can't you just replace her with a Perl script or something?
Re: (Score:1)
Re: (Score:2)
Re: (Score:2)
Re:More Likely Responses (Score:5, Funny)
Re: (Score:3, Insightful)
More like
HimYeah babe, your Valentine's Day card runs at 14 MHZ!
HerI think we should see other people.
Re:More Likely Responses (Score:5, Funny)
or ...14 MHz.
Him:
Her: At least something knows how to oscillate around here.
Most Likely Response (Score:5, Funny)
Her: That's NOT the kind of crystal I had in mind.
Some of you are sad. (Score:2)
Him: Yeah, babe, and now you can tell your friends that your Valentine's Day card runs at 14 MHz.
Her: Really?! Thanks sweety! Do you think we could put an Arduino in one of this?
Re: (Score:1)
Silly wabbit, it can't hold any songs, the atmega 168 has 16k flash!
Re: (Score:1)
The 168-20PU 28pin DIP can run at 20MHz, although it is commonly underclocked to 16MHz.
Re: (Score:2, Informative)
Her:
Re: (Score:1)
More like...
Him: Yeah, babe, and now you can tell your friends that your Valentine's Day card runs at 14 MHz.
Her: Awesome! One for each of the 14 babies I just birthed.
Re: (Score:2, Informative)
Her: Yeah, like I want them to know that you suck at coding and need 14 million cycles per second just to blink a few lights.
Re: (Score:2)
Good job to those making stuff like this.
Re: (Score:2)
Re: (Score:1)
The first use for (Score:1)
Yes... (Score:1, Funny)
Re: (Score:1)
Imagine that.
Come now (Score:1)
And this is too geeky even for ME.
Re: (Score:1)
Re:Come now (Score:5, Funny)
If you can't create that card with a 555 and a couple resistors, I wouldn't be surprised to see your Valentine laugh in your face and go off with a real He-Man who writes assembly.
Christ! A 14Mhz microcontroller... if you're gonna use that, the damn card better access the internet or play NES games at least.
Re:Come now (Score:5, Insightful)
Damn, you mentioning 555's takes me back ... in 1981 when I was just 13 years old, I got a little project published in Everyday Electronics, on just such a premise ... an oscillator made from two gates of a 4001 feeding into a 1 of 6 counter (4022 ?) and 6 LEDs cycling in sequence. I'd abandoned the 555 in favour of the NOR gates as it was bloody unstable and used to do horrible things to the power supply.
I got paid 12 pounds for getting that published, which was like a kings ransom for a 13 year old.
Microcontroller pfft ... can you say overkill ?
Re: (Score:2)
Microcontroller? Really?
I think that using a counter with some 74 series logic and LEDs would be cool, and it would actually be appropriate to drive them with a monostable multivibrator for this project. :)
Re: (Score:2)
Hey baby. Want to see my monostable multivibrator?
Re: (Score:2, Funny)
It's like using an anvil to hammer a picture hanging nail.
I don't get it...
Re: (Score:2)
Kids indeed.
Back in my day I built a Valentine's Day card with Nixie tubes, a Van de Graaff generator, and a bicycle.
It was 900 pounds and required a wheelbarrow to deliver to my special lady.
pfftt... (Score:5, Insightful)
>"...how many ladies can say that their Valentine's card runs at 14 MHz?"
How many want to?
Re: (Score:2)
Re: (Score:1)
And remember - investing in MS is risking having your own money used against you in the marketplace.
Invalid XHTML (Score:4, Interesting)
That's the least page I can remember bearing a "Valid XHTML" logo at the bottom. Ugh.
Re: (Score:2)
Re: (Score:2)
That's why, for a fully romantic touch, you put together a 400 page user manual that, among other things will teach her how to reprogram it using machine language.
Trust me. That'll get your main squeeze swooning.
Re: (Score:2, Funny)
Soo...um...are you seeing anybody?
Chocolate (Score:2, Funny)
I don't have a girlfriend so I can't be entirely sure, but I do know that the chick at the video store wasn't happy when I finally got her to open the box of chocolates I was holding in front of me only to find my penis poking in from a hole in the bottom.
Re: (Score:2)
I don't have a girlfriend
(Mod -1: Redundant)
Overclock it? (Score:5, Funny)
I bet with liquid cooling you could get it to 18MHz!
Make her a dinner reservation instead (Score:5, Insightful)
Special's what you want (Score:2)
While there's nothing wrong with a dinner reservation at a nice restaurant (who doesn't like good food?), my own experience suggests that a sincere creative gesture is often pretty well-received.
Re: (Score:1, Insightful)
And that attitude is why you can't get laid. Or maybe you just go for really shallow women so it has skewed your perception of the entire gender.
And yes, I'm female. Really.
No, really.
Re: (Score:1)
Re:Make her a dinner reservation instead (Score:5, Informative)
No offense, but what "real" females - shallow or not - say and what they mean differ drastically. I don't think this involves lying so much as simple self-delusion (since they seem to actually believe what they say), but it all ends up the same.
Simple example - Would you rather get a blinking card that represents a week's work from your SO, or a mere half-day's pay worth of roses delivered conspicuously to your workplace?
And before you answer, I've tried both (well, not a blinking card, but same idea). The "lovingly crafted with my own hands and dozens of hours of hard work" gift gets a "gee, thanks, how... nice". The large bundle of dying plant debris result in a tigress throwing you to the floor and a few hours of scratch-mark-leaving entertainment.
Women want stuff and attention, and as much of it as possible. They don't care about the effort or intent involved, just the end product.
Re: (Score:2)
What was it that you hand crafted for her? If you spend 99 hours on an electronics project that flashes her name and is controllable via serial/USB and it's not something she likes, I can bet she'll disregard it completely REGARDLESS of how much effort you tell her you put into making it.
You could save your money, time, and headache(s) by getting her a nice card and making reservations at her favorite restaurant, or even cooking her favorite meal right at home, and get the "throwing you to the floor" result
Re: (Score:2, Funny)
Re: (Score:1)
Re: (Score:3, Insightful)
Politically Incorrect or not, I expect that I got modded up because most people (males, at least - which happen to form the vast majority of Slashdotters) can strongly identify with my statements.
but what I *do* know is that there are a large number to which this does NOT apply.
Oh, no doubt! Very few unqualified generalizations hold true universally; you'll get no disagreement from me on that point. Bu
Re: (Score:2)
Re: (Score:1, Insightful)
Re: (Score:1)
Only a really 'special' girl is going to be impressed by this. The only thing a girl wants you to make for Valentines day is a dinner reservation.
Meh, I'd rather cook... I'm pretty good at it. Of course, I could go out to dinner so I could see if there's something new I could learn to make. I would rather receive something from my SO that's from him, though. You know, either something that's what he does or something that he put thought into... something that shows that he pays attention to me. Of course, when I do gifts, I make them but I'm into a lot of arts/crafts. The last gift I made was a sterling silver and peacock blue enamelled copper b
Are these available in Boston? (Score:2)
Hallmark is your friend... (Score:2)
Re: (Score:2)
Ignorant mod doesn't read Penny Arcade [penny-arcade.com]? It's only eight days old, too!
Did anyone else read it as.. (Score:2)
That would be so much cooler, and helpful for this crowd.
Re: (Score:1)
Something more simple (Score:4, Interesting)
Edge lit holiday cards [evilmadscientist.com] (the snowflake one looks much better with a black background & two blue LEDs, one at the top & other at the bottom)
Next christmas I'm going to have to make something even better - anyone have any simple circuit designs on using an LED as a light sensor and then making some more LEDs react by blinking?
Re: (Score:2)
(strangely the only place I can find solderable USB plugs online/offline is from Maplins!)
They are *weird* like that. The amount of odd stuff you find in Maplins is incredible, as is the number of things you *don't* find that are perfectly ordinary. Reverse SMA plugs? Masses. Solderable USB connectors? Yup, do you want A, B, mini-A, mini-B or micro? Oh, and what colour boot do you want? 100 ohm 1W resistors? Nope. 50-ohm BNC plugs? Uhhhm, I'll need to check through the back. RG58 coax? Only 3m
Re: (Score:2)
As usual, Digikey [digikey.com] has them as well -- and a vastly superior web site. You can search on USB cables and select connector to raw cable, or I'm guessing you're looking for part number Q363-ND. (If you're actually looking for PC-mount sockets or something, they have those too...)
I'll give the LED as light sensor some thought, but I imagine you'd just wire it as a photodiode (it should act like any other photodiode, though less efficiently) with an op amp, possibly log scale it to get good response across ambi
Re: (Score:1)
Re: (Score:2)
anyone have any simple circuit designs on using an LED as a light sensor
No, I don't think that is going to work. You need a phototransistor or photodiode. Years ago I built a little circuit around a chip which detects changes in light intensity. It is intended for use in an alarm. You might still be able to find this device.
and then making some more LEDs react by blinking?
That part is pretty easy. Maybe think in terms of passing the output of a photodiode into a comparator to give a nice 1/0 output and using that signal to control the reset on a binary counter. Then feed the outputs from the counter into the LEDs.
Possible danger (Score:3, Funny)
She might attempt to do something similar for next month's "guy" version of Valentine's Day. [steakandbjday.com]
Then again, that might work out well.
nerdkits (Score:3, Interesting)
these guys seem to have a decent piece of the slashvertisement market recently...
A woman could make this card too, you know! (Score:1)
Re: (Score:1)
Submitter forgot to mention it costs $79.99 + S/H (Score:1)
Re: (Score:2)
I own a NerdKit and have been having a lot of fun playing with it. While the components certainly cost a lot less than $80, the documentation and real human-based tech support (right down to helping you debug your own code at no charge) is well worth it.
It should also be noted that if you choose to make more of the kits by buying components, the NerdKits people supply their bootloader and assistance for installing it on a fresh microcontroller. I think it's a pretty sweet deal, even if perhaps a Slashvert
Re: (Score:3, Insightful)
The kits are for people that are interested in getting started with microcontroller-based projects. Do you remember just how hard it can be to figure out where to start?
Well-documented projects, all the components you need, support -- for $80 that sounds like a steal!
Yes, you can get the parts much cheaper, but this isn't about buying the parts.
If you really do want something a little cheaper you can get started with an Arduino board and browse the various gu
God! take that skirt off that halogen lamp! (Score:2)
Make your date memorable as in live to tell another day, by not putting garments over halogen lamps. I know is just a prop but props can be set ablaze. Just ask Michael Jackson. Cool Valentine's card thought.
Ah, geez... (Score:1)
Seriously, guys. Maybe do this as an extra little kicker, because let's face it, she HAS to appreciate your nerdiness/geekiness or she wouldn't be with you, but make it your LOWEST priority project.
Real Men (Score:2, Funny)
A) Real men don't build a circuit with an 14Mhz ATmega, when a couple of 555's [wikipedia.org] and a few TTL counters would have sufficed.
B) Real men don't program micro-controllers in C (or, god forbid, BASIC), when a hundred or so assembly instructions would have sufficed.
C) Real men don't give their wives goofy hand-made electronic crap on Valentine's Day, because they know their wives will figuratively and possibly literally beat the shit out of them thus belying that whole 'real man' thing.
14 MHz ??? (Score:2)
Special sort of girl (Score:1)
Not what she'd want (Score:4, Funny)
Personaly I'm sure she'd want something that ran at 150hz (approx)
BZZZZZZZZZZZZZZZZZZ
14MHz? (Score:2)
Talk about a waste of cycles. I'm sure the same thing could be achieved with just 1.4kHz.
A little overkill... (Score:3, Insightful)
You can get the sequential LEDs pattern with a simple shift register (74HC574 can be wired for this) and a 555 timer. If you want to add randomness, you can add a few xor gates (74HC86) to make a linear feedback shift register. So far, that's less than a dollar of IC's, and no programming required.
I've done this! (Score:3, Insightful)
Three times. I did not exactly make a card- two times I made a board with a PIC and a 2*16 LCD, the third time I simply coopted a spare Renesas dev board. All I did was display some message on the LCD. And the girls LOVED it. You can never discount how much the girls will love something you take the time to make- girls do dig the geeky stuff.
Why it's Creased Lightning! (Score:2)
I must not understand women (Score:2)
Skills... (Score:1)
Hmmmm, I'm wondering: will she find this cute, or plain too much geeky ?!?
Misread... (Score:2)