Recent Posts

Pages: [1] 2 3 ... 10
1
To output a value that transitions between "old" and "new" in steps, something like this will work:

Code: [Select]

  float old = (something);
  float new = (something else);
  float delta = (new - old)/intervals;
  for (int x=0; x<intervals; x++) {
  output = old + x*delta;
  delay(somemillis);  //note that using delay() is frowned upon
 }

Thanks for the response, I will try to implement it (without delays tho)
2
Hardware / Re: Mi arduino UNO tiene un co...
Last post by Lucario448 - Today at 06:57 pm
Si aún con TODOS los pines libres sucede, deberás realizar un inspección visual detallada de toda la placa.

Primero límpiala con alcohol, luego busca puntos sospechosos como puentes de soldadura o pistas paralelas que lleguen a tocarse.
También puedes usar un multímetro en modo de resistencia (en escala de ohms) o continuidad (en este último algunos tienen buzzer). Con todos los pines libres y teniendo un extremo siempre tocando tierra (GND), usa el otro extremo para tocar todos los puntos y pines de circuitos integrados que están conectados a la línea de voltaje (la de los 5v, no la del VIn); si en alguno de estos hay casi 0 ohms de resistencia (se detecta continuidad), entonces ahí hay un corto circuito.
3
I am totally new to the Arduino IDE / Arduino.
I can not seem to get my communications set up properly.

My board is an Arduino PRO.


I have two different USBASP programmers.
One generic and one V2.0 LC Technology.
The drivers are libusbK USB Devices / USBasp

I also have a FTDI Programmer.
The driver is FTDI 8/16/2017 2..12.28.0 on COM6


When I try to communicate using the FTDI programmer
I have used the Serial Monitor on COM6 to run the Loop Back Test
This works fine. I am able to send and receive characters.
For this I am setup as follows:
Board: "Arduino Pro or Pro Mini"
Processor: "ATmega 328 (5V, 16Mhz)"
Port: "COM 6"
Programmer: "USBasp"

When I try to "Upload Using Programmer"
I receive "Not able to upload
I am using the simple "Blink" sketch and it does compile properly.
IDE also reports "Could not find USB device with vid=0x16c0 pid= 0x5dc product = USBasp




When I try to run a loopback test using either of the USBASP devices it does not work.
IDE reports "Board is not available"
Port option is grayed out.
I also can not upload using either of these.


I would ultimately like to use either of the USBASP devices to upload.
I don't seem to be able to get the right setup options to use any of these?

Any assistance would be much appreciated.
4
Sounds like this is not a true servo but a continuous one if the wires get "tangled up".
5
Proyectos / Re: pruebas de aceite de motor...
Last post by surbyte - Today at 06:54 pm
Supongo que no leíste las normas del foro, y porque lo digo? Por que, no dices mucho mas que lo que el título dice.

Quote
me comunico de Comandos Shuttle de Mexicali BC
Parece ser una empresa de transporte.. algo que no has comentado.

Quote
se planea un aparato que indique la calidad con la que se maneja el aceite que estamos utilizando en nuestra empresa
Dime como esperas hacerlo? no hablo del arduino sino de que pruebas esperas hacer para poder garantizar la calidad del aceite.
Solo tres cosas puedo decir sin ir a buscar por internet:
1. medir la viscosidad.
2. de algun modo medir las partículas disueltas.
3. color esperable del aceite

Si puedes aportar algo mas seria util.
6
Generale / Re: Arduino e SSR
Last post by uwefed - Today at 06:54 pm
Ciao Zamundo

Ci sono diversi tipi di SSR.

Il modello "SSR-40DA" puó essere pilotato con una tensione continua tra 3V e 24V e a 12V assorbe 7,5mA. Dirrei che puoi collegare quel SSR direttamente all'uscita di Arduino.

Ciao Uwe
7
Project Guidance / Re: Weather Station?
Last post by PaulRB - Today at 06:54 pm
Pitfalls & complications: it's going to cost 10 times what my station costed; it needs a 12V power supply; it needs an ethernet connection.

I thought you said cost was a consideration. Davis equipment is great quality & accurate, but by no means cheap.

Perhaps if you describe what features it has that make it perfect for you, we can discuss other simpler, cheaper ways to achieve the same things.
8
General Electronics / Re: transformer question
Last post by septillion - Today at 06:53 pm
@TomGeorge, you're right. If it's center tapped you can't. 0:-)
9
Oke here is the code, I don't have the microphone implemented yet
10
Are you using a Leonardo? If not, that initial while section can removed.
Pages: [1] 2 3 ... 10