arduino

Hello sir, i am stuck with my arduino uno. in the manage driver list i cant see arduino uno's name so what to do please tell

Asked by maitrteya 3 years ago  |  last reply 3 years ago


arduino

Hi,    iam using the arduino uno in my project.The project is to display the temperature and humidity in lcd and ethernet and stored in the sd card in every 1 minute ,using the dht 22 sensor.But the lcd display is not working simultaneously with the sd .Hereby i am attaching the code.pls hlp me to trobleshoot the problem.

Posted by sruthys 3 years ago  |  last reply 10 months ago


Arduino

Hi guys, I simply want to use my arduino to controll a servo by using a ir remote. Ive got all the parts as a ir reciver and also the remote. Does anyone know a good tutorial based on the ir system and program?

Posted by Kamokaki 5 years ago


arduino

I want to construct a motor drive to run a cycle . i have arduino and hbridge with but i require a circuit diagram to connect and control it?.i wat to know the working , connecting and controlling conceots of it

Asked by Aniesh T M 6 years ago  |  last reply 6 years ago


arduino

I would like to meet how integrated the fuctions interrupts in the encoder for increase the count in the car What am I doing. help!

Posted by gabon 1 year ago  |  last reply 1 year ago


Arduino And Servo

Hi..  i want a motor which can drive my robot at humans normal walking speed.. and also whose speed can be controlled dynamically.. Can anyone plz suggest me such servo or any dc motor.. motor should be compatible with arduino uno..?? 

Posted by amolamol 3 years ago  |  last reply 3 years ago


Arduino Spycam

 I would like to build an Arduino controlled spy Camera platform. The Arduino will just have to switch the camera on or off when a motor is switched on. I will use a camera like (http://www.wtpl.co.in/buttoncamera.html) Any ideas on how to do this with some simple code? Code samples anyone? Kabir

Asked by mhkabir 9 years ago  |  last reply 3 months ago


Arduino + Stepper

Hi! I have an Arduino nano and a Minebea PM55L stepper motor and I have to connect these two together. I read the Arduino tutorials, and got a ULN2003 chip. The thing I am unsure of is the power supply and which wires of the motor do what or should be connected to what. There's 6 of them and I really don't want to fry anything if at all possible. Could somebody help out, please?

Posted by TashaDax 8 years ago  |  last reply 1 year ago


Arduino and Bluesmirf? Answered

HI, I have an arduino uno and I am trying to use a BlueSmirf to light up an LED. The problem I am having is that whenever I plug in the Bluesmirf, I cannot update the script on the arduino.  When I do, I recieve this error message :avrdude: stk500_getsync(): not in sync: resp=0x00. I have been able to connect the Bluesmirf to my computer, but I have not been able to get it to reply or to recieve data. Best Wishes Amantux

Asked by amantux 6 years ago  |  last reply 6 years ago


Gcode for arduino

So this is an idea but also a question. so I want to make a cnc but rather then going down the conventional way I want a plug and play system. the idea is to use something like https://i.ebayimg.com/images/g/d1cAAOSwXshaQF6k/s-...the things I want to add is its own driver and nano, 2 endstops and a rotary encoder.Are Arduino nano's capable of taking g-code, sending to nema while reading an encoder and endstops?also is there a way to have on the nano a limit on movement. so it knows its length (defined by user) and then if a code comes in that will make it go past the endstop it sends error code?also this needs to run on i2c or usb and synchronise with other similiar setups for better archs and such?

Asked by plucas1 10 months ago  |  last reply 10 months ago


Arduino code Answered

Hello, I have been trying to make code for my arduino. I would like code to tell my arduino to receive a servo signal from my rc receiver, then detect whether the signal is telling the esc to move forwards or backwards. If the signal is forwards, it simply relays that code to the ESC. If the signal tells the ESC to go backwards, then it sends a signal to go forwards at the speed it would have gone in reverse, while sending out a power source to power a relay. Chowmix12 came up with some code that may help and I put  "//" before all of the code that was not needed for his application to work. Also, this link may be helpful for multitasking.  #include Servo ThrottleServo; //int PWMpin = 2; // connect RC receiver here. //int ServoVal; //int RCinput; void setup() { //Serial.begin(9600); //ThrottleServo.attach(9); // attaches the servo on pin 9 to the servo object //ThrottleServo.write(97); // go to nuetral pinMode(13, OUTPUT); } void loop() { //RCinput = pulseIn(PWMpin, HIGH, 20000); //ServoVal = map(RCinput, 520, 2370, 0, 180); //if(RCinput== 0) { // Signal timed out! digitalWrite(13, HIGH); // ALERT! ThrottleServo.write(97); // Go to neutral throttle position } //else{ // digitalWrite(13, LOW); // everything's fine. // ThrottleServo.write(ServoVal); // Repeat the data to the truck's ESC // Serial.print(" PulseMicros "); // This part is used to debug the values for calibration // Serial.print(RCinput); //Serial.print(" ServoRead "); // Serial.println(ServoVal); // } //} My program so far is as follows. /* created 2005 by David A. Mellis and chowmix12 modified by Justin Baker */ #include const int relay =  10; Servo ThrottleServo; int ServoVal; int RCinput; int PWMpin=2; int relayState = LOW;       long previousMillis = 0;    long interval = 1000;          void setup() {   pinMode(relay, OUTPUT);  Serial.begin(9600); pinMode(9, OUTPUT);  } void loop() { RCinput = pulseIn(PWMpin, HIGH, 20000); ServoVal = map(RCinput, 520, 2370, 0, 180); if(ServoVal>90) { digitalWrite(9, HIGH); ThrottleServo.write(ServoVal); } else{ ServoVal=180-ServoVal; digitalWrite(9, HIGH); ThrottleServo.write(ServoVal); }   unsigned long currentMillis = millis();   if(currentMillis - previousMillis > interval) {        previousMillis = currentMillis;       if (ServoVal >= 90)       relayState = LOW;     else       relayState = HIGH; //this output will turn a mosfet off, turning the relay off       digitalWrite(relay, relayState);   } }

Asked by jbaker22 4 years ago  |  last reply 4 years ago


Arduino Code? Answered

Int redPin = 9; int greenPin = 10; int bluePin = 11; int buzzerPin = 7; int potPin = 1; int sensorPin = 0; long red = 0xFF0000; long green = 0x00FF00; long blue = 0x000080; int band = 10; // adjust for sensitivity void setup() {   pinMode(potPin, INPUT);   pinMode(sensorPin, INPUT);   pinMode(redPin, OUTPUT);   pinMode(greenPin, OUTPUT);   pinMode(bluePin, OUTPUT);   pinMode(buzzerPin, OUTPUT); } void loop() {     int gsr = analogRead(sensorPin);     int pot = analogRead(potPin);     if (gsr > pot + band)     {         setColor(red);         beep();     }     else if (gsr > 16;     int green = (rgb >> 8) & 0xFF;     int blue = rgb & 0xFF;     analogWrite(redPin, red);     analogWrite(greenPin, green);     analogWrite(bluePin, blue); } void beep() {     for (int i=0; i<1000; i++)     {         digitalWrite(buzzerPin, HIGH);         delayMicroseconds(100);         digitalWrite(buzzerPin, LOW);         delayMicroseconds(100);     } } The code does not compile properliy it says steColour was not defined in the scope.Its a lie detector code.

Asked by oallaa 6 years ago  |  last reply 6 years ago


Arduino Code?? Answered

I have created a code for the arduino breathalyzer and I wat to confirm that will it work properly so please someone who's good with this can do this for me.And yes the code compiles successfully but will it work as expexted.It should light up some of the 7 LEDs according to how much you drink.It also has a pot to calibrate the sensor and i will be using a MQ-3 alcohol sensor. here is the code: const int analogPin = 0;    // the pin that the potentiometer is attached to const int ledCount = 7;    // the number of LEDs in the bar graph int ledPins[] = { 7,6,5,4,3,2,1 // Here we have the number of LEDs to use in the BarGraph   };   void setup() {   for (int thisLed = 0; thisLed < ledCount; thisLed++) {     pinMode(ledPins[thisLed], OUTPUT);   }} void loop() {   //This is the code to light up LED's   int sensorReading = analogRead(analogPin);   int ledLevel = map(sensorReading, 500, 1023, 0, ledCount);   for (int thisLed = 0; thisLed < ledCount; thisLed++) {     if (thisLed < ledLevel) {       digitalWrite(ledPins[thisLed], HIGH);     }     else {       digitalWrite(ledPins[thisLed], LOW);     }  }}

Asked by Bot1398 6 years ago  |  last reply 6 years ago


Help with Arduino? Answered

Hey everyone,          I'm doing a project with the arduino and i just want an led to light if a PIR senses motion. I am using this sensor:     http://www.sparkfun.com/commerce/product_info.php?products_id=8630 I know I have everything hooked up right, my code is just wrong.(Yes, MOTOR is used for the LED) Can someone tell me what to do? Here is the code: //Motion Detecting Box-Second Attempt #define MOTOR 13 //Motor connected to pin 13 #define PIR 2   //Motion Sensor is connected to pin 2 void setup() {   pinMode(MOTOR, OUTPUT); //sets the digital pin as output     pinMode(PIR, INPUT);    //sets the digital pin as input   } void loop() {  digitalRead(PIR); //checks pin 2     if (PIR==LOW) {     digitalWrite(MOTOR, HIGH); //turn on Motor }  else {   digitalWrite(MOTOR, LOW); } }

Asked by Adum24 8 years ago  |  last reply 7 years ago


ARDUINO OSCILLOSCOPE?

Hey there, I have been working on a recent project to build an Arduino Oscilloscope interfaced with a 4X4 keypad membrane with Nokia 5110 LCD display.I have successful individual code fragments/portions which 1)Generate waves interfaced with the keyboard  2)Display the same on the Nokia LCD 5110 i am using the Arduino Due and the 1st part of my code generates waves on DAC1 with the code as follows:- #include "Waveforms.h" #include #include //Set the desired duty cycle in percentage double dc,t,a,d; long d_milli,d_micro,a_milli,a_micro,m,n; int stage =0; int sample_delay1; LiquidCrystal lcd(A2, A3, A4, A5, A6, A7); float sample_delay; String num1,num2; int wave1; String wave_name; double duty_cycle,k; const byte ROWS = 4; //four rows const byte COLS = 4; //four columns //define the cymbols on the buttons of the keypads char hexaKeys[ROWS][COLS] = {   {'1','2','3','A'},   {'4','5','6','B'},   {'7','8','9','C'},   {'.','0','#','D'} }; byte rowPins[ROWS] = {23,25,27,29}; //connect to the row pinouts of the keypad byte colPins[COLS] = {31,33,35,37}; //connect to the column pinouts of the keypad int i = 0; int sample; //initialize an instance of class NewKeypad Keypad customKeypad = Keypad( makeKeymap(hexaKeys), rowPins, colPins, ROWS, COLS); boolean in_setup = true; void setup() {   Serial.begin(9600);   analogWriteResolution(12);  // set the analog output resolution to 12 bit (4096 levels)   analogReadResolution(12);   lcd.begin(20,4);   char key = customKeypad.getKey();   lcd.setCursor(0, 0);   lcd.print("choose wave: ");   lcd.setCursor(0, 1);   lcd.print("A=Sine");   lcd.setCursor(8, 1);   lcd.print("B=Triangular");   lcd.setCursor(0, 2);   lcd.print("C=Sawtooth");   lcd.setCursor(11, 2);   lcd.print("D=Square");   while( true)   {         char key = customKeypad.getKey();         if(stage == 0)         {               Serial.println("in stage 0");               if(key == 'A' )               {                 wave1 = 0;                 lcd.clear();                 lcd.setCursor(0,0);                 lcd.print(" Sine?      ");                 wave_name ="Sinusoidal";                 Serial.println(wave_name);               }               else if(key == 'B')               {                 wave1 = 1;                 lcd.clear();                 lcd.setCursor(0,0);                 lcd.print("Triangular?");                 wave_name ="Triangular";                 Serial.println(wave_name);               }               else if(key == 'C')               {                 wave1 = 2;                 lcd.clear();                 lcd.setCursor(0,0);                 lcd.print("Sawtooth?  ");                 wave_name ="Sawtooth";                 Serial.println(wave_name);               }               else if(key == 'D')               {                 wave1 = 3;                 lcd.clear();                 lcd.setCursor(0,0);                 lcd.print("Square?    ");                 wave_name ="Square";                 Serial.println(wave_name);                               }               else if(key == '#')               {                 stage++;                 //lcd.clear();                 lcd.setCursor(0,1);                 lcd.print("Frequency=");                 Serial.println("Frequency=");               }         }        else if(stage == 1)         {               if(key != NO_KEY &&(key=='1'||key=='2'||key=='3'||key=='4'||key=='5'||key=='6'||key=='7'||key=='8'||key=='9'||key=='0'))               {                 num1 = num1 + key;                 //int numLength = num1.length();                 //to adjust one whitespace for operator                 lcd.setCursor(10,1);                 lcd.print(num1);               }                             else if(key == '#')               {                     k = num1.toInt();                     Serial.print(k);                                                                                        int sample_delay_int = 1000000/(k*120);                           float sample_delay_float = 1000000/(k*120);                           float difference= sample_delay_float-sample_delay_int;                           sample_delay1 = sample_delay_int - 6;                           if(difference > 0.5)                           {                             sample_delay1++;                           }                                                                               Serial.println(sample_delay1);                           lcd.clear();                           lcd.print(wave_name);                           lcd.setCursor(0,1);                           lcd.print("Frequency=");                           lcd.print(num1);                           lcd.print(" Hz");                                         break;                                       }                   }                                                 }       } void loop()   {   analogWrite(DAC1, waveformsTable[wave1][i] );    i++;   if(i == maxSamplesNum)  // Reset the counter to repeat the wave     i = 0;   else delayMicroseconds(sample_delay1);                   } Next, I input these waves from DAC1 into analog input A0 to display on the LCD with code as below:- #include #include #include #define DISPLAY_WIDTH 84 #define DISPLAY_HEIGHT 48 #define ARDUINO_PRECISION 1023.0 Adafruit_PCD8544 display = Adafruit_PCD8544(8,9,10,12,11); //Analog Pins int channelAI = A0;      // probe #define DELAY_POTENTIMETER //disabled it I don't have it connected #ifdef DELAY_POTENTIMETER int delayAI = A1;       // delay potentiometer #endif float delayVariable = 0; float scale = 0; int xCounter = 0; int yPosition = 0; int readings[DISPLAY_WIDTH+1]; int counter = 0; unsigned long drawtime = 0; unsigned long lastdraw = 0; int frames = 0; void setup(void) {   display.begin();   display.setContrast(30);// you might have a slightly different display so it might not be the optimal value for you   display.clearDisplay(); } void loop() {    #ifdef DELAY_POTENTIMETER   delayVariable = analogRead(delayAI);   delayVariable = (delayVariable/100);   #endif   scale = (float)(DISPLAY_HEIGHT-1)/ARDUINO_PRECISION;     //record readings   for(xCounter = 0; xCounter <= DISPLAY_WIDTH; xCounter++)   {                                     yPosition = analogRead(channelAI);     readings[xCounter] = (yPosition*scale);     #ifdef DELAY_POTENTIMETER     delay (delayVariable);     #endif   }     display.clearDisplay();   //Draw Voltage Ref Lines   display.drawLine( 10, 0, 10, DISPLAY_HEIGHT-1, BLACK);   display.drawLine( 5, (DISPLAY_HEIGHT-1)-(.2 *ARDUINO_PRECISION * scale), 10, (DISPLAY_HEIGHT-1)-(.2 *ARDUINO_PRECISION * scale), BLACK);   display.drawLine( 0, (DISPLAY_HEIGHT-1)-(.4 *ARDUINO_PRECISION * scale), 10, (DISPLAY_HEIGHT-1)-(.4 *ARDUINO_PRECISION * scale), BLACK);   display.drawLine( 5, (DISPLAY_HEIGHT-1)-(.6 *ARDUINO_PRECISION * scale), 10, (DISPLAY_HEIGHT-1)-(.6 *ARDUINO_PRECISION * scale), BLACK);   display.drawLine( 0, (DISPLAY_HEIGHT-1)-(.8 *ARDUINO_PRECISION * scale), 10, (DISPLAY_HEIGHT-1)-(.8 *ARDUINO_PRECISION * scale), BLACK);   //display.drawLine( 5, (DISPLAY_HEIGHT-1)-(.84 *ARDUINO_PRECISION * scale), 10, (DISPLAY_HEIGHT-1)-(.84 *ARDUINO_PRECISION * scale), BLACK);     //Draw Voltage Ref Numbers   display.setCursor(0,((DISPLAY_HEIGHT-1)-(.2 *ARDUINO_PRECISION * scale))-3);   display.print((int)(5.0*0.2));   display.setCursor(0,((DISPLAY_HEIGHT-1)-(.4 *ARDUINO_PRECISION * scale))-3);   display.print((int)(5.0*0.4));   display.setCursor(0,((DISPLAY_HEIGHT-1)-(.6 *ARDUINO_PRECISION * scale))-3);   display.print((int)(5.0*0.6));   display.setCursor(0,((DISPLAY_HEIGHT-1)-(.8 *ARDUINO_PRECISION * scale))-3);   display.print((int)(5.0*0.8));     for(xCounter = 0; xCounter <= DISPLAY_WIDTH; xCounter++)   {     display.drawPixel(xCounter, (DISPLAY_HEIGHT-1)-readings[xCounter], BLACK);     if(xCounter>1){       display.drawLine(xCounter-1, (DISPLAY_HEIGHT-1)-readings[xCounter-1], xCounter, (DISPLAY_HEIGHT-1)-readings[xCounter], BLACK);     }   }   //Draw FPS   display.setCursor((DISPLAY_WIDTH-1)-11,0);   display.print(frames);     //Draw Voltage   display.setCursor(((DISPLAY_WIDTH-1)/2),0);   display.print(analogRead(channelAI)/ARDUINO_PRECISION*5.0);     display.display();     //Calculate FPS   drawtime = micros();   frames=1000000/*a second*//(drawtime-lastdraw);   lastdraw = drawtime; } Now the problem arises when i try doing the 2 things on d same arduino due board. I got perfect results when i used arduino due and arduino uno simultaneously but have not been able to generate waves on the LCD using the same board. Is it possible to do the same. Can some1 help me incorporate the 2 programs into 1..Thanxx

Asked by ranjana_1 2 years ago  |  last reply 2 years ago


arduino Clones?

Are they really as good as arduino's?

Asked by Daniel Deacon 7 years ago  |  last reply 7 years ago


Arduino telemetry

How to send continuous data from ardiuno using GSM/GPRS module, i dont want SMS data transfer as it is very slow, data transfer must have a minimum rate of 8Kbps , any solutions ?

Posted by doraditya 5 years ago  |  last reply 5 years ago


Arduino Code?

I would like to understand this piece of Arduino code.             " delay(300L * 1000L); // 5 minutes. This can be changed to change increments " This is supposed to be a 5 min time period. 1000 = 1 second. 60 sec per min. 300 sec / 60.   Calculates by 300 / 60 = 5 minutes. What is the  " L " supposed to do? What does it represent?

Asked by WWC 6 years ago  |  last reply 6 years ago


Is there a cheaper alternative to arduino? Answered

What is the alternative, and what are the pros and cons compared to the arduino

Asked by sunny342 9 years ago  |  last reply 4 years ago


microcontroller on arduino board?

I am a newbie to arduino.I 've learnt atmega328 controllers are used on arduino.I am using arduino smd rev3 can someone please label it for me?  

Asked by manaswini1317 2 years ago  |  last reply 2 years ago


What is the Arduino bootloader ? Answered

What is the Arduino bootloader and do I need it if I am making my own Arduino?

Asked by Mr_Electric 8 years ago  |  last reply 7 years ago


2 sequences with arduino? Answered

I am a beginner and done a few of the beginner projects and have learned a little. My question is can you run 2 sequences at the same time with an arduino? Here is a example, I would like to run 6 leds random and the other 6 in a sequence both going on at the same time. Is that possible? John

Asked by slowguy 6 years ago  |  last reply 6 years ago


Arduino instructor wanted

Arduino instructor needed for summer course in NYC.      Contact davidg@cooper.edu  Include resume & experience.

Posted by davidgreenstein 5 years ago  |  last reply 5 years ago


Arduino gcode reader?

I can run my stepper motors just fine, but I can't interpret gcode.  Does anyone know of Arduino C code that can change gcode into x,y,z coordinates plus speed?

Asked by frasej 6 years ago  |  last reply 6 years ago


Current measurement with arduino

Hey I try to measure current with hall-sensor amploc 25A, it sense magnetic-fields, offset voltage is 2.5V and I use arduino uno. I get 519 value from analog pin and 37mV/A is hall sensor sensitivity. My formula is outputValue = ((((sensorValue*5000.0)/1023.0)-2500)/37 multimeter shows 0.112amps when I put load but I dont gett correct value on LCD Is my formula OK?

Posted by mattilaniko 3 years ago  |  last reply 3 years ago


Back that Arduino Up

Hello instructables, I am a student at High Tech High North County and we are working with arduinos in our Engineering class. Our project is to create a reverse sensor for a motor vehicle, we are having trouble finding a way to set up the sensor with the arduino. The sensor we are using is HC-SR04 Ultrasonic Ping range sensor. If you have any idea on how to do this, please reply. Thanks.

Posted by hthnc-student 6 years ago  |  last reply 6 years ago


Arduino automatic barrier

Hi , I need a little help on programming a arduino to complete a college project , I've to get a barrier to raise 90 degrees to allow a toy car to pass automatically, i would like to use a the motion sensor and a servo to do this but I dont know how to get one to trigger the other. I would like to know where to look up to get a idea of how to do this . This is my 1st post so sorry if this is in the wrong forum Thank you

Posted by DavidO242 1 year ago  |  last reply 1 year ago


4 Potentiometers with Arduino? Answered

Hey, I'm not understanding something here.  If I hook up a pot (left 9v, middle A0, right GND), I get a varying voltage into pin A0 on Arduino. Then Arduino converts this into whatever. Well when I hooked up 4 potentiometers parallel to the same battery, and had them on pins A0-A3, none of the pots worked. Whenever I turned one pot, it would change the value for all the others (i was using serial monitor). How do I correctly hook up four pots to Arduino?

Asked by HavocRC 5 years ago  |  last reply 5 years ago


Arduino Due not working? Answered

I tried to connect my Arduino Due to my pc to upload a program but it is not recognized by my computer. I updated the IDE to the latest that includes Due board selection, but I can't download drivers to use it. Nothing is listed in Device Manager and I tried both the programming port and the native port on the Due. Is it dead?

Asked by Arya42 3 years ago  |  last reply 3 years ago


DTMF Generator with Arduino

Hello mate, I have telephone with only receiver and no keypad. So, i need to generate DTMF tones to dial the number. Is it possible for me to generate a DTMF tone generator by programming arduino with the frequencies and attaching speaker to it? Also, how can i club two tones which are required to be sent at a single moment? Thank You. 

Posted by anuragkanase 7 years ago  |  last reply 1 year ago


New Arduino kits

Hey everybody, we just added some new Arduino kits and goodies.  We have robot car kits as well as Bluetooth controlled robot cars and  more! www.dx.com + FREE SHIPPING on all orders. Check everything out here. 

Posted by GadgetNut 6 years ago


WiFi Repeater with Arduino? Answered

Would it be possible to make a WiFi repeater with the equipment on this Instructable: https://www.instructables.com/id/LINUX-LEECH/ withe the addition of Arduino and a small LCD? It would be really awesome and may even lead onto cheap mesh networking! :D  Thanks for any help! :)

Asked by Sev the Sniper 7 years ago  |  last reply 6 years ago


max7219 arduino random

Hi does anyone know how it must work with the max7219, and arduino.a matrix of 8 x 8 led to a random to let go?? I have this set  http://www.ebay.com/itm/MAX7219-Dot-Led-Matrix-Module-MCU-LED-Display-Control-Module-Kit-For-Arduino-/141012140148?pt=LH_DefaultDomain_0&hash;=item20d4fa8074 who knows a sketch or want one for me????

Posted by bertus45 4 years ago


Arduino wifi sniffer

Is it possible to connect an Arduino Ethernet Shield R3 (official) to a wifi router then connect to a different router though the first router? I want to do this so I can make a robot that when it finds a known network it connects to it then dumps the data from the sd to an online server. Can anyone help me with this? I have an Arduino Uno R3 (official) and an Arduino Mega 2568 (clone).

Asked by tzq33tdq 5 years ago  |  last reply 5 years ago


Arduino to computer commands? Answered

I want to make arduino ultrasonic range meter and after it hits certain value to print command to my mackbook (to play a song) I think it could be possible with serial monitor, but i have no idea how to do this. Any help would be appreciated.

Asked by TheFruktus 5 years ago  |  last reply 3 years ago


arduino or rasberry pi ? Answered

Forgive me,i am new to arduino and rasberry  pi. I am deeply interested in building CNC's,3D Printers,Quad Copter's..... So a little research showed that we need arduino which would act like the control unit for this very purpose . But i have also come across some people who use parallel ports to control the machine (the processing is done on a computer) ""PS:- I might be wrong"". So if the parallel ports can indeed be used for all these without a arduino in between  ,wouldn't it  be better to get a "rasberry pi"  and  "USB to parallel port converter "    The advantages i am seeing are: less cost more processing power probably easily programmable Cons: we can get a lot of modules like (wireless......) which is made especially for an arduino  

Asked by chrissunny94 5 years ago  |  last reply 4 years ago


Arduino and Airport Security

Has anybody had any experience with taking an Arduino and electronics misc through airport security. Carry-on or baggage or in your in your shirt pocket? I suppose some ladder climber could make something of it for points seeing a bunch of wires and electronic type stuff. I am planning on a international flight in Feb this next year so i am investigating it now. Thanks W

Posted by WWC 6 years ago  |  last reply 6 years ago


BS2 programming with Arduino?

Is it possible to program a Parallax BS2 using arduino?

Asked by MACKattacksnipe 8 years ago


Different Modes and Arduino?

Hello! I had a question.  I want to have like 5 buttons and every time I press one button it runs a certain block of code over and over until I press another button. This way I can have different modes etc. mode 1, mode 2. . . Can somebody help me with the code please? Thanks

Posted by HavocRC 5 years ago  |  last reply 1 year ago


Arduino Dying out!!

Hello, I bought an Arduino about a year ago, and just now I noticed that whenever I plugged it into my computer, it turns on(of course), but then it slowly dies out. Can anyone help me diagnose this problem? 

Asked by vek11 5 years ago  |  last reply 5 years ago


Arduino soda fountain?

I would like to make a arduino soda fountain but i need some advice. Heres my plan Take an 8 channel relay board hook it up to the arduino. Then I take a 8 key keypad and hook to the arduino. I would buy 8 solenoid valves and hook them to relays. The valves would hold 1 water line and 6 flavors. Then i get stumped how do i get the last line to be carbonated water because if you had to take a soda stream to make the water it would take away from the effect of the machine. If any body knows how to do that i would love to hear I will also take any other advice Thanks Kaden

Asked by FarmerKJS 3 years ago  |  last reply 3 years ago


Arduino On/off button? Answered

Hey so I had a question. Can somebody post some code of how to make an LED come on when you press a button and stay on, then once you press the button again it goes off and stays off until you press the button again? Thanks!

Asked by HavocRC 5 years ago  |  last reply 3 years ago


Arduino as USB-client?

I was searching for something fun to make with my arduino when I came across this: http://www.practicalarduino.com/projects/virtual-usb-keyboard I tried to make it work but it didn't work for me. could that be because I used 3.3V zener diodes? If you made something according to the link did it work for you?  

Asked by theexternaldisk 7 years ago  |  last reply 7 years ago


Arduino SoftwareSerial problem. Answered

I recently purchased and assembled the sparkfun GPS shield, and an EM 406a GPS module.  I also have a parallax serial lcd module.  They both work, but when used in the same code, neither of them work.  They bot use the SoftwareSerial library, but they are on different pins.  Any help?

Asked by pianoman99a 5 years ago  |  last reply 2 years ago


Arduino High Frequency?

I have an Arduino Duemilanove and was wanting to know how and/or what I need to do to create a high frequency signal. I dont have a set frequency in mind but would rather know how to change it so I can gradually step it up until I get desired results.....Have looked at a lot of stuff on google for how to do this and most refer to a wiring.c file but mine appears to be an updated version to what they have...Anyways any help would be greatly appreciated =)?

Asked by afreeland 8 years ago  |  last reply 8 years ago


Arduino - Python GUI

Hi all, I'm using arduino for a while now. For my purposes I was using matalb to communicate with it. I want to move to python now. I started building my first python gui to control my arduino program. The problem: I'm trying to pass a sentence which contains python's entry values to arduino, but for some reason the arduino doesn't read it. The codes are written here. Arduino code #define LED 13 void setup() {   pinMode(LED, OUTPUT);   pinMode(2,OUTPUT);   Serial.begin(9600); } void loop() {   if (Serial.available()) {     char c = Serial.read();     if (c == 'H') {       digitalWrite(LED, HIGH);       digitalWrite(2,HIGH);     }     else if (c == 'L') {       digitalWrite(LED, LOW);       digitalWrite(2,LOW);     }   } } Python code from tkinter import * import serial import time ser = serial.Serial('com7', 9600)  # com7 need to be changed for linux ^%&*^$%&$%&$%^&###@@@ time.sleep(0.2) # ser.close() print('serial communication started') def pent(ard):     s = entry1.get()     c = bytes(s, 'utf-8')     ard.write(c)     time.sleep(0.5)     # ard.write(b'H')  # the b before 'H' is conversion to bytes. needed for arduino.     print("LED ON")     time.sleep(0.5)     ard.write(b'L')     print("LED OFF")     time.sleep(0.5) root = Tk() RTitle = root.title("LaserOdorPython") root.minsize(200, 200) root.maxsize(1400, 850) root.geometry("300x500") label1 = Label(root, text='Odor#\Laser', font=11) entry1 = Entry(root) label1.place(x=10, y=20, width=90, height=20); entry1.place(x=120, y=20, width=90, height=20) button1 = Button(root, text='single pulse', font=8, command=lambda: pent(ser)) button1.place(x=100, y=140, width=90, height=30) root.mainloop()  

Posted by torr.polakow 4 years ago


pulse nublers on arduino?

Hpw would you use an arduino to read a number from 1-10 (read which is high) on 10 pins then when another pin is high do the relevent humber of pulsces on another pin????

Asked by jcbed 7 years ago  |  last reply 7 years ago


working with relays and arduino

I am doing a project in which i need to switch 3 phase induction motor( star connected ) using relays one for each phase and 3 phase voltage in our country is 415v( phase to phase). so my question is can I use relay of  rating 250 volts 5 amps one across each phase and 1 phase supply in our country is 230v .

Asked by nanu146 5 years ago  |  last reply 5 years ago


Arduino and a RFID lock? Answered

I am trying to get the arduino to know when a certain RFID tag has been read.(so it can be used in a lock application) I tried taking the code array variable and seeing if it was equal to the the what showed up in the serial monitor window with the program on the arduino playground page.  But it came up with the error "exponent has no digits" .  So what would I have to use so that the arduino can interpret the "code" array and see if it is equal to a certain tag? I know that there are already door lock programs out there, but I like to know how programs work so I can learn from them and apply that to future projects. Thanks in Advance! AI

Asked by JaredsProjects 8 years ago  |  last reply 8 years ago


Arduino VS. OOPIC

Recently I have been seeing a lot of hype about the Arduino. But whatever happened to the OOPIC? I have an OOPIC and I love it! It has got to be the best microcontroller I have ever used. But am I using something outdated? Is it obsolete? What is the big deal about the Arduino? It seems I never here OOPIC any more. So if anyone can answer my questions, or at least tell me why everyone is using the Arduino, it would help me out. I guess I don't get the concept of the Arduino.

Posted by gimmelotsarobots 10 years ago  |  last reply 7 years ago