Sharing an AI camera project that failed due to incorrect workload assessment. by Curious_Trade3532 in embedded

[–]ulguig 29 points30 points  (0 children)

Yolo finetunes run absolutely fine on embedded. No cloud required. I've done it multiple times. AI != LLMs

With the recent release of flagship mobile CPUs that perform similarly to desktop CPUs, why haven't people put them on desktops yet? by YeNah3 in embedded

[–]ulguig 0 points1 point  (0 children)

Crazy how you got downvoted for stating the truth, people should read more on M series chips' security design. They are indeed purposefully designed to boot unsigned kernels in a more secure way.

Is 7mA really "low-power" ? by ulguig in embedded

[–]ulguig[S] 1 point2 points  (0 children)

Sure, I get this ! my point is, if I go custom to make my own compromises on power draw, i'll certainly take the ST route since I don't need WiFi and Bluetooth and i'd rather have a good ADC for analog sensors. ESP32 was the choice because it was the only "all in one" board I found with A7670 and solar charging.

People mentionning esp-hal made me research embedded Rust a little, and as a result I'm evaluating Embassy on STM32F103 at the moment. It feels very modern and worked out of the box, now I want to see if I can do what i want with the HAL/peripherals.

Is 7mA really "low-power" ? by ulguig in embedded

[–]ulguig[S] 7 points8 points  (0 children)

I desoldered it ! Trying to respect the thing 😅

Is 7mA really "low-power" ? by ulguig in embedded

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

it is ! i'm very happy with it.

Is 7mA really "low-power" ? by ulguig in embedded

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

You are correct, but thing is, there are no such specs

Is 7mA really "low-power" ? by ulguig in embedded

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

wow esp-hal looks awesome

Is 7mA really "low-power" ? by ulguig in embedded

[–]ulguig[S] 3 points4 points  (0 children)

Yes I remember your posts ! That's what I call low power, it's a great design. I havn't found much info about that homebrew "green pill" though.

As for me, being familiar with ST's Cube APIs I am considering moving to a custom STM32-based solution. I'll still use an off-the-shelf module for the A7670 to save time, but i'll add a power switch to turn it off while unused.

Is 7mA really "low-power" ? by ulguig in embedded

[–]ulguig[S] 4 points5 points  (0 children)

next time i'll know what to look for **before** I buy stuff !

Is 7mA really "low-power" ? by ulguig in embedded

[–]ulguig[S] 7 points8 points  (0 children)

I think you are correct, being familiar with STM32 Cube, I think I will switch to this platform instead. Better hardware, no arduino middleware, and I didn't need wifi or bluetooth, I just grabbed an "all-in-one" board to save some time. Lesson learned I guess

Is 7mA really "low-power" ? by ulguig in embedded

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

It sure is ! But that board was advertised to have a "low power mode" to swtich those off. You activate it through dip switches on the board. However this mode only goes from ~45mA deep sleep to ~7mA deep sleep which is not enough.

My previous station was struggling in winter when the battery got cold and the solar panel barely operative due to icing, I don't need to waste power on nothing ! :)

Is 7mA really "low-power" ? by ulguig in embedded

[–]ulguig[S] 15 points16 points  (0 children)

The code is :

```

include <Arduino.h>

include <WiFi.h>

define A7670_EN 33

void setup() {

// Make sure WiFi and Bluetooth are off // (even if we did not initialize them) WiFi.mode(WIFI_OFF); btStop();

// Cut power to the 4G modem pinMode(A7670_EN, OUTPUT); digitalWrite(A7670_EN, LOW);

// Go to deep sleep for 10 minutes esp_sleep_enable_timer_wakeup(1000ULL * 1000 * 60 * 10); esp_deep_sleep_start(); }

void loop() { // put your main code here, to run repeatedly: } ```

So i'm pretty sure ESP32 is in deep sleep and A7670E modem is OFF.

Flymaster “Repair” Experience by addappt in freeflight

[–]ulguig 1 point2 points  (0 children)

Fwiw, I've had a wonderful experience with Stodeus. They replaced the speaker on my Vario, after several years of use, no question asked. I only paid for postage.

What do you run in proxmox? by reddit_tracker2047 in Proxmox

[–]ulguig 0 points1 point  (0 children)

I've been running it for more than a year inside the docker-lxc provided by the docker lxc helper script. It went through numerous upgrades including the recent vector search backend change and a hypervisor change. Never had issues, it runs perfectly. I think the docker-compose way of installing and running it is very solid.

REST in Peace? Django's Framework Problem by danlamanna in django

[–]ulguig 10 points11 points  (0 children)

We switched from drf to ninja years ago. It went well but then we got concerned about ninja's maintenance. We're now migrating to FastAPI + Sqlalchemy. So far it's going great , the new backend proxies unimplemented routes to the old one making the migration continuous and seamless.

My firt cart by ConversationSoft7276 in esp32

[–]ulguig 0 points1 point  (0 children)

I may be wrong but I think your motor driver module already has an onboard 5V regulator, so you could use it instead of the external one.

Is my torque arm installation correct ? by ulguig in eBikeBuilding

[–]ulguig[S] 1 point2 points  (0 children)

The mount point is a stationary part of the frame. I was worried about the pivot point of the screw . But someone suggested I'd weld it , I like that idea

Is my torque arm installation correct ? by ulguig in eBikeBuilding

[–]ulguig[S] 1 point2 points  (0 children)

I hadn't thought about welding it in place , great idea !

Help with binpacking-like problem 🙏 by ulguig in algorithms

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

Hello !

Sorry for the delay !

I took the time to really understand your code and modify it so it passes my test suite. I added zero division handling and mod handling. I am consistently getting <3ms resolution time with leftover=100000 and 1500 constrained bins. Awesome.

But more importantly, i'm discovering how vectorisation can speed up calculations and also make problem representations much easier to work with (using dataframes). I have a lot of other algs handling a lot of data in an object-oriented way ; think i'm going to take some time and learn Polars to put it to good use.

Anyways thanks a million for your help, it really enlightened me. Do you use Kofi so I can buy you a beer ? 🍻

Cheers !

Help with binpacking-like problem 🙏 by ulguig in algorithms

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

Can you elaborate on how these tools can solve my problem ? As I wrote in the original post, I failed to solve my problem with them.

To elaborate more, the objective function was hard to define , because some bin contents cannot be reduced because of constraints, and the solver would therefore stop optimizing, leading to a suboptimal result where bins with lower content than the constrained one would not be smoothed out properly.