tonygilkerson / mbx-iot Goto Github PK
View Code? Open in Web Editor NEWMail Monitor an IoT project to monitor mail delivery
Mail Monitor an IoT project to monitor mail delivery
Currently it takes ~2 second for the mbx door open event to reset but if the mail person sits there with the door open for more that 2 second I will get multiple events. I could probably set this to something like 30 seconds or a minutes
I am working with Lora sx127x on a Pico, when I upgraded to v0.28.0 things started to work. But today after I upgraded to v0.28.1 I am no longer able to Tx or Rx. It will find the radio but as soon as I start to Tx or Rx it prints p and locks up (i assume it is printing panic but does not get that far. The 10 second Rx loop work as long as it does not receive any data, but as soon as I send data with another device it locks up.
See this slack thread
Patricio Whittingslow
2 months ago
So I tested my SX1278 and found d01d859 did indeed introduce the breaking change. ๐
$ git bisect good
d01d85930d19a73010853b7ba8648d8811891bee is the first bad commit
commit d01d85930d19a73010853b7ba8648d8811891bee
Author: soypat <[email protected]>
Date: Sun Jun 11 15:03:45 2023 -0300
rp2040: add spi busy waits on read and read/write transactions
src/machine/machine_rp2040_spi.go | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
The addition of this code seems to cause the issue:
Source file /Users/tgilkerson/github/tinygo-org/tinygo/src/machine/machine_rp2040_spi.go
for spi.isBusy() {
gosched()
}
See if you can run TinyGo from the dev
branch and remove this lines until the upstream is fix
To run from dev I think I would do something like this:
go install
ln -s
to have the TinyGo bin show up in the right place but I am not sureThe power boot module has a 'LBO' Low Battery Output pin. Use it to push a low bat signal which the gateway will turn into a low bat metric
LBO - Low Battery Output. By default it is pulled high to BAT but when the charger detects a low voltage (under 3.2V) the pin will drop down to 0V. You can use this to signal when its time to shut down or alert the user that the battery is low. There is also a red LED connected to this pin.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.