Show Posts
Pages: 1 [2] 3 4 5
16  Using Arduino / Displays / Re: New UTFT Lib on: December 02, 2012, 02:03:43 pm
Any 7" display suggested for this library?
17  Using Arduino / Project Guidance / Re: Reliable and programmable Wachdog on: November 11, 2012, 04:35:26 pm
Thanks all for the answers.

We use the ATmega's for PLC and CNC machines, so all for industrial use. Code lines are normally +3000 lines and normally are ok, but problem can happen also on hardware side.

Either the way I need to double check if an error was made, and if it happens evaluate it and act accordingly.
To give you an example: Remember when on old windows 98 machines (I think also on newer ones) when you just suddenly plugged out the power connector and restarted the computer again the SO knew you didn't powered off correctly? This is done because when the SO boots up it stores the error in non-volatile storage, and when you power down the SO it set this to "0" again.
Same happens with machines, if something strange happens, as it is a partially blind system, you need don't know where the motors or others are positioned or if an operator hand is in between of the axis travel.

I don't want a watch-dog reset, I can't do that. I want a watch-dog that can evaluate an execute a program based on the reported error. Or at least a watch-dog that halts completely the system an prints an error message.
We also don't use any PC, it is an standalone system.

So I wanted to share my thoughts and recollect any better idea, because ideas distributed across several people work much much better.

Thanks to all!
18  Using Arduino / Project Guidance / Reliable and programmable Wachdog on: November 11, 2012, 10:57:54 am
Hi, I'm trying to do a reliable and programmable Watchdog (think of it as an Industrial Watchdog).

I arrived to the conclusion that the best way to do it, is to attach a second ATmega (that can serve also as a co-processor for other tasks) which waits for a signal on "X" pin every "X" seconds, if it doesn't receive it then it executes the desired operation: Reset, print a message, alarm, etc.
The same will do the principal processor, so this way I can detect if it's the co-processor down.

I was also thinking that depending on which part of the loop the program is, I can write a value to a variable (Ex. a byte value) so if the processor/program freeze at this part, I can also print the error message.

Is there any better way to implement this? What I'm looking for is reliability.
19  Using Arduino / Programming Questions / Re: replace delay() on: November 07, 2012, 03:49:39 pm
Maybe I am doing it the wrong way, but: Why you don't use millis() instead?

I mean, when you set led1 ON, you do:

and for example if you want it ON for 250 ms:
if (millis>time1+250){
digitalWrite (led1,LOW);}

This way the loop it's never stopped.
20  Using Arduino / Displays / Re: 7" LCD or similar on: November 05, 2012, 03:15:09 am
Thanks doc_norway.

I got the SSD datashet and the TFT datasheet, I think modify the timing must be quite easy, but the ssd... I will do my best and let you know.

It must be not very difficult as far I can understand because the panel has the same resolution and chipset as one supported panel by UTFT but 7" instead of 5".

Will see...
21  Using Arduino / Displays / Re: 7" LCD or similar on: November 04, 2012, 05:34:01 pm
Hi all,

I think I bought a very similar LCD with the SSD controller and 7" and same screen resolution... so I suppose I will get the same errors.

doc_norway: Is there anything I could do in the UTFT library to support this screen?
22  Using Arduino / Displays / Re: 7" LCD or similar on: October 31, 2012, 12:06:49 pm
Nice! Ordered, Should have it on Monday.
23  Using Arduino / Displays / Re: 7" LCD or similar on: October 31, 2012, 03:15:32 am
Thanks so much for your answers.

The idea it's to use one Atmega for the screen and control panel interface (input buttons) and another ATmega for the motors and internal machine I/O.
So with the two ATmega I want to create a NC control system for machines.
And NC control it's like a CNC but closed, you don't have the ability to send G code outside, it is all pre-programmed.

I was looking also at the matrix LED displays, but even it can show a lot of text, the screen is too small.
24  Using Arduino / Displays / Re: 7" LCD or similar on: October 30, 2012, 04:45:34 pm
I was thinking in something like that:

I don't know if it has the controller/buffer integrated, for what I read yes, but I don't know at what level or if it is useful, I'm not an expert on this matter. smiley-lol.
25  Using Arduino / Displays / Re: Turn your Uno into a VGA output device! on: October 30, 2012, 04:35:40 pm
Maybe I'm completely wrong but: It is not possible to use a screen with buffer???
Something like the latch on 75HC595 Shift register IC. So you put in the buffer what you want to write, then activate the latch pin, and there is no need for refresh unless you need to change what is shown on the screen.

A screen like this will be perfect, because you can use relative big screens/resolutions with the Atmega IC's without overloading.
26  Using Arduino / Displays / 7" LCD or similar on: October 30, 2012, 04:16:29 pm

I have read a little on the forum about the use of big screens, and the common answer is that it is not possible due to image size on that big screen resolutions.

However, due to the amount of text I have to show (yes: only text), I need a big screen, something in the line of 7". I've found on RS a color LCD screen with 7" and tactile sensor for 70€. I think it needs a lot of pins, something like 16 or 18.
But: It is possible to do it with a Mega?

Any library suggested?
27  Using Arduino / Project Guidance / Re: Upgrading a golfing project to be sold commercially. on: October 29, 2012, 01:14:30 pm

28  International / Hardware / Re: Proyecto Arduino Mega 2560 como controladora industrial on: October 23, 2012, 12:06:48 pm
Alguien conoce algun software sencillo de usar para maquetar el cableado en placas perforadas de una cara de 2,54 mm. de separación?

Estoy pasando las pruebas individuales de las breadboards a una placa perforada de una cara y 2,54 mm. tamaño eurocard, y antes que liarme a soldar a lo loco los componentes, quisiera hacerme un esquema.
29  International / Español / Re: vinciDuino - un Arduino Leonardo hecho por gente del foro on: October 23, 2012, 10:47:33 am
Gracias por las respuestas.

En Ubunto hay que instalar algún driver? Es que al conectar-lo y darle al IDE, me sale como "Devie unknow" y que no encuentra el puerto "usb".
30  International / Hardware / Re: Proyecto Arduino Mega 2560 como controladora industrial on: October 23, 2012, 02:35:34 am
Ok, problema solucionado. Al final, como no, una tonteria: Cuando hacía las pruebas, conectaba los pines del Arduino a unos interruptores y demás que tenía a la breadboard, y justo estaban usando los pines 13, 12 y 11, por lo que al ser compartidos con los del ICSP daba error.
Así que: Moraleja: Desconecta los pines antes de hacer upload con ICSP.

Sobre los multiplexores, la idea es que para los que sirven para entradas, notifiquen via interrupción a la CPU que hay un cambio y por lo tanto se ejecute via interrupción la lectura de los integrados, todos ellos.
Pages: 1 [2] 3 4 5