• Pycom ESP32 Wi-Fi Mesh Network Libraries?

    wifi mesh network esp32
    4
    0 Votes
    4 Posts
    2k Views
    danD
    @joseph I'm afraid I can't give you a timeline. The BT mesh is developed by Espressif, once they release it, we can start working on the implementation. We'll update the forum when we have a development version ready.
  • Wakeup from deepsleep timer

    deepsleep wakeup
    2
    0 Votes
    2 Posts
    631 Views
    S
    I have the same problem with some of my GPY. You are powering the GPY with 5V? Cumps,
  • canopen micropython port

    micropython canopen canbus
    1
    0 Votes
    1 Posts
    551 Views
    No one has replied
  • 0 Votes
    4 Posts
    1k Views
    D
    @jclo13 Two general guidelines has been ignored in the github post, which are sensor & ground isolation and duration of excitation : ā€œ Sensors must be powered individually, and the ground must be isolated from sensor to sensor. Even if powered individually, an open ground path to another un-powered sensor can't be allowed. This is best accomplished using multiplexers to open and close the appropriate channels. ā€œ For additional details please refer to : www.irrometer.com/200ss.html
  • 0 Votes
    4 Posts
    1k Views
    S
    @archana-kadam Just add micropyGPS.py to your project folder and add import micropyGPS to main.py. If you have trouble uploading the file you should read the documentation.
  • UART, Deepsleep, Wakeup

    uart deepsleep wakeup
    2
    0 Votes
    2 Posts
    655 Views
    J
    @tschili Imho, if you trigger the wake-up just when the transmission starts, you'll have the issue that the GPY needs to little bit of time to wake-up and initialise, and you will most certainly lose and data received during that time. So you would need the SIM800L to wait until the GPY is ready to receive before it start sending the data, and some other way to wake up the GPY.
  • Interfacing between Neo-6m gps sensor with Fipy

    fipy raspberry pi neo gps
    15
    0 Votes
    15 Posts
    2k Views
    robert-hhR
    @archana-kadam I looke dagain at you request. What I cannot understand is, why you do not simple set the respberry Pi to 115200 baud. Besides that, you can free UART0 from the REPL and reconfigure it to any speed you like, e.g. for 9600 baud: import uos from machine import UART uos.dupterm(None) uart0 = UART(0, 9600) Be aware, that after the "uos.dupterm(None)", the REPL and print etc. is on telnet only.
  • 5V Relay on pycom

    pycom relay lopy
    22
    0 Votes
    22 Posts
    5k Views
    robert-hhR
    @kebson Thinking about your message, I assume that you connected the collector of the transistor to GND and control the relay though through the Vcc & GND pins of that relay board. Two topics are to be discussed: Current draw. According to the data sheet, the coil resistance is 70 Ohm, resulting in an current of 47 mA at 3.3V. At that load, the output voltage should be lower than 3.3 V, so it might "just" fit. At about 3V, the force at the relay contacts may be lower than at 5V, causing higher relay contact wear. Flyback voltage peaks. If you did not remove the flyback diode from the board, that might work, at least for a while. But still I would not consider to connect an inductive load directly to the ESP32 output pins. It may work for a while, but then break. B.T.W.: What is the mains voltage/power of the Pump?
  • Speeding up HX711 Library

    micropython speed hx711 optimize clockspeed
    14
    0 Votes
    14 Posts
    5k Views
    robert-hhR
    @jimpower The load sensor combinator shown combines four half bridge load cells in a way, that it looks like one full bridge load cell. It is a pure passive board simplifying the wiring. The output has to be fed into a load cell amplifier and digitizer.
  • 0 Votes
    17 Posts
    4k Views
    R
    @ambropete import binascii import pycom import socket import time import ujson # put that into the import section from network import LoRa from machine import Pin, Timer echo = Pin(Pin.exp_board.G7, mode=Pin.IN) trigger = Pin(Pin.exp_board.G8, mode=Pin.OUT) # Colors off = 0x000000 red = 0xff0000 green = 0x00ff00 blue = 0x0000ff # Turn off hearbeat LED pycom.heartbeat(False) # Initialize LoRaWAN radio lora = LoRa(mode=LoRa.LORAWAN) # Set network keys app_key = binascii.unhexlify('11 22 33 44 55 66 77 88 99 00 11 22 33 44 55 65'.replace(' ','')) app_eui = binascii.unhexlify('00 00 00 00 00 00 00 00'.replace(' ','')) # Join the network lora.join(activation=LoRa.OTAA, auth=(app_eui, app_key), timeout=0) pycom.rgbled(red) # Loop until joined while not lora.has_joined(): print('Not joined yet...') pycom.rgbled(off) time.sleep(0.1) pycom.rgbled(red) time.sleep(2) print('Joined') pycom.rgbled(blue) s = socket.socket(socket.AF_LORA, socket.SOCK_RAW) s.setsockopt(socket.SOL_LORA, socket.SO_DR, 5) s.setblocking(True) trigger(0) chrono = Timer.Chrono() while True: chrono.reset() trigger(1) time.sleep_us(10) trigger(0) while echo() == 0: pass chrono.start() while echo() == 1: pass chrono.stop() distance = chrono.read_us() / 58.0 s.send(str(distance).encode()) pycom.rgbled(green) time.sleep(0.5) pycom.rgbled(blue) time.sleep(0.5) print("Distance {:.0f} cm".format(distance)) time.sleep(5)
  • Using MQTT send data to server

    mqtt lora fipy
    19
    0 Votes
    19 Posts
    3k Views
    A
    @jmarcelino We have already added the file mqtt.py, and main.py is blank Thank you
  • [Solved :]UART read

    uart uart print lopy
    6
    0 Votes
    6 Posts
    2k Views
    D
    Per comments from @robert-hh & @timh , I used a MAX3232, RS232 to TTL converter chip to resolve the issue.
  • Arduino IDE Support - Kickstarter's Stretch Goal

    Moved
    9
    1 Votes
    9 Posts
    3k Views
    VolodymyrV
    @pmb_nl Actually you should be able to run Arduino on it: https://forum.pycom.io/topic/3134/using-pycom-boards-with-arduino-ide/1
  • 0 Votes
    79 Posts
    29k Views
    J
    @archana-kadam Normal LTE no.. unless you use a WiFi-LTE router (MiFi) or external LTE modem.
  • threading - thread starts, but main does not run

    thread threading
    9
    0 Votes
    9 Posts
    2k Views
    G
    @seb said in threading - thread starts, but main does not run: https://github.com/pycom/pycom-libraries/issues Ta. Opened; https://github.com/pycom/pycom-micropython-sigfox/issues/158
  • Serial communication on GPIO pin

    gpio sdi-12 serial
    6
    0 Votes
    6 Posts
    2k Views
    J
    @jmpratt Would you mind providing me a link for the hardware you used? I was thinking of using the RS485 library and a 485 to uart breakout board.
  • threading error (NameError: name 'xxx' is not defined)

    threading thread
    4
    0 Votes
    4 Posts
    3k Views
    T
    Functions and methods are actually different things and exist in different scopes. You can't look up a method by name without the self. (or similiar) prefix. Unless you bind it to another name in the current scope. The same applies to class methods.
  • SSL Connection to AWS IoT from ESP8266(Micropython)

    micropython aws ssl mqtt
    19
    0 Votes
    19 Posts
    6k Views
    L
    @sunrise17 you must modify esp_get_revision - i do not have guide but on the forum you can find such posted by @robert-hh https://forum.pycom.io/post/13828
  • Only a power cycle works to reset

    reset
    1
    0 Votes
    1 Posts
    564 Views
    No one has replied
  • LoRa Specification Module

    lora lopy lora fipy micropython pycom
    5
    0 Votes
    5 Posts
    1k Views
    A
    @rskoniec Thank You sir

Pycom on Twitter