Slashdot Mirror


Hackable Microcontroller-Powered Valentine's Card

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?"

133 comments

  1. More Likely Responses by Arthur+Grumbine · · Score: 5, Funny

    Him: Yeah, babe, and now you can tell your friends that your Valentine's Day card runs at 14 MHz.
    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: ...uh, yeah... I'll be doing that right away...

    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)

    --
    Now that I think about it, I'm pretty sure everything I just said is completely wrong.
    1. Re:More Likely Responses by Sepiraph · · Score: 4, 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.

    2. Re:More Likely Responses by arogier · · Score: 1

      What about starting a charity where unloved Itanium machines can get repurposed as E-valentines running repurposed ELIZA hacks offering the appearance of command line affection.

    3. Re:More Likely Responses by narcberry · · 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...

      --
      Modding me -1 troll doesn't make me wrong.
    4. Re:More Likely Responses by Ethanol-fueled · · Score: 1

      The success of your joke depends on the audience knowing what a realdoll is.

    5. Re:More Likely Responses by Arthur+Grumbine · · Score: 4, Funny

      And that's why it's currently +5 funny. I know my audience.

      --
      Now that I think about it, I'm pretty sure everything I just said is completely wrong.
    6. Re:More Likely Responses by interstellar_donkey · · Score: 2, Insightful

      More like

      HimYeah babe, your Valentine's Day card runs at 14 MHZ!
      HerI think we should see other people.

      --
      The Internet is generally stupid
    7. Re:More Likely Responses by moosesocks · · Score: 5, Funny

      OK, but bear with me..... assume a spherical girlfriend of uniform density.....

      --
      -- If you try to fail and succeed, which have you done? - Uli's moose
    8. Re:More Likely Responses by pacificleo · · Score: 2, Funny

      Why would someone want a girlfriend with uniform density . you need to have standard deviation and make a bell curve at appropriate places .

      --
      somethings are best left unsaid , I am one of those things
    9. Re:More Likely Responses by az1324 · · Score: 5, Funny

      or
      Him: ...14 MHz.
      Her: At least something knows how to oscillate around here.

    10. Re:More Likely Responses by narcberry · · Score: 1, Redundant

      That wasn't funny, mod that sad you sick sick moderators.

      --
      Modding me -1 troll doesn't make me wrong.
    11. Re:More Likely Responses by Anonymous Coward · · Score: 5, Funny

      That's easy, just imagine the average American woman.

    12. Re:More Likely Responses by dsgfh · · 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.

    13. Re:More Likely Responses by fuzzlost · · Score: 1

      Where is the +1 Depressing option?

    14. Re:More Likely Responses by unix_geek_512 · · Score: 1

      Silly wabbit, it can't hold any songs, the atmega 168 has 16k flash!

    15. Re:More Likely Responses by Alvare · · Score: 2, Informative

      Him: Yeah [...] 14 MHz.
      Her: ... a microcontroller ... huh ... I made you this valentine robot with a couple multi-core processors, AI and Python-plug-in capable, but's okay...

      --
      4 - A robot may not masturbate, except where such action would conflict with the Second Law.
    16. Re:More Likely Responses by unix_geek_512 · · Score: 1

      The 168-20PU 28pin DIP can run at 20MHz, although it is commonly underclocked to 16MHz.

    17. Re:More Likely Responses by ctrl-alt-canc · · Score: 1

      ...and if she is a Banach spherical gilfriend, you can get two of them at the price of one!

    18. Re:More Likely Responses by aliquis · · Score: 1

      Can't you just replace her with a Perl script or something?

    19. Re:More Likely Responses by Hal_Porter · · Score: 1

      It would have been funnier if she'd reprogrammed it to spell out DIVORCE.

      --
      echo -e 'global _start\n _start:\n mov eax, 2\n int 80h\n jmp _start' > a.asm; nasm a.asm -f elf; ld a.o -o a;
    20. Re:More Likely Responses by Anonymous Coward · · Score: 0

      OMG you're sleeping with a horse?

      also

      OMG pwnies

    21. Re:More Likely Responses by Anonymous Coward · · Score: 0

      don't forget its a frictionless environment at STP

    22. Re:More Likely Responses by abuelos84 · · Score: 0

      LOL, Sounds like something right out of a XKCD comic...

      --
      -- Counting backwards since 1984!
    23. Re:More Likely Responses by machine321 · · Score: 1

      He said "uniform density", American women tend to be top-heavy.

    24. Re:More Likely Responses by kiehlster · · 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.

    25. Re:More Likely Responses by Anonymous Coward · · Score: 0

      Since when does "songs" equals to "MP3s"?

      You can store a few MIDI files or even tiny MODs in 16KiB.

    26. Re:More Likely Responses by noidentity · · Score: 2, Informative

      Him: Yeah, babe, and now you can tell your friends that your Valentine's Day card runs at 14 MHz.
      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.

    27. Re:More Likely Responses by bluie- · · Score: 1

      Go into her closet and throw out her most impractical pair of shoes. Payback's a bitch, bitch.

      --
      life is a tragedy to those who feel, and a comedy to those who think
    28. Re:More Likely Responses by furby076 · · Score: 1

      Interestingly enough girls, at least the one I have dated, would go crazy over something like this not because it is geeky (none of the girls I have ever dated were geeky...hard to find hot and geeky) but because it took time/effort. This would score more points and I've known some pretty high maintenance girls (you know, the ones that are likely to become sugar daddy girls).

      Good job to those making stuff like this.

      --

      I do not support "The Man". I also do not support your irrational stupidity
    29. Re:More Likely Responses by Zantetsuken · · Score: 1
    30. Re:More Likely Responses by sentientbeing · · Score: 1

      Version 1.2 comes with a taser plugin

      --

      ------
      beware he who would deny you access to information, for in his mind he dreams himself your master
    31. Re:More Likely Responses by noamsml · · Score: 1

      She'd be more interested in hearing that her lover is running at 14MHz.

    32. Re:More Likely Responses by MCHeavyFlow · · Score: 1

      My girlfriend thinks her computer has 2 ga-billion RAM.

    33. Re:More Likely Responses by Ihmhi · · Score: 1

      Top-heavy women or GTFO!

  2. The first use for by atomicthumbs · · Score: 1

    the "hearthack" tag

    --
    http://pinopsida.com
  3. Yes... by Anonymous Coward · · Score: 1, Funny

    but can it run Ninnle Linux?

    1. Re:Yes... by moniker127 · · Score: 1

      Maybe a beowulf cluster of them could.
      Imagine that.

    2. Re:Yes... by Anonymous Coward · · Score: 0

      Then add networking and...
      "Microsoft hacked by army of discarded valentine cards"

  4. Come now by moniker127 · · Score: 1

    I'm a huge geek. I always read up on new hardware/software. I play MMOs, I have a tech related job.

    And this is too geeky even for ME.

    1. Re:Come now by ocularDeathRay · · Score: 1

      well, yeah.... and, who the hell would you give it to?

      --
      Obama is a twitter sock puppet
    2. Re:Come now by iocat · · Score: 5, Funny
      It's not too geeky, it's too PATHETIC. If you need a microcontroller running at 14Mhz and C code to blink some heart shaped LEDs, you should just turn in nerd card now. It's like using an anvil to hammer a picture hanging nail.

      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.

      --

      Dude, I think I can see my house from here.

    3. Re:Come now by Anonymous Coward · · Score: 0

      Ah, but the point is that it's programmable. You could easily extend the C code to provide a chasing lights effect, blinking patterns, etc.. I think the author of this tut meant it as a starting point. Oh, and 14Mhz is actually pretty slow for ucontrollers these days - heck 8 bit pics have been running at 20Mhz for at least 5 years.

    4. Re:Come now by daveime · · Score: 4, 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 ?

    5. Re:Come now by f0rk · · Score: 2, Funny

      It's like using an anvil to hammer a picture hanging nail.

      I don't get it...

    6. Re:Come now by Anonymous Coward · · Score: 0

      I was thinking the same thing, as that's TWICE the clock speed of my Amiga 500...

      Which means there's enough power there to make a card for both Agnes AND Denise.

    7. Re:Come now by Anonymous Coward · · Score: 0

      A 555? Take two transistors, a couple of capacitors and resistors and you're done. Kids these days...

    8. Re:Come now by Anonymous Coward · · Score: 0

      That's because it won't run ME, only *nix.

    9. Re:Come now by CompMD · · Score: 1

      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. :)

    10. Re:Come now by Anonymous Coward · · Score: 0

      Hedonist. ;-) (Insert "uphill both ways" meme here)

      How about this http://www.stefanbaur.de/SuSEcake.avi for a special type of birthday "cakebox" instead? All the blinkenlights done using only transistors, capacitors, resistors, LEDs and some batteries. The sound effects module was salvaged from a commercially available birthday card, though.

    11. Re:Come now by Anonymous Coward · · Score: 0

      Um, you're missing the point. It's about how much fun you can have making it. That is what being a nerd is about. Somebody should turn your nerd card in for you.

    12. Re:Come now by Applekid · · Score: 1

      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.

      --
      More Twoson than Cupertino
    13. Re:Come now by Hillgiant · · Score: 1

      Hey baby. Want to see my monostable multivibrator?

      --
      -
  5. pfftt... by djupedal · · Score: 5, Insightful

    >"...how many ladies can say that their Valentine's card runs at 14 MHz?"

    How many want to?

    1. Re:pfftt... by dprovine · · Score: 1

      Well, per the website, "The holes are just the right size to squeeze the LEDs through and give a good friction fit." Maybe that line will be more appealing; I guess it depends on the lady.

    2. Re:pfftt... by djupedal · · Score: 1

      And remember - investing in MS is risking having your own money used against you in the marketplace.

    3. Re:pfftt... by Anonymous Coward · · Score: 0

      Most people wouldn't admit it if their dick was that small.

  6. Invalid XHTML by XanC · · Score: 3, Interesting

    That's the least page I can remember bearing a "Valid XHTML" logo at the bottom. Ugh.

  7. not impressed by Anonymous Coward · · Score: 0

    while this is certainly nice, somehow this gift isn't very impressive if you just have to follow a video tutorial.

    1. Re:not impressed by Arthur+Grumbine · · Score: 1

      How is she gonna know you followed a video tutorial?! Of course, with how tech-knowledgeable most girlfriends are, how is she even gonna know you made it yourself, instead of buying it on Thinkgeek/One-of-your-other-geek-sites. What?! She's gonna take your word for it?!? She knows you, right?!

      --
      Now that I think about it, I'm pretty sure everything I just said is completely wrong.
    2. Re:not impressed by interstellar_donkey · · Score: 1

      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.

      --
      The Internet is generally stupid
    3. Re:not impressed by princessproton · · Score: 2, Funny

      Soo...um...are you seeing anybody?

      --
      I'm always positive; it's my nature.
  8. Chocolate by Joebert · · Score: 1, Funny

    I'm fairly sure they're going to be pretty pissed when they open it expecting chocolates and all they find is a bunch of wiring and batteries.

    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.

    --
    Wanna fight ? Bend over, stick your head up your ass, and fight for air.
    1. Re:Chocolate by ciderVisor · · Score: 1

      I don't have a girlfriend

      (Mod -1: Redundant)

      --
      Squirrel!
    2. Re:Chocolate by Anonymous Coward · · Score: 0

      If your penis was poking in from the bottom either
      a) it is a very deep box of chocolates
      b) you have a very short wang.

  9. Spam by Anonymous Coward · · Score: 0

    "In addition to our ... you'll need ..."

  10. Lame by Anonymous Coward · · Score: 0

    Not anatomically correct.

  11. Overclock it? by canatech · · Score: 5, Funny

    I bet with liquid cooling you could get it to 18MHz!

    1. Re:Overclock it? by Anonymous Coward · · Score: 0

      Overclock your cock with Liquid Cool.

    2. Re:Overclock it? by Anonymous Coward · · Score: 0

      14 MHz ought to be enough for anybody!

    3. Re:Overclock it? by pacificleo · · Score: 0

      There might be a market for 5 Such cards worldwide

      --
      somethings are best left unsaid , I am one of those things
  12. How many ladies can say that? by Anonymous Coward · · Score: 0

    How many ladies can say that their Valentine's card runs at 14 MHz?"

    Zero, the same number that will be saying it on 2-14. Because anyone who is nerdy enough to give this as a gift is a virginal /.'er without a significant other.

  13. Make her a dinner reservation instead by piltdownman84 · · Score: 5, Insightful

    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.

    1. Re:Make her a dinner reservation instead by Anonymous Coward · · 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.

    2. Re:Make her a dinner reservation instead by Afforess · · Score: 1

      Is that why your posting as AC?

      --
      If our elected representatives no longer represent us, do we still live in a Democracy?
    3. Re:Make her a dinner reservation instead by Anonymous Coward · · Score: 1, Insightful

      Look, a dinner reservation on Valentines is an appalling night out. The restaurant is trying to squeeze in two extra covers, the kitchen is overworked, it's just a crap night to eat out. Now, if you were to learn to cook something other than ramen and invite her over for a serious dinner followed by a night out dancing/drinking whatever you know she enjoys. You'd make a better impression than some Hallmark fool with his dozen roses @ $10 each and an expensive reservation for a shit meal. just sayin'

    4. Re:Make her a dinner reservation instead by pla · · Score: 5, Informative

      And yes, I'm female. Really.

      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.

    5. Re:Make her a dinner reservation instead by Piranhaa · · Score: 1

      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.. Roses/flowers are nice, but everyone gets them. You're better off getting her one (or two) of her favorite flower (since you should have already picked up hints of this). Girls want to know that you're 'thinking' of them, and not necessarily the 'stuff' you shove at them. This is the same reason why sugar daddy relationships don't work out long term (usually). The latter is plain old boring and has little to no chance of long term.

    6. Re:Make her a dinner reservation instead by littlesparrow · · Score: 2, Funny

      no, don't mod this Informative. This is bunk. Not all of us girls want stuff (well, I admit, there IS a lot of girls who do). But there are quite a few of us too, who want 'effort'. There's a difference. And I for one, like the blinking card. Finding it was coded by my sweetie would induce lots of lusty ideas. Any idiot can make reservations.

    7. Re:Make her a dinner reservation instead by pla · · Score: 2, Insightful

      I'm not a girl, but I'm surprised that drivel like yours gets modded up at all, much less to +5.

      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. But let's not play semantic games, you understood my intended point.


      I don't even want to get to your misogyny here

      Okay, there, you need to back up a bit. In no way did I claim females as inferior to males. In this particular instance, I don't even claim them as all that different than males (hey, I'll admit it, I care about results, not the process of getting to the result). As for the implied self-deception, we all have lies we tell ourselves; I merely pointed out a particular one that seems predominantly female in nature. If you believe that makes me a misogynist, well, you have a right to your own opinion.

    8. Re:Make her a dinner reservation instead by rpmayhem · · Score: 1

      Actually, I think it depends on the woman. My wife is all about thoughtful gifts. If I spent the time to make something for her, she loves it...although it certainly helps to make something she likes. For example, a bad idea would be...hmm...a hackable microcontroller-powered valentine's card.

    9. Re:Make her a dinner reservation instead by Anonymous Coward · · Score: 0

      a few minutes of scratch-mark-leaving entertainment.

      Fixed. *cough*

    10. Re:Make her a dinner reservation instead by mokumegane · · 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 bracelet (I cut the silver into jump rings but the copper wire was already cut and enamelled). Bracelets/necklaces always go over well. Check mailleartisans.org if you want to see weaves. Easy to do, easy to bring with you, easy to learn, etc.

    11. Re:Make her a dinner reservation instead by HBI · · Score: 1

      FYI the previous respondent is an asshole or a troll. Take your pick. You are being way too nice.

      Your original great-great grandparent post was accurate in all particulars.

      --
      HBI's Law: Frequency of calling others Nazis is directly correlated with the likelihood of the accuser being Communist.
  14. Are these available in Boston? by Punto · · Score: 1

    Should make for an interesting week!

    --

    --
    Stay tuned for some shock and awe coming right up after this messages!

  15. Wait?? by bakedpatato · · Score: 0

    I thought geeks don't have anyone to give this to...mothers excluded.

  16. Hallmark is your friend... by __aaclcg7560 · · Score: 1

    I saw tons of "record your own love song" card at Hallmark. I kept wondering if it would be possible to hack the card after the envelope been sealed to change the recording to the Barney theme song ("I love you, you love me..."). Should get some special guys dumped in a hurry to make some special girls available. Anyway, just an idea...

    1. Re:Hallmark is your friend... by Yvan256 · · Score: 1

      Ignorant mod doesn't read Penny Arcade? It's only eight days old, too!

  17. Did anyone else read it as.. by fractalVisionz · · Score: 1

    Hackable Mind Control-Powered Valentine's Card

    That would be so much cooler, and helpful for this crowd.

    1. Re:Did anyone else read it as.. by solweil · · Score: 1

      Here's some info to get you started on that project: http://www.solomonweil.com/mindcontrol/

  18. Even more likely response... by Anonymous Coward · · Score: 0

    Him: Yeah, babe, and now you can tell your friends that your Valentine's Day card runs at 14 MHz.

    Her: 14 inches! wow!

    Him: ...uh, yeah...

  19. Re:Terrible News! Please read! by Anonymous Coward · · Score: 0

    So, did the blinking valentine's day card work for him or what?

  20. Something more simple by hack++slash · · Score: 3, Interesting

    If you want to make a special card which lights up, I saw this great little project close to christmas and so I made 9 cards, but instead of watch batteries that would die after a week or so I wired in resistors & USB plugs (strangely the only place I can find solderable USB plugs online/offline is from Maplins!), all the recipients loved them and most wondered how the blinking flip they were lit up.

    Edge lit holiday cards (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?

    --
    To do something right, you often have to roll up your sleeves and get busy.
    1. Re:Something more simple by Gordonjcp · · Score: 1

      (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 left.

      wtf?

    2. Re:Something more simple by evanbd · · Score: 1

      As usual, Digikey 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 ambient light conditions, and AC couple it. If you were willing to use a phototransistor you'd get a simpler circuit, I think. Blinking stuff is then done with either a 555 (or similar) or a microcontroller.

    3. Re:Something more simple by Sprite_tm · · Score: 1

      Maybe you can use a project I published recently: http://spritesmods.com/?art=minimalism

    4. Re:Something more simple by MichaelSmith · · Score: 1

      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.

    5. Re:Something more simple by Anonymous Coward · · Score: 0

      The reason that solderable USB plugs are so rare is that, due to the differential signaling and the high speed of the bus, the two data wires need to be almost exactly the same length. When running USB lines on a PCB, you have to be very careful to make sure the lengths of the traces are exactly the same. It is very difficult to get the precision needed when soldering you're own cables, and any cable you do make will not perform very well. Obviously this does not impact what you are doing with drawing power.

      Making a light sensor is rather simple. Here is one that I did for infrared LED's. You may need to play with the resistor values on the LED's, but the basic idea is the same.

  21. Special's what you want by weston · · Score: 1

    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.

  22. Possible danger by interstellar_donkey · · Score: 2, Funny

    She might attempt to do something similar for next month's "guy" version of Valentine's Day.

    Then again, that might work out well.

    --
    The Internet is generally stupid
  23. nerdkits by LS · · Score: 2, Interesting

    these guys seem to have a decent piece of the slashvertisement market recently...

    --
    There is a fine line between being a cultivated citizen and being someone else's crop. - A. J. Patrick Liszkie
  24. A woman could make this card too, you know! by theredshoes · · Score: 1

    I thought it was sweet. I would rather have creative and heart felt than generic, well sans the cheesy Al Green song.

    1. Re:A woman could make this card too, you know! by theredshoes · · Score: 1

      Oh sorry, Marvin Gaye, same difference.

  25. Re:Overclock it? SLI? by hydromike2 · · Score: 0

    I bet that if we put them in SLI (aka you duck tape 500 of them together) you can play crysis! how many women can say that their valentines day card can do that?

  26. Most Likely Response by az1324 · · Score: 5, Funny

    Her: That's NOT the kind of crystal I had in mind.

  27. Submitter forgot to mention it costs $79.99 + S/H by uofitorn · · Score: 1

    This is the second time I've seen an advertisement for nerdkits on the /. front page. The fact is, you can't build any of their submissions unless you shell out $80 or so (I'd double check, but don't want to send them the traffic again) for their 'starter' kit with the necessary components. The videos simply show you how to make certain things above and beyond the projects initially included with their kit.

    --
    "What kind of music do pirates listen to?" -Paul Maud'dib
    "Yeeeaaarrrrr n' Bee!!" -Stilgar, Leader of Sietch Tabr
  28. Re:Submitter forgot to mention it costs $79.99 + S by Alchemist253 · · Score: 1

    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 Slashvertisement is a bit uncouth.

  29. God! take that skirt off that halogen lamp! by cabazorro · · Score: 1

    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.

    --
    - these are not the droids you are looking for -
  30. Ah, geez... by kheldan · · Score: 1

    Instead of wasting your time hacking microcontrollers, why not try something REALLY radical, like, say, a nice dinner out, see a show or go to a comedy club, and maybe a nice little present that she actually wants? Anyone? Bueller?
    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.

    --
    Are YOU using the TOOL, or is the TOOL using YOU? Think about it!
  31. Real Men by zude · · Score: 2, Funny

    A) Real men don't build a circuit with an 14Mhz ATmega, when a couple of 555's 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.

  32. Some of you are sad. by jotaeleemeese · · Score: 1

    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?

    --
    IANAL but write like a drunk one.
  33. 14 MHz ??? by ciderVisor · · Score: 1

    I think she'd have more fun with a Rabbit running at 14 Hz.

    --
    Squirrel!
  34. Special sort of girl by Shrike82 · · Score: 1

    If anyone has a girlfriend/wife that understands what megahertz are, and would actually be impressed with a card that's measured in megahertz, for the love of God hold on to her...you've found yourself a keeper.

    --
    You can advertise in this sig from as little as £99.99 a month!
  35. may as well try... by Anonymous Coward · · Score: 0

    Let's face it, if you were even considering taking romantic advice from Slashdot, your romantic life is most likely in so much trouble that doing this will simply bring forward the inevitable anyway.

  36. Not what she'd want by Big+Hairy+Ian · · Score: 4, Funny
    14Mhz??????

    Personaly I'm sure she'd want something that ran at 150hz (approx)

    BZZZZZZZZZZZZZZZZZZ

    --

    Build a Man a Fire, and He'll Be Warm for a Day. Set a Man on Fire, and He'll Be Warm for the Rest of His Life.

  37. Re:Submitter forgot to mention it costs $79.99 + S by gunnk · · Score: 2, Insightful

    All things considered... $80 is not a bad price.

    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 guides (disclaimer: I wrote one there) on getting started. However, you are still going to spend $50 including a decent breadboard, components, etc.

    For an all-inclusive getting started kit, $80 seems very reasonable to me.

    --
    Life is short: void the warranty.
  38. Sorry it has to be said.. by eXFeLoN · · Score: 0

    Imagine a beowulf cluster of these! & Yeah but can it play doom?

    --
    My other sig is a knife wound.
  39. 14MHz? by Nonillion · · Score: 1

    Talk about a waste of cycles. I'm sure the same thing could be achieved with just 1.4kHz.

    --
    "I bow to no man" - Riddick
  40. A little overkill... by gillbates · · Score: 2, 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.

    --
    The society for a thought-free internet welcomes you.
  41. I've done this! by fliptout · · Score: 2, 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.

    --
    A witty saying proves you are wittier than the next guy.
  42. So... by Anonymous Coward · · Score: 0

    ...this year I can finally send myself a Valentine that even I'll be impressed with? :^(

  43. Why it's Creased Lightning! by beatleadam · · Score: 1

    The woman who would appreciate this card very well may say the following... Why this card is automatic...It's systematic...It's hydromatic...Why it's Creased lightning (Creased lightning)

    --
    I have a theory that the truth is never told during the nine-to-five hours. -- Hunter S. Thompson
  44. I must not understand women by Locke2005 · · Score: 1

    Strange as it seems, my wife says she still prefers diamonds to a microprocessor-controlled Valentine's Day card... yeah, I know, I don't understand it either!

    --
    I've abandoned my search for truth; now I'm just looking for some useful delusions.
  45. Skills... by pruneau · · Score: 1
    • The programming skill of a grown man...
    • The electronic skill of a teenager...
    • The cardboard-cutting skill of kindergarten

    Hmmmm, I'm wondering: will she find this cute, or plain too much geeky ?!?

    --
    [Pruneau /\o^O/\ warranty void if this .sig is removed]
  46. Misread... by Landshark17 · · Score: 1

    At first I thought it said "Mindcontroller" rather than "Microcontroller" in the title... Dangit, I thought that'd make Valentine's Day easy this year...

    --
    This sig is false.