• This topic is deleted!

    1
    0 Votes
    1 Posts
    35 Views
    No one has replied
  • Edit file through telnet possible?

    lopy
    9
    0 Votes
    9 Posts
    2k Views
    robert-hhR
    @jmarcelino Oh yes, I forgot the connect command of rshell. You can also edit through that tool, with edit filename
  • Pymakr for VS Code settings missing .json

    vscode plugin
    4
    4
    0 Votes
    4 Posts
    2k Views
    sebS
    Have you tried re-installing the plugin?
  • [SOLVED]Send Serial ASCII string to Web Server

    lopy uart1
    12
    0 Votes
    12 Posts
    3k Views
    J
    @livius @jcaron <SOLVED> I managed to get this to work thanks to your help, used a sparkfun MAX3232 to step down the RS232 to UART and ASCII strings appear as expected and was able to upload them to a web server.
  • Pymakr plugin for Atom - something wrong with installation

    atom plugin
    2
    2
    0 Votes
    2 Posts
    1k Views
    sebS
    Hi, It looks like you are using PlatformIO, this is not something we currently support. Pymakr is a standalone plugin for atom and does not interact with platformIO in any way. To create a pymakr project, just create a empty folder on your computer and open it with atom. You can then add project settings via the settings menu in the Pymakr panel and create a main.py file.
  • What platforms does Pycom boards support?

    platforms firmware
    3
    0 Votes
    3 Posts
    909 Views
    C
    @pynew ....support Arduino too
  • [Solved] issues w/ serial connection: Atom + LoPy

    lopy serial
    3
    0 Votes
    3 Posts
    1k Views
    P
    @seb Yup, that solved it
  • GPy + Pytrack + OBD-II Adapter

    gpy pytrack obd--ii
    4
    0 Votes
    4 Posts
    2k Views
    T
    The library does say it will work with Micropython so reusing some of the code regarding OBDII protocol should be less difficult. However the library is designed for the ELM327 device. Unless you use the device, there will be effort into making the code work with your specific communication method, for example directly using the Pycom CAN interface.
  • Power saving during active cycle

    power saving
    7
    1
    0 Votes
    7 Posts
    2k Views
    J
    @daniel Would the LoRa chip on a LoPy stay active during light sleep? If so, the same kind of trick could help save quite a bit of energy when sending a packet: the time until RX2 usually does not need the CPU to be doing anything, so one could easily save 2 seconds of CPU awake time. When using the slowest data rates, the CPU could also be sleeping during the TX phase itself, I suppose. Even if light sleep is not possible, what about machine.idle? I understand it’s not currently working as intended, but if there’s a way to fix that it could probably help as well.
  • CAN with MCP2551

    can mcp2551 transceiver
    6
    1
    0 Votes
    6 Posts
    2k Views
    R
    @johand Good to hear that all is working now. :o)
  • WiFi Scan - security models is there a mapping

    wlan scan
    3
    0 Votes
    3 Posts
    952 Views
    ahaw021A
    @livius thank you muchly
  • SiPy Doesnt power up on LiPo battery

    sipy battery
    8
    0 Votes
    8 Posts
    1k Views
    A
    @bradnz I had your same problem. With the new release I solved
  • PySense hardware versions (1.0/1.1)

    pysense
    3
    0 Votes
    3 Posts
    839 Views
    J
    @seb Great, thanks for the quick response!
  • Infinite Loop deepsleep_wakeup when Pin is hold High

    deepsleep fipy
    2
    1 Votes
    2 Posts
    786 Views
    sebS
    Hi, The wake from deepsleep is done based on pin level rather than the rising or falling edge of the pins. One way around this is to add a small circuit between the source of the signal and the pin that creates a small pulse instead of keeping the pin high. An example can be found here: http://www.esp8266.com/viewtopic.php?p=39550#p39550
  • 0 Votes
    2 Posts
    781 Views
    robert-hhR
    @panos29 Both boot.py and main.py are executed at power on and reset, and give you the starting point. So you can put your code into main.py, or in a different file, which you import from main.py (which is what I prefer), or, or, or....
  • Woks from Atom RUN but not when uploaded

    ds18b20 pymakr pysense
    2
    0 Votes
    2 Posts
    685 Views
    M
    It looks like it needs a double scan to find the rom. After inserting ow1 = OneWire(Pin('P4')) print('found devices:', ow1.scan()) Even if the print is an empty array ('found devices:[]') then the temperature reading is working with appropriate rom... Anyone can get why? Maxi
  • Timer.Alarm callback is blocked by caller

    alarm timer blocking interrupt timer.alarm
    3
    0 Votes
    3 Posts
    1k Views
    N
    @robert-hh Thanks for that insight. My issue was that (unlike my example) the callback would trigger a separate function that included an additional but non-related alarm call back that would get 'stalled' from the original callback. Having worked out that as long as an alarm is created from the 'main' thread it will not be blocked by work from the caller I have adjusted my program to use a mix of sensor alarms and secondary "worker" threads which are triggered by not run from the alarm callback. Not sure if it is the best way but seems to allow things to run smoothly without blocking.
  • How do I mark code in a post to this forum?

    code embed answer
    4
    1 Votes
    4 Posts
    992 Views
    S
    Thanks, sorry I did not see the "compose" with question mark inside the box. The documentation is pretty clear. I am a member of so many forums and they all have different tools. Wonder if there will be a shake up at some stage to use something like the wiki toolset which does most thinks.
  • WS2811 Usage

    python
    9
    0 Votes
    9 Posts
    2k Views
    M
    @livius I am using the separate ws2811 ic and i have tried your code and it appears not to work? The datasheets suggest different timings..can you suggest what i need to adjust? https://cdn-shop.adafruit.com/datasheets/WS2811.pdf
  • BCD to Decimal Conversion

    bcd
    1
    0 Votes
    1 Posts
    526 Views
    No one has replied

Pycom on Twitter