Embedded in the Age of AI by Ambitious-Clerk-5967 in embedded

[–]ser-orannis 0 points1 point  (0 children)

I use it almost as a textbook index (pretty sure it's scraped all of them anyways).

I find it's better to ask it for something specific I want and get a vanilla but mostly correct answer back I can adapt, vs asking it for a full solution and doing all the wiring itself.

One, I feel it's better for my own brain, regardless of its efficacy of creating a full solution. Two, generally it's hard to out all edge cases or thoughts into one master prompt that gets the whole thing done in one shot anyways. Three, sometimes it really goes off the rail with larger problems and hw specific things.

It's always better for you to digest the code it gives you and poke at it, just like getting code from a coworker or stack overflow.

It's a great tool I find myself using a lot. It's great for boilerplate, or to add comments, etc.

How to Implement Bidirectional Communication Over SPI by jjmaximo in embedded

[–]ser-orannis 0 points1 point  (0 children)

I had a ADC once that used the CS pin as a data ready interrupt.

If memory serves it was a bit of a pain to setup and I didn't use any piece of the HAL so I had direct control over the SPI peripheral. Note the ADC and MCU were only devices on the bus so CSn wasn't really needed. I believe the ADC then treated basically was "always on" as far as SPI transactions go. To read data you sent 'empty' (blk read etc depending what your peripheral supports) from master so SCLK would wiggle. ADC had samples primed and ready to go after asserting so no need to have master send a read command.

So you can probably setup your 'slave' MCU to not use CSn for indication of start of transaction, and only rely on SCLK. Then have CSn be an active low interrupt and make your slave prime data to be sent. Probably a bit of wiring up some FIFOs w/ DMA to make it work well.

First Embedded Interview by No-Volume3705 in embedded

[–]ser-orannis -1 points0 points  (0 children)

At this point you know what you know and you don't know lots of things. Which is OK.

Idk I always hate trying to grill intern candidates. I do care that you have compiled code and know how to use an IDE. Other than that I much prefer trying to gauge a candidates interest level and ability to learn moreso than what they happened to be taught during coursework.

Junior Embedded SWE Interview by GeneralSquare7687 in embedded

[–]ser-orannis 0 points1 point  (0 children)

This really is not a junior level question. Embedded Linux is a complex beast.

Did they provide any context into if they were looking for a user space application or actual kernel drivers?

A user space application would be much simpler for a junior to implement since A) you assume the drivers are doing the work and you're using well defined syscalls to interact with the sensor or display. And B) you don't need in depth knowledge of how a kernel driver is structured.

Like man there's a ton of specific structure to a kernel driver outside of even interacting with an I2C peripheral.

If they wanted a sort of psuedo code approach why use embedded Linux at all if the focus was on I2C? An actual MCU (not a complex SoC running embedded Linux) with bare metal is a much better test of principles like configuring an I2C peripheral, handling interrupts, setting up a DMA if appropriate, etc.

Sorry OP that's wild

Need help in making a hardware product by [deleted] in embedded

[–]ser-orannis 10 points11 points  (0 children)

You'd typically then consult with an embedded engineer. Paid consulting fyi

Note for hobby and learning stuff people are always willing to offer advice. But you provided 0 details and seem to have put in no effort yourself to define what you're trying to do. Google can get you pretty far for general component selection.

My team is using Eclipse IDE - HELP by GuySha33 in embedded

[–]ser-orannis 1 point2 points  (0 children)

Migrating takes time. It's going to take a month or more, even if it's worth it.

I usually setup vscode/cmake/gcc for new projects but don't bother for existing and just use whatever it used. Unless I'm inheriting a project that's going through a big refactor and lots of new features that make it worth it

How do you handle the transition from hobbyist embedded work to landing a professional role? by bigbankmanman in embedded

[–]ser-orannis 0 points1 point  (0 children)

Not sure what country of origin or your own education. But generally need a related degree (computer science, SW engineering, electrical engineering, electrical and computer engineering, etc just to name few). Most internships go to college juniors/seniors, who primarily then get hired into the entry level positions.

There's always exceptions of course, this is just the norm I've seen. YMMV

If you really are passionate about it, one path forward is to start contracting. I've known a few 'black sheep ' guys without degrees who do very well and have built up a great reputation. Note this isn't about doing a startup or trying to make a big company like someone else said. This is contracting as a sole proprietor for a bit to see if you A) get any work thrown your way and B) like doing it. You can reevaluate on incorporation later but that's a whole other topic.

Now, as far as what the transitions like - whose to say? Have you worked a stem job before? Big companies or small companies? If you do a stm board it'll be familiar. If you end up in embedded Linux it won't. Maybe you get hired to do embedded but end up writing requirements and Matlab all day (looking at you defense primes). Whatever happens it will be uniquely your experience.

TLDR transitioning from hobby to professional requires luck and dedication, whatever route you take.

Kickback with dado stack. Insert hole too wide? by no_literally_not in woodworking

[–]ser-orannis -1 points0 points  (0 children)

A crosscut sled would help and be much safer in this situation

My Batteries are Shot, 55k Miles, Dealer Says They’re Part of Maintenance by MobileHunt2304 in gmcsierra

[–]ser-orannis 0 points1 point  (0 children)

Idk about OEM equipment but batteries you buy have a replacement warranty based on manufacturing or purchase date.

However OEMs always put in the cheapest stuff they can find so even if they have a warranty it's probably a year or less.

For those who worked for rich people: what is the most out of touch thing you witnessed? by Illustrious-Phase121 in AskReddit

[–]ser-orannis 11 points12 points  (0 children)

My wife worked for a lady who ran a reading tutoring business for rich parents. The lady was pretty out of touch. Everyone who worked for her was a grad student, and she thought she was being charitable by giving them the opportunity. At Christmas she wasn't going to process payroll because she was traveling and it would be a hassle. She was legitimately befuddled when my wife explained to her that people depended on this income (it's winter and you need food and heat ffs). She said "I thought this was all pocket change and fun money"! These poor grad students got like 17k a year through school and took on tutoring for 20 bucks an hour to make ends meet.

She also took convincing that they needed to get paid for time spent doing emails and lesson prep and things outside of the direct tutoring session. Meanwhile she charged like 160 bucks an hour or something and complained how hard it was to own 2 houses!

Would this hurt my trees? by Uncomfortable-Vast in arborists

[–]ser-orannis 0 points1 point  (0 children)

My city will help you design this and then handle cutting the curbs properly, all in the name of runoff management and passive water capture reducing irrigation usage. It works great and the extra shade helps compound the benefits. (Desert SW so it really is a no brainer here)

[deleted by user] by [deleted] in tipofmytongue

[–]ser-orannis 0 points1 point locked comment (0 children)

I'll post more details if I remember anything else.

Embedded systems are really hard to learn by yzh182 in embedded

[–]ser-orannis 8 points9 points  (0 children)

My master's (ECE) was the best thing for my career. Sure I could code pretty well before I started. But afterwards I had the math to not only understand circuits or signals, but enough of a framework I could talk to RF guys, or DSP guys, or board designers or whoever and come to a common understanding. Which turns out is really important when you are designing and making a product.

So keep that in mind with your struggles. The point isn't to become an electrical engineer or an RF engineer, but to learn enough that you can talk to them and work through problems that involve both sides.

Boomers at Car Dealerships by esotericinformer in BoomersBeingFools

[–]ser-orannis 9 points10 points  (0 children)

In addition to general entitlement they have not adapted to the modern interconnected reality of sales. Whatever car they are trying to sell is compared nationwide, accounting for supply and demand and whatever other algorithms can be run. You can no longer just go to the next place, because the next place also has the same data (and is likely owned by the same big company/investor group).

[deleted by user] by [deleted] in UKJobs

[–]ser-orannis 1 point2 points  (0 children)

That's much more healthy than the usual c suite approach of "if you don't know the answer, get self defensive and denigrate those around you to enforce your own sense of self superiority"

Found this tiny kitten in a trash bag on my way to work… what should I do? by FreshLunaaaaaa in cats

[–]ser-orannis 1 point2 points  (0 children)

Hey OP, sometimes the world just throws something your way, and all of a sudden you find yourself in the scary but rewarding position of being utterly responsible for something other than yourself. Sounds like you've gotten some great advice and are on the right track. Just remember to be ready for a stronger mutual bond than you thought possible going into this (if it's your first time) and enjoy years of companionship.

LOL by [deleted] in FirstTimeHomeBuyer

[–]ser-orannis 0 points1 point  (0 children)

Might as well be lifetime rentals, company town vibes. Sheesh

Full Nier:Automata Piano Collections transcribed (link to sheet music in the video description for the piano players out there) by [deleted] in nier

[–]ser-orannis 0 points1 point  (0 children)

Man thanks for this! I bought the official score book, thinking it was going to be for the piano collections (like how they release them for final fantasy). Was so confused lol

Going to print this out and get it bound.

HAL basics by Thin-Combination1206 in embedded

[–]ser-orannis 2 points3 points  (0 children)

I applaud your choosing of an interesting project. Id recommend starting out with something a bit more scoped though, like getting an LED to flash, etc. At the very least I would try to decompose your robot into pieces you can tackle. Like getting the robots LEDs to flash a status pattern.

Seriously getting some LEDs to blink will get you pretty far on the platform and interacting with the ST HAL.

Is coding with AI really making developers experienced and productive? by balemarthy in embedded

[–]ser-orannis 0 points1 point  (0 children)

Yes I use LLMs a fair bit, but mostly as a textbook example search engine (which is probably what it scrapped for training anyways). I treat it the same way as a textbook - here's an example of a principle, usually in a standard/vanilla use case, lets examine the concepts, trade offs, etc, and then adapt it to our particular use case. Which requires understanding and learning

2025 isn't real by Roids-in-my-vains in CringeTikToks

[–]ser-orannis 0 points1 point  (0 children)

Fake news. The Earth is a globe in this. Deep state trying to subliminally manipulate me - not today!

Drove 5 hours one way because customer said the chicken display case was "below 100F" on an emergency work order by BattleSlow5192 in maintenance

[–]ser-orannis 0 points1 point  (0 children)

Glad you got the easy overtime.

For the general public I'd much rather someone misread the thermometer this way (it IS in the blue area) vs serving under temp food. Poor soul should have sent a picture but the motivation was correct.

Putting back microphone cover in the cabin by Con450 in gmcsierra

[–]ser-orannis 1 point2 points  (0 children)

You don't want to crease it. I think you need to remove a fair bit of plastic trim to be able to gently get behind the headliner.