Giter VIP home page Giter VIP logo

mbx-iot's People

Contributors

tonygilkerson avatar

Watchers

 avatar  avatar

mbx-iot's Issues

Add power monitor

  • Make sure you are using vsys correctly and check if you should use ADC-ref ref and ref
  • add a voltage meter ref
  • Add Prometheus metric for voltage

Add longer delay on mailbox door

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

Use vsys

Make sure you are using vsys correctly and check if you should use ADC-ref ref and ref

Lora Upgrade Issue - prints "p" then locks up

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.

Patricio Whittingslow

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(-)

Code

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()
	}

Solution

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:

  • Uninstall the TinyGo extention
  • Uninstall TinyGo with brew
  • Make change on the dev branch and do go install
  • Might have to crate a ln -s to have the TinyGo bin show up in the right place but I am not sure

Implement Low Bat

The 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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.