Recent Posts

Pages: [1] 2 3 ... 10
Project Guidance / Re: Read input to change an ou...
Last post by Slumpert - Today at 07:35 am
As a high level Yes or No question, can you output and input on a arduino at the EXACT same time the answer is no.

Can you do it within a millionth of a second of each other, almost.

How fast is that motor going to be spinning?
I'll send you a sketch as attachement.
Project Guidance / Re: Saving data more than EEPR...
Last post by tomk825 - Today at 07:33 am
I can imagine a replacement tail-light for your car, with "light show" rather than the normal boring on/off flash.   A simple matter of directing the 12V to a bunch of LEDs with a controlled.
Except - it might not be "street legal", so you want it to default to being boring, with some way to turn on the light show from the dashboard.  "briefly turn on the emergency flashers (which flash at a different rate)" sounds like a clever way to achieve this.

vaguely related device that detects power transition timing to enact different behavior:

Impressive detective work, good sir.
India / Re: New Arduino board from Ind...
Last post by federer440 - Today at 07:31 am
You TV Player Download can be done in case you want to watch your favorite shows.
Programming Questions / Re: Automatic Fish Feeder
Last post by mrExplore - Today at 07:27 am
Nice project, I'm thinking of building an automatic cat feeder, same principal.

But before you put time and effort into 3D printing an auger, get yourself one of these:

Look whats inside !

Project Guidance / Re: PROJECT IN/OUT
Last post by vishalramkhelawon - Today at 07:25 am
Thx 'Leongjerland, 'Dave-in', 'WvMarle'...

In Fact i'm working on a parking lot project which has a maximum of 100 cars parks.
What i need is to block the In Boom-gate after 100th car is in and Exit boom-gate will count exit vehicles which will decrease the Entry Counts eventually.. (A led 'on' for hundredth car in and off for 1-99 will be ok for me)
But sequence to count Entry and decreasing it by Exit seems complicated to me!!

Any Ideas Plz...
Project Guidance / Re: Rail Road Crossing Signal,...
Last post by Slumpert - Today at 07:23 am
I can't see your code on my iPad without your putting it in /code tags.

But off your description and what you want, I would have my void loop check if the sensor was triggered and if so set variable a variable to be current time in millis plus 3000 more.

Then my void loop will check the current time vs the variable time and if it's not past then execute flashing code without using delays by using additional variable based on millis.

Then loop

Once your laser is clear, the flashing with continue for the 3 seconds and then stop until the laser sensor gets triggered again.
>9v battery

Um....yeah you're gonna need something with a bit more oomph then that.

Try a 12V power supply instead of a 9V battery.
So I print by setting a cursor location and then lcd.print the variable or text.
That technique works for an LCD because there is logic inside the LCD to accommodate this. It is also needed because the LCD is a relatively slow device so minimising the amount of data sent to it.

That technique is not suitable for an LED matrix controlled by a chain of Max7219 chips, because to change anything you have to send all the data to the chip again. The amount of data you have to send is the same if the change is just one LED or all of them. So just send all the data again, you do not need the concept of a cursor.
Hardware / Re: Sistemi per aumentare i nu...
Last post by Claudio_FF - Today at 07:18 am
Quote from: brazoayeye
Non ho trovato informazioni su come la eeprom inizi a rovinarsi (una superato un certo limite ne fallisce molto o solo sporadicamente?)
Ho fatto uno stress test. Le celle hanno iniziato a scantinare dopo circa 10 milioni di scritture, cioè cento volte il limite minimo garantito. Il fallimento era random, possono reggere altre cento scritture come solo due, e immagino che il tutto peggiori continuano a scriverci su. Non ho verificato se la rilettura continua dava sempre lo stesso valore.

In ogni caso dividerei la memoria in blocchi da 4 unsigned long.
Nel primo blocco si scrive solo l'indice di quello in uso (basta un byte da 1 a 63)

In ogni blocco si scrivono tre volte i dati e il numero di volte che il blocco è stato scritto.

Arrivati a 83500 scritture si passa al blocco successivo, per un totale di 63*83500 = 5260500 scritture, e si ha ancora un 20% di margine sul minimo garantito.
Pages: [1] 2 3 ... 10