Search found 70 matches

by on4aa
Fri Jan 12, 2018 10:23 pm
Forum: ESP32 boards
Topic: ESP32 and LoRa
Replies: 70
Views: 99799

Re: ESP32 and LoRa

LoRaTracker wrote:
Fri Jan 12, 2018 9:24 pm
But they have less flash and the same RAM as the micro:bit ?
Oops, I also noticed after posting. I made an edit. Thanks.
by on4aa
Fri Jan 12, 2018 9:16 pm
Forum: ESP32 boards
Topic: ESP32 and LoRa
Replies: 70
Views: 99799

Re: ESP32 and LoRa

I have been thinking of doing a similar shield board for ESP32, but I have a few concerns as the amount of EMI these boards put out versus the humble ATmega, the EMI can reduce LoRa sensitivity. That is probably why the LoPy has two separate shields. Perhaps the really cheap RAK811 module would be ...
by on4aa
Wed Jan 10, 2018 11:17 am
Forum: ESP32 boards
Topic: ESP32 and LoRa
Replies: 70
Views: 99799

Re: ESP32 and LoRa

Here is a nice project employing the Microchip RN2483 on the Micro:Bit using MicroPython.
by on4aa
Wed Jan 10, 2018 10:41 am
Forum: ESP32 boards
Topic: ESP32 and LoRa
Replies: 70
Views: 99799

Re: ESP32 and LoRa

@loboris I have seen those. However, from what I can read, these serial modules only implement point-to-point LoRa; not the full LoRaWAN protocol to connect to for example TheThingsNetwork. This makes a huge difference. Personally, I am looking for LoRaWAN solutions that would easily work with stand...
by on4aa
Wed Jan 10, 2018 2:30 am
Forum: ESP32 boards
Topic: ESP32 and LoRa
Replies: 70
Views: 99799

Re: ESP32 and LoRa

@LoRaTracker You made my day by pointing out the Microchip RN2483 with serial interface and firmware-based LoRaWAN protocol. Taking that route saves valuable RAM heap stack. Eventually, I was lead to the very similar RAK811 module which is sold on Aliexpress with its populated breakout board for a v...
by on4aa
Sat Jan 06, 2018 7:18 am
Forum: Drivers for External Components
Topic: RFM95W lorawan stack ?
Replies: 8
Views: 8859

Re: RFM95W lorawan stack ?

Here might be what we have been looking for.
Someone made a modified version of Pycom's MicroPython (originally written for the LoPy) adapted for any ESP32 with an SX1272 LoRa module. LoRaWAN reportedly is supported.
by on4aa
Fri Dec 29, 2017 6:47 pm
Forum: General Discussion and Questions
Topic: MicroPython round() Function
Replies: 20
Views: 26197

Re: MicroPython round() Function

@Dave You are right about the noise. That is the IEEE 754 graph above. Anyhow, for me the lesson learned is that round() is not sufficient for string formatting; repr(round()) is required. >>> f = 1011.639952 >>> print('%f' % (round(f,1))) 1011.599898 >>> print('%s' % (repr(round(f,1)))) 1011.6 I wi...
by on4aa
Fri Dec 29, 2017 8:33 am
Forum: Programs, Libraries and Tools
Topic: uasyncio - asyncio-like cooperative multitasking framework for uPy
Replies: 114
Views: 134373

Re: uasyncio - asyncio-like cooperative multitasking framework for uPy

@Roberthh Wow, that is truly impressive!

I only hope Pycom understands and appreciates what you have achieved.
by on4aa
Fri Dec 29, 2017 1:51 am
Forum: General Discussion and Questions
Topic: MicroPython round() Function
Replies: 20
Views: 26197

Re: MicroPython round() Function

Still, there seems to be something wrong…

Code: Select all

>>> f = 1011.60004
>>> print('%f' % f)
1011.600017
OK, but this should have the same internal representation:

Code: Select all

>>> f = 1011.60003
>>> print('%f' % f)
1011.599898
However, it has an internal representation that is further off.
by on4aa
Fri Dec 29, 2017 1:06 am
Forum: General Discussion and Questions
Topic: MicroPython round() Function
Replies: 20
Views: 26197

Re: MicroPython round() Function

Yep, you are right, Dave. The same effect can be reproduced with much larger numbers on CPython. I have also been reading about the IEEE 754 standard. A summary of my findings can be found in the now somewhat redundant bug report . Below graph explains very well the difference in floating point arit...