MakerGram Logo

    MakerGram

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Tags
    • Users
    • Groups

    Capacitive touch sensor for Arduino

    General Discussion
    3
    7
    192
    Loading More Posts
    • 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.
    • kowshik1729
      kowshik1729 last edited by

      Hey guys,

      I am in a search of capacitive touch sensors. The functionalities I'm aiming at are

      The capacitive touch should be able to recognize up, down and sideways slides on the Grid. Has anyone used the this type of module? If yes please do suggest me. Thanks in advance...!!

      Akhil 1 Reply Last reply Reply Quote 0
      • Akhil
        Akhil last edited by

        This can be done using captive grid. You can buy a touch pad
        https://www.arrow.com/en/products/dm160219/microchip-technology?gclid=Cj0KCQjwmdzzBRC7ARIsANdqRRnOu-n2vJtXa6VRqepktBLdxhyTriIVXNe2ZSHokhzs4U3je6cburkaAqk9EALw_wcB
        or you can make your own PAD

        please refer 13th page of this documentation.
        if you like to make one MPR121 is a nice choice
        https://www.sparkfun.com/datasheets/Components/MPR121.pdf
        1 Reply Last reply Reply Quote 0
        • Akhil
          Akhil @kowshik1729 last edited by

          @kowshik1729 touch.PNG
          Design C is also good,

          1 Reply Last reply Reply Quote 1
          • kowshik1729
            kowshik1729 last edited by

            @Akhil Thanks. I am not in a state to design my own capacitive touch so I am going with already made modules. But the one which you have posted is too very expensive for my application. Are there any other modules that are a bit more cheaper.

            1 Reply Last reply Reply Quote 0
            • S
              SuperGops last edited by

              Hey @kowshik1729, why don't you use a five of the touch keys(shown below), form them up in the shape of a cross and get the sequential data across two of those sensors to detect a left/right or up/down swipe?

              1 Reply Last reply Reply Quote 1
              • kowshik1729
                kowshik1729 last edited by kowshik1729

                @SuperGops Woow that's a great idea...I shall try this out..!!

                1 Reply Last reply Reply Quote 1
                • Akhil
                  Akhil last edited by

                  @kowshik1729 That is also Nice idea, If you want only Up,Down, Left, Right movements then try this method suggested by @SuperGops

                  1 Reply Last reply Reply Quote 2
                  • First post
                    Last post

                  Recent Posts

                  • Hi team,

                    Any one have experience in Altium schematic designing.
                    I am facing some issue in Hierarchy->harness in Schematic.
                    The offpage number for harness is not showing, and while generation the smart PDF if we click the harness port /green box the page want to go there automatically, but that also not working.

                    • read more
                  • D

                    @salmanfaris thank you so much man, I'll try this and update you shortly. Thank you once again.

                    Best,
                    Dipu

                    • read more
                  • Hi @dipu_varghese ,

                    Here is the sample input from the binary edge impulse inference,

                    Predictions (DSP: 16 ms., Classification: 1 ms., Anomaly: 2 ms.): idle: 0.91016 snake: 0.08203 updown: 0.00391 wave: 0.00391 anomaly score: -0.067”

                    And from here for example we can try to get the updown values only by attaching the device to another controller and read the Serial string directly.

                    void setup() { // Start serial communication at 9600 baud Serial.begin(9600); } void loop() { // Wait until there is data available on the serial port while (!Serial.available()) { // Do nothing } // Read the input string from the serial port String inputString = Serial.readStringUntil('\n'); // Find the position of the "updown" value in the input string int updownPos = inputString.indexOf("updown:"); // If the "updown" value was found in the input string if (updownPos >= 0) { // Extract the "updown" value from the input string String updownString = inputString.substring(updownPos + 8, inputString.indexOf('\n', updownPos)); // Convert the "updown" value to a float float updownValue = updownString.toFloat(); // Output the "updown" value Serial.println(updownValue); } }

                    The sketch should then output the "updown" value, which is 0.08203.

                    Hope this will be helpful, let me know if you need more clarification.

                    • read more
                  • D

                    @salmanfaris any updates?

                    Best,
                    Dipu

                    • read more
                  • D

                    @salmanfaris Hope you're doing well, did you get sometime to work on this?

                    Best,
                    Dipu

                    • read more
                  By MakerGram | A XiStart Initiative | Built with ♥ NodeBB
                  Copyright © 2023 MakerGram, All rights reserved.
                  Privacy Policy | Terms & Conditions | Disclaimer | Code of Conduct