Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Development oddity

Development oddity

Scheduled Pinned Locked Moved The Lounge
announcementcomhardwaretestingbeta-testing
27 Posts 16 Posters 2 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Chris Baker 2021

    Looks like a lot of work. I'm no electronics engineer but could you not have had some kind of wireless board with a light sensor (starts timer when registers light) that you could have strategically placed inside the freezer? But I suppose it might freeze admittedly lol. Alternatively, as the above ide was stupid, could you have put something on the wall preventing the full opening of the freezer door thus not able to leave open (could still prop open of course, but so can the alarm be ignored). I admit it wouldn't have been as much fun to build, but a simpler solution.

    M Offline
    M Offline
    Mike Hankey
    wrote on last edited by
    #18

    There were countless ways I could have accomplished this, but I had the components I used on hand. Except the PCB, which I designed and ordered, but I had the circuit on a protoboard but didn't like how it looked.

    A home without books is a body without soul. Marcus Tullius Cicero PartsBin an Electronics Part Organizer - Release Version 1.4.0 (Many new features) JaxCoder.com Latest Article: EventAggregator

    1 Reply Last reply
    0
    • M Mike Hankey

      A while back someone, not mentioning any names, left the freezer (upright type) door open and all the food thawed and had to be pitched. Was an expensive lesson! So I designed a hardware/software solution; designed the PCB, sent off last week and got it today. Soldered, preliminary tests showed everything OK. Programmed the MCU, installed and ran a test. The oddity; hardware and software worked first time as designed...I don't know about y'all but that happens so rarely with me. During testing I had to let the alarm go off and it scared the SO. It is a really, really loud alarm.

      A home without books is a body without soul. Marcus Tullius Cicero PartsBin an Electronics Part Organizer - Release Version 1.4.0 (Many new features) JaxCoder.com Latest Article: EventAggregator

      K Offline
      K Offline
      Kent K
      wrote on last edited by
      #19

      Half joking/half serious in saying this, but, you could also simply adjust the front feet so that the fridge/freezer very slightly leans backwards, which will cause the door to always close, by gravity (well, it's not 100% foolproof, but...). I see you other post saying you had the components and such, . .I get it. .sometimes it's fun to scratch that itch and solve a real world problem with your skills.:thumbsup:

      M 1 Reply Last reply
      0
      • K Kent K

        Half joking/half serious in saying this, but, you could also simply adjust the front feet so that the fridge/freezer very slightly leans backwards, which will cause the door to always close, by gravity (well, it's not 100% foolproof, but...). I see you other post saying you had the components and such, . .I get it. .sometimes it's fun to scratch that itch and solve a real world problem with your skills.:thumbsup:

        M Offline
        M Offline
        Mike Hankey
        wrote on last edited by
        #20

        Kent K wrote:

        I get it. .sometimes it's fun to scratch that itch and solve a real world problem with your skills.

        Yep, my inventory is advancing and the list of projects growing. Problem with projects is that they are so complex I just don't have the time to devote, right now. So the small easy projects are a welcome relief. The fridge is slightly leaning but for it to completely shut it would have to be a hell of a lean. I think that's what happened, one of thought we closed it and hadn't pressed it all the way closed. Spelt milk and all that!

        A home without books is a body without soul. Marcus Tullius Cicero PartsBin an Electronics Part Organizer - Release Version 1.4.0 (Many new features) JaxCoder.com Latest Article: EventAggregator

        1 Reply Last reply
        0
        • M Mike Hankey

          It uses a Proximity Sensor[^] that when broke starts a timer and timer stopped when closed. If time period target is reached the alarm goes off. Simple circuit and firmware. I'm writing an article for my site if interested in details, going to try and finish it today. (See sig)

          A home without books is a body without soul. Marcus Tullius Cicero PartsBin an Electronics Part Organizer - Release Version 1.4.0 (Many new features) JaxCoder.com Latest Article: EventAggregator

          J Offline
          J Offline
          jschell
          wrote on last edited by
          #21

          Mike Hankey wrote:

          If time period target is reached the alarm goes off.

          So no standing there contemplating which donut one really wants to pull out for breakfast this morning?

          M 1 Reply Last reply
          0
          • J jschell

            Mike Hankey wrote:

            If time period target is reached the alarm goes off.

            So no standing there contemplating which donut one really wants to pull out for breakfast this morning?

            M Offline
            M Offline
            Mike Hankey
            wrote on last edited by
            #22

            When the door is closed it turns the alarm off, so get the donut and get out. :)

            A home without books is a body without soul. Marcus Tullius Cicero PartsBin an Electronics Part Organizer - Release Version 1.4.0 (Many new features) JaxCoder.com Latest Article: EventAggregator

            1 Reply Last reply
            0
            • M Mike Hankey

              A while back someone, not mentioning any names, left the freezer (upright type) door open and all the food thawed and had to be pitched. Was an expensive lesson! So I designed a hardware/software solution; designed the PCB, sent off last week and got it today. Soldered, preliminary tests showed everything OK. Programmed the MCU, installed and ran a test. The oddity; hardware and software worked first time as designed...I don't know about y'all but that happens so rarely with me. During testing I had to let the alarm go off and it scared the SO. It is a really, really loud alarm.

              A home without books is a body without soul. Marcus Tullius Cicero PartsBin an Electronics Part Organizer - Release Version 1.4.0 (Many new features) JaxCoder.com Latest Article: EventAggregator

              R Offline
              R Offline
              Roger Wright
              wrote on last edited by
              #23

              It will probably wait until you take a brief holiday, preferably in the warm season, then will open the door itself.

              Will Rogers never met me.

              1 Reply Last reply
              0
              • M Mike Hankey

                A while back someone, not mentioning any names, left the freezer (upright type) door open and all the food thawed and had to be pitched. Was an expensive lesson! So I designed a hardware/software solution; designed the PCB, sent off last week and got it today. Soldered, preliminary tests showed everything OK. Programmed the MCU, installed and ran a test. The oddity; hardware and software worked first time as designed...I don't know about y'all but that happens so rarely with me. During testing I had to let the alarm go off and it scared the SO. It is a really, really loud alarm.

                A home without books is a body without soul. Marcus Tullius Cicero PartsBin an Electronics Part Organizer - Release Version 1.4.0 (Many new features) JaxCoder.com Latest Article: EventAggregator

                E Offline
                E Offline
                englebart
                wrote on last edited by
                #24

                Now, you need to create the audit committee to design the process and enforce the paperwork to prove that it is still working. (at least quarterly or whenever you change the batteries in the smoke detectors) Be sure to file in triplicate.

                M 1 Reply Last reply
                0
                • E englebart

                  Now, you need to create the audit committee to design the process and enforce the paperwork to prove that it is still working. (at least quarterly or whenever you change the batteries in the smoke detectors) Be sure to file in triplicate.

                  M Offline
                  M Offline
                  Mike Hankey
                  wrote on last edited by
                  #25

                  Dang I didn't submit it to QA team either.

                  A home without books is a body without soul. Marcus Tullius Cicero PartsBin an Electronics Part Organizer - Release Version 1.4.0 (Many new features) JaxCoder.com Latest Article: EventAggregator

                  1 Reply Last reply
                  0
                  • M Mike Hankey

                    A while back someone, not mentioning any names, left the freezer (upright type) door open and all the food thawed and had to be pitched. Was an expensive lesson! So I designed a hardware/software solution; designed the PCB, sent off last week and got it today. Soldered, preliminary tests showed everything OK. Programmed the MCU, installed and ran a test. The oddity; hardware and software worked first time as designed...I don't know about y'all but that happens so rarely with me. During testing I had to let the alarm go off and it scared the SO. It is a really, really loud alarm.

                    A home without books is a body without soul. Marcus Tullius Cicero PartsBin an Electronics Part Organizer - Release Version 1.4.0 (Many new features) JaxCoder.com Latest Article: EventAggregator

                    M Offline
                    M Offline
                    Matt Bond
                    wrote on last edited by
                    #26

                    Recently, I was told to add MFA to a small desktop app. Never having coded MFA before, I asked for documentation. I was given a blog post. I did my research and coded everything just as the blog post said. We tested it, and it didn't work because of some configuration on the service's side. Once we changed that config setting, my code worked beautifully. Then I was told that I needed to code it without the config change because that has "security concerns". I was told to use a Nuget package to do the MFA a different way. I did my research and coded everything just as the Nuget package's documentation page said. We tested it, and it didn't work, no matter what was configured. Nobody could find any issues with my code. Turns out it's not supported anymore. Then I was told to code it differently - open the existing website's login page, and parse the URL's to get the access token. This also worked beautifully the first time, but is now dependent on the website's login code not changing. Best code I ever wrote 2 times in a row, and it was the wrong code because someone was too much in a rush to make sure they got me the right documentation and tools.

                    Bond Keep all things as simple as possible, but no simpler. -said someone, somewhere

                    M 1 Reply Last reply
                    0
                    • M Matt Bond

                      Recently, I was told to add MFA to a small desktop app. Never having coded MFA before, I asked for documentation. I was given a blog post. I did my research and coded everything just as the blog post said. We tested it, and it didn't work because of some configuration on the service's side. Once we changed that config setting, my code worked beautifully. Then I was told that I needed to code it without the config change because that has "security concerns". I was told to use a Nuget package to do the MFA a different way. I did my research and coded everything just as the Nuget package's documentation page said. We tested it, and it didn't work, no matter what was configured. Nobody could find any issues with my code. Turns out it's not supported anymore. Then I was told to code it differently - open the existing website's login page, and parse the URL's to get the access token. This also worked beautifully the first time, but is now dependent on the website's login code not changing. Best code I ever wrote 2 times in a row, and it was the wrong code because someone was too much in a rush to make sure they got me the right documentation and tools.

                      Bond Keep all things as simple as possible, but no simpler. -said someone, somewhere

                      M Offline
                      M Offline
                      Mike Hankey
                      wrote on last edited by
                      #27

                      Yeah you just have to work with what tools you are given. I did a project once that used 2 3rd party api's with very little documentation. I worked my butt off for 3 days, with little sleep or help from project manager only to be told that the project wouldn't be used.

                      A home without books is a body without soul. Marcus Tullius Cicero PartsBin an Electronics Part Organizer - Release Version 1.4.0 (Many new features) JaxCoder.com Latest Article: EventAggregator

                      1 Reply Last reply
                      0
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • World
                      • Users
                      • Groups