Some modern cars use an optical system – there is a small camera unit behind the rear view mirror that scans the road ahead and is able to spot signs as they approach. That can then be interpreted and displayed for the driver.
Other systems are also based on GPS systems pre-programmed with this information – if it knows which road you are on, then it can tell you what the speed limit is.
Latest Answers