@JackBasson @AndreBroekman I have made a breakboard test of the send section of the interface circuit below. Since I have not SDI-12 sensor here, I just connected a 47nF capacitor at the output. That should be equivalent to about 6 5TM sensors with a 30m cable each. The capacitive load is what may cause trouble.
The circuit is a variant of which I posted earlier. It is inverting, so you can use the standard xxPy firmware. And the send section is high impedance when not sending. Q3 discharges the wire capacitance at the end of each bit for ~200µs. Below if a oscilloscope snapshot with a 47nF load at the output.
P.S.: In the test, I did not add the Z-Diode D4 and the varistor. These are protective elements against lightning overvoltage.
@jubenjum The tutorial you are using is for the "main" line of MicroPython. Pycom has a separate branch which differs in quite a few places.
See the docs here for the Pycom version. The mode is passed as a periodic argument in that one.
@eranroll It should be easy to find out by yourself: send a few 50-byte packets at the slowest possible data rate (SF12 in the EU region for instance). Such packets will take over 1 second to send, so logging the events with timestamps should give you a pretty clear answer.
Don't forget to report back your findings.
Im having an issue when i try to update pytrack's firmare with dfu-util
renegarcia$ dfu-util -D /Users/renegarcia/Downloads/pytrack_0.0.8.dfu
Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2016 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to http://sourceforge.net/p/dfu-util/tickets/
Match vendor ID from file: 04d8
Match product ID from file: f014
Opening DFU capable USB device...
Run-time device DFU version 0100
Claiming USB DFU Runtime Interface...
dfu-util: Cannot set alt interface zero
Could you help me, please?
@ferfersan6 Good intentions pave the way to hell and I had every intention to reply to this. I know this is WAY too late to reply this but may useful for any experiencing the same issues.
If I remember correctly, I just held the pin high for as long as possible and went through the drudgery of reinstalling the proper firmware. Nothing sophisticated going on here! :)
@berni That looks more like an antenna problem. Check the antenna & pigtail cable. If you are using a LoPy4, verify that you are using the right antenna plug on the board, and that the connector fits properly. For 868MHz it is the one opposite to the reset switch.