MakerGram Logo

    MakerGram

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

    Edge Impulse Inference to IoT Dashboard

    General Discussion
    edge impulse
    2
    12
    166
    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.
    • salmanfaris
      salmanfaris @dipu_varghese last edited by

      @dipu_varghese The serial data from the prebuilt inferencing binary will be a little big with string size as it comes with all inferencing data points and it's confidence level plus the model information, you might only need the inferencing score or the inferencing data, so you can filter that out and send that to the cloud. Hope you get the idea. Let me know if you need an example.

      D 1 Reply Last reply Reply Quote 0
      • D
        dipu_varghese @salmanfaris last edited by

        Thank you for your response! @salmanfaris πŸ™‚

        It makes sense that filtering out the specific data points that are needed and sending them to the cloud would be the way to go.

        If it's not too much trouble, could you please provide me with an example of how to filter out and send only the necessary inferencing data to the cloud?

        Thank you again for your help!

        Best,
        Dipu

        salmanfaris 1 Reply Last reply Reply Quote 0
        • salmanfaris
          salmanfaris @dipu_varghese last edited by

          @dipu_varghese Sure, I'll try to make an example in one coming day and share.

          D 2 Replies Last reply Reply Quote 0
          • D
            dipu_varghese @salmanfaris last edited by

            @salmanfaris I really appreciate your help and look forward to seeing the example.

            Best,
            Dipu

            D 1 Reply Last reply Reply Quote 0
            • D
              dipu_varghese @dipu_varghese last edited by

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

              Best,
              Dipu

              1 Reply Last reply Reply Quote 0
              • D
                dipu_varghese @salmanfaris last edited by

                @salmanfaris any updates?

                Best,
                Dipu

                salmanfaris 1 Reply Last reply Reply Quote 0
                • salmanfaris
                  salmanfaris @dipu_varghese last edited by salmanfaris

                  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.

                  D 1 Reply Last reply Reply Quote 0
                  • D
                    dipu_varghese @salmanfaris last edited by

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

                    Best,
                    Dipu

                    salmanfaris 1 Reply Last reply Reply Quote 1
                    • salmanfaris
                      salmanfaris @dipu_varghese last edited by

                      @dipu_varghese Hi, How does it go? Would like to know about the updates πŸ™‚ or anything I can do to help you.

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

                      Recent Posts

                      • Recently, I got a chance to work work the SeeedStudio T1000 tracker and I made a tracker and data logger with it. It comes with a LoRa module to transmit the data and has an inbuilt temperature and light sensor. The device is very easy to set up and get-started and I can say the experience of switching from different LoRa network servers is very pleasant and straightforward, same for the integration. I chose Ubidots to visualise the data captured.

                        I also like the mobile application very much, it’s so easy to pair and change the tracker configuration on the go. I love it.

                        I will experiment more and share my insights here. let me know if you want to know any specific details about the SenseCAP T1000.

                        It’s live on Kickstarter and you can pledge for $29 for single T1000 tracker, you will get 1 piece T1000 with 3 months of free trial service on the SenseCAP platform. Take a look : https://www.kickstarter.com/projects/seeed/sensecap-t1000-track-what-you-care-with-no-boundaries
                        a107016f-4691-4a56-9931-622e537237cf-image.png

                        3bb1163d-4a32-485b-b86a-7b79d687cf62-image.png

                        • read more
                      • @dipu_varghese Hi, How does it go? Would like to know about the updates πŸ™‚ or anything I can do to help you.

                        • read more
                      • @zainmuhammed Oh that's cool. Let me also take a look at the stability analysis of a drone and get back to you.

                        • read more
                      • @salmanfaris I'm building a payload-releasing drone under 2kg (micro class). and the entire structure builds using carbon fiber and ABS plastic.

                        • read more
                      • @zainmuhammed Curious to know, What kind of drone are you building and what kind of material are you using?

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