Recent Posts

Pages: [1] 2 3 ... 10
1
Deutsch / Re: FileNamen werden nicht vol...
Last post by combie - Today at 07:21 am
Quote
void FilesEinlesen(File pfad, int numTabs)
Vorsicht Falle: Das ruft sich rekursiv auf.

2
Project Guidance / Re: Multiple LED hoops
Last post by GoForSmoke - Today at 07:12 am
If your RF message addresses one or a group of hoops and your hoops know their names and affiliations then a single RF channel should do for all. Keep the names short, 1 or 2 chars and the messages will go quick. 
3
Removed.
And simplify void loop, to see the return.

Code: [Select]
void loop() {
  if (Serial1.available()) {
    Serial1.write((char)Serial1.read());
  }
}


I noticed the following:

If the IDE is open, I get the return correctly.

But if the IDE is closed, I receive the return, but as an unknown character, as if the baud was wrong, understand?
4
I recently installed Arduino 1.6.10 on my mac and it works fine; however I am trying to program it using python from the terminal. I was told to install pyserial but it still does not work.
5
Programming Questions / Re: pushbutton logic
Last post by MorganS - Today at 07:04 am
I would use a for() loop to cycle through all the buttons and count how many are pushed.
Code: [Select]
int buttonArray[] = {2,3,4,5,6,7,8}; //use your own pin assignments here
void setup(){
  for(int i=0; i<sizeof(buttonArray)/sizeof(buttonArray[0]; i++) {
    pinMode(buttonArray[i], INPUT_PULLUP);
  }
}
void loop(){
  int buttonPressed;
  int countButtonPressed = 0;
  for(int i=0; i<sizeof(buttonArray)/sizeof(buttonArray[0]; i++) {
    if(digitalRead(buttonArray[i]) == LOW) {
      buttonPressed = i;
      countButtonPressed++;
  }
  if(countButtonPressed == 0){
    //do nothing
  } else if(countButtonPressed == 1){
    //do something
  } else {
    //emergency stop
  }
}
6
Help me
I want to Conevert String to HEX
Ex. I send FF from Serial monitor

It's show output FF in HEX
and Show binary convert 11111111

Sorry my english not strenght     

7
Sensors / Re: proximity sensor (range up...
Last post by himas - Today at 06:57 am
sorry for the less details ..... i want to  make alert sound if someone enter specific area that sensor cover (70m straight line)
8
Software / Re: libreria wire
Last post by gpb01 - Today at 06:56 am
La libreria è nell'IDE ... TU non la trovi, (... è all'interno del "Core" di Arduino), ma c'è quindi NON devi fare altro che:

#include <Wire.h>

in testa al programma.

Guglielmo

P.S.: Ti prego inoltre di scrivere queste cose nel thread e NON usare il "Report a Moderatore" che serve per le violazioni del regolamneto o altri casi gravi di segnalazione di post. Grazie.
9
hi.......
i have made a circuit for controlling home appliances like light fan etc.
when i control lightning load arduino works fine but when control fan or operate fan after two or three time operation it hangs/freeze the arduino.
i m using atmega 328 ic, uln2003, 12v relay for controlling 230v ac load.
10
Project Guidance / Re: Which Arduino to Buy?
Last post by GoForSmoke - Today at 06:53 am
If you are going to use shields, buy an Uno. If you are going to build a circuit on a breadboard, buy a Nano. You can't plug an Uno into a breadboard.
I agree, the ratnest level going from Uno headers over to a breadboard is avoided.

But for shields (generally not my bag) and *Compatibility!* the Uno is it, a DIP 328P Uno lets you replace the chip (needs to be bootloaded which you can do with a working Arduino and cheap gear) when you've burned a pin (it can happen) or want to make end-products and not lose your development board.   

If you buy a knockoff then at least donate extra when you get the Arduino software.
Pages: [1] 2 3 ... 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