How to use GPIO pins on the Beaglebone Black

Поділитися
Вставка
  • Опубліковано 7 лис 2024

КОМЕНТАРІ • 42

  • @d74g0n
    @d74g0n 9 років тому +1

    Thanks for the help, now to figure out how to use Cloud9 or something to automate my 'echo 0 > value' between 1 and 0. Woop Woop!

  • @hichemchtara6327
    @hichemchtara6327 10 років тому +1

    thanks to share precious information
    about how not to overload the BBB
    and about the Derek Molloy important information (Y)

    • @Projectsbb
      @Projectsbb  10 років тому

      Thanks for watching! He has great resources! I just put it all in a quick/detailed video.

  • @qzorn4440
    @qzorn4440 Рік тому

    A most interesting echo GPIO video. I am trying to get the new Orange Pi-5 GPIO and PWM pins to work using the OPi.GPIO Debian-Bullseye-Python3 Thonny program to control the Pan/Tilt servo motors. The GPIO pins error out not found. I will use the echo commands. Next will be to run a Python code project. Orange Pi5 has no GPIO PWM examples. Thank you.

  • @94ds94
    @94ds94 9 років тому

    Good tutorial,
    In /sys/class/gpio/gpio*/ there are also:
    "uevent" and "edge" files,
    "power" directory
    "subsystem" an L type file.
    Could you tell me how "edge" and "uevent" should be used and if the "power" directory or "subsystem" file are of any use?
    Thanks!

  • @deepikadk7278
    @deepikadk7278 5 років тому

    It would be good if you explain about calculation (32 x 1 ) + 28

  • @harshadj13
    @harshadj13 9 років тому

    Will those commands work fyn on Angstrom distribution??

  • @siddharthrawat7205
    @siddharthrawat7205 9 років тому

    hey BBP,
    i want to log analog data from 4 photodiodes which happens to be OPT 101 (Texas instruments, bandwidth= 14 KHz), i tried to log data from Arduino uno be got a low sampling rate of 300 samples/ sec for my 4 analog sensors, and 1kHz if only one sensor is attached to the analog pin (clearly the sampling rate divides if i use more sensors) . I want to at least log the data for my four sensors simultaneously at nearly more than 10 KHz, i just want to know if this is achievable with the BBB.

    • @cmacia06
      @cmacia06 9 років тому

      Not with the Linux kernel. The sample rate isn't that great. There are real time operating systems that might help you achieve this. Or you can use the programable real time unit the comes built into the CPU. This requires knowing assembly and there are a few tutorials out there to use it but I haven't really gotten there yet.

    • @siddharthrawat7205
      @siddharthrawat7205 9 років тому

      Christian Macias thanks, but do u have any idea about the maximum sampling rate achievable with BBB, the analog output is a floating no. (upto 4 decimals) if i only want to log for 1 sensor only.

  • @ViryARueda
    @ViryARueda 10 років тому

    Do you know how I can connect a LMT1 directly to the beaglebone black?

    • @Projectsbb
      @Projectsbb  10 років тому

      No, unfortunately I do not.

  • @vasiq44
    @vasiq44 9 років тому

    Do you know how to make a Pololu servo controller communicate with the beaglebone?

    • @Projectsbb
      @Projectsbb  9 років тому

      vasiq shair You can use the uarts that come with the beaglebone to talk to the Pololu servo controller. Keep in mind that the beagle bone uses 3.3v as its input and output, so you might need a logic level converter depending on what the controller works on.

  • @mkmwila
    @mkmwila 8 років тому

    What is the point of installing eclipse if you are not going to use it for development (compiling)?. In your case you could have just edited the file directly in the BBB using Vi, VIM or nano

    • @Projectsbb
      @Projectsbb  8 років тому +1

      For this specific video, you are correct. There is no point to using an IDE like eclipse. If you are using eclipse though, you can create a program which will probably run better than a script. For example, in my old library (which is no longer available), i used memset to edit and configure the gpio registers which was extremely fast. This eventually pushed me to try and make a boot loader and that required the use of an IDE because of the TI & open source libraries. I hope to use eclipse soon for a project I have been trying to do and make a video on it. Thanks for commenting!

  • @xmenxwk
    @xmenxwk 10 років тому

    Can you tell me what is the lowest frequency you can set for PWM ?

    • @Projectsbb
      @Projectsbb  10 років тому

      Unfortunately I cannot. That is however, my next tutorial. Once I do my research, ill be able to tell you and edit this comment.

    • @xmenxwk
      @xmenxwk 10 років тому

      thank you, please post a comment so I can get the notification.

    • @Projectsbb
      @Projectsbb  10 років тому

      I'm not going to be able to get to this video soon. so I haven't been able to find out for you.

    • @xmenxwk
      @xmenxwk 10 років тому +1

      Alright, if you do please let me know :)

  • @ggnaneswar9714
    @ggnaneswar9714 9 років тому

    hi sir,
    this is gnaneswar .
    am unable to interfacing and communicating the BBB .
    i'm using linux Mint os without any extra disply,mose n keyboard.
    i used to run the commands on terminal by following u r procedure.
    cd sys/class/gpio/........... here it is showing in the ls (long listing) only export un export . it doesnt have ant gpio 0,gpio1, gpio 2, gpio3 as shown in vedio .
    what shoud i follow for communicating i/o ins.
    thanks in advance.( looking for fast reply .if anybody knows please comment the procedure )

    • @Projectsbb
      @Projectsbb  9 років тому

      g gnaneswar You need to running a kernel that supports this. What kernel are you running? Check with uname -r

  • @garryrespuesto1957
    @garryrespuesto1957 9 років тому

    can you make a tutorial on rasperry pi 2 about C++ using your library?

    • @cmacia06
      @cmacia06 9 років тому

      maybe once I get time off school. Ill push out some videos.

  • @rajcodes100
    @rajcodes100 6 років тому

    Thanks for your Video

  • @JarppaGuru
    @JarppaGuru 8 років тому +1

    this was why i dint buy beaglebone it look so complicated, but then i found it can do python same way as raspberry pi

  • @moramora5772
    @moramora5772 10 років тому

    Still uploading videos about BBB please!

    • @Projectsbb
      @Projectsbb  10 років тому +1

      I will keep it going! As soon as i get my winter vacation I will start uploading!

  • @31prabowo
    @31prabowo 10 років тому +1

    thank you very much..

    • @Projectsbb
      @Projectsbb  10 років тому

      Your welcome! Thanks for watching!

  • @derkonig1545
    @derkonig1545 10 років тому

    Thank you!

  • @annaoaulinovna
    @annaoaulinovna 7 років тому

    these devices dont have gpios enough. their gpio header is for measuring and testing. beaglebone black has 10 free gpio pins only. other pins are used by other devices on board.

  • @itubal
    @itubal 8 років тому

    I can't see anything in the console.

  • @dako2117
    @dako2117 9 років тому +2

    Its oobuntu

  • @Aemilindore
    @Aemilindore 9 років тому

    Beaglebone doesn't use its GPU in the AM335X SOC. Its just sitting there doing nothing. All graphics related tasks are processed through the CPU. Which makes the BBB useless as whole mini PC.

    • @Projectsbb
      @Projectsbb  9 років тому +2

      Elusive Sanity Well, i'm sure that there is a way to make use of it. This hardware needs more developers behind it that are willing to really push it to its limits. This isn't like the raspberry pi, or arduino where everything is baby fed... This is why i love this hardware... because you have almost no limits to its potentials. Not to mention TI is finally helping out.... They are bring the PRU to life :)

    • @Aemilindore
      @Aemilindore 9 років тому

      Beagle Bone Projects why I am sad is because the fact that GPU is not used anywhere is not mentioned anywhere by any guy who does any tutorial nor in any book. It is not even mentioned in the Beaglebone website. That sounds like cheating.
      People compare the BBBs performance to Raspberry PI without knowing the BBBs GPU has never been used.
      Could you please tell us a method we could put the GPU in the beaglebone to use?