News for hackers. Stuff that matters.
Re:Ask HN: Anyone know any funny programming jokes? by shimonabi on Wednesday January 20, 2021 @11:49PM (#25855540)
In my car, I have to disconnect the battery when the cheap 30$ Chinese radio freezes.
Re:Ask HN: Anyone know any funny programming jokes? by berkes on Thursday January 21, 2021 @02:19AM (#25856391)
I have a 37 year old car. The (classic looking) Bluetooth radio is by far the most complicated electronics on board.

When I switch off the car, for safety, anti-theft and leaking, the battery is disconnected entirely with a key.

The radio looses everything: paired devices, position of radio tuner, volume, BT/aux/radio mode etc. Whenever you start the car, you'll need to mash at least five buttons and knobs to either find a radio station or reconnect Bluetooth. Modern tech is often so smart it becomes dumb again.

Re:Ask HN: Anyone know any funny programming jokes? by w0mbat on Thursday January 21, 2021 @02:47PM (#25863238)
You haven’t wired it properly. If there is no constant power wire just run one from the battery.
Re:Ask HN: Anyone know any funny programming jokes? by berkes on Friday January 22, 2021 @06:24AM (#25870686)
I have it wired like this deliberately.

As I pointed out, some pieces and parts keep using electricity. Amongst which is the radio. This will drain the battery. Slowly, but surely. If I don't use the car in 14 days, it (probably) won't start; but with this wiring it does, just fine.

Which is why I installed a [don't know the english word]¹, so that my battery is switched off entirely. Everything in the car is fine with that. Except for this "modern radio".

Hiding that switch in a somewhat unexpected place also delays theft. 37 y/o cars are easy to steal; this makes it slightly less so.

¹ here's an image: https://www.hsct.nl/wp-content/uploads/2014/10/IMG_8097-247x...

Re:Ask HN: Anyone know any funny programming jokes? by w0mbat on Friday January 22, 2021 @02:34PM (#25875332)
A car stereo is supposed to have two +12V input wires and one ground wire.

The yellow wire is named "constant" or "battery". The red wire is named "accessory" or "switched". The black wire is ground.

When the car is turned off, the red wire drops to 0V and the radio turns off. The yellow wire is supposed to remain at 12V to maintain memory state.

The yellow wire draws a very low amperage, and would take years to drain the battery.

Re:Ask HN: Anyone know any funny programming jokes? by the_pwner224 on Thursday January 21, 2021 @12:45AM (#25855887)
Put a toggle switch somewhere in the cabin and splice it between the car radio power wires and the battery. So you can easily reboot the radio without having to mess around under the hood.
Re:Ask HN: Anyone know any funny programming jokes? by thejenk on Thursday January 21, 2021 @01:28AM (#25856127)
A push button normally closed momentary switch would be pretty slick too. Also it would probably be best to put it on the ground wire. Car radios will have at least two power wires, one for constant power (which keeps the clock set, and favourite stations programmed), and one switched accessory power to command it on.

Then again, a new $30 radio would be slicker still.

Re:Ask HN: Anyone know any funny programming jokes? by shimonabi on Thursday January 21, 2021 @01:00PM (#25861870)
I bought a mechanical switch that is installed on the negative terminal of the battery.

The radio drained my battery in 2 weeks, an absolute horror in Covid times when the car is in "long term storage".