Working on a joystick. Seems like any protocol I use to read from peripherals is going to be bottlenecked by having just one input. My microcontroller might have multiple ADCs, but there’s just one processor stepping through them. Same for spi, or i2c, or uart. There’s really only ever one sensor reporting back its data at a...
Only having one ADC can be an issue when you need readings to be in phase, but for reading any sort of human interface device it doesn’t matter at all. Just cycle through your inputs one at a time. Some microcontrollers even have hardware to scan through multiple inputs automatically. You can use DMA to read the ADC and send data out over whatever communication peripherals your microcontroller has without using much CPU time.
If you are using USB HID, you are limited to a 1000 Hz update rate and that’s really overkill already. You can have up to 8 analog axis in a USB HID game controller plus lots of buttons.
Ubuntu is already immune to the 2038 bug. The Linux kernel even supports using a 64 bit time_t on 32 bit systems now. Of course some poorly written software could still be affected, but that’s not the fault of the kernel or operating system.
The 2038 bug will certainly cause problems in some embedded systems that still use a 32 bit time_t if they are still running by then.
I got these TP4056 modules from an AliExpress vendor and fail to understand how the protection circuit works or if it’s just typical Ali shovelware. It could be my limited understanding of electronics....
The MOSFETs are in series, but in opposite polarities. Two MOSFETs are needed to block current in both directions.
The DW01 uses the voltage drop across the MOSFETS to measure the current. The overcurrent threshold voltage is fixed at 150mV. Using a larger MOSFET that has a lower RDS(on) will increase the current limit.
Since MOSFETs have a gate capacitance you’d want to limit the inrush of current from the output of a microcontroller to prevent it from getting damaged prematurely. That’s what gate resistors are usually good for....
For something that’s not switching at a high frequency, slow rise and fall times are fine as long as you are staying within the safe operating area of your MOSFET. A 10K gate resistor could certainly work, but it will depend on your MOSFET and load.
I recently was gifted a raspberry pi 5 and was looking at domains to buy to host my own instance. What happens to my instance if the domain expires?...
Hi, everybody Recently, a guy noticed that I was using it and asked why? For me it because in Linux many things are done through the terminal because Linux has many different desktop environments...
The T480 and T580 are some of the last ones they made with swapable batteries. Everything works out of the box in Linux except the fingerprint scanner which needs some additional configuration.
I have a T480 with an integrated GPU and the largest battery. It runs for a long time on a charge and there are lots of spare parts available.
I’m learning about electronic components. I believe this is the part which has broken and made this heating pad unsafe to use. Well, unusable, not just unsafe lol.
MELF stands for Metal Electrode Leadless Face although anyone who has had the pleasure of working with them will tell you it stands for Most End up Lying on the Floor.
You’re probably not going to find a tablet with modular RAM, but 4GB will barely run a web browser these days. You will be using swap a lot and that will put a lot of wear on the non replacable SSD.
I currently have a PC running Windows 11 that my S/O and I use multi-seated with Aster Multiseat. However, we’re both equally sick of Windows and are interested in switching to Linux....
You can run multiple X servers for a graphical multiseat setup. It’s a lot of work to set it up and most of the information about it is out of date though.
Alt TextA screenshot of a file manager preview window for my ~/.cache folder, which takes up 164.3 GiB and has 246,049 files and 15,126 folders. The folder was first created about 1.75 years ago with my system
I’ve never seen any of my ~/.cache directories get more than a few GB either and I never bother to clean them.
I am curious what OP was doing that used that much space though. That’s certainly not typical.
Piracy is a service issue. If the streaming providers are going to punish me for using my preferred browser and operating system by limiting the quality, I will keep my money and get the video elsewhere.
There is also the issue of never knowing when the show will just disappear from the streaming service while you are in the middle of watching it because the licensing changed.
This may be a stupid question, but I just got back into pirating some shows and movies and realize that many of the QxR files are much smaller than what I downloaded in the past. Is it likely that I am sacrificing a noticeable amount of quality if I replace my files with the smaller QxR ones?...
Newer codecs are more efficient. H.265 and AV1 are often 2/3 to 1/2 the size of an H.264 file for the same quality.
Of course there are also people uploading lower quality files as well.
To all the electronic nerds out there: I am trying to trigger a 555 timer by movement in a random direction that also occurs randomly and any change in position should trigger the 555. AFAIK tilt switches are not useable here. Does this idea make sense?...
No, moving a ferrite core through a coil won’t generate a voltage. You would need to move a magnet to generate a voltage.
Look for a vibration switch like one of these. If you want more control, you could use an accelerometer and a microcontroller to trigger it from a specific amount of movement.
If you don’t want to get them from microsoft, you can purchase a license elsewhere. Microsoft allows them to be distributed freely as long as the files are not modified. That’s why they are always packaged in an executable installer.
I purchased a second hand ThinkPad from an ebay outlet. When it arrived I wiped windows 10 from it and installed ubuntu with no issues. It runs perfect without any weird fixes needed. However, after just checking the bios to see if I could change some settings, I realised it has a supervisor password....
The password will be stored in EEPROM in newer laptops. Removing the battery will not clear the password and could make things even worse since you won’t be able to change any settings that get reset.
The best thing would be to return it and find a different one that’s not locked.
Thank you so much, comrades! I am feeling pretty comfortable with linux mint, and now would like some suggestions for some absolutely necessary FOSS or free license software for the OS. So far I have the standard, Firefox, ThunderBird, LibreOffice, yada yada. Thank you again to everyone on the linux comm! sankara-salute
KiCAD for PCB design.
PulseView for USB logic analyzers.
DSRemote for remote control of Rigol oscilloscopes.
FreeCAD for 3D CAD.
SDR++ and SDRangel for SDR.
Fldigi, wsjtx & QSSTV for ham radio digital modes.
Does anyone recognise these power supplies? They’re cheap AliExpress led drivers and I want to change its output voltage to around 22V from 12V. I’ve read that the way to do this is to adjust the REF voltage on the IC that controls it. It’s a KA3845 but I don’t understand where that reference voltage is regulated. One...
Everybody gangsta until Task Manager appear (lemm.ee)
via Comics With a K
Simultaneous joystick 3-axis protocol
Working on a joystick. Seems like any protocol I use to read from peripherals is going to be bottlenecked by having just one input. My microcontroller might have multiple ADCs, but there’s just one processor stepping through them. Same for spi, or i2c, or uart. There’s really only ever one sensor reporting back its data at a...
Ubuntu 24.04 LTS To Get 12 Years of Updates (news.itsfoss.com)
TP4056 useless protection circuit? (discuss.tchncs.de)
I got these TP4056 modules from an AliExpress vendor and fail to understand how the protection circuit works or if it’s just typical Ali shovelware. It could be my limited understanding of electronics....
[Resolved] Why does the font on Lemmy.world look like an eyesore? (lemmy.world)
I just switched from Ubuntu 23.10 to Debian 12 (using X11) if that helps. I didn’t have this problem in Ubuntu.
MOSFET gate resistor
Since MOSFETs have a gate capacitance you’d want to limit the inrush of current from the output of a microcontroller to prevent it from getting damaged prematurely. That’s what gate resistors are usually good for....
What happens to my instance if my domain expires?
I recently was gifted a raspberry pi 5 and was looking at domains to buy to host my own instance. What happens to my instance if the domain expires?...
Why do you use the terminal?
Hi, everybody Recently, a guy noticed that I was using it and asked why? For me it because in Linux many things are done through the terminal because Linux has many different desktop environments...
Laptop with long runtime
I’m looking to buy a new laptop. I recently switched to Linux (Fedora) and would like to stay with it (Not necessarily Fedora though)....
Is this a fuse? If so, what kind? if not, what is it? (beehaw.org)
I’m learning about electronic components. I believe this is the part which has broken and made this heating pad unsafe to use. Well, unusable, not just unsafe lol.
Surface Go 2 with 4GB Ram and 4425Y worth it?
Hi! There’s no Surface on Linux Lemmy community (yet), but I didn’t feel like asking on reddit, so I thought that this community is my best bet....
What is the state of Multiseat in Linux today?
I currently have a PC running Windows 11 that my S/O and I use multi-seated with Aster Multiseat. However, we’re both equally sick of Windows and are interested in switching to Linux....
Reminder to clear your ~/.cache folder every now and then (lemmy.world)
Alt TextA screenshot of a file manager preview window for my ~/.cache folder, which takes up 164.3 GiB and has 246,049 files and 15,126 folders. The folder was first created about 1.75 years ago with my system
what caused you to get into Linux?
What caused you to get into it, are you an evangel and are you obsessed?
Piracy even when I can get it legally
This is my small rant against the ‘features’ that big streaming services provided vis a vis the convenience of pirating the same thing....
Are movie and show file sizes more efficient than they were years ago?
This may be a stupid question, but I just got back into pirating some shows and movies and realize that many of the QxR files are much smaller than what I downloaded in the past. Is it likely that I am sacrificing a noticeable amount of quality if I replace my files with the smaller QxR ones?...
Ferrit core as 555 trigger?
To all the electronic nerds out there: I am trying to trigger a 555 timer by movement in a random direction that also occurs randomly and any change in position should trigger the 555. AFAIK tilt switches are not useable here. Does this idea make sense?...
Basic fonts
What is your “basic” list of fonts every linux desktop user should install ?
Shadow Cast: GPU accelerated screen and audio recording for Linux (github.com)
I created Shadow Cast after becoming disillusioned with the lack of simple, performant display recording utilities for X11. All feedback welcome.
Dumbest Thing you have done distro-hopping?
I just discovered something I did so idiotic I need a stronger adjective that what is in my name....
Is an unknown supervisor password for ThinkPad bios an issue if I've already installed linux?
I purchased a second hand ThinkPad from an ebay outlet. When it arrived I wiped windows 10 from it and installed ubuntu with no issues. It runs perfect without any weird fixes needed. However, after just checking the bios to see if I could change some settings, I realised it has a supervisor password....
I made it to Linux! What is your must-have FOSS or Free Software for linux?
Thank you so much, comrades! I am feeling pretty comfortable with linux mint, and now would like some suggestions for some absolutely necessary FOSS or free license software for the OS. So far I have the standard, Firefox, ThunderBird, LibreOffice, yada yada. Thank you again to everyone on the linux comm! sankara-salute
Adjusting SMPS output voltage (discuss.tchncs.de)
Does anyone recognise these power supplies? They’re cheap AliExpress led drivers and I want to change its output voltage to around 22V from 12V. I’ve read that the way to do this is to adjust the REF voltage on the IC that controls it. It’s a KA3845 but I don’t understand where that reference voltage is regulated. One...