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 9 Guests are viewing this topic.

pmgr

Another thing to try is to plug in a wall-outlet power plug (9V or 12V) into the Arduino instead of depending on the laptop USB 5V. Maybe the thing needs more than 500mA of current when programming and the USB on your laptop is only providing 500mA max.
PmgR

r2fpl

gotoluc:

This is "normal" problem with arduino.

1.Check power from USB.
2.Add power to Arduino +5V from power supply.
3.Driver is corrupt, but see good in view. Must reinstall with this program: see attachments.
Check version arduino (if version china maybe driver still problem)


ad.3:
Option/List all devices
Select Arduino port from select bar
Press Replace Driver

If make 1,2,3 steps correct Arduino go to normal programme.

Is possible corrupt Arduino because changes fuse bit. Little possible but possible. You can save make DFU process but is very problematic for new users.






listener191

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

TinselKoala

Quote from: gotoluc on April 11, 2018, 11:12:05 PM
Well, it looks like the Arduino board itself has a communication issue. The program is working but I can't upload any changes. See video.
So if someone can send me or buy me a replacement that would be great. Meanwhile I can test as is and need to know if I add a potentiometer (to vary frequency) is that part still in the program?

Fr. Eh bien, il semble que la carte Arduino elle-même a un problème de communication. Le programme fonctionne, mais je ne peux pas télécharger de modifications. Voir la vidéo
Donc si quelqu'un peut m'envoyer ou m'acheter un remplacement ce serait génial. En attendant je peux tester tel quel et j'ai besoin de savoir si j'ajoute un potentiomètre (pour faire varier la fréquence) cette partie est-elle encore dans le programme?

Video: https://youtu.be/8B2NOU0NaYw

Luc, have you tried unplugging all of the OUTPUT connections to the Mega and then reprogramming? It is barely possible that the current draw is too high during programming with all of the outputs capable of drawing current.

The fact that you've tried several laptops without success may mean that there is something wrong with the Mega itself, OR that there is something about the way you have it connected to the rest of the circuitry. Before you replace the Mega let's at least rule out the external connections.

More to follow:

TinselKoala

Quote from: pmgr on April 11, 2018, 11:27:00 PM
One more thing you should check is the serial port baud rate. You can change this under the device manager in Windows. I am not sure what the rate should be for the Arduino, but try the following rates:

9600, 14400, 19200, 28800, 38400, 57600, or 115200

It is extremely unlikely that this is the cause. Especially since Luc has checked different versions of Windows on different machines, and his friend used an Apple computer running OSX and still failed. I have never seen this port speed setting in Windows to have an effect on uploading to the board.

Quote

For the potentiometer, you can uncomment Pierre's old lines:



int y= analogRead(0); // transforme x en une valeur de 0 à 20 (millisecondes)
x= map(y,0,1000 ,1,100);

and then comment your x=50 line:
// x=5; //total loop delay is 20*x = 100ms. f=10Hz


The potentiometer has 3 leads. Two outer ones should be hooked up to GND and 5V and the center one should be hooked up to the analog 0 input.


Also, see: https://www.arduino.cc/reference/en/language/functions/analog-io/analogread/

PmgR

The ADC inputs of the Arduino return values between 0 (0 volts) and 1023 (5 volts, OR what is supplied to A_ref pin). So for full range of the pot setting the map() statement should go from 0 to 1023, not stop at 1000. Otherwise values of the pot when adjusted near the 5v end will give strange results.
Like this:   
x= map(y,0,1023 ,1,100);

Also, in my previous code revisions I've shown where this statement goes for realtime speed control (don't have to finish one full loop before speed setting takes effect).

More follows: