Recent Posts

Pages: [1] 2 3 ... 10
Project Guidance / Re: Adding Code?
Last post by networkman - Today at 12:57 am
And do you still get errors when you try and compile the code?

If so then copy and paste the errors you get. Paste it like you would code for the forum.
I'm not getting any errors on the code I posted, just no temp. readings.

PS. now I've had 5mins to think, I realised and tested that using 6x pinchange interrupts works OK for this project, it doesn't look like I will need the faster external interrupts.

But I'm interested in the answer for the future.


Ando en busca de un proyecto,que me pueda servir para un transmisor de audio via bluetooth tipo telefono (comunicacion abierta de 2 vias),eh encontrado proyectos tipo walkie talkie pero ,a decir verdad este tipo de comunicacion no me ayuda por que no puedes hablar al mismo tiempo como si lo hicieras por telefono,es comunicacion uno a uno... tengo los arduino nano

LEDs and Multiplexing / Re: Newbie help ws2812b
Last post by alemartk - Today at 12:55 am
Hi everyone ,,,I'm looking for some help.this is killing meeeee...i need some help to get this code working ,,im trying to send commands via bluetooth and a button pin , but only one work at a time...i can't get the millis code together yet....can anyone help me out , i'm drowning already....
Hi all,

First of all, thanks for the instructions for flashing the modules.

Unfortunately, I had several issues with flashing the firmware on a module and, too sad, jailed one of mine... but finally, I was successful!
Perhabs my solution is helpful for someone.

@iBuddy85, thank you so much - this has been driving me crazy but your method worked for me! Windows 10 Pro, Arduino IDE 1.8.7, Pro Mini 3.3V with FTDI clone USB-Serial. Had already tried Uno direct and the modified Serial sketch further back in this thread. Didn't use capacitor on reset. Did follow ALL the steps in your method. Thanks again.
Project Guidance / Re: PID control wouldn't handl...
Last post by irtesam13 - Today at 12:53 am
The "run straight line" PID algorithm is the wrong one for that situation.
Well,then how do I make my bot take sharp 90 degree turns but use PID at the same time? :(
Sorry folks. My fault. JohnRob was right. Messy wiring. The xl6009 module has + and - In and Out.  I had connected the Out - to board earth and Not connected In-. Having corrected that it works perfectly. The mosfet works perfectly for the moment.
I'm controlling the current to the Leds by reducing the voltage. I want them dim. When I get the initial hook-up working with the software I'll look at currents and loads and so on. 

LEDs and Multiplexing / Re: Newbie help ws2812b
Last post by alemartk - Today at 12:47 am
int ledPin1 = 8;
unsigned long previousMillis1 = 0;
unsigned long previousMillis2 = 0;
unsigned long currentMillis = millis();
long OnTime1 = 10000;
long gTime = 5000;
int ledPin1 = 8;
int ledState1 = HIGH; 
int ledState2 = LOW;
const int garage = 10;
const int BOTON = 7;
int val = 0;
String voice;

void setup()
{ Serial.begin(9600);
  pinMode(ledPin1, OUTPUT);

 digitalWrite(garage, HIGH);
 digitalWrite(ledPin1, HIGH);

void loop()
{ while (Serial.available())
  char c =;
   voice += c;
  val = digitalRead(BOTON);
if (val == HIGH)
unsigned long currentMillis = millis();
 previousMillis2 = currentMillis;
 digitalWrite(garage, LOW);
 Serial.write ("pressed");
 digitalWrite(garage, HIGH);
 if (voice.length() > 0)
 //Revisa si es momento de apagar el LED
  unsigned long currentMillis = millis();
   if((voice == "hallway") && (ledState1 == HIGH - currentMillis - previousMillis1 >= OnTime1))
  {unsigned long currentMillis = millis();
    previousMillis1 = currentMillis;
     digitalWrite(ledPin1, LOW);
 else (digitalWrite(ledPin1, HIGH));
   unsigned long currentMillis = millis();
    previousMillis1 = currentMillis;
Generale / Re: Centrale idroelettrica
Last post by Gotovar - Today at 12:45 am
ammetto di aver formulato abbastanza male la domanda  :smiley-sweat:
ovviamente intendevo il riutilizzare la stessa acqua usata in precedenza oppure no, cioè usare un serbatoio in cui è possibile mettere nuovamente l'acqua o attaccare il tutto direttamente ad un rubinetto.
Ad ogni modo perdonatemi se a volte scrivo cose strane, pian piano ci arrivo anche io.  :D
Place a low forward voltage Diode (Schottky) in series to where the Battery power connects to the same positive point at the USB positive wire.
Only when the USB power is off or lower than the battery will the battery supply current...
Pages: [1] 2 3 ... 10