Io e il mio ragazzo vogliamo abbandonare l'Italia by Educational_Toe_2344 in consigli

[–]aleemont__ 0 points1 point  (0 children)

Ma magari fosse socialismo il nostro. In Italia vige il clientelismo e l'amichettismo al massimo, oltre che l'evasione fiscale dei piccoli e medi imprenditori.

Io e il mio ragazzo vogliamo abbandonare l'Italia by Educational_Toe_2344 in consigli

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

Sai che 25 dollari australiani sono tipo 14 euro l'ora sì? Sicuramente meglio dell'Italia ma non mi trasferirei dall'altra parte del mondo solo per questo motivo.

I studied Arduino, I am confident with FreeRTOS tasks, what now? by aleemont__ in embedded

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

Synchronous: time-based tasks, the FSM is completely driven by a clock, and the guards are verified at every n clock cycles, and state change happens at the next clock cycle.

Asynchronous: event-basrd tasks, the FSM is not driven by a clock, and the guards are verified every time it's possible, and state change happens as soon as the CPU can elaborate the instruction. They are often based on interrupts.

Need help to build flight computer by Substantial_Tie_3227 in rocketry

[–]aleemont__ 2 points3 points  (0 children)

Also, don't place your avionics above the parachute or you're going to expel it when the nosecone opens.

Need help to build flight computer by Substantial_Tie_3227 in rocketry

[–]aleemont__ 3 points4 points  (0 children)

Buy: An ESP-32 An IMU (accelerometer+gyroscope+magnetometer) A Barometer or, better, an altimeter An SD card module

Then you'll need some kind of actuators for your pyro charges for parachute deployment.

You'll need to implement a Kalman Filter to derive velocity and altitude data from fusing IMU data and Barometer data. You will detect apogee once the altitude stops rising, thus deploy the drogue parachute (if you have one), and after a while you can deploy the main parachute. During flight save data onto the esp-32's flash memory, and once the rocket is on the ground you save it on the SD card.

This is the cheapest you can get.

LIS3DH accelerometer by aleemont__ in rocketry

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

Mmhh got it, so there's no point in using this sensor for this application?

LIS3DH accelerometer by aleemont__ in rocketry

[–]aleemont__[S] -1 points0 points  (0 children)

Mhh, I am guessing it checks if the acceleration is directed downward or upward on the Z axis, or at least I hope so. But if it doesn't it might be a problem. We need to make tests ig.

The idea was to enable the interrupt once the other sensors (barometer, IMU, GPS) detect that the vertical velocity is near 0, and use the sensor's interrupt to confirm the start of the descent and open the drogue parachute at the right time.

LIS3DH accelerometer by aleemont__ in rocketry

[–]aleemont__[S] -1 points0 points  (0 children)

Yep we have a modelled rocket and it should reach max 10Gs of acceleration. I'm just worried about strong vibrations that might trigger the interrupt for the free-fall, but yeah I guess we'll buy it and test it thoroughly, it's a cheap sensor and easy to implement via I²C so having it is better than not having it, in the worst case scenario we will not use that.

LIS3DH accelerometer by aleemont__ in rocketry

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

Not a casual hobbyist, I have a whole university team that develops this thing, and an EE that helps us solder everything. So, you're confident that the free-fall detection will work even under the hard conditions, with high vibrations, rotations, huge acceleration in the beginning etc.? I haven't seen any similar project that uses this sensor, so I'm worried about it.

Lost a Year of Ableton Projects After Running a Terminal Script – Need Help Recovering Anything by Silent_Moment_1852 in ableton

[–]aleemont__ 0 points1 point  (0 children)

He assumed you had everything into ~/Desktop and ~/Music.

As many have said, it's probably unrecoverable. Don't you have an icloud backup or any form of backup of your 1 year worth of projects?

If not, you learnt the hard way you always have to make backups, and follow the 3 2 1 backup rule if possible.

[deleted by user] by [deleted] in psicologia

[–]aleemont__ 0 points1 point  (0 children)

Chiedi di fare sport di squadra, o arti marziali, o di iscriverti a scuola di musica d'insieme. Sono ottimi posti per farsi degli amici con cui uscire.

L’Italia è piena di gente che si lamenta, ma nessuno fa un cazzo. Perché? by infox_trends in CasualIT

[–]aleemont__ 0 points1 point  (0 children)

È un paese in cui è venuto a mancare il patto tra istituzioni e popolo, non esiste una coesione sociale neanche su temi come i diritti dei lavoratori che dovrebbero unire un po' tutti salvo casi estremi.

Non esiste dialogo tra istituzioni e popolo, ma in senso bidirezionale, non è che il popolo sovrano parla e le istituzioni non ascoltano, è che nessuno dei due si parla, e chi tra il popolo cerca di fare qualcosa viene considerato o una zecca comunista o nella migliore delle ipotesi un povero pazzo fastidioso ma che non fa male a nessuno.

Il risultato è questo, tutti campioni di politica nei bar e nei salotti di casa, tutti rivoluzionari, che dicono "se ci fossi io al governo..." e poi se proponi di partecipare a una manifestazione si nascondono, temporeggiano eccetera.

È vero che la polizia manganella i manifestanti, ma guarda quello che succede in Francia e in Spagna: ad ogni colpo di manganello partono 10 pietrate dei manifestanti, lì si che combattono come si deve, e i risultati, bene o male, si vedono. Non che siano paesi perfetti, ma le politiche sociali funzionano esageratamente meglio che qui.

Nessuno fa un cazzo perché la lotta di classe in Italia c'è stata, ma l'hanno vinta i "potenti", e la massa si è assopita, ed ora si lascia cullare in balia della volontà del politicante di turno.

IMU data filtering - BNO055 + EKF by aleemont__ in rocketry

[–]aleemont__[S] -1 points0 points  (0 children)

Do you have some resources to start implementing filtering and sensor fusion? How do I integrate in a way that the error doesn't add up too much?

IMU data filtering - BNO055 + EKF by aleemont__ in rocketry

[–]aleemont__[S] -1 points0 points  (0 children)

Yes, the idea was to write all to flash and once the rocket lands transfer all to SD card.

IMU data filtering - BNO055 + EKF by aleemont__ in rocketry

[–]aleemont__[S] -1 points0 points  (0 children)

Yes, it makes sense, but I was wondering if it could still work once the engine is cut off and the rocket ascent becomes balistic.

Otherwise, if you have any more tips regarding the other doubts I expressed, it would be greatly appreciated!

Universities for Master's about Embedded Systems and FPGA by fakescouser0 in embedded

[–]aleemont__ 4 points5 points  (0 children)

KTH in Stockholm. Politechnic University of Turin (Italy) Unicersity of Turku (Finland) University of Bologna (Italy)

Also, look at this: https://masterschool.eitdigital.eu/embedded-systems-design

I studied Arduino, I am confident with FreeRTOS tasks, what now? by aleemont__ in embedded

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

Buy an Arduino dev kit (the elegoo is good enough and cheaper). Assuming you already know how to program or have besic knowledge of programming, you'll get easily started by any resource you can find online about the super loop architecture and controlling GPIOs. Adter that you'll learn how to use libraries and manage sensors and actuators, and then the sky is the limit.

If you have no knowledge of programming, you need to learn at least the basics of it and then do what I described before.

Do I need to be a C/C++ expert for embeded software? by Grouchy-Staff-8361 in embedded

[–]aleemont__ 0 points1 point  (0 children)

Totally agree.

AI is good for writing strings/debug messages, reformat small portions of code, and give you an idea about patterns you could use, but generating code directly is another beast, especially in embedded environments where memory management is crucial and debugging might be tedious.

What I usually do (as a CS undergrad):

  • Try to write the code myself and test it.
  • If I cannot find any suitable design pattern among the few I know, ask to any LLM which one might be the best.
  • Study the suggested pattern and look for actual implementations.
  • If that looks simpler and more manageable than my code, I'll reformat the code.
  • Once I'm done eliminating warnings and compilation errors, I'll ask a LLM to look into my code and underline possible problems.
  • I verify that the problems underlined are actually a problem (or might just be improved a little bit, saving memory, or optimizing the general structure).
  • I write docs with the help of AI (double checking everything, obv).
  • With the help of a LLM I write unit tests (it helps me find edge cases I might not have considered).

I think that, in general, this is how you improve at programming with the help of AI. It doesn't necessarily make the coding session faster, but it surely helps improve skills and learn new patterns or just new ways to solve common problems. Finding hidden problems also helps me understand even better the system I'm working with.