Wind Tunnel Experiments - Part 2 - Aerodynamics

Поділитися
Вставка
  • Опубліковано 10 січ 2025

КОМЕНТАРІ • 16

  • @marouaneessahraoui6817
    @marouaneessahraoui6817 4 роки тому +4

    From morocco this is great bro, thank you so much

    • @fyndssdev
      @fyndssdev 7 місяців тому

      haha same, love from morocco!

  • @electronology4665
    @electronology4665  4 роки тому +1

    Watch how I made the Wind Tunnel !
    In Part 1: ua-cam.com/video/GrsXV_zD_Do/v-deo.html

  • @sikkandar
    @sikkandar 4 роки тому +3

    hello, your video is very helpful! can you tell me how you got the graph on the processing software. did you code in the arduino program?

  • @paulabadie5897
    @paulabadie5897 4 роки тому +2

    Fine job !

  • @mipoar7771
    @mipoar7771 4 роки тому +1

    Great content! What motor and type of blade did you use?? Thanks

  • @AnshAtulVirani
    @AnshAtulVirani 10 місяців тому

    Can you send the code of the graph you were plotting and also the list of electronics used for the same?

  • @abdulrahmanmostafa5186
    @abdulrahmanmostafa5186 4 роки тому +2

    You are amazing. keep going

  • @paulhueber6718
    @paulhueber6718 4 роки тому +3

    Whao very interesting 😳

  • @marouaneessahraoui6817
    @marouaneessahraoui6817 4 роки тому +2

    please can u give me the name of that software u use in simulation?

    • @electronology4665
      @electronology4665  4 роки тому +7

      If you are talking about the software showing the graph, it is called Processing which you can download here:
      processing.org/download/
      Here is the code I used: (you need to connect the arduino to the computer and Processing will collect that data)
      //Modified for a wind tunnel by Electronology
      // Graphing sketch
      // This program takes ASCII-encoded strings from the serial port at 9600 baud
      // and graphs them. It expects values in the range 0 to 1023, followed by a
      // newline, or newline and carriage return
      // created 20 Apr 2005
      // updated 24 Nov 2015
      // by Tom Igoe
      // This example code is in the public domain.
      import processing.serial.*;
      Serial myPort; // The serial port
      int xPos = 1; // horizontal position of the graph
      float inByte = 0;
      void setup () {
      // set the window size:
      size(1400, 800);
      // List all the available serial ports
      println(Serial.list());
      // Open whatever port is the one you're using.
      myPort = new Serial(this, Serial.list()[0], 9600);
      // don't generate a serialEvent() unless you get a newline character:
      myPort.bufferUntil('
      ');
      // set initial background:
      background(0);
      }
      void draw () {
      // draw the line:
      stroke(127, 34, 255);
      line(xPos, height, xPos, height - inByte);
      // at the edge of the screen, go back to the beginning:
      if (xPos >= width) {
      xPos = 0;
      background(0);
      } else {
      // increment the horizontal position:
      xPos++;
      }
      }
      void serialEvent (Serial myPort) {
      // get the ASCII string:
      String inString = myPort.readStringUntil('
      ');
      if (inString != null) {
      // trim off any whitespace:
      inString = trim(inString);
      // convert to an int and map to the screen height:
      inByte = float(inString);
      println(inByte);
      inByte = map(inByte, 0, 60, 0, height);
      }
      }

    • @marouaneessahraoui6817
      @marouaneessahraoui6817 4 роки тому +1

      @@electronology4665 Thank youu Sooo much broo, Merciiii

    • @alideniz3608
      @alideniz3608 3 роки тому

      @@electronology4665 Thank you so much for the video. I had some problems with graphics and I need your help. When I run the software I get the following error and a blank non-working black graphical screen appears: "map(NaN, 0, 60, 800) called, which returns NaN (not a number)". Can you help me to overcome this problem? Thank you.

    • @electronology4665
      @electronology4665  3 роки тому +1

      That probably means the arduino isn't sending the correct data, for exemple, if it's sending text.
      Try printing the data from the arduino IDE and making sure it's numbers

    • @alideniz3608
      @alideniz3608 3 роки тому

      @@electronology4665 Thank you.