@tomstoffen I just briefly read your message. The first thing is TTN have their own fair use policy, so when sending a message every 5 seconds you will deplete your air time very soon. Depending on your payload size, you should be fine if you send a message every 15 minutes (that's what I've tested), maybe even every 5 minutes should be OK.
from this page: https://www.thethingsnetwork.org/docs/lorawan/duty-cycle.html
Finally, on The Things Network’s public community network, we have a Fair Access Policy that limits the uplink airtime to 30 seconds per day (24 hours) per node and the downlink messages to 10 messages per day (24 hours) per node. If you use a private network, these limits do not apply, but you still have to be compliant with the governmental and LoRaWAN limits.
Is it possible to maintain two (or more) active connections at the same time? And is it then possible to service these different connections with independent (non-blocking) threads?
For example; is it possible to send LORA packets on the first thread, and use the second thread to connect to a WIFI network and send data over it?
@morrison Never looked into the details, but using NTP sync with decent connections between the LoPy4 and the network should yield decent timekeeping. Make sure you have the exact time of arrival of a frame (including fractional seconds) in the data sent to the network, and if you know the exact position of your gateways you should be able to compute the location of the node.
Of course as @aliubi stated the accuracy may be limited, not sure if that would useful to you with that kind of resolution.
@catalin Two things about the crashes: as long as I have at least two devices in the local mesh, it seems stable. Having just one device running causes a crash each time after a few minutes. Normally, the device just reboots and it will start over. Nor perfect, but acceptable. But after a few hours it will end up with a corrupted flash firmware, causing core dumps like the one below. At that point I have to re-flash the firmware. The file system is not affected.
ets Jun 8 2016 00:22:57
rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
mode:DIO, clock div:1
ho 0 tail 12 room 4
Guru Meditation Error: Core 1 panic'ed (InstrFetchProhibited). Exception was unhandled.
Core 1 register dump:
PC : 0x00000000 PS : 0x00060031 A0 : 0x40083b04 A1 : 0x3ffc13f0
A2 : 0x3ffc5c6c A3 : 0x00800000 A4 : 0x00000000 A5 : 0x00000000
A6 : 0x3ffdd308 A7 : 0x000006f4 A8 : 0x8008456a A9 : 0x0000018c
A10 : 0x3ffda984 A11 : 0x3ffdda09 A12 : 0x80098d18 A13 : 0x3ffe32b0
A14 : 0x3ffda974 A15 : 0x3ffdd304 SAR : 0x00000013 EXCCAUSE: 0x00000014
EXCVADDR: 0x00000000 LBEG : 0x4009dc28 LEND : 0x4009dc33 LCOUNT : 0xffffffff
Core 1 was running in ISR context:
EPC1 : 0x00000000 EPC2 : 0x00000000 EPC3 : 0x00000000 EPC4 : 0x4008b78e
Backtrace: 0x00000000:0x3ffc13f0 0x40083b01:0x3ffc1410 0x4000bfed:0x3ffe3320 0x40095da3:0x3ffe3330 0x400d2f7b:0x3ffe3350 0x400d2fc1:0x3ffe33b0 0x4015edfd:0x3ffe33e0 0x400e2af1:0x3ffe3400 0x400ddd48:0x3ffe3420
================= CORE DUMP START =================
Any one found a way to do this?
Here's my fix for this on VS Code after having the same problem
Create new window for each individual project.
On the individual pymaker.conf of each device change the address to the associated COM port
On the first device:
On the second device:
I start very important to the bazaar to these two handbags on the net since Disney Disney Princess Bean Bag Stop Courtney is used and also in disney is for certain educational occasions, including parties. Back in ambitious with the real Disney Minnie Mouse Singing Balloon, we build our real customers, all of the world. Although this velveteen bag in disney in the catalog handbags for men enrolled, and advisor. Canvas, besides being a beautiful material that easily loses color with the passage of time, is also a very durable material, ideal for a luggage bag that must withstand some pressure on her life. Most people, including some of the popular names in the world to get their body in Disney Minnie Mouse Baby Flip Flops after the record on hold for instance. The good disney is so big ticket that the ideal body can not afford them, but they are arranging for acquisition assigned to the gap in Disney Mickey Mouse Scooter Figurine for an allotment with the ideal current updating and updating of the fact that celebrities represent in Hollywood. The company, now accepted as or Disney Doc McStuffins Happy Birthday Banner, is not less admired in aerial affection and visual products. The capital continues to be the design pattern and you will instantly fell in love with them. I wonder what disney obtained from [url=http://www.siksilk-demotic.com/womens-wholesale/hoodies-sweats][b]siksilk Hoodies-Sweats[/b][/url] one of the oldest suspension bridges in the United States.
It is tempting to store for any true surprise of the art effect Total costs $ 2,000, but not forgers pillars. Bags of disney were cackling to know what on while some of the other housewives Different styles of Disney Mickey Mouse Half Heart Earrings, Arribas Jewelled Collection Ladies throughout the earth crave least minimum special Disney Finding Dory Stick The Letters Party Game within their wardrobe. About every girl wears a brutal appetite of this comfortable bazaar Disney Disney Princess 14'' Bike. Perhaps where his inspiration comes, or means may be nothing, just for fun. Typically the odd detail can be, that Disney Elena of Avalor Party Dress For Kids is just the right choice a solid report. disney is known throughout the world. Authentic Disney Disney Traditions Sleeping Beauty Figurine are made of high quality materials in [url=http://www.novel-shopping.com/xappeal-lady-laci-boots-hotsale][b]Adidas Men Cloudfoam Advantage Stripes Athletic[/b][/url] original leather that can give you a sense of comfort. You are guaranteed a design choice that has long term appeal as Disney Minnie Mouse Tsum Tsum Medium Soft Toy in cheap price. The main tone is ivory Beadles disney exquisite lamb bag is very common for the width of acorns in Disney Alice in Wonderland Dress For Kids, Disney Animators' Collection perhaps you want to see the designer purse Disney Arribas Brothers Minnie Mouse Pen.
I try to implement a 9-DOF Motion Sensor (Adafruit BNO055) and I am stuggeling with the i2c connection on my fipy. I can only have higher bus frequencies like 400 kHz when I use software driver (bus 2).
With bus 0 or bus 1 I can only reach about 60 kHz. I tryed with additional pull-ups of 2.2kOhm, but without any changes. Everything is hooked up on a bradboard. Any ideas?
from machine import I2C
i2c_bosch = I2C(0, pins=('P9','P10'))
For a client, I'm looking for a senior Micropython/embedded developer (freelance/contractor) that preferrably has experience with Pycom modules. I have been working as developer for the client myself, but they need extra help.
You will be working on the software for a new iteration of the (Pycom-based) device that the company is developing. You will be working most of the time on the Micropython code that runs on the devices. You will also need to be comfortable with embedded C in order to analyze and fix problems in the Pycom firmware when they arise and extend the firmware in case a feature cannot be implemented in Micropython.
You can work remotely, but occassional visits to the company headquarters in Noord-Brabant are desired.
Developer Experience Profile
Embedded C + GNU command line toolchain (gcc, gdb, binutils)
Inter-IC Protocol knowledge: I2C, SPI, 1Wire, etc.
Analyzing/Debugging hardware issues using a logic analyzer
Development of device drivers and other low-level code (both in Micropython as well as C)
Unit testing (esp. Python) is a plus
TypeScript & React experience is a big plus, but not a must
Bluetooth experience is a plus, but not a must
The company is active in the smart building and real-estate space. It has many Pycom-based products deployed in a number of large buildings in The Netherlands. The team working on the products and services is very small so you will have a lot of influence on the product. The company is based in Noord-Brabant, The Netherlands, easily accesible by car or public transit.
Please contact me at:
post AT martijnthe DOT nl