14 Starter Kit: Tweak the Logo

แชร์
ฝัง
  • เผยแพร่เมื่อ 9 มิ.ย. 2024
  • Use serial communication and a graphical interface called Processing to tweak the Arduino logo.
    Get your Starter Kit today!
    Authorized distributors: store.arduino.cc/usa/distribu...
    Arduino Store: store.arduino.cc/genuino-star...
    Find more videos and useful tips for learning at home: www.arduino.cc/remotelearning

ความคิดเห็น • 24

  • @jeffbowyer4576
    @jeffbowyer4576 3 ปีที่แล้ว +10

    On the Arduino side, with delay(1), readings from the potentiometer on A0 never changed.
    With delay(100), this project worked properly.

    • @prvashisht
      @prvashisht 3 ปีที่แล้ว +1

      Thank you. They need to update their tutorials and links. I also struggled with finding the capacitive sensor library.

    • @logester731
      @logester731 2 ปีที่แล้ว

      You just saved me hours of pain, thanks.

  • @mr.billbradley4510
    @mr.billbradley4510 3 ปีที่แล้ว +1

    I could listen to her voice for hours.

  • @shalmai5311
    @shalmai5311 3 ปีที่แล้ว +1

    Nice

  • @interactivist
    @interactivist 3 ปีที่แล้ว +1

    When I try this projects I get random characters in the serial monitor, instead of numbers. I understand it has something to do with baud, but I don't understand how to fix it.

    • @NepetaHouse
      @NepetaHouse 3 ปีที่แล้ว

      I'm not 100% sure how this works, but here's what I found: If you have a Serial.write, it is writing in binary data so will show unexpected characters. If you replace it with the Serial.println, then you will get the value of your potentiometer.
      Note that, if you do this, it appears that the port will be "busy", so Processing will throw an error stating "Error opening serial port [YOUR PORT]: Port busy". Seems you can do write OR print, but not both.

    • @filippoisotta8562
      @filippoisotta8562 2 ปีที่แล้ว

      This is because the Arduino's serial monitor expects only ASCII while you're using Serial.write() wich sends bytes from 0 to 255. So Processing understands it but the serial monitor tries to intepret it showing random characters. Try Serial.println() to see it.

  • @jaswinsarts5889
    @jaswinsarts5889 3 ปีที่แล้ว +2

    Where do I get the kit from?

    • @NepetaHouse
      @NepetaHouse 3 ปีที่แล้ว

      You can get it from the Arduino store: store.arduino.cc/genuino-starter-kit Many retailers (online and off) also sell it.

  • @mrcsx1
    @mrcsx1 3 ปีที่แล้ว +1

    @Arduino Hi, thanks for this video. I'm having some problems with this project. I did the setup exactly as mentioned in the video (after trying on my own with the textbook). I have copied the code from Arduino IDE to the processing IDE. But I'm having an error and the logo won't show up.
    This is the error:
    Error opening serial port /dev/cu.AvenzoAV624-BluetoothSe: Port busy
    I don't know why is asking for that port, don't know what the Bluetooth port has to do with all this. Could you please help me solving this.
    Thank in advance, and thanks for the tutorial.

    • @mrcsx1
      @mrcsx1 3 ปีที่แล้ว +1

      FIXED:
      In Processing IDE: In the line "myPort = new Serial(this, Serial.list()[0], 9600);" I've changed the [0] from Serial.list() to [2] Why? don't really know... just tried different numbers...
      In Arduino IDE: Changed the delay to 100 milliseconds... apparently 1 is extremely fast for Processing. Got the answer from the Arduino forum here: forum.arduino.cc/index.php?topic=142311.0

    • @NepetaHouse
      @NepetaHouse 3 ปีที่แล้ว +2

      @@mrcsx1 Thanks! I had a similar issue. I checked the Console in Processing (tab on the bottom of the window) and found I actually have 8 ports. This is out-putted by the println(Serial.list()); line in your Processing sketch. I checked which one matches the port in the Arduino IDE (in the top menu, "Tools > Port") and then found that in the list of ports in processing.
      Note that the list of ports starts with 0, so while my matching port was number 8, it is number 7 in the port list array.

  • @skyno08
    @skyno08 3 ปีที่แล้ว +1

    hey why are u using 1.8.12 arduino IDE while there is 1.8.13 version

    • @StuffWithKirby
      @StuffWithKirby 3 ปีที่แล้ว

      It doesn’t matter. That version likely wasn’t out when they recorded this.

  • @raffyvalky4527
    @raffyvalky4527 2 ปีที่แล้ว +3

    3:32 did you seriously skip over the explanation on what you got wrong in the code!?
    The one part that everyone copies from your book that is guaranteed to have an error message?

  • @dhritimittal3337
    @dhritimittal3337 3 ปีที่แล้ว +2

    When will your next video hack buttons will come iam waiting.....😀😀😀🙁🙁😶😶😶

  • @dhritimittal3337
    @dhritimittal3337 3 ปีที่แล้ว +1

    Can we use android for this project

    • @replaceitem
      @replaceitem 3 ปีที่แล้ว

      There is a porocessing ide on adroid called APDE, as well as a arduino ide called ArduinoDroid, not sure if processing for android supports serial though

    • @vibhamittal1628
      @vibhamittal1628 3 ปีที่แล้ว

      😊

  • @romaingranai2335
    @romaingranai2335 2 หลายเดือนก่อน

    Did you move Arduino logo from the URL? Why? WHY? WHYYYYYYYYYY?
    For those who might struggle :
    1. Change the delay in the Arduino IDE, delay(1) to delay(100), it's gonna be way more responsive, maybe a little bit less smooth, but more responsive, otherwise you have the feeling nothing is happening.
    2. If the processing sketch is displaying (that little window with the logo), and you want to tweak the Arduino sketch, and upload it to your Arduino, it won't work, cause (I guess), the port is used by Processing to communicate with your board, so just close the Processing (logo) window, change your code in the Arduino IDE, upload it to your board AND THEN you can click on the play button in Processing to start the sketch and see the changes you made in Arduino.
    3. Serial.write(analogRead(A0) / 4); will write weird character in the Arduino console, if you want to see numeral value do a Serial.print(analogRead(A0) / 4), Serial.write(analogRead(A0) / 4) is there to communicate through the serial port with your Processing sketch, it will read through myPort = new Serial(this, Serial.list()[3], 9600);
    It's only me, or with Arduino you only have half of the informations or documentation, you never find all the informations necessary to complete something?