suchoudh / myArduino

0 stars 0 forks source link

potentiometer to arduino #1

Open suchoudh opened 4 years ago

suchoudh commented 4 years ago

Attaching potentiometer to analog read signal gives error as also need to reset the pins

Arduino: 1.8.11 (Linux), Board: "Arduino Uno"

Sketch uses 1898 bytes (5%) of program storage space. Maximum is 32256 bytes. Global variables use 188 bytes (9%) of dynamic memory, leaving 1860 bytes for local variables. Maximum is 2048 bytes. An error occurred while uploading the sketch avrdude: ser_open(): can't open device "/dev/ttyACM0": No such file or directory processing.app.SerialException: Error opening serial port '/dev/ttyACM0'. at processing.app.Serial.(Serial.java:147) at processing.app.Serial.(Serial.java:82) at processing.app.SerialMonitor$2.(SerialMonitor.java:131) at processing.app.SerialMonitor.open(SerialMonitor.java:131) at processing.app.AbstractMonitor.resume(AbstractMonitor.java:134) at processing.app.Editor.resumeOrCloseSerialMonitor(Editor.java:2107) at processing.app.Editor.access$1300(Editor.java:117) at processing.app.Editor$UploadHandler.run(Editor.java:2081) at java.lang.Thread.run(Thread.java:748) Caused by: jssc.SerialPortException: Port name - /dev/ttyACM0; Method name - openPort(); Exception type - Port not found. at jssc.SerialPort.openPort(SerialPort.java:167) at processing.app.Serial.(Serial.java:136) ... 8 more Error opening serial port '/dev/ttyACM0'.

This report would have more information with "Show verbose output during compilation" option enabled in File -> Preferences.

suchoudh commented 4 years ago

https://www.circuitbasics.com/how-to-set-up-the-dht11-humidity-sensor-on-an-arduino/

use the lib