element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Moto Mods
  • Products
  • Manufacturers
  • Moto Mods
  • More
  • Cancel
Moto Mods
Forum FM Transmitter Mod
  • Blog
  • Forum
  • Documents
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Moto Mods to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 31 replies
  • Subscribers 58 subscribers
  • Views 3385 views
  • Users 0 members are here
  • rapsberry-pi
  • audio
  • fm radio
  • gpio
  • moto mod
  • raspberry pi io
  • pifm
  • moto mdk
  • moto mods
  • raspberrypi_pifm_pitx_pisoftware
Related

FM Transmitter Mod

krobar14
krobar14 over 7 years ago

Hello,

 

I am currently undertaking a project on my own. To develop a mod for my Moto Z Play.

 

Just to give you some background into this. I tried implementing the PiFM GPIO project with the band pass filter feature recently on a raspberry pi. I expreienced great success with this endeavor, and thought that I would be able to do something similar for my Moto Z Play. I currently have all of the development tools, and the hardware, but I am just doing research, having implemented the Blinky Project already.

 

I am currently reading through some of the Nuttx instructions, and purposes. The information given seems to show that the firmware contains the possibility for Audio signals being processed.

 

What advice would you have for an Engineering student getting into this. I would like to have some input at where I should go from the Blinky project. I want to have a mod that takes my phone's audio, and sends it out over different FM frequencies. Is this even possible?

 

Thanks!

David

  • Sign in to reply
  • Cancel

Top Replies

  • motomodsdev
    motomodsdev over 7 years ago +1
    Very possible, I recommend starting with the Audio Personality Card example. This uses i2s to transfer digital audio from the Moto Z, and plays out a tiny mono speaker. It should be extremely easy to rip…
  • motomodsdev
    motomodsdev over 7 years ago in reply to krobar14 +1
    The MDK does generate clock and PWM outputs, so it appears it would be feasible to use the MuC in the same manner that they used the Pi. In this case the audio would be an analog signal out of the TFA…
  • motomodsdev
    motomodsdev over 7 years ago in reply to krobar14 +1
    Sorry for missing this update, I guess the TFA9890 is mono audio only, which the reason for the i2s stereo decoder. Did you look to see if there was anything in the TFA family that might make your firmware…
Parents
  • krobar14
    krobar14 over 7 years ago

    Will do. Thanks for your help. I'll post updates on this thread.

     

    Would another possibility be, building a GPIO board that would connect to the mod, and send out audio, the same way I did on the raspberry pi?

    I'm more specifically referring to the PiFM Project on the raspberry pi.

     

    David

    Raspberry Pi Radio Transmitter: 4 Steps

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • motomodsdev
    motomodsdev over 7 years ago in reply to krobar14

    The MDK does generate clock and PWM outputs, so it appears it would be feasible to use the MuC in the same manner that they used the Pi.  In this case the audio would be an analog signal out of the TFA still, correct?  You would probably need to flywire a new circuit on the Perforated board, since the Audio card doesn't provide easy access to extra GPIO.

     

    If you run into issue configuring any MuC outputs, we're here to help.  As for how the user tunes the transmitter, than can be easily done with an Android app and pass the information to your Moto Mod using the Raw protocol.

     

    There's an interesting comment that this isn't really a good way to do FM since you "splash" out over other channels.  I thought your FM transmitter was a separate chip, controlled by i2c like the TFA is.  Pretty interesting just modulating a GPIO signal; not sure if that is easier or harder than a transmitter IC.

     

    Great documentation so far, really interesting to see this evolving!  But you confused me when you mentioned 2 knobs next to the speaker.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • krobar14
    krobar14 over 7 years ago in reply to motomodsdev

    So, from my understanding, the whole purpose of the stereo decoder is to receive I2S signals from the MuC. Not the other way around. For that reason, I thought those were the pins that allowed for Word Select, and the Back Clock, and The SDO to get the audio from the phone. Is it true that these pins are outputting this information for the process of decoding it into Left out and Right out for the FM Transmitter?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • krobar14
    krobar14 over 7 years ago in reply to motomodsdev

    My goal is to take I2S to the Stereo Decoder.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • shabaz
    shabaz over 7 years ago in reply to krobar14

    This seems like the most complicated way ever to get FM transmission. You could just take an analog audio output (headphone jack?) and send it to an FM transmitter circuit. I2S may offer higher quality for a small portion of the system, but by the time it has been transmitted and received, and bear in mind most modern FM receivers are awful, the sound quality will be pretty average anyway. Analog input FM transmitters are available all over the place, unless I'm missing something..

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • krobar14
    krobar14 over 7 years ago in reply to shabaz

    Yes, I understand I can do that. I just wanted to build something that would work as a mod. This is just a project to get to know everything a little better.

    You're very right. Just plugging into, or Bluetooth to an FM transmitter would be a lot easier. I am purposefully trying to do something more challenging.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • krobar14
    krobar14 over 7 years ago in reply to motomodsdev

    I've decided to switch to using PC0 and PC1 for SDA and SCL. This corresponds more with the Audio Mod

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • krobar14
    krobar14 over 7 years ago in reply to motomodsdev

    image

     

     

     

    This is the Audio Amplifier for the Moto Mod personality card for the audio speaker mod. I'm trying to find patterns between the inputs that are shown between the two modules.

     

    adafruit_products_fabprint.png

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • krobar14
    krobar14 over 7 years ago in reply to motomodsdev

    So instead of PD7 for Data In, I will actually use the SDI pin. (PE7)

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • krobar14
    krobar14 over 7 years ago in reply to motomodsdev

    So! For the next step. I had to take a break because of courses at school. I am going to configure the board tonight. What is the best way to get the ADAfruit stuff integrated with the board. Are there makefiles that I have to edit in the nuttx stuff. How can I get this to work with the Java portion of the Android application as well? I think I might need to study it a little more. I can't wait to see the final product.

     

    David

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • krobar14
    krobar14 over 7 years ago in reply to motomodsdev

    Major update to the project. The board is soldered. I'm not the best at soldering, so it took me a few hours to do this.

     

    image

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • krobar14
    krobar14 over 7 years ago in reply to motomodsdev

    motomodsdev - Is there any specific way that I need to import the Adafruit libraries to the board or the nuttx stuff? What make files should I edit and how etc...

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • krobar14
    krobar14 over 7 years ago in reply to motomodsdev

    motomodsdev - Is there any specific way that I need to import the Adafruit libraries to the board or the nuttx stuff? What make files should I edit and how etc...

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Children
  • krobar14
    krobar14 over 7 years ago in reply to krobar14

    I've continued the NuttX portion in another thread. This one seems to be good.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube