Recent Posts

Pages: 1 ... 6 7 [8] 9 10
71
Microcontrollers / Re: STM32, Maple and Maple min...
Last post by ahull - Feb 26, 2015, 10:59 pm
One final comment on the Servo lib for the time being...

Quote
* RC Servos expect a pulse every 20ms.  Since periods are set for
* entire timers, rather than individual channels, attach()ing a Servo
* to a pin can interfere with other pins associated with the same
* timer.  As always, your board's pin map is your friend.
... means for some combinations you may not be able to for example use Serial(1..3).println(blah) and any of the pins that are use the same timer as is used for the associated UART, as servo control pins. Other than that gotcha, it seems to work very well.

72
I have used that without bother.

Which order usb first or psu first

also is your pc a laptop or mains unit.
Hi - Power supply is plugged in and it works. Then plugged in the USB and it smoked. Two boards in a row. The PC is a mains unit, on a multihub.

I take it that the circuit looks basically ok?

The only other thing I can see is maybe if a pin shorted but it was on a polystyrene foam pad. BUT here is the thing. The ICII blew too OK? Why I ask. Then I looked. The VCC and Ground lead supplying the ICII LCD screen are on spade clips that are not insulated (but not touching as I can see). If they touched and I did not notice... could that take out the board AND the LCD screen?
73
Proyectos / Re: Gestión e indexación de re...
Last post by noter - Feb 26, 2015, 10:59 pm
Hola.
Gracias por la colaboración. Respecto de tus preguntas, te respondo.
La librería guarda los datos en formato binario. Hay que definir una estructura que representará los datos de un registro, pudiendo ésta contener cualquier tipo de dato numérico o array de datos de tamaño definido. Hay que tener en cuenta que no debes incluir en tu estructura punteros, pues sólo guardará el propio puntero y no los datos a los que apunta; es decir, que para cadenas por ejemplo deberás declararlas en formato char cadena[LONGITUD_FIJA] (guardará LONGITUD_FIJA caracteres) y no en formato char *cadena (sólo guardaría los dos bytes que apuntan a la cadena). Respetando esto, creo que tiene capacidad para guardar estructuras de datos complejas (subestructuras, arrays, etc...).
Está pensada (otra cosa es que cumpla lo esperado  :P ) para gran cantidad de registros y/o tamaño grande de registro; por lo que para cien usuarios (salvo que se guarden muchos datos por usuario) tal vez no notes beneficio con respecto al acceso secuencial, y sí notes retraso en la escritura de un nuevo registro (no es lo mismo escribir directamente al final del archivo que andar buscando, recolocando y escribiendo datos de un lugar a otro para mantener el orden. Todo es cuestión de probar en cada caso y usar lo que mejor convenga.
Respecto a lo de quitar la indexación, es precisamente la parte que me ha dado casi todo el trabajo. Para guardar estructuras sin indexar, te puede valer la Extended Database Library, aunque requiere una pequeña adaptación para utilizarla con SD (inicialmente estaba pensada para EEPROMs y demás). No obstante miraré si puedo sacar una versión "downgraded" (sin índices).
74
Programming Questions / Re: Arduino Serial communicati...
Last post by vaj4088 - Feb 26, 2015, 10:58 pm
Help us to help you.  You have not been clear about what you want to have happen.

Your code is clear but labeled as an example.  What is your REAL code?  Please use code tags, the scroll-like symbol in the tool bar.

Interestingly, the code defines led1 through led5 but then initializes pins 5 through 9 as outputs.

Your code makes a pin go high for 5 milliseconds when the appropriate character is received.  It is not clear what happens (or what should happen) if an inappropriate character is received.

What a high output represents and what a low output represents is unclear since no schematic has been provided.

I suspect that you need to see the Blink Without Delay example, because you should not be using delay(...) at all.  This comes up so frequently that the documentation for delay(...) should be changed to say that it is deprecated, and it should refer you to alternatives.  Think about it this way:  When you make coffee, do you sit and twiddle your fingers for five minutes?  Of course not!  You check the time that you started, check the current time frequently, and get your coffee when the current time minus the time to make coffee exceeds the time that you started.  Same with Arduino.
75
Generale / Re: Alcuni dubbi sugli stepper
Last post by Calamaro - Feb 26, 2015, 10:57 pm
si i motori da tergi li ho e li sto provando, ma preferirei trovare un motore fatto ad hoc!
76
Sensors / sensores ultrasonicos
Last post by JohnSkysolo11 - Feb 26, 2015, 10:57 pm
hola, disculpen necesito ayuda para poder conectar cuatro sensores ultrasónicos, ya logre hacerlo con uno y si funciona, pero no se que aditamento en el programa deba poner o como yo podría conectar mas de uno, muchas gracias pro su atención y ayuda
77
Where did you get the download from?
From Here http://www.wch.cn/downloads.php?name=pro&proid=5
78
Microcontrollers / Re: ATMega328P-PU runs slow on...
Last post by Coding Badly - Feb 26, 2015, 10:56 pm

Do not cross-post.  Threads merged.

79
Hardware / Arduino Uno TFT 3.2" e adattat...
Last post by Calamaro - Feb 26, 2015, 10:56 pm
Buonasera a tutti,

di recente mi sono tolto lo sfizio del display tft da 3.2" con adattatore per arduino UNO.

Ho scaricato tutta la documentazione e la libreria UTFT, ma non riesco a farlo funzionare.

Il display ha il controller ssd1289 e l'adattatore arduino-display è il tft01 che non fa altro che prendere i segnali di arduino e trasformarli da 5V a 3v3.

In accordo con le specifiche della libreria e con il mio hardware ho provato gli sketch di esempio ma ho sempre la schermata bianca.

negli sketch di prova ho messo questa linea settata secondo i miei parametri.

Code: [Select]

UTFT myGLCD(TFT01_32,A5,A4,A3,A2);


qualcuno di voi ha queste cose? avete fatto delle prove? dite che è meglio il mega per le prove?

Ho guardato con l'oscilloscopio se arrivano i segnali sui pin del display e arrivano quindi boh...
80
340

try this I think it is the windows version
Pages: 1 ... 6 7 [8] 9 10

Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy