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. A fun bug!

A fun bug!

Scheduled Pinned Locked Moved The Lounge
iothelpworkspace
11 Posts 10 Posters 0 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.
  • H Offline
    H Offline
    honey the codewitch
    wrote on last edited by
    #1

    I was tracking down the weirdest bug in a circuit I'm building. It was waking up my little MCU seemingly randomly and I couldn't figure it out. It was supposed to wake on button press. After awhile I realized it would wake up every time I moved, which was weird. I forgot a pulldown resistor on my button's output line! I was changing the ambient electrical properties of the environment around the wire whenever I moved, which was kind of cool. It's due to the fact that there's a touch sensor attached to the MCU's input pin I was using for the button. That's fine, but you need a pulldown resistor! I guess I could use this "bug" to make a digital theramin. :)

    To err is human. Fortune favors the monsters.

    F G R CPalliniC J 7 Replies Last reply
    0
    • H honey the codewitch

      I was tracking down the weirdest bug in a circuit I'm building. It was waking up my little MCU seemingly randomly and I couldn't figure it out. It was supposed to wake on button press. After awhile I realized it would wake up every time I moved, which was weird. I forgot a pulldown resistor on my button's output line! I was changing the ambient electrical properties of the environment around the wire whenever I moved, which was kind of cool. It's due to the fact that there's a touch sensor attached to the MCU's input pin I was using for the button. That's fine, but you need a pulldown resistor! I guess I could use this "bug" to make a digital theramin. :)

      To err is human. Fortune favors the monsters.

      F Offline
      F Offline
      Forogar
      wrote on last edited by
      #2

      Woooo-oooo-wah! Do you recognize that tune? I don't. Theremins must be one of the hardest musical instruments to play.

      - I would love to change the world, but they won’t give me the source code.

      G 1 Reply Last reply
      0
      • H honey the codewitch

        I was tracking down the weirdest bug in a circuit I'm building. It was waking up my little MCU seemingly randomly and I couldn't figure it out. It was supposed to wake on button press. After awhile I realized it would wake up every time I moved, which was weird. I forgot a pulldown resistor on my button's output line! I was changing the ambient electrical properties of the environment around the wire whenever I moved, which was kind of cool. It's due to the fact that there's a touch sensor attached to the MCU's input pin I was using for the button. That's fine, but you need a pulldown resistor! I guess I could use this "bug" to make a digital theramin. :)

        To err is human. Fortune favors the monsters.

        G Offline
        G Offline
        glennPattonWork3
        wrote on last edited by
        #3

        Not a bug a feature!

        OriginalGriffO 1 Reply Last reply
        0
        • G glennPattonWork3

          Not a bug a feature!

          OriginalGriffO Offline
          OriginalGriffO Offline
          OriginalGriff
          wrote on last edited by
          #4

          Only if she documents it! :-D

          "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt AntiTwitter: @DalekDave is now a follower!

          "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
          "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

          1 Reply Last reply
          0
          • H honey the codewitch

            I was tracking down the weirdest bug in a circuit I'm building. It was waking up my little MCU seemingly randomly and I couldn't figure it out. It was supposed to wake on button press. After awhile I realized it would wake up every time I moved, which was weird. I forgot a pulldown resistor on my button's output line! I was changing the ambient electrical properties of the environment around the wire whenever I moved, which was kind of cool. It's due to the fact that there's a touch sensor attached to the MCU's input pin I was using for the button. That's fine, but you need a pulldown resistor! I guess I could use this "bug" to make a digital theramin. :)

            To err is human. Fortune favors the monsters.

            R Offline
            R Offline
            RickZeeland
            wrote on last edited by
            #5

            Some music with that: a-ha - Touchy! (Official Video) - YouTube[^] :-\

            1 Reply Last reply
            0
            • H honey the codewitch

              I was tracking down the weirdest bug in a circuit I'm building. It was waking up my little MCU seemingly randomly and I couldn't figure it out. It was supposed to wake on button press. After awhile I realized it would wake up every time I moved, which was weird. I forgot a pulldown resistor on my button's output line! I was changing the ambient electrical properties of the environment around the wire whenever I moved, which was kind of cool. It's due to the fact that there's a touch sensor attached to the MCU's input pin I was using for the button. That's fine, but you need a pulldown resistor! I guess I could use this "bug" to make a digital theramin. :)

              To err is human. Fortune favors the monsters.

              CPalliniC Offline
              CPalliniC Offline
              CPallini
              wrote on last edited by
              #6

              Welcome in the club! :-D

              "In testa che avete, Signor di Ceprano?" -- Rigoletto

              In testa che avete, signor di Ceprano?

              1 Reply Last reply
              0
              • H honey the codewitch

                I was tracking down the weirdest bug in a circuit I'm building. It was waking up my little MCU seemingly randomly and I couldn't figure it out. It was supposed to wake on button press. After awhile I realized it would wake up every time I moved, which was weird. I forgot a pulldown resistor on my button's output line! I was changing the ambient electrical properties of the environment around the wire whenever I moved, which was kind of cool. It's due to the fact that there's a touch sensor attached to the MCU's input pin I was using for the button. That's fine, but you need a pulldown resistor! I guess I could use this "bug" to make a digital theramin. :)

                To err is human. Fortune favors the monsters.

                J Offline
                J Offline
                jmaida
                wrote on last edited by
                #7

                Cool! :) Only on CP would this have reported in such an interesting way. One can learn something new everyday.

                "A little time, a little trouble, your better day" Badfinger

                1 Reply Last reply
                0
                • H honey the codewitch

                  I was tracking down the weirdest bug in a circuit I'm building. It was waking up my little MCU seemingly randomly and I couldn't figure it out. It was supposed to wake on button press. After awhile I realized it would wake up every time I moved, which was weird. I forgot a pulldown resistor on my button's output line! I was changing the ambient electrical properties of the environment around the wire whenever I moved, which was kind of cool. It's due to the fact that there's a touch sensor attached to the MCU's input pin I was using for the button. That's fine, but you need a pulldown resistor! I guess I could use this "bug" to make a digital theramin. :)

                  To err is human. Fortune favors the monsters.

                  A Offline
                  A Offline
                  Amarnath S
                  wrote on last edited by
                  #8

                  Can this be extended to track suspicious movements in the neighbourhood? In essence a new type of security device.

                  H 1 Reply Last reply
                  0
                  • A Amarnath S

                    Can this be extended to track suspicious movements in the neighbourhood? In essence a new type of security device.

                    H Offline
                    H Offline
                    honey the codewitch
                    wrote on last edited by
                    #9

                    Too long a range. The way this works it's only very close proximity.

                    To err is human. Fortune favors the monsters.

                    1 Reply Last reply
                    0
                    • F Forogar

                      Woooo-oooo-wah! Do you recognize that tune? I don't. Theremins must be one of the hardest musical instruments to play.

                      - I would love to change the world, but they won’t give me the source code.

                      G Offline
                      G Offline
                      Gary R Wheeler
                      wrote on last edited by
                      #10

                      The theme music from the original The Day The Earth Stood Still, composed by John Herrmann, included a theremin.

                      Software Zen: delete this;

                      1 Reply Last reply
                      0
                      • H honey the codewitch

                        I was tracking down the weirdest bug in a circuit I'm building. It was waking up my little MCU seemingly randomly and I couldn't figure it out. It was supposed to wake on button press. After awhile I realized it would wake up every time I moved, which was weird. I forgot a pulldown resistor on my button's output line! I was changing the ambient electrical properties of the environment around the wire whenever I moved, which was kind of cool. It's due to the fact that there's a touch sensor attached to the MCU's input pin I was using for the button. That's fine, but you need a pulldown resistor! I guess I could use this "bug" to make a digital theramin. :)

                        To err is human. Fortune favors the monsters.

                        N Offline
                        N Offline
                        Nelek
                        wrote on last edited by
                        #11

                        honey the codewitch wrote:

                        I guess I could use this "bug" to make a digital theramin. :)

                        I didn't know what the :elephant: was that, so I searched and it does sound pretty cool. i.e. Amazing Theremin Music Compilation 🎵 - YouTube[^] (second song from Ennio Morricone is pretty cool too) Addition... Jean Michelle Jarre... damn it. So long I know that song and I didn't know it was done like that. :doh: :doh:

                        M.D.V. ;) If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about? Help me to understand what I'm saying, and I'll explain it better to you Rating helpful answers is nice, but saying thanks can be even nicer.

                        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