• This topic is deleted!

    1
    0 Votes
    1 Posts
    22 Views
    No one has replied
  • 0 Votes
    6 Posts
    83 Views
    G
    @Gijs will give the pybytes app one more try.. For the heartbeat option, I will stick to the code you gave me earlier, but if any solution comes across please do let me know. For the lorawan gateway looks like I need to wait for some time as procuring a pygate board is bit difficult for now it seems as per my local vendor. will get back on lorawan gateway with the pygate board once I start working on it. thanks a lot for the help.
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    1 Views
    No one has replied
  • Need Help with resetting Fipy to Factory Settings

    8
    0 Votes
    8 Posts
    129 Views
    G
    @Gijs thanks a lot Gijs.. will get back if any issue.
  • modem firmware on a fipy

    1
    0 Votes
    1 Posts
    35 Views
    No one has replied
  • BLE L2CAP layer access

    1
    0 Votes
    1 Posts
    28 Views
    No one has replied
  • Passthru Lte to wifi

    2
    0 Votes
    2 Posts
    56 Views
    G
    Hi, We do not support this functionality in the current firmware, nor do we plan to add this functionality. It is not possible to differentiate sockets to different network adapters. Next to that, if it were possible, it would not create a fast or reliable connection. Let me know what you are planning to do, maybe we can help with that!
  • Entering download mode [FiPy 1.0 + Pysense]

    fipy pysense
    2
    0 Votes
    2 Posts
    72 Views
    robert-hhR
    @Filisia-Melissari With the pysense the pycom updater will switch the FiPy to download mode. (assuming you mean bootloader mode). besides that, you can always force bootloader mode by connecting P2 to GND and pushing the reset button on the FiPy. P2 is available on the external IO header of PySense, the middle pin in the row with the square pin, or at the FiPy itself.
  • 0 Votes
    2 Posts
    48 Views
    L
    Hi is it this sensor? [image: 1613220092035-4095396c-8772-4402-b1c6-5a1e4eb88528-image.png] If yes, then link you have provided is totally unrelate with your sensor. VEML6030 work on I2C look into documentation how to setup I2C https://docs.pycom.io/firmwareapi/pycom/machine/i2c/ e.g. use the code: i2c = I2C(0, pins=('P10','P9')) you need also some library, i do not have this sensor so cannot test lib, but maybe this will work for you with a little modification required or not: https://github.com/n8many/VEML6030py/blob/master/veml6030.py
  • Do I need an aerial to use Sigfox

    7
    0 Votes
    7 Posts
    83 Views
    L
    @Gijs i see that it is listed https://docs.pycom.io/firmwareapi/pycom/network/lora/#app in Sigfox it is only less visible https://docs.pycom.io/firmwareapi/pycom/network/sigfox/#quick-usage-example
  • This topic is deleted!

    3
    0 Votes
    3 Posts
    9 Views
  • Pybytes send signal arguments

    19
    0 Votes
    19 Posts
    340 Views
    F
    @Gijs Yes, I am able to connect to pybytes, but I was curios to see if I was able to perform an HTTP request to my server with the cellular network, but it's not possible as you've told me. Thank you very much for your support.
  • VBatt with CayenneLPP?

    2
    0 Votes
    2 Posts
    44 Views
    R
    It's up to you..both can do the job. a) lpp.add_analog_input(1, py.read_battery_voltage()) or b) lpp.add_analog_output(1, py.read_battery_voltage())
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    14 Views
    No one has replied
  • FiPy + PyTrack + PySense

    3
    0 Votes
    3 Posts
    168 Views
    V
    @jcaron hi sir, am new to pycom products but have bought pysense with lopy a d overall am happy with the devices. Now, i would like to do something similar and install additional sensors, e.g. Gps and water quality sensor, would you happen to know how to go about this?
  • UART invert signal

    5
    0 Votes
    5 Posts
    70 Views
    robert-hhR
    @Norbert-Szczesny The PR is here: https://github.com/pycom/pycom-micropython-sigfox/pull/362 The only affected file is mods/machuart.c. Since it is a change to the sources, you have to rebuild the firmware yourself. But that is not too hard. Edit: it is also included in the homebrew branch of my fork, which has also a few other fixes: https://github.com/robert-hh/pycom-micropython-sigfox/tree/homebrew
  • FiPy LTE-M Amazon AWS-IoT

    3
    0 Votes
    3 Posts
    64 Views
    A
    Can anyone help me find the Root CA Certificate?
  • MikroE AC Current Click on SPI

    3
    1
    0 Votes
    3 Posts
    45 Views
    A
    Hi @jcaron ! Thanks for your reply. @jcaron said in MikroE AC Current Click on SPI: @Anthony-Leung Did you also connect ground together, and are you correctly powering the sensor with 3.3 V (along with the right jumper setting on the sensor)? Yes, the mikroE is wired to 3V3 on both the FiPy and the AC current sensor. The jumper uses 3V3 as standard so yes the hardware is correctly wired. You probably need a small delay between /CS going high and going back low. It needs to stay high for at least 625 ns (tCSH) for each sample, not sure if your current code keeps it high long enough. I've added a 1ms delay for the /CS based on your comment, seems to not make a difference thus far. You may want to try different combinations of polarity and phase. The ADC chip on the sensor is supposed to work with both 0,0 (default for SPI) and 1,1. Also have done this, no significant difference. The ADC is a bit weird as it outputs 12 bits while SPI works on 8 bits. The ADC datasheet says it should still work by rearranging bits a bit like you're doing (though I'm not convinced by your shifts). I've just read further into the data sheets and have adjusted it to the recommended bit shifts. I think it should now be correct following this description: "The MCU receive register will contain the lowest-order seven bits and the B1 bit repeated as the A/D Converter has begun to shift out LSB first data with the extra clock. Typical procedure would then call for the lower-order byte of data to be shifted right by one bit to remove the extra B1 bit. The B7 bit is then transferred from the high-order byte to the lower-order byte, and then the higher-order byte is shifted one bit to the right as well" To which I have done: data = ((buf[0] << 7) | (buf[1] >> 1)) & 0xfff What are you measuring? Is the current you're measuring constant (and known) or variable? What value are you expecting? So far I've been trying to get a consistent value under no current, meaning it is not reading from any source. My assumption is that I should have a fairly consistent value with error however I am simply getting huge spikes in results. In my new segment of code I've measured the analog reading of the current as well to compare. from machine import SPI from machine import Pin import machine import time # Analog pin settings adc = machine.ADC() apin = adc.channel(pin='P13') val = apin() # SPI settings spi_cs = Pin('P23',mode=Pin.OUT) spi_cs.value(True) spi = SPI(0, mode=SPI.MASTER, baudrate=10000, bits=16, firstbit=SPI.MSB) buf = bytearray(2) while True: spi_cs.value(False) # select the pin time.sleep_ms(1) # wait spi.readinto(buf) # read data = ((buf[0] << 7) | (buf[1] >> 1)) & 0xfff # concatenate bytes and rearrange as per specs val = apin() # retrieve analog output print( "bits: ", "{0:16b}".format(data), "\t spi: ", "{:10.4f}".format(30*data/4096), "A", "\t analog: ", "{:10.4f}".format(30*val/4096), "A") spi_cs.value(True) # deselect pin time.sleep_ms(1) # wait My results are: bits: 0 spi: 0.0000 A analog: 1.1572 A bits: 0 spi: 0.0000 A analog: 1.1353 A bits: 111111111111 spi: 29.9927 A analog: 0.9448 A bits: 111111111111 spi: 29.9927 A analog: 1.0547 A bits: 111111111111 spi: 29.9927 A analog: 1.1646 A bits: 1110111111 spi: 7.0239 A analog: 1.0547 A bits: 0 spi: 0.0000 A analog: 1.1133 A bits: 111111111100 spi: 29.9707 A analog: 1.0620 A bits: 111111111111 spi: 29.9927 A analog: 1.1279 A bits: 111111111111 spi: 29.9927 A analog: 1.2817 A bits: 111111111111 spi: 29.9927 A analog: 1.1206 A bits: 0 spi: 0.0000 A analog: 1.2744 A bits: 0 spi: 0.0000 A analog: 1.2378 A bits: 111111111111 spi: 29.9927 A analog: 1.1646 A bits: 111111111111 spi: 29.9927 A analog: 1.1938 A bits: 111111111111 spi: 29.9927 A analog: 1.1353 A bits: 0 spi: 0.0000 A analog: 1.1353 A bits: 0 spi: 0.0000 A analog: 1.1646 A bits: 111111111111 spi: 29.9927 A analog: 1.0547 A bits: 111111111111 spi: 29.9927 A analog: 1.0840 A bits: 111111111111 spi: 29.9927 A analog: 0.9595 A bits: 0 spi: 0.0000 A analog: 0.9155 A bits: 0 spi: 0.0000 A analog: 1.0547 A bits: 111111111111 spi: 29.9927 A analog: 0.9448 A bits: 111111111111 spi: 29.9927 A analog: 1.0547 A bits: 111111111111 spi: 29.9927 A analog: 0.9229 A bits: 0 spi: 0.0000 A analog: 1.0547 A bits: 0 spi: 0.0000 A analog: 1.0327 A bits: 111111110000 spi: 29.8828 A analog: 1.0107 A bits: 111111111111 spi: 29.9927 A analog: 1.1206 A bits: 111111111111 spi: 29.9927 A analog: 1.0547 A bits: 111111111 spi: 3.7427 A analog: 1.0107 A bits: 0 spi: 0.0000 A analog: 1.0767 A bits: 111111111100 spi: 29.9707 A analog: 0.9595 A bits: 111111111111 spi: 29.9927 A analog: 1.0547 A bits: 111111111111 spi: 29.9927 A analog: 1.0547 A bits: 111111111111 spi: 29.9927 A analog: 1.0986 A bits: 0 spi: 0.0000 A analog: 1.0693 A bits: 0 spi: 0.0000 A analog: 1.0547 A bits: 111111111111 spi: 29.9927 A analog: 1.0181 A bits: 111111111111 spi: 29.9927 A analog: 1.0986 A bits: 111111111111 spi: 29.9927 A analog: 1.0547 A bits: 0 spi: 0.0000 A analog: 1.0767 A bits: 0 spi: 0.0000 A analog: 1.0547 A bits: 111111111111 spi: 29.9927 A analog: 1.0547 A bits: 111111111111 spi: 29.9927 A analog: 1.0547 A bits: 111111111111 spi: 29.9927 A analog: 1.0547 A bits: 0 spi: 0.0000 A analog: 1.1426 A bits: 0 spi: 0.0000 A analog: 1.1499 A bits: 111111111111 spi: 29.9927 A analog: 1.0840 A bits: 111111111111 spi: 29.9927 A analog: 1.2085 A bits: 111111111111 spi: 29.9927 A analog: 1.0547 A bits: 0 spi: 0.0000 A analog: 1.1206 A bits: 0 spi: 0.0000 A analog: 1.2012 A bits: 111111111111 spi: 29.9927 A analog: 1.0547 A bits: 111111111111 spi: 29.9927 A analog: 1.0986 A bits: 111111111111 spi: 29.9927 A analog: 1.0986 A bits: 0 spi: 0.0000 A analog: 1.1719 A bits: 0 spi: 0.0000 A analog: 1.0693 A bits: 111111111111 spi: 29.9927 A analog: 1.0767 A bits: 111111111111 spi: 29.9927 A analog: 1.1060 A bits: 111111111111 spi: 29.9927 A analog: 1.1938 A bits: 0 spi: 0.0000 A analog: 1.1865 A bits: 0 spi: 0.0000 A analog: 1.1865 A bits: 111111111111 spi: 29.9927 A analog: 1.0620 A bits: 111111111111 spi: 29.9927 A analog: 1.1572 A bits: 111111111111 spi: 29.9927 A analog: 1.1353 A bits: 111011111 spi: 3.5083 A analog: 1.1279 A So as you can see in the spi column there is a lot of fluctuation compared to analog readings. How should I go about this? Thank you in advance again! UPDATE All good I have found the problem! I've connected the CLK and MISO pins in incorrectly.
  • Compatible feather wings for FiPy (Pytrack 2.0 X)

    2
    0 Votes
    2 Posts
    60 Views
    J
    @Artur-Nuritdinov As far as I am aware, Pycom modules do not conform to the Feather spec, they have their own ecosystem with the WiPy/GPy/LoPy/FiPy modules and expansion board/Pytrack/Pysense/Pyscan boards. The Pytrack 2.0 has an additional "Pynode" port for sensors, but no sensors have been released for that yet. It's a simple I2C bus though, so it should be possible to add any I2C sensor there with minimal fuss provided you find the right connector. I suppose many Grove, Qwiic/Stemma QT or UEXT sensors should be usable on that with just the right cable. Why Pycom chose yet another connector instead of one of the most common ones is beyond me...
  • FiPy trouble with CatM1 AND NBIoT

    18
    0 Votes
    18 Posts
    361 Views
    R
    Hi, were you able to resolve this issue? Thanks.

Pycom on Twitter