To easily perform setting (connection and non-connection) of a termination resistor. An electronic device configured to be connected to an in-vehicle network of a working machine and to work for the working machine, includes: a termination resistor configured to be connected to the in-vehicle network; a switch part configured to be switched between a connection state where the termination resistor is connected to the in-vehicle network and a non-connection state where the termination resistor is not connected to the in-vehicle network; and a control part configured to control an switching operation of the switch part.