element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • 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
Raspberry Pi
  • Products
  • More
Raspberry Pi
Raspberry Pi Forum Adding a Wifi Microcontroller for a Raspberry Pi CMIO
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Raspberry Pi to participate - click to join for free!
Featured Articles
Announcing Pi
Technical Specifications
Raspberry Pi FAQs
Win a Pi
Raspberry Pi Wishlist
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 11 replies
  • Subscribers 667 subscribers
  • Views 2367 views
  • Users 0 members are here
  • wifi
  • raspberry pi compute module
  • raspberry_pi
  • raspberri pi
Related

Adding a Wifi Microcontroller for a Raspberry Pi CMIO

lordtyrion
lordtyrion over 6 years ago

I'm trying to add WiFi to a Compute Module, but don't want to use a USB Dongle, because I need the WiFi to be permanent. Does anyone have any suggestions on what model WiFi module I should use and which communication protocol I should connect it with? If anyone has done this kind of interfacing, any help would be appreciated.

  • Sign in to reply
  • Cancel
  • sdrake@ece.ualberta.ca
    sdrake@ece.ualberta.ca over 6 years ago

    Hi, what about using the ESP8266 which just needs a UART TX/RX lines.

     

    Regards,

     

    Steve Drake

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • Cancel
  • shabaz
    shabaz over 6 years ago

    Hi,

     

    You have lots of choices, see here:

    https://github.com/torvalds/linux/tree/master/drivers/net/wireless

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • Cancel
  • thomasstrike
    thomasstrike over 6 years ago

    RPIs aren't that expensive. I would just replace the pi2 with a pi3 that has WiFi on board.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • luislabmo
    luislabmo over 6 years ago in reply to thomasstrike

    He needs WiFi for a RPi CMIO (Compute Module) which are intended for industrial use, are not necessarily cheap to replace nor they bring all the extra features a regular Pi has.

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Cancel
  • lordtyrion
    lordtyrion over 6 years ago in reply to sdrake@ece.ualberta.ca

    HI,

    I was thinking about using the ESP8266 but then read that due to the UART connection, the speed is only going to be in Kbps, which is fine for ssh and small file transfers. But I am going to be doing some reasonably sized transfers, like audio files and such, and I figured the speed wasn't going to be enough. Are there any other faster connections I can use?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Gough Lui
    Gough Lui over 6 years ago

    You're probably better off integrating a USB Wi-Fi Chipset entirely into your design. If you still need the USB port, then integrate a USB Hub + a USB Wi-Fi Chipset. Of course, to do this will require that you also integrate the antenna and matching components which can be somewhat troublesome.

     

    Of the chipsets available, the older 802.11n Atheros chipsets generally give the best range in my experience - something like the Atheros AR9271L is pretty much supported out of the box as the drivers are in the kernel already. Otherwise, the older 802.11n Ralink chipsets (e.g. RT2501, RT5201, RT2573, RT2671) might also be good choices. The Realtek devices mostly seem to need you to build your own kernel module and are a little flakey.

     

    There are some companies which do make modules based on these chipsets for integration, still using the USB bus. Some of these (e.g. WUBA-171GN - 802.11b/g/n High-Power USB Module, Atheros AR9271, 1T1R (5-pin pin header) - SparkLAN ) are just the USB dongle without the USB connector. Others (mainly from China) are more designed for integration (e.g. https://www.aliexpress.com/item/AR9271-module-wireless-network-card-module-USB-wireless-network-card-module-haihua-AW-NU… ).

     

    Short of this, you might be able to get a chipset that might interface over SPI or SDIO, but it's not going to be out of the box support. Other buses will be likely too slow for your desires.

     

    - Gough

    • Cancel
    • Vote Up +4 Vote Down
    • Sign in to reply
    • Cancel
  • sdrake@ece.ualberta.ca
    sdrake@ece.ualberta.ca over 6 years ago in reply to lordtyrion

    Just FYI the EP8266 statup baud rate is 115200 not 9600.

    Sorry I didn``t know what you were doing this for, thought

    just a hobbiest.  If this is industrial then you need to lookup

    or talk to the people who make the module and ask them if

    they have a solution that will be robust enough for your

    application.

     

    Regards,

     

    Steve Drake

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • shabaz
    shabaz over 6 years ago in reply to lordtyrion

    lordtyrion  wrote:

     

    HI,

    I was thinking about using the ESP8266

    Why? It's the wrong solution if you're going to the effort of using a CM.. you need a device that operates as network processor, not a device with embedded application processor and TCP/IP. ESP.. is great for hobby use and that's about it.

    There are many options (serial bus interfacing, including USB) as mentioned by everyone below.

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • Cancel
  • luislabmo
    luislabmo over 6 years ago

    A forum where problem like this is discussed and apparently there are few options to choose from.

     

    Luis

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Cancel
  • korn
    korn over 6 years ago

    I never really looked at the compute module. I used a lot of pi zero's and before the pi zero W came out I started using these modules from red bears kickstarter.

    https://github.com/redbear/IoT_pHAT

    They use the same chip as the pi 3 so support was great. Might be worth a look at integrating that chip into your design

    • Cancel
    • Vote Up +1 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