The throttle position (TP) sensor in the Mazda Demio is usually located in the throttle body assembly.
Here are the steps to find it:
1. Turn off the engine and disconnect the negative battery terminal.
2. Locate the throttle body, which is usually located at the front of the engine, between the air filter and the intake manifold.
3. On the throttle body assembly, locate a small sensor with one or more electrical connectors. This is the throttle position sensor.
4. It is usually secured with screws or bolts and has an electrical connector.
Refer to your specific year and model Mazda Demio service manual for detailed instructions and illustrations.