Welcome to the Pycom forum Forum
    • \[\[global:header.categories\]\]
    • \[\[global:header.recent\]\]
    • \[\[global:header.tags\]\]
    • \[\[global:header.popular\]\]
    • Login

    Explore Pybytes | Official Documentation | Report a Firmware Bug/Issue | GitHub

    Begginer with some questions about FiPy device

    Scheduled Pinned Locked Moved FiPy
    2 Posts 2 Posters 59 Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • L Offline
      lloureiro
      last edited by

      Hi,

      Im a new user to FiPy and have some doubts about this amazing device:

      • If I interface it with microchip pic micro controller, how can I establish a Wi-Fi connection, send data and close connection? And the same for LoRa?
      • But, if not using a external MCU, FiPy came with:
        • 2 x UART, 2 x SPI, I2C, micro SD card
        • ANalog channels: 8_12 bit ADCs, 2_8 bit DAC
        • Timers: 2_64 bit with PWM with up to 16 channels
        • DMA on all peripherals
        • GPIO: Up to 22
        And looks very good, but…. I need to interact with another component, read and write data using SPI. What means “Connected to LoRa/Sigfox radio” ?

      Lixo.jpg

      Means I can’t use LoRa to transmit/receive and using these pins for SPI at same time? Or its suppose nothing connected?
      And the same for LTE

      Lixo2.jpg

      And for last, maybe a stupid question. On expansion board I have

      l3.jpg
      l4.jpg

      If I connect it on expansion board, it will not be GPIO28 but GPIO21, right?

      And last question: if I want use Lora, LTE and WiFi to communicate, how many GPIO pins I have left, excluding SPI pins?

      Thanks, best regards,
      Lloureiro

      1 Reply Last reply Reply Quote 0
      • G Offline
        Gijs
        last edited by

        Hi,
        You are absolutely correct about the pin configuration. The pin numbers in the documentation for you Fipy are the correct ones
        https://docs.pycom.io/datasheets/development/fipy/
        The Expansion board pinouts refer to an old standard we no longer use. Your offline expansion board should have the correct labels.

        To answer your first question, you can look at one of the tutorials here: https://docs.pycom.io/firmwareapi/pycom/network/wlan/

        And connect the second uart (TX1 and RX1) to the external microcontroller.
        The pins connected to Lora/Sigfox are internally connected in the device. On a WiPy, this is not the case, as it does not contain a lora radio.
        You will indeed not be able to use lora and SPI at the same time, but you can learn more about that here: https://learn.sparkfun.com/tutorials/serial-peripheral-interface-spi/all

        Hope its still useful to you!

        1 Reply Last reply Reply Quote 1

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • 1 / 1
        • First post
          Last post

        Pycom on Twitter

        Pycom