我需要arduino 传感器检测气体,液体,固体(不晓得行不行)需要什么传感器。(请一一列举名称,型号,用途)还有制作飞行器和机械手臂(加上摄像头,和超声波测距)需要怎么做?
推荐回答
读取模拟口数据,在空气中为0,完全插入水中月700左右。void setup() { // initialize serial munication at 9600 bits per second: Serial.begin(9600);}// the loop routine runs over and over again forever:void loop() { // read the input on analog pin 0: int sensorValue = analogRead(A0); // print out the value you read: Serial.println(sensorValue); delay(1); // delay in between reads for stability}