Category : arduino-uno

I can’t upload my code to my uno. I already restart my board, update the module, reinstall the IDE and there is no input on the Tx/Rx pins. I try to upload an empty file that only have void loop and void setup also failed. An error occurred while uploading the sketch C:UsersHPAppDataLocalArduino15packagesarduinotoolsavrdude.3.0-arduino17/bin/avrdude -CC:UsersHPAppDataLocalArduino15packagesarduinotoolsavrdude.3.0-arduino17/etc/avrdude.conf -v ..

Read more

I’m having issues with Arduino and RPI3 serial communication, it’ll become unresponsive after a little time. RPI3 python code import serial import time if __name__ == ‘__main__’: ser = serial.Serial(‘/dev/ttyACM0’, 9600, timeout=1, writeTimeout=0) ser.flush() last = "onn" while True: last = "onn" if last == "offn" else "offn" ser.write(last.encode()) print(last) time.sleep(0.5) Arduino code const int ..

Read more

Why am I having extra character printed in serial port? See the attached screenshot, please. Extra character in my Nextion command see circled area There is 0x1A received and I am not sending carriage return. I developed a code to implement communication between nextion display and ATmega328P over serial port. The issue at hand, in ..

Read more

I ordered a sensor that measures three parameters at specific register addresses. The sensor uses a modbus protocol for communication (RS 485). I use the arduino as master and the sensor as slave. Since I don’t have the sensor yet, there is a software (Modsim32) running on my windows 10 computer that allows me to ..

Read more