Code Monkey home page Code Monkey logo

beaglebot's People

Contributors

markayoder avatar teknoman117 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

beaglebot's Issues

Loading Device Tree Overlay with U-boot

I am trying to read my encoder (below) using my BBB
Encoder part #: (https://www.dfrobot.com/wiki/index.php/12V_DC_Motor_251rpm_w/Encoder_(SKU:_FIT0186))

Connections: Green to ground (P8.2), Blue to VDD5V (P9.5), Yellow to P8.12, and White to P8.11.
The diagram for these colors are at the above link

I have the dtbo files in the right location:

root@arm:/lib/firmware# ls -ltr bone*
-rw-r--r-- 1 root root 1082 Dec  7 01:09 bone_eqep0-00A0.dtbo
-rw-r--r-- 1 root root 1098 Dec  7 01:09 bone_eqep1-00A0.dtbo
-rw-r--r-- 1 root root 1098 Dec  7 01:09 bone_eqep2-00A0.dtbo
-rw-r--r-- 1 root root 1096 Dec  7 18:27 bone_eqep2b-00A0.dtbo

There is no 'slots' file as can be seen below

root@arm:/lib/firmware# uname -r
4.9.54-ti-r68
root@arm:/sys/devices/platform/bone_capemgr# ls -ltr
total 0
-rw-r--r-- 1 root root 4096 Dec  7 18:05 uevent
lrwxrwxrwx 1 root root    0 Dec  7 18:05 subsystem -> ../../../bus/platform
lrwxrwxrwx 1 root root    0 Dec  7 18:42 driver -> ../../../bus/platform/drivers/bone_capemgr
drwxr-xr-x 2 root root    0 Dec  7 18:42 power
lrwxrwxrwx 1 root root    0 Dec  7 18:42 of_node -> ../../../firmware/devicetree/base/bone_capemgr
-r--r--r-- 1 root root 4096 Dec  7 18:42 modalias
-rw-r--r-- 1 root root 4096 Dec  7 18:42 driver_override
root@arm:/sys/devices/platform/bone_capemgr# ls -ltr *slots*
ls: cannot access '*slots*': No such file or directory

How do I load the right overlays with Uboot enabled? (I need Uboot for running a motor through a cape) @pdp7 @teknoman117

New bone_eqep2b.dts has errors.

I think the new bone_eqep2b.dts that was added has incorrect comments.
The author updated the P8 pin numbers, but not the GPIO numbers, therefore they are not correct. Thx! ( I would try to fix it, but I am new to Github and I dont know how)...

Position reached information

Hello there,
I am build an application using BeagleBone Black where I need to read the position from 2 encoders on 2 motors. I have 2 question regarding your api:

  • One of my encoder gives back quadrature signal only on 1 pin, not 2. I have seen in the MCU datasheet that there is a mode in eQEP that allows this. Can it be also configured using your API?
  • Is there a way to get an interrupt in userspace application that position has been reached, or I need to check the counter in a loop?

I would aprichiate any help.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.