UPDATE - DNS over NB-IOT is now working!
Please update to the latest 1.18.2 (stable):
or to the latest 1.20.0.rc7 (development):
Use the following to set your DNS Server to Google's DNS Servers ...
Then bring up your LTE Connection, and do:
>>> print(usocket.getaddrinfo("www.google.com", 80)[-1])
If you do machine.reset_cause() then the numbers correspond to the reset causes list
1 - machine.PWRON_RESET
2 - machine.HARD_RESET
3 - machine.WDT_RESET
4 - machine.DEEPSLEEP_RESET
5 - machine.SOFT_RESET
6 - machine.BROWN_OUT_RESET
If you do machine.wake_reason() then the numbers correspond to the wake reasons list
1 - machine.PWRON_WAKE
2 - machine.PIN_WAKE
3 - machine.RTC_WAKE
4 - machine.ULP_WAKE
To qoute the docs directly, " After reset, if P12 pin is held high (i.e. connect it to the 3V3 output pin), the heartbeat LED will begin flashing orange slowly. If after 3 seconds the pin is still held high..." suggesting that the pin should be pulled high AFTER reset.
In fact I did get a flashing orange led, using this method.
My problem was that it appeared to reset once I released P12. I released P12 because I did not want to go to the prvious OTA firware and only wanted to disable boot.py and main.py.
I am sure that I have P12 (and not GPIO12 or '12') as I get the flashing led..
I haven't solved it yet. Just documenting for posterity.
@arthurmed So what are the properties of the pulses to receive, and what kind of device is it that you want to connect?
Edit: I just tested that: Even if you specify then number of pulses, it will not return until a timeout happens (and the documentation is still wrong, because pulses_get() does not accept any arguments).
@jlcoleman @troy-salt There are quite a few screens around, usign all similar chip sets. Typically the have a separate SPI channel port for display and touch screen. @mcauser at the microypthon.org forum has a lot of different micropython drivers. Look at his repository https://github.com/mcauser.
Displays are available at plenty stores. I used e.g. to order from www.buydisplay.com, especially for larger (>4") displays.
@paul-thornton I seem to get the notification now, but I'm guessing it's the mentions specifically, since I turned on the "replies in topics you watch".
I'm pretty sure it's not browser related since it's not in the notifications view, but I'm using google chrome Version 71.0.3578.98
I'm guessing you get the notifications because of the reply and you're watching the topic, not because of the mention. I'm going to put mentions on emails only and replies on notifications. That should send me an email when I get mentioned and a notification because there's a reply if you reply to this topic.
@timh I've already implemented internal watchdog but it doesn't help in case of Guru Meditation Error.
@Martinnn You and I have the same problem. Thank you for suggestion, as I can see this watchdog times is not in a form of a development board like this one: https://shop.switchdoc.com/products/switchdoc-labs-dual-watchdog-timer-board-for-arduino-raspberry-pi?variant=3340467699742. Am I right?
Thank in advance.
@einarj said in Expansion board 3.0 power consumption:
@crumble Your initial answer was using the Pycoproc together with the expansion board 3?
Yes. You came back with i2c problems.
The Pycoproc is used by pysense and pytrack as well. All 3 boards use the PIC for handling firmware update, deepsleep and so on.
But there is a chance to run into this i2c problem - depending on firmware version and your hard-/software setup.
@devinv it takes a while for a GPS chip to get a fix. You definitely won’t get a position right after wake up, the chip needs to receive ephemeris data, lock onto satellites, compute a position...
This has been discussed several times in the forum, search for the relevant topics for details.
@catalin said in FSK mode on LoPy4:
We are compliant with LoRaWAN specifications, as we have certified our modules, and FSK mode is optional.
Just fyi, the SX drivers are here: https://github.com/pycom/pycom-micropython-sigfox/tree/master/drivers/sx127x/sx1272
@catalin Where do you see in the Lora Alliance specification DR7 is optional in EU868? BTW, is DR6 implemented? Well, certification means you passed the test but doesn't guarantee full compatibility. Also, on the competitive side you are missing a feature supported by nearly all others.