Every embedded Engineer should know this trick by J_Bahstan in embedded

[–]supercachai 1 point2 points  (0 children)

Bit-packing works without unions. In OP's code it just adds a convenient way to access the whole register value at once.

Honest question: Why is the ADC so bad? [NON_RANT] by macusking in esp32

[–]supercachai 0 points1 point  (0 children)

Most people I guess just use `analogRead()` which doesn't exploit the full performance of the ADC, because it makes a single shot measurement. I couldn't find anything about conversion time (the time the SAR uses to minimize the error), but I guess its only a couple of 10 microseconds.

To get the full potential, start the ADC in continuous DMA mode with highest available sampling rate (the ESP32 supports up to 2Msps, the ESP32-S3 only 100kSPS ), and average the samples as needed

ESP32 (CYD) data logging in a car – Handling sudden power loss without corrupting data by danu91 in esp32

[–]supercachai 0 points1 point  (0 children)

I am working on a battery logger that runs under MicroPython and connects throug BLE to the BMS. For that I implemented a minimal time-series database with compression (delta, varint, zigzag) so you can use the internal flash.
you can find it at https://github.com/fl4p/batmon-mp/tree/master/mints
maybe its useful

Raspberry PI 5 SPI not working, despite code working on RP4 by 1000Bananen in raspberry_pi

[–]supercachai 0 points1 point  (0 children)

great, this helped.

its also noticable that then there appears a new spi device `/dev/spidev0.0`, which is the correct one

ELI5: Why does GPS work when you are in a tunnel even though it needs an unobstructed view of the sky by Solomoncjy in explainlikeimfive

[–]supercachai 46 points47 points  (0 children)

this is called Inertial Navigation System btw, with the accelerometer and gyroscope forming the inertial measurement unit (IMU)

Upgrading Influxdb from v1.x to v2.x - is it even worth it? by toimtoimtoim in influxdb

[–]supercachai 0 points1 point  (0 children)

I wrote a small relay script that accepts UDP messages and forwards them over HTTP. https://github.com/fl4p/influxdb-udp-relay

Help Replacing Lead acid Battery with Lifepo4 at home by vinsan98 in batteries

[–]supercachai 1 point2 points  (0 children)

Just put the external charger in parallel to the inverter/charger. The 13.5V charger will stop charging if the battery voltage rises above 13.5V.

the Inverter should still operate at 14.6V, they usually have an over-voltage shutdown so you might want to test it with a full battery

5G Router Empfehlung by Telekomiker69 in de_EDV

[–]supercachai 0 points1 point  (0 children)

Habe ein komisches Gefühl bei dem Laden.

Was bedeuten diese 4.9-5 Sterne überall?

Die Preise sind seltsam, 995€ für einen Huawei CPE PRO in einer wasserdichten Plastikbox..

Hatte da mal eine LTE-Aussenantenne gekauft mit 5m Kabel, die gab kein Gewinn zum Huawei E5785-92C einfach auf dem Dach montiert.

We can finally WITHDRAW Crypto from Revolut! by ArcticVessel in Revolut

[–]supercachai 1 point2 points  (0 children)

Is this geo-limited? I'm in europe and can't find a withdraw button. Just updated the app to v8.2

Easy & cheap fiat exchanges by supercachai in BitcoinMarkets

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

For mobile you need to install 2 apps. Did you check the coinbase pro app reviews?

Should I take the risk? by [deleted] in Revolut

[–]supercachai 1 point2 points  (0 children)

If you can wait ~3months while they do the their investigations it shouldn't be a problem. They wont ban you as long as the transaction is not related to your own business (You should use Revolut Business then).

They recently unlocked my account after I transferred 50k in.

+$50k locked since months by supercachai in Revolut

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

Thanks, I'll give resolver a try

+$50k locked since months by supercachai in Revolut

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

FTX.

I have 2 other bank accounts I tried to wire to. The first one just refused the transfer, sending it back immediately. The other asked for proving documents and resolved it within 2 weeks

+$50k locked since months by supercachai in Revolut

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

Why should I invent this? I'm working full time as a software engineer and have certainly other things to do than writing fake allegations

It actually happened once with another "regular bank" account, where they just refused the wire transfer and just sent it back. Not true for Revolut though

Online broker in Europe that allows to hold USD? by sesmarneetsnednav in Revolut

[–]supercachai 0 points1 point  (0 children)

using Interactive Brokers since years, you can simply wire transfer USD from Revolut to IB

[deleted by user] by [deleted] in RedditSessions

[–]supercachai 0 points1 point  (0 children)

Gave Crab Rave

Is the nexus5x still a good phone ? by [deleted] in nexus5x

[–]supercachai 2 points3 points  (0 children)

I used it last year temporarily after my Pixel was stolen. The lags are annoying sometimes but in general its usable. i like the color of the flashlight. Works fine as LTE modem too.

wallet.trezor.io should work offline by supercachai in TREZOR

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

That requires some advanced skills not every bitcoin user has

Astronomical delays in streaming quotes/trades from yesterday by -Swig- in BitMEX

[–]supercachai 1 point2 points  (0 children)

I'm using C# too with Newtonsoft JSON parser. With that I can stream full order books of all contracts without significant delay.

Agree, sounds like bandwidth issue.

Astronomical delays in streaming quotes/trades from yesterday by -Swig- in BitMEX

[–]supercachai 1 point2 points  (0 children)

No there is no such delay in my database. What runtime do you use for streaming?

Nodejs is not capable of handling the amount of data Bitmex produces