S
S
Sergey Kotov2019-05-01 20:53:18
Arduino
Sergey Kotov, 2019-05-01 20:53:18

How to program pain?

Let's say there is an arduino and sensors. How to program an arduino so that if one of these sensors goes out of order, then it will feel pain? What is the feeling of pain?

Answer the question

In order to leave comments, you need to log in

7 answer(s)
S
sim3x, 2019-05-01
@sim3x

Pain is a subjective sensation
You can not program and just think that the arduino feels pain

V
vanyamba-electronics, 2019-05-01
@vanyamba-electronics

A poorly made device can cause a lot of pain to its developer.

S
Sergey Gornostaev, 2019-05-01
@sergey-gornostaev

Pain is the interpretation of a signal of damage. I'm not sure that the use of this term makes sense in the context of a discussion of microelectronics. In any case, the arduino is too primitive a device to provide the proper level of self-diagnosis.

John Connor: Does it hurt when you get shot?
T-800: I sense injuries. The data could be called "pain".

D
Dmitry Alexandrov, 2019-05-01
@jamakasi666

In the simplest sense, this is an alarm signal, i.e. in the case of an arduino, you can control the adequacy of the data from the sensor or the fact that data is being exchanged/received. Those. hang an LED and say there is a temperature sensor, if the data comes in exorbitant numbers, then the LED is on, if the data does not come, then again the LED is on, this will be, in a simple sense, an indication of pain.

B
BasiC2k, 2019-05-01
@BasiC2k

Algorithms, algorithms, algorithms.

A
Alexander Skusnov, 2019-05-02
@AlexSku

There should be a variable "state" Positive values ​​- comfort, negative - discomfort, pain. 0 - indifference. You must come up with reactions yourself (plus - green LED, minus - red).

S
Sencis, 2019-10-18
@Userpc0101

Good point, pain is common negative feedback. But the question is fundamentally wrong. it is not clear what the board is supposed to do when in pain.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question