Jump to content

Jodaille

Members
  • Posts

    5
  • Joined

  • Last visited

Posts posted by Jodaille

  1. Hello,

     

    I have abandoned the Orangepizero2 I had bought months ago to use with Armbian, I have confused zero and zero 2.

     

    Seeing new release, I have just downloaded/install Armbian 22.05 Jammy. Install is ok, good work, thank you !

     

    :)

     

    The wireless interface seems not enabled, I have looked at dmesg output and nmtui-connect.

     

    I could not find info about it, the board name doesn't help a lot. I understand the support of this board is pretty new.

     

    Is there a known technic to enable the wifi ?

     

    Have a nice day,

  2. Hello,

     

    I have an Orange Pi Pc Plus, and a PIVOyager, it seems I2C buses (0 and 1) are inversed between Raspberry and OrangePi.

     

    (Nb: It was my first go use/compilation)

     

    I have created a $HOME/go directory

    then I have put the whole project inside a ~/go/src/github.com/omzlo/ structure

    I have modified the file device.go https://github.com/omzlo/pivoyager/blob/2ffcdd2ec77871184f2d02f180bd47b720af077a/device/device.go#L169

    to change

    bus := i2c.OpenBus(1)

    to :

    bus := i2c.OpenBus(0)

    then compile with:

    /usr/lib/go-1.10/bin/go build cmd/pivoyager.go

     

    and it works ! :-)

    pivoyager.png.8063587fdcbad21a6a589df5645d26a7.png

     

    Ps: compiled on Armbian

  3. Armbianmonitor:

    Hello,

     

    I am trying to communicate with a mcp2515 breakout (8Mhz oscillator) on an Orange Pi Pc+

    I have modified the breakout following info on Raspberry Pi: HowTo/Quickstart MCP2515 to keep logic level @3v

    I have two other nodes composed by two Arduinos, with same (not modified) breakout, one that transmits the other receives.

    I have successfully tested the first breakout (used on OPi) with an Arduino (powered by 3.3v and 5v on TJA1050).

    It lets me think that hardware is OK.

     

    Below photos of wiring (nb: orange wire becomes red, is wired near TJA1050 = 5v):

    Wiring Opi <-> mcp2515

     

    It seems I have the same results with (edited) user_overlay and the compiled one provided in zador.blood.stained's post

     

    dmesg| grep 'can\|mcp\|spi'
    [    6.701431] mcp251x spi0.0 can0: MCP2515 successfully initialized.
    [   28.455699] can: controller area network core (rev 20170425 abi 9)
    [   28.471752] can: raw protocol (rev 20170425)

    The controller seems well seen, I can bring up the can0 interface:

    sudo ip link set can0 type can bitrate 125000 triple-sampling on
    sudo ifconfig can0 up
    ifconfig can0   
    can0: flags=193<UP,RUNNING,NOARP>  mtu 16
            unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  txqueuelen 10  (UNSPEC)
            RX packets 0  bytes 0 (0.0 B)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 0  bytes 0 (0.0 B)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

    but candump is mute although the Arduino receiver displays messages from Arduino transmitter.

    And cansend do not give error but I could not see this messages on Arduino receiver.

     

    Does someone would have an idea of what I am missing ?

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines