Recent Posts

Pages: [1] 2 3 ... 10
1
Thanks for the note and although I studied  Using millis() for timing.  A beginners guide but could not understand how to modify the current code, so this will be very appreciated if an expert who is familiar with programming correct the code that I can learn how to apply in my other projects. Thanks in advance for assistance
2
Would really love it if someone would just, maybe put the link to the MEGA2560 driver on the software page where it belongs... And while your at it post here to so we as end users whom spend  over $100.00 on kits can use the dang thing...

Thank you
3
Hardware / arduino pro micro problema upl...
Last post by albepancio - Today at 08:30 am
salve
non riesco a scriere sul mio arduino promicro riconosciuto come leonardo un file hex
con l ide e un tasto di reset riesco a caricarci uno degli esempi presenti , ma se da terminale uso avr
non cè modo di scriverci sopra.
ho proato con linux e con windows ma non va in nessuno dei due so.
il comando che do con win e questo ( suggerito da chi ha creato il file hex)
avrdude -p m32u4 -c avr109 -P comXX -U flash:w:xum1541-PROMICRO-v07.hex
oviamente combio le XX con il numero della porta
pero mi da errore non
Code: [Select]
Microsoft Windows XP [Versione 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

E:\Documents and Settings\Administrator>cd ..

E:\Documents and Settings>cd ..

E:\>cd avr

E:\avr>avrdude -p m32u4 -c avr109 -P com4 -U flash:w:xum1541-PROMICRO-v07.hex
avrdude: ser_open(): can't open device "\\.\com4": Impossibile trovare il file s
pecificato.


avrdude done.  Thank you.


E:\avr>avrdude -p m32u4 -c avr109 -P com5 -U flash:w:xum1541-PROMICRO-v07.hex

Connecting to programmer: .avrdude: butterfly_recv(): programmer is not respondi
ng

avrdude: butterfly_recv(): programmer is not responding
avrdude: ser_send(): write error: sorry no info avail
avrdude: butterfly_recv(): programmer is not responding
avrdude: ser_send(): write error: sorry no info avail
avrdude: butterfly_recv(): programmer is not responding
avrdude: butterfly_recv(): programmer is not responding
avrdude: ser_send(): write error: sorry no info avail
avrdude: butterfly_recv(): programmer is not responding
Found programmer: Id = " wÇG¥w "; type = Ó
    Software Version = ". ; Hardware Version = ö.\
avrdude: ser_send(): write error: sorry no info avail
avrdude: butterfly_recv(): programmer is not responding
avrdude: ser_send(): write error: sorry no info avail
avrdude: butterfly_recv(): programmer is not responding
avrdude: error: buffered memory access not supported. Maybe it isn't
a butterfly/AVR109 but a AVR910 device?
avrdude: initialization failed, rc=-1
         Double check connections and try again, or use -F to override
         this check.

avrdude: ser_send(): write error: sorry no info avail
avrdude: butterfly_recv(): programmer is not responding
avrdude: error: programmer did not respond to command: leave prog mode
avrdude: ser_send(): write error: sorry no info avail
avrdude: butterfly_recv(): programmer is not responding
avrdude: error: programmer did not respond to command: exit bootloader

avrdude done.  Thank you.


E:\avr>avrdude -p m32u4 -c avr109 -P com5 -U flash:w:xum1541-PROMICRO-v07.hex

Connecting to programmer: .avrdude: butterfly_recv(): programmer is not respondi
ng

avrdude: butterfly_recv(): programmer is not responding
avrdude: ser_send(): write error: sorry no info avail
avrdude: butterfly_recv(): programmer is not responding
avrdude: ser_send(): write error: sorry no info avail
avrdude: butterfly_recv(): programmer is not responding

qualche consiglio ? ho seguito delle guide ed usato anche degli scipt ( per linux) ma il risultato e sempre lo stesso , arduino e riconosciuto fra le periferiche
grazie mille
4
Deutsch / Re: Idee gesucht für Pumpe läu...
Last post by noiasca - Today at 08:28 am
ja außen anbringen,
nein nicht am Gehäuse sondern um ein Stromführendes kabel
https://de.wikipedia.org/wiki/Hall-Sensor






5
Anyone have the driver for this MEGA2560, didn't come with the install disk like I have come to EXPECT...

Thank you in advance...

Ken
6
Take a look at the techniques used for timing in Using millis() for timing.  A beginners guide,   Several things at the same time and look at the BlinkWithoutDelay example in the IDE.

Basically, save the value of millis() when the motor starts then test each time through loop() whether the required on period has elapsed.  Is so then stop the motor.  If not then keep going round loop()
7
I see that error




avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0xda
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0xda
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0xda
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0xda
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0xda
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0xda
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0xda
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0xda
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0xda
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0xda
8
Just use the button push to toggle.

if buttonState is LOW
stepsPerRevolution = -stepPerRevoltion
myStepper.step(stepsPerRevolution)
9
Français / Re: Bateau autonome Coller aux...
Last post by ArduinoFree - Today at 08:20 am
Salut

Peut-on changer les input / output comme l'on veut ?

ici l'actuel
Code: [Select]

// set pin numbers:
const int pingPin = 7;
const int DetecteurPin1 = 2; // the number of the pushbutton pin  Le numéro de l'épingle à commande automatique(presse-bouton)
const int DetecteurPin2 = 4;
const int moteur1 = 3; // the number of the motor pin    le (numéro l'épingle du moteur
const int moteur2 = 11;
const int pompe = 10; // declaration pompe au pin 10


Puis-je faire ceci pour bien ' ranger' les câbles sur la carte ?

 
Code: [Select]
// set pin numbers:
const int pingPin = 1;
const int DetecteurPin1 = 2; // the number of the pushbutton pin  Le numéro de l'épingle à commande automatique(presse-bouton)
const int DetecteurPin2 = 3;
const int moteur1 = 4; // the number of the motor pin    le (numéro l'épingle du moteur
const int moteur2 = 5;
const int pompe = 6; // déclaration pompe au pin 6
10
I build & sell a device that does what you're planning.
The biggest two problems - fouling of the sensor, and battery life.

Ensure your float/sensor is either self cleaning, of well protected from getting tangled with grass, weeds, mud etc.

My units use an SLA battery that provides mass to keep the units stable - and provide more than 3-days operation between charges (or solar operation).

of course - if like me, you use mobile communications - you need cellular coverage!
Pages: [1] 2 3 ... 10