2

You can't. The serial number is burned into the ATMega16U2 chip and is only available to the computer over the USB interface. There is no method for you to get it from the UART interface that connects the two MCUs together. To stop people copying your code there are two things you need to do: Don't allow anyone access to the source code or any compiled ...


2

Arduino UNO is using pin 0 and pin 1 to have serial with USB serial Communication. You can not use them to softserial. Change softserial to other pins. /Mikael


1

Here is an example of some code I used to read two encoders using pin change interrupts. This is possible to do with one ISR since they all share a common port. The key is it has to be short. As long as you can keep all 6 pins from your encoder on the same port, this should be easy to extend to 3 encoders. It might even work for four on one port. Or you ...


1

You can't. It's impossible. Or not as you have requested it, anyway. The Arduino can only talk over Serial, so you will have to have some software running on the PC that transfers data (however that data is generated) over serial to the Arduino to process. The only other option will be to have one of the Arduino boards that is capable of acting as a USB ...


1

In general that's possible. But you can't read the sd card through the arduino's usb port. Instead you have to read the sd card via another protocol, e.g. SPI (look for the apropriate library) and send it to the pc via serial. You'll need software on the pc side to write the content that was read from the arduino to a file. Take a look at the SD card ...


1

It would be very useful, but afaik this is not possible, since the Arduino sketch you write communicates to the PC via the serial interface only. The IDE/Arduino driver can use the USB to write your sketch and use the USB for communicating, but for sketches the USB (as direct medium) is not possible. The SD card will not show up as a specific drive/map/...


1

You have a problem with infinite recursion in this program: loop() calls Main_Loop(), which calls Left_Animation(), which calls Check_Button(), which calls LED_OFF_(), which calls Main_Loop(), which calls Left_Animation(), which calls Check_Button(), which calls LED_OFF_(), which calls Main_Loop(), which calls... This will pretty quickly exhaust the memory ...


Only top voted, non community-wiki answers of a minimum length are eligible