-
Notifications
You must be signed in to change notification settings - Fork 169
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is it possible to use an Arduino DUE or Zero? #14
Comments
The exe file will instantly close if you try to upload to a DUE, I tried it and it said "invalid parameter". It seems as if it only supports the UNO and Lenardo. |
With some minor changes to the sketch, I got it to run on a ESP8266, which is not even a real Arduino, so I would think you could get it to run on a DUE or Zero. You just need to map the DD, DC, RESET and LED pins to correct pins on your board, and make sure you are using the right serial port (for dual USB boards). The only reason the windows program would return "invalid parameter" is if you didn't specify all the arguments. The UNO/Leonardo switch is not optional, it really just means whether to assert DTR (0 | 1) on the serial port based on the board you are using. |
I haven't tried with a DUE or a ZERO, but I used a ESP8266 as well, and even a NANO, so it's definitely doable without much fuss, Just change the pinout as needed and check the DTR on the board. |
@nullp0tr @linpp I wired up a Wemos D1 Mini using pins CCloader doesn't get a response from the Wemos. Using the correct com port. I'm sure it's something minor I missed when compiling the code for the Wemos. Any help would be greatly appreciated. |
@DirtyEngineer Note that on my ESP devkit, D4 is the same as LED_BUILTIN (GPIO 2), so I cannot use D4 for this sketch. Here's the mapping I used for a v3 devkit, it should also work for your WeMos D1 mini: int DD = D3; |
@linpp Thank you for bearing with me and taking the time to clarify this. Much appreciated. Cheers |
From the little that I have analyzed of the code, there is no exclusive nail of the Arduino UNO, therefore it seems perfectly possible to use an Arduino DUE, but before starting, I would like to have this answer on your part. What do you think? do you see something that implies that such a code is used directly on Arduino DUE or Zero? And even if you think it's complex to carry it?
The advantage of using DUE or Zero is the voltage compatibility.
The text was updated successfully, but these errors were encountered: