Shop OBEX P1 Docs P2 Docs Learn Events
Canned Ravioli Saves the Day — Parallax Forums

Canned Ravioli Saves the Day

Had a project deadline today, so I had to finish it last night. All the individual pieces were working on the bench, and was quite a collection of cheap parts I've touted here before. Dollar store speaker amp, MP3 player, tilt/impact switches, 10-cent buzzer, etc. Project is a toy which plays various MP3 sounds and flashes LEDs based on user & switch input. I made an auto-off circuit using the cutest little 10-cent reed relay. The 510-ohm coil only pulls a few mA from the 3xAAA cells, so it's powered directly from a micro pin. After 30 seconds of inactivity, the micro switches the relay off, providing 100% isolation, zero battery drain. Works GREAT in the lab, on the bench. :)

But when I assembled the module for the final installation around midnight, it would turn off anytime there was a loud sound file playing. Electrical noise? Added filter caps. No. Added decoupling caps. No.

Wait, I also have an electromechanical buzzer on the PCB which I use to send occasional confirmation beeps & tones. That could be the source of some EMI. Disconnect buzzer. No improvement.

Reduce amplifier volume, problem goes away. But that's not an option.

Power drain? Is the micro resetting from low power when the speaker/amp is drawing lots of current? Battery wires too small or routed wrong? Rewired. No. Did it get even worse? The LEDs aren't even connected at this point, it will need even more power!

Sweating now, it's 1 AM. Added a transistor switch to drive the relay. No improvement.

The reed relay was opening up for mysterious reasons. But I'm the relay guy, relays usually like me. Not tonight though...

Stared at the assembly for a while. In the assembled form, the circular PCB are screwed to 3 bosses inside the speaker housing. Makes for a beautiful, compact prototype, not that anyone would see it inside the toy. I've mentioned this speaker here before, it has a huge permanent magnet speaker inside. Hey wait, that huge permanent magnet is very close to the PCB in the final installation, could that be causing the problem?

2 AM, let's add a quick (insulated) metal shield between the speaker and PCB. No steel handy. Recycling's gone, I cut a circle out of my aluminum Diet Coke can. No improvement. Pulled the ferrous pop top off a can of Chef Boy R Dee ravioli and installed it. 100% success. Turns out that sensitive little reed relay was being affected by speaker magnetism at high volumes. DOH!

What's funny is that this was a second-gen circuit. I had made a nearly identical board previously which worked perfectly. The relay was an afterthought on that board, and I mounted it at 90 degrees for pin access. Apparently the reed contacts were less susceptible in that 90-degree configuration.

So my story ends happily. Finished the job at 3 AM and delivered it to a very happy client at 10:30 who will never suspect that there's a can lid inside.

Now it's time for some sleep. Then I have to build another one. Maybe two.

Note to self: hoard more ravioli.

1190 x 893 - 442K
960 x 1280 - 480K
1280 x 960 - 437K
2.jpg 441.7K
3.jpg 480.3K
1.jpg 437K
«1

Comments

  • Nice save erco, sounds like you could use some sleep now.
  • Good job, congratulations. I'll have to keep this solution in mind if I don't have any MuMetal around. The only question I have is, would some house brand of ravioli work or does it have to be "Chef Boyardee"? Inquiring minds want to know. :-)
  • Heater.Heater. Posts: 21,230
    Yay, close call. Excellent sleuthing.

    Can't live without canned Ravioli....

  • Amazing work.

    What matters is that all of his usual audience, his robots are one-week away from here, and are visiting designers in two locations in preparation to visiting Maker Faire.
  • You mean, Chef Boy R EE?

    This should give the tinfoil hat wearers something to think about.

    How did you cut that perfboard so neatly?
  • Erco, great story. It's good though your better half isn't Italian, capital aiii--Chef Boy R Dee, banished!
  • 90 degree rotation makes about an infinity of difference for magnetic fields interacting.
  • Ugh!!! Around this house, sauce is an 18 to 20 hour process. And no cheese from any can, especially the green ones! I would like to nominate Erco for a "Hero of the Italian Kitchen" award for valor and creativity in the actual opening and doing some thing useful with a Chef Boyardee product.
  • Heater.Heater. Posts: 21,230
    edited 2017-09-18 08:13
    Oh, I thought you mean Heinz Ravioli.

    The original and the best.

    TJ0040.jpg

    https://www.britishcornershop.co.uk/heinz-ravioli-in-tomato-sauce

    The Heinz Spaghetti Bolognese is excellent as well.

    TJ0011.jpg

    https://www.britishcornershop.co.uk/heinz-ravioli-in-tomato-sauce

    All to be eaten on toast of course. One can per serving.

    The great thing about these is that you can use the cans to make long range antennas for your WIFI and other wireless links.

  • TorTor Posts: 2,010
    Heater. wrote: »
    The great thing about these is that you can use the cans to make long range antennas for your WIFI and other wireless links.
    And to me that's the *only* great thing :) (but then again I used to live in Italy and got the real deal, can't stand the canned Heinz (or most other) ravioli.

  • Heater.Heater. Posts: 21,230
    Don't get me wrong. I love the authentic Italian "real deal". I love to tinker around in the kitchen with real ingredients so I'm often trying to recreate the "real deal". Not that I'm very good at it. Luckily I have some Italian friends to advise. And boy do they like to advise. Nothing is like mama used to make !

    But then, sometimes, there is a desperate longing for something a bit different. Like my mum used to give me :)





  • Heater. wrote: »
    Nothing is like mama used to make

    My mom made ravioli from a can. Which is why I haven't had it in 50 years. If I live that long, I plan not to have it for another 50 years.

    Erco, you need to test if you get the same effect with metal lids from soup cans, steamed vegetables, chili, and yes -- even Spam. The unique shape of the Spam can might provide additional signal rejection. You could be on to something!


  • SeairthSeairth Posts: 2,474
    edited 2017-09-18 16:22
    You could be on to something!

    This could usher in a whole new age of advertising opportunities... "free antenna with every can of soup", " 'high-quality' RF filter included", "Free Manhattan-style breadboard; just remove lid!"
  • ercoerco Posts: 20,244
    I relish the many replies and helpful comments to my rather bizarre post.

    Speaking of which, that's another candidate to test!

    relish.jpg
    480 x 480 - 82K
  • ercoerco Posts: 20,244
    A smarter guy than me would find more exotic foods which come in unique containers, and reverse-engineer products "requiring" those containers in order to write them off as business expenses. @IRS, the food was simply disposed of, I forget exactly how.
  • Y know, anyone into tinfoil hats out there should pay real close attention to the fact that erco had no luck with aluminium, and likely would have had the same results with tin. That means they are only partially protected from the RF but not the magnetic rays from the black helicopters..... Perhaps after a few good meals they will have enough cans for full protective head wear.
  • Heater.Heater. Posts: 21,230
    edited 2017-09-19 06:44
    Yes, tinfoil hat people. Try this experiment:

    Put your mobile phone into a die cast aluminium project box like this one:

    2445724-40.jpg

    Put the lid on and secure it tightly with the six screws. Note how the lid is a good tight fit, you could not slide a cigarette paper in there. Especially with the recess in the lid.

    Now get your friend to call your phone.

    Well, what do you know, the phone gets the call and rings! (Most likely, except perhaps not in the USA where the cellular service is so poor)

    When I tried this experiment a year ago I was amazed. And puzzled, how on Earth is this possible?

    After a chat with an antenna designer I understood what was happening and could take steps to stop the phone receiving the call whilst in the box.

    Anyone here like to suggest what was happening and how I fixed it ?






  • TorTor Posts: 2,010
    Well, solid aluminium isn't a Faraday cage by any means. So I guess you fixed it by actually adding something that made it work like a Faraday cage? Something net-like?

  • Heater.Heater. Posts: 21,230
    edited 2017-09-19 08:51
    Tor,
    ...solid aluminium isn't a Faraday cage by any means...

    Sorry no. Certainly it can be, it's a conductor after all. It's time for you to review your high school science classes re: Faraday Cage. Perhaps start here: https://en.wikipedia.org/wiki/Faraday_cage
    So I guess you fixed it by actually adding something that made it work like a Faraday cage? Something net-like?
    Despite your incorrect assertion you are getting close. But the change/addition is very minor. You might not even see it from the outside of the box.

    The answer lies in having some idea as to how those "mobile waves" are getting in.

    Anyone who has such a metal box should try the experiment. It's fascinating.


  • TorTor Posts: 2,010
    Well.. (from WP): "Faraday cages are Faraday shields which have holes in the conductor[..]", so despite my incorrect assertion I was correct in a literal sense.. :)
    In any case, radio waves are complex.. so I won't try to guess how you modified the setup.

  • Heater.Heater. Posts: 21,230
    OK, fair enough. They have made it confusing. As is the common usage of the terms.

    Thing is it's all to do with the wavelength of the electromagnetic radiation you are trying to block. Basically when the gaps between the conductors of your cage start to get small with respect the wavelength, the waves are reflected rather than passing through the holes. A chicken wire box may block the long waves of medium wave broadcasts but it won't stop the little short waves of your mobile phone.

    Actually we should not think about the holes. The holes don't do anything. We should think about the conductor around the hole that is creating an antenna that can absorb and re-radiate, reflect, the incoming waves.

    In the extreme X-rays and gamma rays will pass through your "solid" aluminium box. Their wave length is so short that as far as they are concerned it's full of big holes. The distinction between Faraday Cage and Farday Shield is a bit silly. All conductors have holes. Unless you specify the wave length.

    Radio waves are indeed slippery things. However there was noting special in what I did to block the phone waves. It's been standard practice in RF shielding for decades of course. Only it was the first time I experimented with it. Well, since my long forgotten classes in micro-waves and such back in uni.
  • Couldn't you seal the gaps between the lid and the case with conductive tape? Or you could add springing metal fingers on the inside of the case that make contact with the lid, but that seems too complicated. I seems like the easiest solution would be to just wrap the phone with aluminum foil.
  • Heater.Heater. Posts: 21,230
    edited 2017-09-19 13:37
    Bingo! Dave has got it.

    That box has six screws that we can assume short the lid to the box in 6 places. But what about in between? It's not sure the lid and box are in electrical contact all along the edges between the screws.

    But I thought, those gaps are incredibly thin, much smaller than the wavelength of mobile waves (about 10cm). You can't even see light through them due to the recess. How can anything radiate through that?

    My antenna designer friend put's it like this: When the mobile waves hit the box they create eddy currents in the skin of the aluminium. Normally those eddy currents would just re-radiate the waves. Reflection.

    But those eddy currents circling around near those thin slots between the screws continue their circling through the slot and into the inside surface of the box. From their they re-radiate, but this time inside the box!

    The fix, as Dave hints, is to create more short circuits between the lid and box such that the slot length is short wrt the wavelength. This way the eddy currents get shorted out and the "loops" formed re-radiate on the outside of the box rather than the inside.

    Spring metal fingers is a way that it is often done. Often seen with metal can covers over high frequency components on circuits.

    My solution? Tin foil. I put little bits of folded tin foil half way along each slot and screwed the lid down. Thus making the slots half as long. No more phone ringing!




    As for wrapping a phone in tin foil that is an eye opening experience as well. Casually wrapping foil around a phone will not do it. There will be little gaps as above. I had to really try to get enough tin foil wrapped tight enough to kill the phone.



  • TorTor Posts: 2,010
    So.. you are saying that my tinfoil hat will *not* prevent the illuminati from interfering with my brain? I'm shocked, I tell you!

    :)
  • Heater.Heater. Posts: 21,230
    edited 2017-09-19 17:43
    Your only hope is that with your tin foil hat prominently on your head at all times the illuminati will assume that you are too crazy to bother with :)


  • ercoerco Posts: 20,244
    IOW the Illuminati will peg you as a card-carrying member of the Illiterati.
  • And why are we worried about them? According to a bookstore in Berkeley CA, according to Cliff Stoll, that group runs and eventually ruins the whole world. Against them are a group of computer programmers who seem to be worse then the entire range of nitwits who spend their days breaking into sites here and abroad. And yet they are successful. The ones here are not.

    I strongly suspect we have nothing to worry about. Unless erco's robots return to where he is with a New York City sized ego......

  • Heater.Heater. Posts: 21,230
    Do you mean this Clifford Stoll ?



    Any links or references to what you say ?

  • Yes.
    It comes in his famous book, "Cuckoo's Egg".
  • Heater.Heater. Posts: 21,230
    edited 2017-09-20 03:48
    Buck Rogers,
    According to a bookstore in Berkeley CA, according to Cliff Stoll, that group runs and eventually ruins the whole world.
    "That group", which group?

    I have not read the book, but I assume it tells the story told in the video link above. About catching a KGB hacker/spy from Germany in 1986. You say "according to" as if Clifford's story were some wild made up story or conspiracy theory. As far as I can tell it is true.

    I saw Ciff Stoll at the Maker Faire in the summer. Really wanted to say hello, but at that moment I could not remember his name so I was to shy to do so.
This discussion has been closed.