Something has gone seriously amiss with my Atom v1.38.2/pymakr1.4.14 combo under Windows10. If I try to RUN anything I either get
>>> Running C:\Users\Kris\Google Drive\My Documents\Pycom\main\lte.py
> Failed to connect (Error: Writing to COM port (GetOverlappedResult): Operation aborted). Click here to try again.
or it just hangs.
>>> Running C:\Users\Kris\Google Drive\My Documents\Pycom\main\smsTx.py
or the GPY runs the code (I can tell from the RGB activity) but no prints come down the USB to the Atom display.
I've tried swapping GPYs & usb cables to no avail. I don't have a spare v2.1A expansion board but I doubt it's a hardware problem since the USB is otherwise OK & I get a response when typing at the >>> prompt
Does this pattern of behaviour ring a bell with anyone? I sure hope so because it's stopped development here dead in it's tracks.
I'm new to pycom and using the GPy board. I have my board attached to an expansion board v3.1 and I am trying to control a servo motor by starting it at on location and then setting it at another location.
I'm using the example code given @ the PWM documentation page and configured it to my the way my pins are setup, yet when I run my program on my device the servo motor just spins uncontrollably.
Can someone help explain to me why this is happening, my code is as follows:
from machine import PWM
pwm = PWM(0, frequency=5000) # use PWM timer 0, with a frequency of 5KHz
pwm_c = pwm.channel(0, pin='P22', duty_cycle=0.5)
@mylescai the nanogateway opens a socket connection to the TTN server. So you just have to attach and connect the LTE link, and the go on with connecting to TTN.
Edit: To be more specific. In nanogateway.py, function start(), at about line 140 the wifi is set up. At that place you can instead set up the LTE connection.
when updating firmware, we are choosing a region for Lora, which then determines
Asia = LoRa.AS923
Australia = LoRa.AU915
Europe = LoRa.EU868
United States = LoRa.US915
Does this just define a default, or does it do more?
As i can also set this in my python code, like so:
lora = LoRa(mode=LoRa.LORAWAN, region=LoRa.AS923)
The reason i m asking:
we have two different LoPys here:
code; lora = LoRa(mode=LoRa.LORAWAN)
code: lora = LoRa(mode=LoRa.LORAWAN, lora = LoRa(mode=LoRa.LORAWAN, region=LoRa.AS923)
and they seem to behave differently.
Does it make a difference?
thanks in advance,
greetings from Bangkok,
I wanna pick up where this thread from a year ago left off since it seems similar:
We have a +25% failure rate on making our prototypes, and it seems that the OEM module gets damaged.
Upon powering up everything seems normal, but the OEM module get really hot in a few minutes. It seems to be the bottom right portion of the L04 that we used now.
And on programming the Flash memory seems to be unresponsive. See programmer screenshot with a test program below:
The oven reflow profile has been measured and seems to match the profile of the OEM.
This is the OEM's profile:
with alpha OM-338 paste.
Did you manage to help @Tom with this issue or did you have other issues like this? Any help is greatly appreciated!
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