[โ€“] 7 points 10 months ago (5 children)

1st, do not power the fan from the pi if possible to avoid any underpower headaches. It should be fine.

Your best bet is to just power it at 5v using a standard USB wall wart and a sacrificial USB cable (old 2.0 ones work best). Strip the USB cable and expose the positive and negative wires and hook them up to the positive and negative fan pins (identify these using a 4pin fan header diagram). You can either try just shoving the tips of the USB cable into the fan header using electrical tape as a quick bodge, or cut and strip the fan cables and twist them together.

  • source
  • [โ€“] 3 points 10 months ago (2 children)

    You can use a transistor to pwm the 12v input to the fan. I used IRLZ44n to this effect since they work ok at logic level. There are better transistors but the principle is the same

  • source
  • [โ€“] 4 points 10 months ago (1 child)

    If you decide you wanna go the easy route there are quiet 5V fans out there
    https://www.noctua.at/en/products/nf-f12-5v-pwm

    pi-noctua-pwm
    Controls a 4-pin (PWM) 5V Noctua fan using a Raspberry Pi 5's GPIO pins. The fan speed is automatically adjusted based on the temperature readings from an NVMe drive, making it ideal for cooling solutions like the Pimoroni NVMe Base.

  • source
  • [โ€“] 3 points 10 months ago* (2 children)

    12v fans will typically run fine, albeit much slower at 5v. This was a favorite trick many moons ago to reduce fan noise in desktops before quiet fans became mainstream. The main watch out is that the fan doesn't stall at startup and fail to spin completely.

  • source
  • [โ€“] 3 points 10 months ago (1 child)

    I think PWM fans need 12V all the time. Maybe you have a cheap 3-pin fan, then you can just give it 5V. It'll run slower, but you probably don't need full power.

    You could get a cheap boost convert to up 5V to 12V if you want the Pi to power it.

  • source
  • [โ€“] 3 points 10 months ago (1 child)

    The biggest advantage to CAN bus is that it's a true multi-master bus. Any node can broadcast at any time. The other nodes will back off (there's a priority list for the nodes) and allow transmissions through. It's not a master/slave kind of system where nodes send/receive to addresses. A node broadcasts on the bus and the other nodes can decide whether to receive and act on the message, which opens up a much more distributed system of pub/sub style architecture, but with embedded systems.

    The other biggie is that it uses a differential voltage transmission. Much like the difference between RS232 and RS485. A CAN bus may stretch 10's to 100's of meters, depending upon transmission speeds. With that kind of range, you can now wire up larger hardline sensor and controller systems for human-scale environments which I2C and SPI just can't do. It's also much more robust to handle noise on the lines, though it takes hardware level support for many of the features.

    I haven't picked a ATTiny 10 programmer yet. For my ATTtiny 85 chips I have a Arduino shield that I wired up. For ATTiny 84 and ATMega 328p I have USB driven boards with ZIF sockets to make inserting/removing the microcontroller chips easier. Basically really cheap ones I found on Aliexpress years ago and they keep working just fine.

    I use a combination of the ArduinoIDE and the ArduinoCLI to program the chips, depending upon the project and how much effort I want in my build toolchain.

    Among the raw microcontrollers, the ATTiny 84/85 needs the least analog wiring support. The ATMega 328p needs you to provide at least a little external wiring.

  • source
  • parent
  • context
  • [โ€“] 1 point 10 months ago (3 children)

    Have you tried anything with CAN Busses? That has applications in robotics and automobiles.

    I really like working with raw microcontrollers. I'll just use a ATMega 328p or an At tiny 84/85 to drive something sans breakout or interface boards.

    Someday I'll find an excuse to use an ATTiny 10, but I just haven't so far.

  • source
  • [โ€“] 5 points 10 months ago (4 children)

    Off the top of my head

    • Logic analyzer (either USB or part of an oscope)
    • USB TTL adapters
    • JTAG or other debuggers
    • USB C breakout boards with setable voltage via USB PW
  • source
  • [โ€“] 17 points 11 months ago

    Yes.

    It's been done by hand.

    It's been done on old computers from the late 90s.

    It's been done on DDR1, DDR2 and DDR3.

    It can also be done on DDR4 and DDR5 and any other form of RAM that shows up in the future.

  • source
  • [โ€“] 2 points 11 months ago*

    the reason why it works with (some) 2.5" drives is because theyre often spinning slower or designed to use less power. it's why sometimes in order to get enough current, you would need a Y splitter to draw power from 2 usb ports if it doesnt have its own power supply.

    though assuming internally youre powering it with a sata data and sata power cable, don't see what that configuration didn't work. if that one didnt work, id imagine its a dead drive.

    for the record, if you're plugging it into a standard USB-A port, a typical usb A port is 5V 0.5A connection. the drive specifically requires 0.8A if using 5V (as the label says so), so if your adapter is single USB, its not going to properly power it.

  • source
  • parent
  • context
  • [โ€“] 2 points 11 months ago (1 child)

    It should work fine in your thinkcentre using the onboard sata power and data cables. Being enterprise doesn't change this. 7200rpm makes it a bit noisier and hotter and faster, and use a tiny bit extra power, but it's a 2.5" so it's never going to be that hungry.

    If there's no sound/vibration on start, and your BIOS doesn't detect it, it's probably dead.

    Vendors do lie about testing second hand drives, but couriers also drop stuff all the time.

    Contact the seller, explain the situation and ask for a replacement.

  • source
  • [โ€“] 1 point 11 months ago* (2 children)

    when youre using a usb adapter, does the adapter have its own power supply? because standard usb outlets do not provide enough current to power a hard drive of a single usb conmection.

  • source
  • [โ€“] 5 points 11 months ago* (last edited 11 months ago)

    I've used Frigate for a few years with up to 5 cameras, but 100 might be pushing it for a single card. I'm fond of the Google Coral M.2 chips for inference like the software maintainer recommends. You would need about ~5-10 I'd guess, and 1 low tier GPU if you're not transcoding too much. I talked to the guy that made the project a few years ago when it was still small, and he helped me with FFmpeg parameters to get Cuda h.265 decoding. Which is also important, depending on your cameras. Maybe talk to him directly through GitHub.

  • source
  • view more: โ€น prev next โ€บ