The forums are retiring and are now closed for new topics and comments. The existing content will remain online and accessible through 2020 to provide everyone the opportunity to save any relevant information. In the spring of 2021, these Community forums will be taken offline.

Search for Serial monitor in Topics

Serial monitor to LCD

How do I get the LoRa send and receive examples to go to lcd. I have checked the LCD with hello world and it's OK but I can not get the LoRa hello on the example to go to LCD. It will go to the monitor but not the LCD and if I can solve this then I can finish my project that I will post for everyone to see, use what ever.Thank youSteve

Question by laidlow7  

Arduino Serial monitor to LC

UPDATEI manage it to work, now i have a short, cross and continuity tester for cables.PM if u need the code.Best regards,Paul L.---------------------------------------------------------------------------------------------------------Hello everyone,Can some help me to change the code in order to use a push button to start the test and all the result to be moved from serial monitor to an LCD with I2C, the address of the LCD is (0x27) and it`s useing pin21_SCL, pin20_SDA 5V and GND. If its anyone with more experience then me and could do that, the help is welcome :)Download the Code <- here you will find the code named test28.ino and the LCD code that I used to test the LCD, and a text file with the pins used by the LCD.Thank you,Paul Lungoci

Question by LungociP    |  last reply

Controlling Arduino through the Serial Monitor

Http:// I find I need to tweak parameters in my arduino apps and I don't want to have to upload the code over and over again.  This code snippet lets me open a serial monitor and adjust special parameters "on the fly". I hope you find it useful.  I use it in every one of my robots!

Topic by aggrav8d  

RTC Alarm using serial monitor

Hi, I have an arduino UNO and RTC DS1307. I want to make an alarm that just displays on the serial monitor of arduino UNO. I can make the RTC show the right time on the serial monitor, however I want an alarm to go off on the serial monitor. Also, is there any way that I can change the alarm time on the serial monitor? Like I can type from my keyboard and the time changes? One more question, How can I make arduino do multitasks using RTC. Like when the alarm goes off, it can run a small DC motor and also a Pizep Buzzer.  Please help me with this, as I desperately need a help :((

Topic by Bam Boy    |  last reply

Reading rostopic value to arduino serial monitor?

Hello everyone, I am new to ros, I am able to print sensor values using rostopic. I'd like to read rostopic value to arduino and print on serial monitor for further processing. How can I do it? Thanks in advance.

Question by rosdino    |  last reply

How arduino shows output on Serial Monitor? Answered

Because inorder to display output of any microcontroller in Computer we have to Use MAX232 interface. Microcontroller uses TTL(Transistor Transistor Logic) and Computer Uses RS logic. Max 232 converts TTL into RS Logic so that the output of microcontroller will be displayed in computer. But there is no MAX232 used in arduino board. Then how Arduino is displaying output in serial monitor.

Question by Rajkumar2506    |  last reply

Serial communication on Arduino? Answered

I tested a QRD1114 reflective sensor using a voltage meter, and was working great. I was getting good responses from the sensor (one of the sensors I was using had a bad LED which was not working, but the sensor worked fine with an external IR LED that I had laying around.) But as soon as I hooked it up to an analog input pin of my arduino board, and used the serial communications to display the reading from the sensor on the serial monitor, every reading would be 1023 (which should be the highest possible reading) even when there wasn't anything near the sensor. I changed the pin, so I know it isn't a defective pin. I repeated the test with a photo cell and got similar results. what could be the problem, and what can I do about it?

Question by Higgs Boson    |  last reply

what is the value that obtained from serial monitor in arduino?? ? Answered

I working with my DIY sensor ( colour sensor) and i have no idea what the reading i obtained from the serial monitor in arduino software ? Anyone know? and how to change the value to voltage value? as i need to write down the voltage reading for my result part.

Question by OngE2    |  last reply

can i program a pic microcontroller with my second monitor port? Answered

Im thinking of building a pic programer, will my laptops external display port work?, i would perfer usb, is there a small usb programer?

Question by pwnag3    |  last reply

How to input NUMBERS through Arduino serial.monitor ???

Hello ... I would like to ask, how can my Arduino read/store a number that I sent through the serial.monitor ??? For example ... if I want to say to Arduino, how fast it should flash a LED or how fast should a motor turn. So it reads, what number I write to the serial.monitor and then use it. I was trying to find the answer in arduino forum, but I could not find it. What I was able to find are these infos : 1. I have to check, if it is a number (from 0-9) or a character ... (I have no problem with that) 2. it has to stored and then convert to number Thank you in advance. Zholy

Question by zholy    |  last reply

How to get rid of decimals or add them? Answered

So here's my code. void loop() {   int pot = analogRead(A0);   float xval = pot * (10.0 / 1023.0);   Serial.println(xval); } When I open up serial monitor, I get a number (1-10 depending on my potentiometer) and two decimals. How do I make go in whole number increments? 1, 2, 3, etc? Can you show me the code and explain it? Also, here's another example centimeters = (xval * 2.54); Serial.print(centimeters); In this example, I only get a whole number. Can somebody show me some code to make it show decimals? Explain some code? Thanks!

Question by HavocRC    |  last reply

are there any arduino codes that allow you to display the time with the serial monitor, and no external hardware?

I tried DateTime from the playground, but it doesnt seem to want to work. i made sure everything was working, and the code compiled correctly, but when i open the serial monitor, nothing is there. i made sure the baud rate was correct. im using arduino 0017, and vista

Question by lunchboxslayer27  

convert any CRT TV or monitor into a vector (XY) monitor?

NOTE: I since found a couple links that might shed some light on the question... From HackIt: New uses for old CRT monitors It would be very hard to do, but it is possible a CRT could be converted to a vector monitor. Perfect for playing Asteroids, perhaps under MAME. You would have to replace all the control circuits, probably with an FPGA and three ADCs (x/y/intensity). Posted at 8:58 am on Feb 25th, 2008 by MoJo Television and PC monitor experiments old cga/vga monitor to oscilloscope ? The inquiry: Maybe I am over-simplifying but I was reading one of those examples of hacking into a CRT's horizontal & vertical yoke controls to sync to music: and had the idea that it should be possible to create a DIY XY monitor (vector display like on an oscilloscope, Vectrex, Asteroids, etc.) for an Arduino or other uC, MAME or Vectrex emulator, from any TV or CRT, once you have hacked into the electron gun's yokes. My understanding being: Raster display: the horizontal yoke (an electromagnet) sweeps the electron gun from left to right turning on the beam wherever there's a "pixel" at that line (which lights up the phosphor at that point making it visible), then it starts over at the next line (vertical yoke moves down) and draws the next line, and so on, Vector display: instead of rendering a moving image frame-by-frame using top to bottom/left to right scanning, shapes are drawn directly to the screen by positioning the horizontal & vertical yokes at the starting point, the beam turns on, and the yokes repoint to the end point, thus "drawing" the line inbetween the 2 points (I would assume this is for straight lines, not sure if circles or arcs are possible?) then the beam turns off, and the yokes get re-positioned to the next line's starting point. I'm not sure what turns the beam on & off or what kind of timing might be involved, obviously that needs to be controlled somehow. Or for color, where instead of a single white (or green, amber, etc) phosphor exists per pixel, there are multiple (red, green, blue) per pixel, and the beam hits each one at varying strengths (or for a varying length of time?) to 'mix" the primaries to the desired color? I'm not sure how that gets handled in a color vector monitor, but I would assume it's something similar to raster? So if we can hack into a CRT's X/Y yokes and move them around with an audio signal, can we control the yokes more deliberately from a microcontroller to plot specific shapes or text, hence a vector display? For those audio/TV hacks, what is the audio signal doing to the yokes that causes them to move? Whatever it is - voltage, resistance, etc - this is what our device would have to control. Possible proof of concept version: make a device to control the yokes' position etch-a-sketch style with a couple of potentiometers, and turn on the beam with a switch or button. If you see a dot of light moving across the screen then it works. I am thinking the controller might need to be "calibrated" for the individual CRT? (Maybe build some kind of calibration mode into the device.) You might dedicate a microcontroller to driving the display - it could receive text or vector shape coordinates via serial, store the shapes to draw in its own memory, and persist or refresh the image independently, freeing up processing power for whatever device it's displaying for. Another idea would be maybe add some kind of way to read light pen's coordinates, thus making the CRT an input device that can be read from the microcontroller or PC (the Vectrex had a light pen right?)  [This would be a cool mod for the Arduino composite TVout as well.] So is this idea possible without a ridiculous amount of work & parts?  I may be dead wrong about how this stuff works (I'm sure that if this was possible, someone would have done it by now?) but figured it can't hurt** to put the idea out there. I have visions of 4-player vector Arduino pong, Asteroids, Tempest, PDP-1 Spacewar!, vector NES Duck Hunt, a vector etch-a-sketch or lightpen drawing or animation program, or vector Atari Video Music. Possibly an open source color vector games system. Or just a vector display system for any Arduino or microcontroller project, made from any TV. **WARNING: maybe it CAN hurt... Evidently hacking into any CRT can be deadly, you have to discharge the CRT and capacitors properly or you can get killed. So please be careful. This definitely is NOT for kids to try at home.

Question by apple-o    |  last reply

Arduino: How do I convert a decimal to ASCII? Answered

I'm following this Instructable which is about communicating between 2 Arduinos with RF modules. The received value is stored in buff[0]  and if this value is "1", a light switches on. However, I was going to experiment with sending values other that 1 or 0 from the other Arduino and first added Serial.println(but[0]) but in the serial monitor, it read 49, which if you treat as a decimal value and convert ASCII, you get "1". Equally, when "0" was sent from the sending Arduino, the monitor read 48, which is decimal of the ASCII value "1". I'm a bit confused as the if-statement below works fine. Basically, I want "1" and "0" to be printed to the serial monitor not 48 and 49. How do I do this? Thanks, theRedBryophyte Serial.println(buf[0]); if(buf[0]=='1'){   //some code here... }

Question by theredbryophyte    |  last reply

Will this laptop screen work with the kit I am going to buy?

IEC: S/N CN2401J3J801P5  I need to know if the below link to the product will work with the screen I have with the above serial number;=item19d6c69b82

Question by nerd7473    |  last reply

Counting Heartbeat with Arduino: Help with Code?

I got a premade heartbeat sensor which uses an IR led and an IR receiver to sense heartbeat. It gives out an analog signal, which i have connected to my Arduino's A0 pin, and uploaded the analogRead sketch to it(sends values to serial port too). Then to visualize the heartbeat i used a processing graph program that took the values from the serial port. When i place my finger on the sensor,  i get this graph shown below:   Yes its very clear, but can anyone help me with the code? it just needs to measure the beats per minute, and store it in a variable.  ** The spike in the grph showing the pulse varies in height sometimes. So the code should calbrate and all. Also there is a 1-2 second delay before the clean pulse comes...

Question by DangerousTim    |  last reply

can i send serial monitor data from ESP32 board to B+ via Bluetooth?

Hello guys how are you doing ?so I'm currently working on a project from long time ago that was devastating and depressing for me , i will tell you the idea and what progress I made through the past 6 weeks and see if you can lead or help me ,, so the idea is I'm currently connecting esp32 Arduino board with six senses , 5 of them are flex sensors and one of them is the mpu6050 sensor which reads the angle of x y and z I was able to connect those sensors to esp32 and read all the values on the serial monitor as you can see below the code and the serial monitor, now my next step that I didn't know how to do is : I want to send those data, the serial monitor data continuously every 6 second to raspberry pi via the Bluetooth of the esp32 to the Bluetooth of the raspberry pi in order to program those data , i want to program those data to an LCD and a speaker ,For example if I received the following values from the esp32 I want the Res pi to put a certain word to the LCD screen and and then convert it to speech through the speaker , I already connected the LCD to the raspberry pi. , but now how I can send the serial monitor data continuously to the pi so I can program it

Topic by bhyamen  

I've a problem in my arduino program. why the output in serial monitor everything is worth 0?

Bool;float A;float B;float C;float D;float volt1;float volt2;float volt3;float volt4;int a;int b;int c;int d; void setup (){ if (a, b, c, d >=3.2) { 1;}else{ 0;}Serial.begin(9600);}void loop(){ A = analogRead(A0); B = analogRead(A1); C = analogRead(A2); D = analogRead(A3); volt1 = (A*(4.883))/1000; volt2 = (B*(4.883))/1000; volt3 = (C*(4.883))/1000; volt4 = (D*(4.883))/1000; a = volt1; b = volt2; c = volt3; d = volt4; ((b&&c;)||(a&&c;)||(a&&b;))&&d;//this is a boolean logicSerial.println (a);Serial.println (b);Serial.println (c);Serial.println (d);delay (1000);}

Question by airlanggaal4    |  last reply

MicroController Programming Question

So...I have a serial port....and a serial cable (monitor cable) and so....what do I need to program a microchip? What parts/connectors do i need?

Topic by Joe426    |  last reply

Adding custom peripherals to your computer via the serial port

I built a switch for my serial port based on the lirc IR receiver design tested it with the program winLIRC. It is designed for recording IR signals, so all it does is measure the numbers of pulses and spaces. When I tap the switch I can see the according pulses and spaces on the screen, so I know it works.I'm wondering how I can add this switch as an extra key. Press when I press it a window minimizes, an icon flashes, it inserts the letter 'k', or just something.Are that programs that I can use to monitor all action on COM1?DCD = pin 1RTS = pin 7GND = pin 5resistor is 4k7diode is 1N4148

Topic by PR22  

Notifications from Android to Arduino via Bluetooth

I would like my phone to relay my notifications from the notification tray to an arduino. I had done alot of snooping around, and I have not found anything regarding doing that. Closest thing I had come to was sending notifications from the arduino itself, to the phone. But I want it the other way around. The idea is that it would display it to one of those 16x2 LCD displays, scrolling through whatever the notification says. I have yet to get the LCD, but in the meantime, I'd like to see about getting it to come through to the serial monitor. Does anyone know how to get android to do something like that?

Topic by Dashing Rainbow Dash    |  last reply

How do you build an arduino radar?

Hi Everyone, I saw on youtube that you can make an arduino radar using a ping ultrasonic sensor, an arduino, and a processing sketch. I have successfully gotten the ping sensor to rotate (180 degrees) on a servo and report the distance to the computer via the serial monitor but I need help converting it to a radar interface using processing. Can anyone help me write a processing sketch that would do it. Thanks in advance, Mr_E

Question by Mr_Electric    |  last reply

Arduino code Porting Please Help? Answered

Hi please can someone port this code from lcd - to serial output to pc thanks :) /*Arduino Controlled Voltage Monitor Code by Will Lyon 12/5/2010 Code for project Power House on TBCS*/ #include //Initialize the library with the numbers of the interface pins LiquidCrystal lcd(7, 8, 9, 10, 11, 12); void setup() {   lcd.begin(16, 2);                      //Set up the LCD's number of columns and rows   lcd.print("  POWER  HOUSE");           //First line opening message   lcd.setCursor(0, 1);   lcd.print("Desktop Pwr Unit");         //Second line opening message   delay(5000);   lcd.setCursor(0, 1);                   //Clear bottom line   lcd.print("                ");   lcd.setCursor(0,0);   lcd.print(" 3v    5v   12v");          //Update top line readout } void loop() {   lcd.setCursor(0, 1);   float f = analogRead(0) * 4.88 / 1023;   // 3.3 => 9.9   lcd.print(f, 2);                        // print float with two decimals   lcd.setCursor(6, 1);   float g = analogRead(1) * 8.5 / 1023;   // 5.0 => 9.9   lcd.print(g, 2);     lcd.setCursor(11, 1);   float h = analogRead(2) * 17.25 / 1023;  // 12.0 => 25.0   lcd.print(h, 2);   delay(1000); }

Question by Daniel Deacon    |  last reply

When I send multiple values (Y,Z) through serial monitoring, then the data will automatically becomes (0,0).

Hello everyone. I was using this code before with no trouble. But recently when I use the code, then it will set the data (0,0). I really can't understand why? I attached the photo of what I received in the serial monitor. you can see in the photo. for exampe when I give the value of (5,5), then automatically gives (0,0) again. it happens for other values as well. please help. I got headache. long Y,Z; void setup() { Serial.begin(9600); }void loop() { while (Serial.available()> 0) { Y = Serial.parseInt(); Z = Serial.parseInt(); Serial.print ("("); Serial.print ("Y"); Serial.print (","); Serial.print ("Z"); Serial.print (")"); Serial.print ("="); Serial.print ("("); Serial.print (Y); Serial.print (","); Serial.print (Z); Serial.println (")"); }}

Question by MojtabaM19  

What is the simplest way I could get a hobby motor to speed up & slow down proportionally with my computer's CPU usage?

Preferably Via usb...since my serial ports are all occupied, and they're almost a dead tech. I was looking around, I don't even know how to go about searching it because the only keywords I can think of to search for any kind of project near this would be "cpu monitor", And then google lists the next X results trying to sell me CPUs and LCD screens. Any help would be appreciated, please avoid leaving me with the only alternative buying an arduino or bread board. I'm categorizing this in microcontrollers because I have no clue how else to go about doing this, if anyone else has a simpler idea, or a diferent method, please mention it. Thanks -Spence

Question by mr monoply33    |  last reply

How to format instructions on the chess playing robot project?

I have been working on the project found on this instructable, and I can not figure out what to enter in the serial monitor. To be clear I have only built the x y, the motor assembly. So the only the code found in the folder in the zip file named motor controller. In other words, my question is what do I enter in the serial monitor to move a piece. Thank you in advance if you can help me with this.

Question by PersonP2    |  last reply

Arduino and esp8266

Hi, I am new to arduino and creating project where i connected arduino uno and esp8266 as follows: UNO --- ESP8266 RX ----- RX TX ----- TX GND --- GND 3.3V --- VCC 3.3V --- CH_PD I power arduino uno and it is working fine. i checked by uploading blink program. when i connect esp8266 to arduino uno and open serial monitor i am getting some garbage text which is shown in below screen shot. also when i connect esp8266 to uno the orange light is continuously blinking. no action on entering AT command in serial monitor. some one please let me know how to get it work.

Topic by sayedfar    |  last reply

Arduino NANO error uploading sketch. After attempted loading of NANO clone (ELEGOO) the IDE hangs -

The Com port was selected, old bootloader selected. Various error messages (will collect and add to post here). However the very strange thing is that the NANO is sending to the Serial Monitor at 115200 BPS the message"Loaded next response 1" continuously!OS is Win 10 64 bit - current version with all updates.USB Driver is USB Serial CH-340 version 3.5.2019.1 dated 1/30/2019.This appears to be a new issue that appeared after I attempted to run two instances of the IDE with two NANOs attached. One on COM4 and the other on COM11.I have deleted and reinstalled the driver - same issue.Going to try on another PC.Anyone have any ideas?

Question by Rozzer    |  last reply

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.

Question by TheFruktus    |  last reply


Https:// I have successfully made a 24 * 9 led matrix following the instructions on above link, which when I use with an arduino from a serial monitor I am able to display a scrolling text. However l want when one types a text and or numbers -maximum seven, they should be displayed permanently or stationary except of course if one decides to change the text and send again from the serial monitor. Kindly can someone send a full code for the task. I suppose you will change and update the code from the above link. My email address is :

Topic by NJORO1975    |  last reply

arduino uno R3 + ethernet shield as webserver

I am trying to load a webpage stored on SD card on the ethernet shield. I loaded the sketch webserver avalable in the library. THe output that i got on the serial monitor was server is at but i was unable to open the webpage any suggestions?? thank you

Topic by kavyamc    |  last reply

How do I play a song from my computer using arduino?

Hello! I am a maker beginner and I need some help!  :( I am trying to make a device that detects when it is moving and then plays a song from the computer. Right now I have an accelerometer from adafruit which is attached to the adafruit flora. the information is being displayed through the serial monitor and now I am struggling with trying to play an mp3 file when it hits a certain coordinate that is being displayed in the serial monitor.  does anyone know how they would go about it? Is there any tutorials online that I can search from?  I know it may be a simple question but I am not sure what to do... Thank you! 

Question by jvan27    |  last reply

Xbox 360 Mouse control via a PC. - Could it be done, and does anybody want to do it?

An idea and a question. Firstly. I have acquired an Xbox 360 ( oh yay.. ) but being a pc gamer, I never use it due to the control limitations. I can't kill anything with a paddle, whereas with a mouse I cannot be stopped. :] Now, I've searched and searched, and there are hardware modifications to allow the use of a mouse, but these are out of the question for myself and many others as I'd imagine. The idea: What I would like to do, or see done, is have a PC with software on it, and an adapter of some sort or another to run from the PC to an Xbox 360 USB port ( serial to USB data+ and data- ? ) The PC software would make the Xbox see the pc as a controller, from there the software on the pc could take inputted signals and output them to the xbox as though it was a regular controller.  I realize the software could be a fair challenge to make, but it would make some of us PC gamers fairly happy, being given the chance to whoop the buts of those on regular consoles.  The Question: Is anybody reading this capable of writing the software and making an adapter, and if someone is, would they be willing to do it? Thoughts: Perhaps an Xbox controller's signals could be monitored and mapped by watching the controller's output over USB. I am unsure if there is software to do this but I'd bet my house and left leg that it could be done via the Linux command line though.. ;) Would it be possible to connect two serial connections directly with the two USB data pins? A setup with minimal hardware would be ideal for most, if possible. ( referring to the things you need to build )  ^ - would it be fast enough? Any input would be appreciated.  -Jake

Question by jacob5680    |  last reply

ESP8266 has red led but not active after flashing

Hi Guys.I've been tinkering with ESP8266 for a couple of weeks now. It worked before the weekend, and now with only some code changes it stopped (but it does not seem to crash).My project: Tabletop clock with weather. For now I'm trying to get weather from openweather API via ESP8266. I actually managed to do the request, and now was trying to parse JSON, and at this point it stopped working.My setup: USB CP2104 CP2102 - UART TTL flashing stick Arduino Uno - only provides power to ESP (see below), RX/TX not connected.ESP8266 CH_PD and VCC powered from Arduino Uno 3.3V pin GPIO2 is connected to GND. The rest of pins are connected to the flashing stick.Problem: 1. I run flashing from Arduino IDE. 2. Compilation is ok, uploading is ok on 115200 baud, serial monitor is also 115200. 3. Sketch uploading progress is visible in IDE terminal, blue LED on ESP is rapidly blinking while uploading. 4. After upload is finished, I see something like "tail 8, checksum ... " in the serial monitor.Then I do not see anything in serial monitor. The red LED on ESP is very weak after flashing - the last time I tried to flash it - it is not visible with the lights on. The ESP does not connect to router (according to router info).Also one strange sideeffect - after flashing, wi-fi drops on my laptop.What may be the issue? Thanks.

Question by beshur  

LM35 temperature sensor on nodemcu esp8266

How can I just get 1 decimal instead of to using Arduino IDEhere is output from serial monitor in DegreeC= 25.24a part of the code int analogValue = analogRead(outputpin);float millivolts = (analogValue/1024.0) * 3300; //3300 is the voltage provided by NodeMCU float celsius = millivolts/12; Serial.print("in DegreeC= "); Serial.println(celsius);

Question by NenneD  

problem with making my Arduino Ethernet shield to communicate with the server

I have a problem making my Arduino Ethernet shield to communicate with the server, the result on the serial monitor is always: Not connected Cannot connect to Server #include #include //------------------------------------------------------------------------------- byte mac[] = { 0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED }; //MAC Address char server[] = ""; //pushingbox API server IPAddress ip(192,168,1,2); //Arduino IP address. Only used when DHCP is turned off. EthernetClient client; //define 'client' as object String data; //GET query with data float temp; //temp means temperature boolean cste = false; //------------------------------------------------------------------------------ void setup() {   Serial.begin(9600);   if (Ethernet.begin(mac) == 0) { Serial.println("Failed to configure Ethernet using DHCP"); Ethernet.begin(mac, ip);   }   delay(1000); } //------------------------------------------------------------------------------ void loop(){    int temp_ADC = analogRead(0); //read analog input on pin A0    temp = temp_ADC * 5.0 * 100.0/1024.0; // ADC to celcius conversion    tempData(); //packing GET query with data    Serial.println("connecting...");    if (client.connect(server, 80)) {      sendData();       cste = true; //connected = true    }    else{      Serial.println("connection failed");    }   // loop   while(cste){     if (client.available()) {    char c =; //save http header to c    Serial.print(c); //print http header to serial monitor     }     if (!client.connected()) {    Serial.println();    Serial.println("disconnecting.");           Serial.print("Temperature Sent :");           Serial.println(temp); //print sent value to serial monitor    client.stop();           cste = false;           data = ""; //data reset     }   }   delay(5000); // interval } void tempData(){   data+="";   data+="GET /pushingbox?devid=vB917B251887BF54&tempData;="; //GET request query to pushingbox API   data+=temp;   data+=" HTTP/1.1"; } void sendData(){   Serial.println("connected");   client.println(data);   client.println("Host:");   client.println("Connection: close");   client.println(); }

Topic by SoufianeG    |  last reply

Messed up =( No problem here

I'm having a problem with my Arduino IDE where I can't upload my programs. I have tried multiple version: 1.6.9, 1.6.13, 1.8.4, 1.8.5 but the problem is always there. To test each version I used a test program that should have said "Hi" in the serial monitor, but every test resulted in the following errors:If someone could please help me fix this problem, it would be grately appreciated!Thanks, Matt

Topic by Matt M    |  last reply

Problem with arduino PS2X livrary receiver

Hi! I' ve been using a ps2 wireless controller with arduino with the PS2X library for 3 days and it worked fine. After that i've tried to move the wiring to an arduino nano instead of the uno and it didn't work. Then I went back to the uno and realised that the receiver doesn't work anymore with the code. Cand someone help me? It says in the serial monitor" controller not found" . The receiver works fine on PC.

Question by SorinM12  

Arduino Clinometer for vehicle

I'm building a Clinometer for a vehicle, that will show roll & pitch, and log this data as well as yaw (skid). I'm using a 3 axis accelerometer with an Arduino, and am looking for ideas on improvements. I have the g forces for the 3 axis being displayed in the serial monitor, and am ready to display values on a LCD, but really thinking this should be graphics of a vehicle showing pitch and roll, like the old Jeep Clinometer I had as a teen.

Topic by sspence    |  last reply

How can i send 2 potentiometer values over xbee using arduino?( I mean in code)

Hi guys! I need help in sending 2 potentiometer values over xbee via 2 arduinos... I want to print those 2 pot values over serial monitor :) Do anyone had an idea about this? Would you mind sharing your ideas to me? :) Thanks, Michael

Question by GraffikeL    |  last reply

Help Interfacing ps3 controller with arduino wirelessly without computer. Answered

I want to purchase the dfrobotshop rover found here:( it is no fun without the goodies,which poses the challenge of controlling it with a ps3 controller wirelessly without a computer. If someone could tell me what hardware to use and get me receiving data from the controller via bluetooth in the serial monitor   It  would be greatly appreciated Thanks in advance,bye!

Question by Aperture Laboratories    |  last reply

Arduino morse code help?

There are two ideas that I would like to be put together on the arduino (since I'm a noob I don't have the programming skills); a morse code AM RADIO transmitter that you can use a keyer instead of the serial monitor to send your message.  Here is the website code for the transmitter part Here is the website code for the keying part How can this be done? Thanks for helping out.

Question by shortdiesel    |  last reply

Connect two computers through USB to use ports on other computer?

Can I connect my main computer, (Dell E310) to my work computer, (Dell GX1) to use the ports on teh GX1? My e310 doesnt have a serial or parallel port, and the GX1 has both. The GX1 is very slow, but has usb. My current setup prohibits me from simply transering my monitor and peripherals to the GX1. I have qemu, and VMware, if those are of any help... Help?... Tyeo

Topic by tyeo098    |  last reply

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?

Question by HavocRC    |  last reply

Need help making a door alarm that triggers actions on my computer.

What I'm trying to do is make a door alarm that would be connected to my computer and triggers a wav or mp3 and also sends a text message to my phone. I was thinking of maybe using an arduino that I have. I need a script or program that would monitor serial ports and call up a program. I'm am not sure how to go about doing this. If anyone has any experience with this sort of thing your help would be greatly appreciated.

Question by purpulhaze    |  last reply

HEY! I was trying to get 2 HC-SR04 to work together, such that i get the average of the 2 readings. but it doesnt work as expected and only displays 'OUT OF RANGE' on serial monitor. please help

This is my code:#define echo2 8#define trig2 9 #define LED1 2 // LED pin 2 #define echo 13 //ECHO pin 13 #define trig 10 //TRIG pin 10 float duration, distance, duration2, distance2, avg; //float command helps us to determine value of duration and distance in decimals void setup() { Serial.begin (9600); // setup ¯\_(ツ)_/¯ pinMode (echo, INPUT); pinMode (trig, OUTPUT); pinMode (LED1, OUTPUT);pinMode (echo2, INPUT);pinMode (trig2, OUTPUT);}void loop() { digitalWrite (LED1, LOW); digitalWrite (trig, LOW); digitalWrite (trig2, LOW); delayMicroseconds (2); digitalWrite (trig, HIGH); digitalWrite (trig2, HIGH); delayMicroseconds (10); digitalWrite (trig, LOW); digitalWrite (trig2, LOW);duration = pulseIn(echo ,HIGH); duration2 = pulseIn(echo2 , HIGH); distance = (duration/2) * 0.0343; distance2 = (duration2/2) * 0.0343; avg = (distance2/2 + distance/2); Serial.print ("Distance = "); if (avg>=400 || avg<=2) { // the formula of distance is duration of impulse divided by 2 multipled by speed of light in air meter per sec Serial.println ("OUT OF RANGE"); digitalWrite (LED1, HIGH); delay(50); digitalWrite(LED1,LOW); } else { Serial.print (avg); Serial.println("cm"); delay (150); } delay (150); }

Question by theHVguy    |  last reply

Does anyone know the pinout of this chip?

Hello fellow Arduino-ists I've got an old laser mouse (DELL M-UVDEL1) and I want to get my arduino uno or mega (I've got both) to read the data it sends out and print it to the serial monitor. First, can anyone tell me the pinout of the chip on the following picture:, bakside:, then I think I can work from there, unless anyone wants to help me even more by posting an example code, that would be great

Topic by mdanielsson1  

How Can I Reduce Current Without Dropping The Voltage?

Hello friends,                       i am making home automation with IR sensor , The problem is that the IR sensor sends random garbage values to arduino's serial monitor when connected to external power supply. The external power supply has output of 5v DC voltage and 2000mA current. The whole system worked perfectly when I take power from computer's USB port . The problem is how to reduce the current to 0 -500 mA of external power supply. thank you !

Topic by RakeshL1    |  last reply