Giter VIP home page Giter VIP logo

Comments (12)

ha7ilm avatar ha7ilm commented on July 16, 2024

Hi @georg91,

Unfortunately, Orange Pi PC is not totally compatible with the Raspberry Pi. It is unlikely that rpitx can be easily get working with it.

The Orange Pi PC has an AllWinner H3 SoC on board, while the Raspberry Pi has a Broadcom SoC.

Software that generate an RF signal on a GPIO pin of the RPi (including pifm, WsprryPi, rpitx, etc.) rely on hardware resources and software interfaces that are unique to the RPi (e.g. they rely on how the DMA works, how PLLs have to be programmed, etc.)

While it might not be impossible to port some of these software to other ARM SoC based computers, it is not a trivial task.

from rpitx.

georg91 avatar georg91 commented on July 16, 2024

@ha7ilm
Ok I see so I will have to get a raspberry then. :(

Software that generate an RF signal on a GPIO pin of the RPi (including pifm, WsprryPi, rpitx, etc.)

Pifm was working fine though.

Just to clarify - without additional hardware you can only transmit and not receive?

from rpitx.

F5OEO avatar F5OEO commented on July 16, 2024

Interesting question about why Rpitx is only for Raspberry Pi , here is a short explanation
Unless most of linux softwares which run on differents platforms, rpitx is very closed to Rapsberry Pi and specially Broadcom chips ( BCM2835 et BCM2836).
Why ?

  • Use directly hardware registers (via mailbox)
  • Use specific DMA process from Broadcom
  • Use PLL very powerfull on Raspberry Pi (not seen a frequency range like that on other chips ..)
  • Thanks to a very documented ([https://www.raspberrypi.org/documentation/hardware/raspberrypi/bcm2835/BCM2835-ARM-Peripherals.pdf]

I have some orange Pi here and "like", but

  • Even documented, PLL is very limited, thus only a litlle range ( few MHZ)
  • Community support is not active

Conclusion :

Use Rpi competitors to performs software. As soon as you want GPIO "ehanced modes" (not blinking a led or make I2C communication), forget to dream in compatibility !

from rpitx.

F5OEO avatar F5OEO commented on July 16, 2024

"Pifm was working fine though."
Is it ??????? Because if right, I need to investigate (but really doubt)!

from rpitx.

ha7ilm avatar ha7ilm commented on July 16, 2024

Hi @georg91,

Pifm was working fine though.

That sounds interesting! Which version?

Just to clarify - without additional hardware you can only transmit and not receive?

Yes.

from rpitx.

georg91 avatar georg91 commented on July 16, 2024

@F5OEO
I have no in-depth knowledge but this explains it well for me. I didnt consider the very "hardware closeness" of this and that it actually would matter if this is Broadcom or Allwinner, but it makes sense.

And regarding "working" pifm

root@orangepi:~/rpitx# ./pifm tone.wav fm.ft
Reading file : tone.wav
Sample Rate : 48000
Channels    : 1

Writing file : fm.ft
root@orangepi:~/rpitx#

Of course I cant tell for sure or say what content is actually in fm.ft now.
But I consider the absence of any error message as "working" in this case ๐Ÿ˜…

from rpitx.

F5OEO avatar F5OEO commented on July 16, 2024

Even no error message... Real trust in working is checking if you can receive something through RF ! As seen in the AllWinner documentation, no chance to have a signal up to few MHZ and surely not with the Pifm registers which are specific to Broadcom !

from rpitx.

georg91 avatar georg91 commented on July 16, 2024

@F5OEO
It only generated the file, I couldnt even try to transmit something because rpitx gave me the quoted errormessage.

from rpitx.

F5OEO avatar F5OEO commented on July 16, 2024

Not using rpitx but Pifm which seems to work : could you receive a RF signal from you Orange Pi ?

from rpitx.

georg91 avatar georg91 commented on July 16, 2024

How to do this? I thought pifm is only for creating the files.

from rpitx.

F5OEO avatar F5OEO commented on July 16, 2024

Ah OK.. some confusion.. In rpitx ,Pifm is just a process to convert audio to frequency. Datas are created to be used by rpitx. But this is the same name as "pifm" reference [(https://github.com/rm-hull/pifm)]. Sorry for that "same" name.
Again and now, be sure : no way to use Orange Pi as a RF transmitter with rpitx (and other raspberry software based)

So

from rpitx.

georg91 avatar georg91 commented on July 16, 2024

I tried it for the lulz. Even the other pifm doesnt seem to work, it gives no messages and actually "runs" for the lenght of the WAV File but I hear nothing.

from rpitx.

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.