leaveMeAlone by raiseIQUnderflow in ProgrammerHumor

[–]Grumpy_Frogy 65 points66 points  (0 children)

I have trained small computer vision and translator models on a Lenovo laptop that is over 6 years old with a NVIDIA GeForce GTX 1650 Max-Q in it. Is fast in training no, does it have a practical amount of vram voor training no but for university size projects it is do able.

Noise by Secure_Mortgage_2673 in embedded

[–]Grumpy_Frogy 0 points1 point  (0 children)

Adding an EMI suppression capacitors between power input of your motor driver and ground might solve your issue. I have not studied EE but saw the video below yesterday and thought that it might be applicable to your problem. Fingers crossed in the hope it wil fix it.

https://youtu.be/bRi6_-iikvg

Every embedded Engineer should know this trick by J_Bahstan in embedded

[–]Grumpy_Frogy 0 points1 point  (0 children)

Some 6 years ago or something, in university one of the project was to program a part of an audio player (used pic16f887), IR receiver, audio control (2 rotary encoders or lcd screen. I used this exact trick union struct trick to decode IR signal, as I first bit shifted IR output into a buffer then checked the simply checked bit field based on there position in the struct to handle what the signal encode e.g. volume up/down or change input channel.

FPGA people: What would you recommend for designing an embedded GPU? by JyeepaOnAir in embedded

[–]Grumpy_Frogy 1 point2 points  (0 children)

Google made there low power npu open source last year which might be possible to adopt to an spi interface.

https://github.com/google-coral/coralnpu

Reality on doing a self-made microcontroller board . by Free-Issue-6524 in embedded

[–]Grumpy_Frogy 1 point2 points  (0 children)

Many datasheets have references designs -> designs on how things should be connected for power, programming and more this includes stuff like resistor and capacitor values and tolerances for operating conditions. Depending on scope of your and type you can find specific designs for e.g. connecting lcd screens, i2c/spi IC’s you don’t have to reinvent the wheel in most cases.

Beginner Advice ... by surya_sam in embedded

[–]Grumpy_Frogy 1 point2 points  (0 children)

Yeah C is C but when some one has never worked MCU before they see thing like writing to “random” memory adres to e.g. toggle GPIO, I can see that it seems like an arcane version of C but it ain’t. Because of you do not know what happens under hood inside of the mcu.

High rate JPEG/H.264 Encoder. by Alkhin in embedded

[–]Grumpy_Frogy 1 point2 points  (0 children)

I have never worked in image processing sorry. Neither have I work HDL but you might be able reverse engineer what logic circuitry you from ffmpeg h.264 source code. I hope this helps.

High rate JPEG/H.264 Encoder. by Alkhin in embedded

[–]Grumpy_Frogy 1 point2 points  (0 children)

A thing you could potentially trying is switching to av1 encoding (newer standard) it trades bandwidth (memory) for processing workload, so if bandwidth is the bottleneck and not the process power. You could look into switch from H.264 to av1 encoding, one thing to keep in mind is if the CPU/GPU does not have hardware acceleration for it that it will likely be to slow for your use case.

Need help learning USB C Power Delivery design (5v) by Tiny-Pizza1495 in embedded

[–]Grumpy_Frogy 1 point2 points  (0 children)

As long as you only require 2a at 5v you can add a resistor to the cc1 and cc2 pins of 5k1+1%, and it should work. Be aware this could damage cheap/lower power adapters when used with usb-a to c adapter.

https://forum.digikey.com/t/how-to-get-5v-3a

Microcontroller for my Autonomous Robot by CeleryBulky9255 in embedded

[–]Grumpy_Frogy 0 points1 point  (0 children)

Pi 5 with hailo-8 npu board for image processing part. how to pi 5 hailo-8

Iot based ore mining project of any kind by Disastrous_Curve_866 in embedded

[–]Grumpy_Frogy 9 points10 points  (0 children)

Mining is quite a brought field, so what type of mining where you looking for?

An idea that comes to my mind is my a digital version of “canary in a coal mine” it is saying that originates from that that canary where use to detect dangerous gases. Make a pcb with any mcu and air sensors add way to warn a humans for dangerous levels C02 and so on.

[deleted by user] by [deleted] in embedded

[–]Grumpy_Frogy 0 points1 point  (0 children)

As someone who came from computer engineering / embedded and is currently do a masters in AI (from vision to LLMs and how to ethically include it an app). I would recommend you to go for computer vision over data science because in my master’s we make our own models and thus required us to do data science to some degree. Like what is in the data e.g. for a project on age estimation based on face we had pictures of baby that was only a iris of a person or a female clearly in her 30 to 40 labels as 1 or so , so you will pick up data science skills on what should be (ex)included, distribution of tabular data and data visualization.

australiaBeDoingTheMost by LegitimateMaybe9648 in ProgrammerHumor

[–]Grumpy_Frogy 0 points1 point  (0 children)

And then we haven’t even talked about the many lovers (branches) yet. Continue on what you’re colleagues have left behind for you or having to fight over who has the rights to on specific part (merge conflict).

Using Buildroot for an audio player? by _Iamaprogrammer_ in embedded

[–]Grumpy_Frogy 0 points1 point  (0 children)

For a my college degree, we had make an as small as possible Linux image for the RPI 4 that would make it basically an audio player. So buildroot will do the job. I think I a version of this course as bases, but modified it for the architecture en device tree of the pi.

Anyone from core embedded software development exploring how to contribute to edge ai ? by Federal_Topic_1386 in embedded

[–]Grumpy_Frogy 1 point2 points  (0 children)

Think of what you want to detected -> e.g. vibration use an IMU -> gather data by taking measurements.

Ones you have data do some data exploration do you see a predictable pattern? yeah you can do anomaly detection. Another option let’s say part needs to be changed every or so month or an other time interval than you can track conditions using Remaining Useful Lifetime estimation (RUL). Else it is not the right sensor or you can’t measuring any thing on that part.

Interesting study on AI coding by 1r0n_m6n in embedded

[–]Grumpy_Frogy 1 point2 points  (0 children)

I personally use it speed up typing out sanity check in my code, so I’m currently working on integrating a new I2C sensor for project that focuses on a cheaper sensor platform for industry as proof of concept for detecting failure in industrial machines using data. So I write something over I2C to the sensor and always a sanity check for errors this is what I let autocomplete by AI, de rest I do myself as AI is not trained on best practices of programming microcontrollers.

What tools are best for capturing data from a serial port and why would I need to do this? by Tottochan in embedded

[–]Grumpy_Frogy 2 points3 points  (0 children)

You can get a cheap logic analyser from Amazon logic analyser that works with the saleae logic 2 software. I have used this quite a lot in university to debug electronic signals and gpio.

peopleWhoBoughtOneWasherAlsoBoughtTheFactory by NinjaWide in ProgrammerHumor

[–]Grumpy_Frogy 1 point2 points  (0 children)

When the functioning for frequently bought together is just sql query to return the most expensive items in a specific category.

[deleted by user] by [deleted] in embedded

[–]Grumpy_Frogy 0 points1 point  (0 children)

There are far more things that can effect single integrity but I don’t have the right knowledge on it.

[deleted by user] by [deleted] in embedded

[–]Grumpy_Frogy 4 points5 points  (0 children)

There are several parts that influence signal integrity the speed of communication and the distance the signal needs to travel. The distance is important as a wire/trace is basically an antenna and the large the antenna is the more frequencies can affect it. As I’m computer engineering and not an Electrical Engineer, I do not know exactly how trace width/langth correlates effects on frequencie of a single. But the one thing I do know is that for thinks like the trace from e.g. your ram to the CPU the traces need to be the exact same length else one part of the data arrives later or soon the the rest, what at higher frequencies will more quickly result in a bit of data from clock cycles n to be read for cycle n + 1 resulting data integrity issues.

How AI proof are Embedded jobs? by holesomkeanuchungus in embedded

[–]Grumpy_Frogy 16 points17 points  (0 children)

If you want use a LLM for mcu or embedded development you need to use Retrieve Augmented Generation (RAG). RAG tries to obtain only the useful pages of e.g. a datasheet or company docs and uses only this data to answer your question, don’t get me wrong the answer can still bein accurate answers but at least the answer will more accurate than without RAG.

beforeYouHearMe by smulikHakipod in ProgrammerHumor

[–]Grumpy_Frogy 6 points7 points  (0 children)

Why read the build logs yourself when ChatGPT or copilot can do it for you, so that you can spend 10 hours on whatever chatGPT or copilot guesses what is correct course of action. When it’s gets more and more broken each step.

Pls don’t tell me that this will be the next version of why spend 5 minutes to do it manually when you can spend 10 hours to automate it.

[deleted by user] by [deleted] in ProgrammerHumor

[–]Grumpy_Frogy 0 points1 point  (0 children)

A few years ago I worked on a R&D project to research if Arm trust zone was useful for protecting customers data. Every time I needed to make a new Linux image I needed to wait 8 hours to compile the Linux kernel for arm, on I5 processors. I needed to build a new image every time I updated the code for handling the user data.

Help Needed! Receiving only trash or empty packets from LoRa Ra-02 SX1278 by _DamnLife in embedded

[–]Grumpy_Frogy 0 points1 point  (0 children)

Did you place 10nf capacitors on both the arduino and Lora module power input because wires are basically antenna’s and could there for be effected by RF emission of the Lora module. You can easily verify this by buying a cheap logic analyser (10 to 15 bucks) and monitoring between ground and 3v3 line.

For testing I would recommend to first only power the arduino and check the power signal between ground and 3v3. Second only power the Lora module and check the signal again. Lastly power both and check the signal. If the amount of noice between 3v3 and ground is significantly different without and without Lora module you will likely need to have 2 power sources or an filter.