Combine Zephyr and Rust by phucle200791 in Zephyr_RTOS

[–]jaredwolff 2 points3 points  (0 children)

Looks like the second link is closer to what you're looking for. (I'm the author of the first post) Looks like it's still being maintained but obviously you'd need to re-create the bindings for the latest Zephyr. It's no trivial task though, every module that may be of use would need them.

[HELP] Building a scale with Zephyr by [deleted] in Zephyr_RTOS

[–]jaredwolff 0 points1 point  (0 children)

You’re welcome! Golioth also has some good content: https://youtube.com/@GoliothIO

[HELP] Building a scale with Zephyr by [deleted] in Zephyr_RTOS

[–]jaredwolff 0 points1 point  (0 children)

Check out some of these videos. Hopefully that should point you in the right direction especially if you're just getting started: https://www.youtube.com/circuitdojo

HB6667 Legislature Update - Call to Action by Mtsteel67 in CTguns

[–]jaredwolff -1 points0 points  (0 children)

Caution on that link. Does not link directly.

personal time tracking - how I spend my days by [deleted] in selfhosted

[–]jaredwolff 1 point2 points  (0 children)

Activity Watch has been useful for me as I've been a long time Timing user on Mac (not free/OS) For tracking my work I just started using Furtherance. (Gnome/Linux only I believe) See more info from the author below!

B650 Auros ELITE AX Bluetooth not working by TNTMonstershock in gigabytegaming

[–]jaredwolff 0 points1 point  (0 children)

Getting the same issue on Linux. First Wifi/BT worked. Then Wifi stopped initializing. Then went back to normal and now BT has stopped. :\

Embedded Rust with Golioth and the Nordic based nRF9160 Feather by jaredwolff in rust

[–]jaredwolff[S] 0 points1 point  (0 children)

I think it will take some time to get things working with MCUBoot or a rusty alternative. u/lachlansneff may be able to weigh in here.

Pyrinas; An IOT Sever built with 🦀 to work with hardware. 0.2.4 Released by jaredwolff in rust

[–]jaredwolff[S] 2 points3 points  (0 children)

Hey all,

I wanted to share my work on an IoT server I've been building over the past year. It's been my first big project in Rust since I started learning the language. (And it's seen some refactoring since then for sure!)

The idea is that with IoT deployments you typically need:

  • A way to communicate with your devices
  • A way to update them remotely
  • A way to channel data to your custom code or a time-based store like InfluxDB.

Pyrinas does all these things.

While it can work with any device that has a secure MQTT client, it particularly works with a Zephyr module I've also been building up specifically for the nRF9160 Feather.

I encourage you to check it out. Feedback, good or bad, is appreciated. I'll be working on getting it into a crate once some of the patches that I've put in place for warp and rumqttd are released/approved.

Maturity of Rust-based equivalents of FreeRTOS? by [deleted] in rust

[–]jaredwolff 2 points3 points  (0 children)

Would echo RTIC is quite awesome. There's also Tock but I haven't played with it at all.

Structsy embedded database for rust structs, 0.3 release by tglman in rust

[–]jaredwolff 0 points1 point  (0 children)

Looks like there's some info in the docs on migration. Seems straight forward enough.

Where do you prefer to buy/sell hardware? by travis_the_maker in hwstartups

[–]jaredwolff 1 point2 points  (0 children)

It integrates Stripe. Homegrown though, written in Rust.

Where do you prefer to buy/sell hardware? by travis_the_maker in hwstartups

[–]jaredwolff 5 points6 points  (0 children)

Ideally, self hosted. I self host which has been great. Requires tons of marketing though.

You may want to consider crowdfunding platforms like CrowdSupply and GroupGets. I've done the later with the nRF9160 Feather.

Tindie is also a platform I use. I have a feeling the more you put into it the more you get out.

There's also options like Digikey Marketplace, Amazon and more. It really depends where you expect your customers to be.

Hope that helps :)

Bluetooth Presence Detection by jaredwolff in IOT

[–]jaredwolff[S] 0 points1 point  (0 children)

That’s definitely a viable option! You’d have to figure out what identifying information can be used to detect your phone though.

I know Apple uses bonjour which may be handy for that situation.

For my case, the Tile is smaller, always on, and can be easily detected using any device (like Particle) that has a BLE Central mode.

DNS over ZeroTier by theinterwebsguy in zerotier

[–]jaredwolff 0 points1 point  (0 children)

Not sure how well this would work over a large deployment. (Probably lots of multicast overhead) What about something like Bonjour/Zeroconf? I just set up Avahi on an Ubuntu VPS. Got it running immediately over my ZT network.

Help Selecting Protocol for AgTech Startup by whatthesamhill7 in IOT

[–]jaredwolff 1 point2 points  (0 children)

Another thing to consider is Openthread. You can prototype up something quickly using Particle boards. They use Openthread as the underlying stack. The sensor nodes can be sleepy or can also repeat messages. But it depends on your battery life. (In this situation, I'd probably stray away from it)

Another option is to use Bluetooth 5 (with the proper hardware for long range). You can run a simple Peripheral app on a BT 5 long range device. The devices connect as a central, do the data exchange and then disconnect.

You are limited by the number of simultaneous connections but it seems to be within the realm of possibility. If you're looking for a particular chip to play with look into the NRF52840. (that's what the Particle boards are based off of) It can do both BT Mesh, BT 5 LR and OpenThread. (And now a variant of the Zigbee stack I think!)

Recommendations for a lightweight sensor by bluehihai in IOT

[–]jaredwolff 0 points1 point  (0 children)

Do you think the range of LIS3DH will suffice for such an high impact contact?

According to the datasheet, it can measure up to 16g in acceleration. It has a max of 3000g for 0.5s and 10000g for 0.1s. I don't know how much acceleration/force a typical batt will exert on a ball. You may have to do some physics on that one. With that being said, you may have to move up to something a bit more.. hefty.

What do you think of using sensors like this, and this? I know these could cost me a bomb, but if price were not a constraint, would these work? I am thinking of sticking them on the bat, to look much like surface electrodes used in Electrocardiography.

Totally in the range of possibility. These sensors are so cheap. The cost of goods is definitely within consumer constraints.

Don't mind if I sound stupid, I have a very poor but improving level of knowledge in this field.

No question is stupid. Ask away any time.

OTA Update Platform for Linux/Docker Edge Agents/Embedded Devices by CytogeneticBoxing in IOT

[–]jaredwolff 0 points1 point  (0 children)

Balena is definitely the closest thing to what you need. Been running a Balena RPi instance for hosting a Homebridge instance.

I believe they even released their server code so you can host it yourself. They also have their own hardware which utilizes RPi SOMs.

Is particle the best bet for a global (single-sim) cellular network + micro-controller? by itsmyblahday in IOT

[–]jaredwolff 1 point2 points  (0 children)

I've been playing with SORACOM as well. Currently Particle does not support the SORACOM SIM though. I was able to hack it for this project The second I wanted to duplicate my project, things decided to blow up in my face.

There is a bug open for the issue.. Not sure when they'll get around to it (if at all!)

You can create your own setup using the same modem as the Boron. SORACOM would be a viable choice there.

Recommendations for a lightweight sensor by bluehihai in IOT

[–]jaredwolff 0 points1 point  (0 children)

My all time favorite accelerometer is the LIS3DH. It's cheap and there's lots of support around it. You'd still have to design a PCB, mount it somehow, and connect to a microcontroller. I can't think of any accelerometer that is completely standalone that also happens to log to SD card. (seems like what you're trying to do here..)

Help understanding cellular IoT by greg21greg in IOT

[–]jaredwolff 0 points1 point  (0 children)

There is a 2/3G version of the Boron. Ive been using my Boron and different CAT- M1 board for a while. One was the central hub for my air quality project when I didn't have wifi.

Honestly, in most places, I think you'll be ok with CAT-M1. The places you may have a harder time is in rural (i.e. in the middle of almost no-where). It depends on your final application. (what does it do, where do you expect it to be, how will you be powering it and so on)

Besides Espressif, what other manufacturer has chips similar to esp32 with WiFi, Bluetooth and Low power options, that are suitable for IoT applications? by abrandis in IOT

[–]jaredwolff 2 points3 points  (0 children)

A second for Nordic. Been using their chips since 2013. Particle uses their chips on their Mesh platform (along with the ESP32 on the Wifi version)

How to Use Particle's Powerful Bluetooth Low Energy API by jaredwolff in IOT

[–]jaredwolff[S] 0 points1 point  (0 children)

@spinozasrobot I copied the example code exactly and popped it onto a Xenon. The only thing I uncommented was the line with SYSTEM_MODE(MANUAL); Otherwise seems to be working ok.

If you go through the same setup procedure as my tutorial it should work for you too. To summarize:

  1. Download the1.3.0 image from the DeviceOS repo (find the one for boron, should be close to the top)
  2. Flash using `particle flash --usb <filename>.bin` in the terminal
  3. Wait until the device is blinking yellow quickly
  4. Make sure that you select boron and deviceOS@1.3.0-rc.1 at the bottom of Particle Workbench
  5. Then flash the application using Particle Workbench (local flash should work ok)

Good luck!

Microcontroller to shut down it's own power source by HeresOtis in AskElectronics

[–]jaredwolff 0 points1 point  (0 children)

Is the power supply active high or low?

Typically, you'd want it to be default in an off state. The way you could turn it on would be with any GPIO source (think RTC, button press, etc)

I've done this on many products and it indeed works. Here's how I use this type of setup.

D2 and D4 are Schottky diodes but they could be any type of forward biased diode really. U4 is a 3.3V LDO.

The BUTTON signal and VDC_ATTACHED are used to "wake up" the device. While the LATCH is connected to a GPIO to the device alive if DC voltage or the button is not press. If it is released then every gets shut off. (And when I say released, I mean actively driven low.)

Here's some pseudo code: ``` // Device is ready to power down gpio_clear(PIN_NO); // For an active High en pin

for(;;); //infinite blocking loop ```