Git Product home page Git Product logo

Comments (8)

crazyquark avatar crazyquark commented on July 24, 2024

Potential workaround:
from adafruit_blinka import agnostic agnostic.board_id = 'raspi_3'

from adafruit_blinka.

ladyada avatar ladyada commented on July 24, 2024

hiya we're doing a massive refactor like, this very hour :) check the PR's here and in platformdetect
adding odroid c1 detection to platformdetect is the best you can do now, while we rework this repo
https://github.com/adafruit/Adafruit_Python_PlatformDetect

from adafruit_blinka.

ladyada avatar ladyada commented on July 24, 2024

also, we dont recommend wiring pi - its ususally sysfs underneath, very very slow. we use libgpiod instead - its fast and supported in modern kernels :)

from adafruit_blinka.

crazyquark avatar crazyquark commented on July 24, 2024

Nice! btw, I got it to work on Odroid C1+ with the above hack. I am on an official Ubuntu image from Hardkernel. libgpiod is indeed available on Odroids.
P.S. This is my robot(It used to run on a Pi3 but now I am migrating it to Odroid-C1+):
img_0072
It has 2 DC motors and one Servo connected to the DC Motor HAT. The power comes from a Pololu 5V step down converter and 2x18650 cells.

from adafruit_blinka.

ladyada avatar ladyada commented on July 24, 2024

wow cool! yes it will work but its a bit of a hack if RPi.GPIO exists :) however there's some pinout differences and its best if we can properly detect it and make a correct 'map' of all the pins and functions - especially since htere's some cool stuff like ADC pins! and some pins have different names than RasPi

http://pi4j.com/pins/odroid-c1.html

could you start by adding detection to platform detect? we have one so we could help if you need assistance :)

https://github.com/adafruit/Adafruit_Python_PlatformDetect/

from adafruit_blinka.

crazyquark avatar crazyquark commented on July 24, 2024

I'll try to help. Yes, the pinout is slightly different and yes I use a RPi.GPIO port for odroid:
https://wiki.odroid.com/odroid-c1/application_note/gpio/rpi.gpio
So far it has worked for me.

from adafruit_blinka.

crazyquark avatar crazyquark commented on July 24, 2024

Made a PR to detect the Odroid C1/C2:
adafruit/Adafruit_Python_PlatformDetect#7

from adafruit_blinka.

kattni avatar kattni commented on July 24, 2024

Looks like this was merged! Thanks for contributing!

from adafruit_blinka.

Related Issues (20)

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.