• PySense 2 Accelerometer sampling rate

    1
    0 Votes
    1 Posts
    45 Views
    No one has replied
  • Need PyGate tutorial clarification

    pygate pygate ttn v3
    4
    1
    0 Votes
    4 Posts
    76 Views
    J
    @peterp Thank you Peter, for the friendly response and the clarification.
  • Utilize Expansion module SD card with Arduino code

    2
    0 Votes
    2 Posts
    46 Views
    P
    Answering my own question in case anyone else is interested in this. Accessing the SD card on the Expansion module seems to be exclusively done with the SD_MMC library in arduino. Specifically in 1-bit mode. Internal pullups are required. This works for me: /* * Connect the SD card to the following pins: * * SD Card | ESP32 * D2 12 * D3 13 * CMD 15 * VSS GND * VDD 3.3V * CLK 14 * VSS GND * D0 2 (add 1K pull up after flashing) * D1 4 */ #include "FS.h" #include "SD_MMC.h" void setup(){ Serial.begin(115200); pinMode(2, INPUT_PULLUP); pinMode(4, INPUT_PULLUP); pinMode(15, INPUT_PULLUP); if(!SD_MMC.begin("/sdcard",true)){ // First arg = mount point, Second arg is 1-bit-mode Serial.println("Card Mount Failed"); return; } uint8_t cardType = SD_MMC.cardType(); if(cardType == CARD_NONE){ Serial.println("No SD_MMC card attached"); return; } Serial.print("SD_MMC Card Type: "); if(cardType == CARD_MMC){ Serial.println("MMC"); } else if(cardType == CARD_SD){ Serial.println("SDSC"); } else if(cardType == CARD_SDHC){ Serial.println("SDHC"); } else { Serial.println("UNKNOWN"); } uint64_t cardSize = SD_MMC.cardSize() / (1024 * 1024); Serial.printf("SD_MMC Card Size: %lluMB\n", cardSize); } void loop(){ }
  • 0 Votes
    2 Posts
    50 Views
    robert-hhR
    @Erling-Devold P13 to P18 are input only pins due to the ESP32. That's not related to the expansion boards. You can uses them as GPI pins (input only). And yes, if a module pin is connected to a peripheral on the expansion board, you should not use it for other means.
  • Pysense 2.0x sensor header

    3
    3
    0 Votes
    3 Posts
    87 Views
    Y
    @Gijs : I finally received my H2S sensor but I'm already confused with pin numbers the sensor header should refer to in the firmware. Would it be pysense.i2c or P22 and P21? (ref. example below taken from SI7006A20.py): def __init__(self, pysense = None, sda = 'P22', scl = 'P21'): if pysense is not None: self.i2c = pysense.i2c else: self.i2c = I2C(0, mode=I2C.MASTER, pins=(sda, scl)
  • 1 Votes
    1 Posts
    61 Views
    No one has replied
  • 2 Votes
    1 Posts
    37 Views
    No one has replied
  • Pytrack (None, None) coordinates - GPS

    3
    0 Votes
    3 Posts
    73 Views
    J
    I am having the same issue here. I tried with direct line of sight, with and without the active antenna...
  • Pyscan reading ISO14443-4 cards (non MIFARE)

    pyscan nfc
    1
    0 Votes
    1 Posts
    43 Views
    No one has replied
  • WiFi on FiPy issues with Expansion Board 3

    pybytes
    7
    0 Votes
    7 Posts
    114 Views
    G
    We do not have schematics publically available for the Expansionboard 3, though I'm not completely sure what is/ is not working for you. You mention powering the Fipy directly in the expansionboard using the Vin header (right next to the battery connector i presume) with 3.3V? Then, you attached the USB cable, and the expansionboard got damaged? Could you verify the Fipy is receiving power on Vin, and generating 3.3V on the output, using the presumably broken expansionboard with a multimeter (of course without attaching the separate 3.3V supply). The mosfet you encircled is, if memory serves me correctly, the power switching mosfet, switching the power source between battery and USB, depending on which is connected, perhaps explaining why it is broken, as the 3.3V was backfeeding, though I would expect the USB voltage to overpower your 3.3V source. You also mention you're able to flash the PIC, does it then also show up on your computer as a COM port? Could you also let me know of the voltage on the Vin pin without the Fipy present? There is no way to disable USB power going to the Fipy, without doing some physical damage to the board (ie, remove one of the components or scratching a trace).
  • Pytrack2 wakeup from acceleration interrupt

    pytrack2 wakeup acceleration lis2hh12
    1
    1 Votes
    1 Posts
    47 Views
    No one has replied
  • Turning off Onboard LED - Expansion Board

    10
    0 Votes
    10 Posts
    156 Views
    J
    @Rakesh-Maduupu note that the 1.0 version of that board had a regulated 3.3V output, which you could have used to power the module directly. There are probably other similar boards. Do you actually have any need for any of the features of the expansion board other than USB power? Also how much power do you need (peak) and how much energy during an awake cycle?
  • Problems getting GPS data

    2
    0 Votes
    2 Posts
    44 Views
    J
    @Stuart-Watt it may be interesting to compare board, chip and firmware versions, serial numbers and anything related. There may be a bad batch of hardware or just firmware discrepancies which could explain the differing results.
  • New expansion board how it should looks like

    8
    3
    2 Votes
    8 Posts
    117 Views
    L
    @jcaron Yes. First battery connector is directly connected and then metter not work. But if you plug battery to second connector then it have circuit throught this 2 gold pins. Instead gold pins there can be something else soldered. I'd think ... on board edge I have moved this gold pins by your advice to the edge of the board to have it better accessible. [image: 1622060833241-7cda3e5d-4503-4c44-a4fe-c832274fc8f0-image.png]
  • Pytrack and GPS Balloon mode

    pytrack balloon gps
    6
    0 Votes
    6 Posts
    2k Views
    T
    sorry no clue, I am not using pycom devices anymore so I can't tell. Sorry.
  • Charging Lopy4

    4
    1 Votes
    4 Posts
    68 Views
    G
    Im not aware of anything wrong with the tx_power argument from here: https://docs.pycom.io/firmwareapi/pycom/network/lora/#lorainitmode-regionloraeu868-frequency-tx_power-bandwidthlorabw_125khz-sf7-preamble8-coding_rateloracoding_4_5-power_modeloraalways_on-tx_iqfalse-rx_iqfalse-adrfalse-publictrue-tx_retries2-device_classloraclass_a Though note that the transmit power argument for LoRaWAN is defined per region
  • PyGate TTN v3 Community Edition

    pygate ttn v3
    3
    0 Votes
    3 Posts
    103 Views
    T
    Looks like I got it working, just followed the guide on https://docs.pycom.io/tutorials/expansionboards/pygate/ with a few modifications. Create a gateway in the v3 console Download the Global configuration from the gateway overview page in the console Add the gateway_ID stuff to the bottom of the downloaded global_conf.json file Change downloaded global_conf.json to config.json Add a Gateway EUI in the console, I used the GPy´s mac address and added ff:fe in the middle to avoid using a semi random that might conflict with an other gateway later on. Use the Gateway EUI (not the human readable Gateway ID from console) as the gateway_ID in the config.json Reboot and it seems to be working Hope this makes sense
  • Pyscan

    5
    0 Votes
    5 Posts
    216 Views
    M
    @Gijs Hi Gijs, thank you for that we have some response now, still sorting some timing issues but it looks like you have pushed us in the right direction, again many thanks :-) Kind Regards Mark
  • Pygate power input options

    2
    0 Votes
    2 Posts
    58 Views
    G
    You can provide power with a battery through the battery connector as well. The VCC header on the side of the board will work as well, though that will not charge the battery. Concerning the GPS interface, (1pps from GPS): this is used to increase the stability SX1308 LoRa receiver directly and has no other purpose
  • Information if expansion board is charging battery

    5
    0 Votes
    5 Posts
    86 Views
    A
    @Gijs Thank you for your answer, I am making tests and I will inform you.

Pycom on Twitter