Overunity.com Archives is Temporarily on Read Mode Only!



Free Energy will change the World - Free Energy will stop Climate Change - Free Energy will give us hope
and we will not surrender until free energy will be enabled all over the world, to power planes, cars, ships and trains.
Free energy will help the poor to become independent of needing expensive fuels.
So all in all Free energy will bring far more peace to the world than any other invention has already brought to the world.
Those beautiful words were written by Stefan Hartmann/Owner/Admin at overunity.com
Unfortunately now, Stefan Hartmann is very ill and He needs our help
Stefan wanted that I have all these massive data to get it back online
even being as ill as Stefan is, he transferred all databases and folders
that without his help, this Forum Archives would have never been published here
so, please, as the Webmaster and Creator of these Archives, I am asking that you help him
by making a donation on the Paypal Button above.
You can visit us or register at my main site at:
Overunity Machines Forum



Pierre's 170W in 1600W out Looped Very impressive Build continued & moderated

Started by gotoluc, March 23, 2018, 10:12:45 AM

Previous topic - Next topic

0 Members and 7 Guests are viewing this topic.

pmgr

Quote from: listener191 on April 12, 2018, 04:12:17 AM
I have noted that using pin mode on digital pin 1 is actually using the UART port bit TX1 used for USB communication.

Perhaps we should shift all 30/36 pins down one i.e. 2 to 31/37?

Regards

L192
This is a very good point. As soon as the Arduino exits the bootloader and enters the sketch, it will no longer be possible to communicate with it through the UART port as it is used in the sketch.
So Luc, take the board out of the setup so all external wires are disconnected, and try uploading immediately after resetting the board (I am not too familiar with this specific board, so not sure how long the delay is before the bootloader exits and or if there is a reset button you can press if the board is already powered on). Maybe there is another way to make it stay in the bootloader and not execute the current sketch.
PmgR

pmgr

Actually, there is a reset button on the board, see attached image. Try pushing that and then immediately after uploading the sketch, or the other way around, start the sketch upload, then press the reset button.
PmgR


pmgr

I stand corrected. The Arduino talks to the computer over its own USB pins, not a TX/RX UART, see the schematic here

https://www.arduino.cc/en/uploads/Main/arduino-mega2560-schematic.pdf?

Only thing I can think of is that the Arduino does not stay long enough in the bootloader to establish communication with the PC. So try that reset button trick that I described in the previous post and play with the timing of pressing that button versus pressing the upload button on the PC.

PmgR

listener191

Quote from: pmgr on April 12, 2018, 11:20:12 AM
I stand corrected. The Arduino talks to the computer over its own USB pins, not a TX/RX UART, see the schematic here

https://www.arduino.cc/en/uploads/Main/arduino-mega2560-schematic.pdf?

Only thing I can think of is that the Arduino does not stay long enough in the bootloader to establish communication with the PC. So try that reset button trick that I described in the previous post and play with the timing of pressing that button versus pressing the upload button on the PC.

PmgR

Hi PmgR,

That's the schematic for the original arduino Mega 2560.

The Chinese imports use the CH340G chip for serial communication.

Tried to find a schematic for this board but failed.

Regards
L192