Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Dec 03 2019 04:30
    HarshaSatyavardhan commented #74
  • Dec 07 2017 19:59

    alexanderhiam on master

    Update README.md (compare)

  • Dec 07 2017 19:59

    alexanderhiam on master

    Update README.md (compare)

  • Sep 26 2017 16:31
    jlewallen18 commented #93
  • Sep 22 2017 21:05
    jlewallen18 opened #110
  • Sep 16 2017 06:06
    mrjaperez commented #18
  • Sep 16 2017 06:02
    mrjaperez commented #18
  • Aug 14 2017 19:16
    kdheepak commented #74
  • Aug 14 2017 19:07
    kdheepak commented #74
  • Jul 19 2017 03:15
    sarnold commented #82
  • Mar 01 2017 15:13
    jonturner53 commented #109
  • Mar 01 2017 15:13
    jonturner53 reopened #109
  • Mar 01 2017 15:12
    jonturner53 closed #109
  • Mar 01 2017 15:12
    jonturner53 commented #109
  • Mar 01 2017 15:00
    jonturner53 opened #109
  • Feb 27 2017 18:52
    jonturner53 opened #108
  • Oct 07 2016 17:29
    alexanderhiam commented #107
  • Oct 07 2016 17:09
    alexanderhiam commented #106
  • Aug 10 2016 17:36
    MatthewWest edited #107
  • Aug 10 2016 17:35
    MatthewWest opened #107
Harshit
@iamharshit
@alexanderhiam how can i calculate rpm of a quadrature encoder motor in beaglebone?? is there a direct method other than gpio rising for calculating??
Alex Hiam
@alexanderhiam
@akerbay so yeah, PyBBIO has to be run as root, because of the permissions of the sysfs and dev files used to interface with the kernel drivers. I have some ideas about how to implement a system where PyBBIO can be run as any user, but that won't likely be happening too soon.
@akerbay FYI you can do $ sudo crontab -e to edit the root users crontab, where you can start your program normally
@iamharshit are you still working with the same encoder? where you ever able to get it accumulating with the RotaryEncoder library?
Harshit
@iamharshit
@alexanderhiam I thought of doing multithreading(for timer interrupt)
@alexanderhiam here's my code , u can have a look , i havenot tried it yet
quangdai1406
@quangdai1406
I2C sample code
Michael Bykovski
@bykof
@alexanderhiam Hey, how do you think. Do I have to start my whole application as root if I want to use your library or are there any other possibilities
I thought of something like:
os.system('sudo su -')
Alex Hiam
@alexanderhiam
@bykof Yeah, you do need to run PyBBIO code as root, there's no way around that currently
akerbay
@akerbay
I never could get crontabs to start my Python code, possibly because I was also using a 4DSystems 4DCAPE-70T, don't know. However I set up a desktop icon that started my program and it's working very well. We finished a couple of systems to control paint flow for a painting facility in China and they worked well. Here's my desktop code:
akerbay
@akerbay
Whoops! I hit return and it kicked me out of gitter. [Desktop Entry]
Version=1.0
Exec=sudo python /home/Paint.py
Name=Paint
Comment=Start up Paint.py
Encoding=UTF-8
Terminal=false
Type=Application
Icon=/home/bigyellow.png My blog is at http://johnbakeree.blogspot.com/ I'm using the PWM output for my analog out signal, low-pass filtering the pulses and converting the voltage to a 0-20mA current. Using the PyBBIO ADC routine to read the current from a flow meter. Some dropouts in the ADC measurements and quite a bit of error, up to 9%, that I hadn't figured out and corrected. May have to use a real ADC like Alex had suggested if I can't resolve the error and dropout problems. I don't remember what ADC Alex suggested and will look for his email on my PC. Thanks.
rameshprakash
@rameshprakash
Hi

I followed the directions installing the pybbio. I tried the blink.py - it worked flawlessly. As I was interested in finding out the maximum speed - this GPIO could toggle - tried executing the speed_test.py - however this showed the following errors

debian@beaglebone:~/PyBBIO/tests$ sudo python speed_test.py
Could not load gpio1_6 overlay, resource busy could not configure pinmux for pin GPIO1_6

Can some one help me with this issue
rameshprakash
@rameshprakash
never mind.. i got this resolved
jlewallen18
@jlewallen18
Hi! I posted this as an issue on the repo but I figured I'd try and ask here as well, I encounter this console message when trying to run blink.py:
root@beaglebone:/usr/local/lib/PyBBIO/examples# python blink.py
Traceback (most recent call last):
  File "blink.py", line 7, in <module>
    from bbio import *
  File "/usr/local/lib/python2.7/dist-packages/PyBBIO-0.10-py2.7-linux-armv7l.egg/bbio/__init__.py", line 5, in <module>
    from .bbio import run, stop
  File "/usr/local/lib/python2.7/dist-packages/PyBBIO-0.10-py2.7-linux-armv7l.egg/bbio/bbio.py", line 10, in <module>
    from .platform import platform_init, platform_cleanup
  File "/usr/local/lib/python2.7/dist-packages/PyBBIO-0.10-py2.7-linux-armv7l.egg/bbio/platform/__init__.py", line 6, in <module>
    from beaglebone import *
  File "/usr/local/lib/python2.7/dist-packages/PyBBIO-0.10-py2.7-linux-armv7l.egg/bbio/platform/beaglebone/__init__.py", line 9, in <module>
    from i2c import I2C1, I2C2, Wire1, Wire2
  File "/usr/local/lib/python2.7/dist-packages/PyBBIO-0.10-py2.7-linux-armv7l.egg/bbio/platform/beaglebone/i2c.py", line 63, in <module>
    Wire1 = I2C1 = I2CBus(1)
  File "/usr/local/lib/python2.7/dist-packages/PyBBIO-0.10-py2.7-linux-armv7l.egg/bbio/platform/beaglebone/i2c.py", line 15, in __init__
    super(I2CBus, self).__init__(bus)
SystemError: NULL result without error in PyObject_Call
nobodyow3ns
@nobodyow3ns
Hi! I wish to know if PyBBIO would work with BeagleBone Blue?
Seth
@silver2row
Hello!
I mess around w/ the BBB and variations at times. I like Python, C/C++, and motors. I see that the PyBBIO is up for grabs. What is keeping people, you, from coming together on this project?
I have not found anyone that will take the repo and make use of it. I found some of my older books, circa 2015, that referenced this past library and useful library. Um...
What next?
Aw!
Harsha satya vardhan
@Harshasatyavar1_twitter
i want to work on PyBBIO for my upcoming gsoc. can anyone help me