Answer the question
In order to leave comments, you need to log in
A question for soldering iron specialists, microcontrollers and device creation?
Hello! I was very interested in this direction, I managed to find the basis (how to solder, what mistakes to avoid), but the question arose:
Various modules are sold on the Internet, ranging from a temperature sensor to an alcohol meter, and so, can you get information from all these modules? That is, connect any sensor, take the temperature, and connect it somehow to find out the temperature, how do you know if you can get information from the module in real time, or can this be done with any module sold on the Internet?
Answer the question
In order to leave comments, you need to log in
Depends on how the module works. Some modules process information, and some cannot work in real time due to physical reasons (chemical reaction rate). But most work in real time.
If the sensor, then use the ADC. It is in every microcontroller, well, or in almost every one. If digital, then SPI or I2C, while your microcontroller will be the master, and the module will be the slave. And not every MK has these interfaces. Both with the ADC and with interfaces, you yourself interrogate the sensor, for example, by interrupt (the ADC has finished measuring, an interrupt is generated, you process the data in the interrupt handler). Good luck!
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question