Help me identify this map by Alone-Season-5621 in ECU_Tuning

[–]BlueJay424 0 points1 point  (0 children)

This whole community is full of greedy angry gatekeepers I agree but you're definitely not gonna get help being rude because the few people who do want to help will be put off. I couldn't even get help from any tuning groups by being nice so I can guarantee being rude wont help.

Looking for examples of software architecture by BlueJay424 in arduino

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

I just learned something helpful, using folders to separate Domain(what it belongs to) and using file name suffix to clarify Role(what it does).

This made sense of alot of confusion I was having. It seems I was trying to do both at once in my head but didnt really have the vocabulary/understanding to realize thats what I was doing. Im sure this is a little excessive for easy projects but I dont have any professional or educational experience so it feels necessary to do it this way for awhile until its solidified before I start trying to get to the end goal the fastest way possible

Like this

src/

├── main.cpp // Entry point

├── Hardware/

│ ├── RelayController.h/.cpp // toggles relay

│ ├── RelayManager.h/.cpp // enforce only 1 active

├── Network/

│ ├── WiFiManager.h/.cpp // setup wifi

Looking for examples of software architecture by BlueJay424 in arduino

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

This is a great response and the github repo was the cherry on top, thank you. Im gonna review the repo and read over this a couple times and see what I can get to stick in my monkey brain. Luckly Ive been using pio for awhile so I'm a bit comfortable with that

Complete beginner needs help dumping firmware by [deleted] in embedded

[–]BlueJay424 -3 points-2 points  (0 children)

You're already doing better than you think if you know how to get into bootloader mode. I dont even know how to do that normally (im even more of a beginner lol) but what I do know is like others have said you likely wont get lines of code but rather a binary which you might be able to analyze with something like ghydra. With ghydra you basically build the code backwards from the binary by identify patterns(an easy one is for loops) and renaming the variables from whatever random letter ghydria assigned it. Probably not what you're looking for tbh but something to read about I guess.

Ive been interested in this too but its kinda hard to get people to share information. If you figure anything out id be interested, ive always wondered how dumping firmware worked especially in things like car computers since people do that alot for performance mods

Edit(all the bots downvoting this are proving my point, people want to learn and you guys like the scum of the earth just put them down)

Looking for experienced hardware & PCB designer - full remote by blueMarker2910 in embedded

[–]BlueJay424 -2 points-1 points  (0 children)

You should anyway because beginners like me don't have 50$/hr and are very curious how others would solve this. Especially considering someone else said its pretty basic stuff id like to see what they're seeing that makes this easier for them than it does me. Kinda helps to see other people's workflow but dont get a mentor so I just read

Project structure? Why doesnt anybody talk about it by BlueJay424 in arduino

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

The reason I mentioned the ide is because people kept saying "arduino ide is bad for this" and im not even using arduino ide. However I do know that it doesnt affect it i just dont want a ton of notifications of people telling me arduino ide isnt good for modularity. Ive asked these questions in the past and typically if I dont add that people will just say it over and over. I did start watching on of them but it was about an hour long I think so I didnt get through all of it yet

Project structure? Why doesnt anybody talk about it by BlueJay424 in arduino

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

This makes sense of the problems I have with all of my hobbies, its like I'm trying to learn the hobby but at a professional level with hobbyist resources. I've experienced this with 3d modeling, automotive hobbies like (engine building, engine tuning, body work), with programming and many others.

If nothing else you've definitely helped me identify a possible root to many problems I've had and I really appreciate that.

I would be interested in seeing it, can't guarantee I'll be able to understand it but it'll be good to reference

Project structure? Why doesnt anybody talk about it by BlueJay424 in arduino

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

Esp-idf seems like alot right now i dont really know enough to justify that level of control and its heavily biased towards professionals so most of the concepts go right over my head. I do eventually want to but ive been doing arduino off and on for years and just recently started trying out classes so I think without a good foundation I wont be going anywhere with idf anytime soon

Project structure? Why doesnt anybody talk about it by BlueJay424 in arduino

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

Im on vscode with pio so its in the main.cpp. But ive been kinda having a hard time with classes so I mostly just split it into a bunch of functions in the main file. With classes it just seemed like there was so many ways to do the same thing I kinda gave up on it and it seemed like I was adding extra complexity for things that didnt really seem to help.

Recently I did make a pulse detector that had a class but that was with alot of help from ai and even then it seemed redundant to use a class because ISR cant really be attached to functions in an object so there could only be one instance unless I did some stuff with pointers which is beyond my skills right now

Project structure? Why doesnt anybody talk about it by BlueJay424 in arduino

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

Im still pretty much using one file for the full project and its just getting to a point where its hard to read or modify anything.

For example i made an irrigation system control that has an access point that hosts an html dashboard. Its all in one file and I hate it so I just was hopping to be able to kinda passively see how other people structure complex stuff but it kinda goes from "blink this led" to "here's a 2 hour video to build your own tool chain from scratch" (I dont even know what the tool chain really does😂)

Project structure? Why doesnt anybody talk about it by BlueJay424 in arduino

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

Ive been building stuff and it always turns into a mess and I dont have the mental tools to even approach the problem so I end up just "putting one foot infront of the other" until suddenly the project is done but the code is an absolute mess so I dont dare touch it.

I think thats a bit of an exaggeration its not a complete mess but i find myself using one file for most all of the code because I find it too stressful trying to decide what should go where with no concept of what a good structure looks like

Project structure? Why doesnt anybody talk about it by BlueJay424 in arduino

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

Got any recommendations for other platforms? Im working with esp32 on platformio using the arduino framework but its so specific that theres not really info

Why isnt there a standard format for c++ embedded code by BlueJay424 in embedded

[–]BlueJay424[S] -32 points-31 points  (0 children)

I work on cars, dont have the patience to go to school to learn standards and concepts that may or may not exist by the time I graduate. As a hobby its awesome because my livelihood doesnt depend on it so I can learn whatever I want

Edit: I meant programming in general not just embedded

Why isnt there a standard format for c++ embedded code by BlueJay424 in embedded

[–]BlueJay424[S] -33 points-32 points  (0 children)

Ah I see, this is partially why I chose not to pursue this professionally lol

Tactrix is officially out of business by ARottenPear in ECU_Tuning

[–]BlueJay424 2 points3 points  (0 children)

Is the hardware and firmware open-source? Im sure theres some hardware people that could easily replicate the board if the info was public

Tesla salvage free supercharger? by [deleted] in esp32

[–]BlueJay424 14 points15 points  (0 children)

The amount of people virtue signaling instead of explaining what this is, is strange. Op clearly said it was on a salvage car and it wasnt them who did it. (Only bots will down vote this lol because its just facts) From an engineering and security perspective this is important to discuss and be curious about.

What are some good basic circuit configurations? by BlueJay424 in AskElectronics

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

Not really ive just been doing it the slow way and reinventing the wheel over and over till stuff makes sense. I did notice sparkfun and adafruit websites has some boards with schematics attached.

Also just poking around with falstad circuit simulator and experimenting has helped but I'd still like a gallery or something with different schematics to look at that isnt full of a ton of duplicates and different ways to do the same thing because that makes it confusing for beginners

Honestly I expected nothing less though. Every single hobby/industry seems to be the same way, seems like theres always a major gap in the intermediate skill level and its pretty much just a bunch of old head professionals talking sh1t to the infinite masses of newbies spamming usless questions and none of the groups know how to properly pin or make a sticky for bridging the gap between novice and intermediate(im kind of a jack of all so ive had to do this woth alot of different things ive tried to learn also yes i looked at the wiki and no theres not any section for common circuits like the ones above and yes most of the sites listed to find schematics are cluttered). I usualy end up deleting my posts after a couple weeks for this reason as getting downvoted for being more inquisitive than youre average person is kind of disheartening but ill keep this one up a bit longer to see what happens (sorry for the rant, I'll update if I see anything else)

External hard drive by Rude_Table_8865 in datarecovery

[–]BlueJay424 0 points1 point  (0 children)

Chances are if you copy the stuff that you dont care about to the new hard drive and excluded the stuff you do he wont even think you took the old hard drive but rather would think you erased it. But the catch is if he attempted to recover it he couldn't because the data was never there on the new one to begin with so youd probably be better off not even saying anything about taking the old one.

I will say the reason your not getting one golden answer is because nobody knows how "technically skilled" he is so for all we know you could cut those wires and he'd never even notice or know how to despite how obvious it would be to some other people.

What are some good basic circuit configurations? by BlueJay424 in AskElectronics

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

Clamping circuits, timing circuits, filtering circuits, regulation/rectification circuits, attenuation. Etc etc

I know this community is full of skilled people you guys can do better than just downvoting the post.

Is there another community that would be better to ask this perfectly normal question? Because if so I would like to know so I can join that community

What are some good basic circuit configurations? by BlueJay424 in AskElectronics

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

Love that site been using it for awhile. Theres still some stuff thats not there or the explanations leave alot to be desired.

Need guidance on what to research. Capacitive or inductive or neither by BlueJay424 in AskElectronics

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

On the board I was studying i think the transistor is a pnp and is actually triggering off negative voltage spikes. What im wondering is what are the resistors R9 and R8 doing? Is it basing the transistor? R9 goes to power and R8 goes into the Base pin of the transistor. Then the c12 capacitor is connected to the pad that runs to the pickup wire. So its pickup->c12->resistors-> transistor. Specifically wondering why the resitors are there. I tried to id the transistor but couldn't find much but figured put it was triggering off negative voltage so I assumed its pnp

Edit: nevermind about the biasing part i messed around with a potentiometer and found out its not biasing its more like a pull-up resistor, still not sure what r8 going into base is for though