I uploaded the exemple sketch to test the module (it start with Serial.begin(9600) So I configured the serial monitor at 9600 baud.)
Problem:
I excepted this response (like shown in the doc) : </s><i>
</i>sys_starting...
The init voltage is ...
82
Sensor ready.
Test begin...
sensor_value: 37 Fresh air
<e>
I got this :
</s><i>
</i>sys_starting...
Th
<e>
:?
I increased the baud rate in the code and the serial monitor; it show a little bit more every time but not at enough…
At 2 Millions baud:
</s><i>
</i>sys_starting...
The init voltage is ...
82
Sensor ready.
<e>
Why must I increase baud rate to 2 million to get this :shock: and why can’t I see everything at 9600 bauds ?
The Arduino pin numbers corresponding to the analog pins are 14 through 19. Note that these are Arduino pin numbers, and do not correspond to the physical pin numbers on the Atmega168 chip. The analog pins can be used identically to the digital pins, so for example, to set analog pin 0 to an output, and to set it HIGH, the code would look like this:
I have 2 arduino uno, for the serial chip, one is 16u2, it works well with the code and the other is 8u2 with the same issue as yours. what is the serial chip? is it atmega 8u2 or 16u2? thanks.