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 in Topics


Serial Port Prototypes

Has anyone made a serial port interface? I would like to build a rpm meter using a serial port of my laptop. The schematic should be easy but I can not find any information on it. Any ideas? Thanks, Brian

Topic by bsamc2000    |  last reply


plot serial data? Answered

Hello  i need to know how to plot serial data on computer , i have a data that comes from sonar sensor via xbeee to pin 19 rx on arduino mega , i can read those value but i need to plot it versus time and save its value  for pid results. i tried simplot and it work but it dosent save data, and im stuck on matlab and i couldnt make it work.

Question by adiga123    |  last reply


Serial to USB cable?

I have a serial cable for my Garmin Etrex, one side a serial plug the other goes to my GPSR. I am about to get rid of my desktop and only use my laptops but I don't have a serial port on either. Knowing this the serial cable is useless unless I spend another $40 - $50 on a "Serial to USB Converter". So, I cut it to see what and how many wires are inside of it and found only three. I was thinking of making my own cable but I don't understand the difference between the two ports. I saw the GPS 'ible here and it's no help unless you don't have the serial cable already... Here are my questions:1. As long as I connect the proper data in, data out and ground to the USB cable shouldn't it work?2. Are serial ports and USB ports that much different?I read a lot on the pfrancs website and i noticed a few of the connectors looked like they may have had USB cables hooked to them. I've searched and searched but came up with squat! If you have a really good understanding about USB and serial ports can you please help me or direct me to someone who can? Thanks in advance!

Topic by martymunch    |  last reply


Serial port not found?

I tried to use my arduino today but COM3 couldn't be found. I tried it with older versions and other USB ports but it still didn't work. Anybody knows how to fix it?

Question by yonch    |  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


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  


CP2101 USB to serial IC

Sparkfun makes an excellent breakout board for Silicon Laboratories' CP2101 IC. It looks like this board could be used to connect a PC to your microprocessor through a USB port without having to use a MAX232 IC to convert the TTL voltage levels to the serial port voltage levels and then a USB to serial converter. Drivers are available so the PC sees the CP2101 as a COM port so hyper-terminal could be used to communicate with the microP. The 'S' in USB stands for serial, it should would be nice to connect a PC to a microP using only one piece of hardware. Am I right about the CP2101 providing this ability?Any opinions would be appreciated.

Topic by nolte919    |  last reply


Phototransistors interfacing with a serial port

So I really don't have too much experience with interfacing stuff and PCs (read: none) and I have a question. If I was to wire up about 5 phototransistors in series, all with a laser aimed at all of them, with the anode hooked up to TxD, and the cathode hooked up to RxD, and I had a program sending 500 bits to it per second, and checking for response.. will it basically be able to detect if one of the lasers are broken? Thanks!

Topic by cvxdes  


Attiny 2313 & Serial Port

Is it possible, using just an Attiny 2313, to exchange data with a computer via serial -- or do I need one of those RS232 chips?Theoretically, I think I can, using the digital IOs, dispite its lack of efficiency, but there may be some problem with that...Sending is the main part that I'm not quite confident about ;-)

Topic by zachninme    |  last reply


how to read serial arduino?

I have sonar sensor ez0 and i want to read from arduino  and this is his datasheet link http://www.maxbotix.com/documents/MB1000_Datasheet.pdf i saw this tutorial how to connect to pc: http://www.maxbotix.com/articles/034.htm but i need to connect it to arduino any one can help with that , i need to read serial reading of sonar i need it for https://www.instructables.com/answers/how-to-read-sonar-using-xbee

Question by britich  


driver for usb to serial converter ?

Hello , I want burn some hex code into the memory of microcontroller so recently I bought usb rs232 serial cable with driver cd. after installing driver I can't find com port in device manger  I see only two option window 7 PORT (COM&PORT;) ZTE Diaagnostics Interface (com 4) ZTE NMEA Device (COM 5) when cd (overfly ) load it come with following files BF-1284 CH341SER direct and net link driver guiter cable driver HL-340 UEPA15C USB RS232 PL driver USb -RS232 I have installed USB RS232 PL driver and USb -RS232  . but I can't find com port in device manger for serial cable ?        

Question by vead    |  last reply


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


how xbee serial work?

Hello i read ultrasonic sensor serial connected to arduino but when i connect xbee between sensor and arduino and i configur my and dl matching and same id what i need to config else i work on 3,3v what i need to do to make it same as i read direct from sonar . this is my code reading from sonar and convert to distance ,i need same work on 2 xbee between sonar and arduino. #include SoftwareSerial mySerial(8, 9,true); // RX, TX int BW=4; char *buffer; byte x; char array[3]; int counter=0; void setup() {   // put your setup code here, to run once:   // set the data rate for the SoftwareSerial port   Serial.begin(9600);   mySerial.begin(9600);   pinMode(BW,OUTPUT);   digitalWrite(BW,LOW);   delay(250);   Serial.println("Calibrartion Cycle ");   delay(150); } void reading(){   mySerial.println(1); while (mySerial.available()) {    x= mySerial.readBytes(buffer,1);    if(*buffer==0x52){    x= mySerial.readBytes(buffer,1);    array[0]=*buffer;    x= mySerial.readBytes(buffer,1);    array[1]=*buffer;    x= mySerial.readBytes(buffer,1);    array[2]=*buffer;    } } delayMicroseconds(220); } void loop() {   // put your main code here, to run repeatedly:   reading();   int Final_inch=(array[0]-48)*100 + (array[1]-48)*10 +(array[2]-48) ;   float Final_cm=Final_inch*2.54;   Serial.print(Final_inch);   Serial.println(" Inch ");   Serial.print(Final_cm);   Serial.println(" cm ");   delay(200); }

Question by adiga123    |  last reply


using serial port switch on and of An LED

Hi friends i need to using serial port switch on and of An LED. and also i want to know about how db9 connector is sending and receiving the bits or bytes. I am Electrical & Electronics Engineering Student.... I need Some Tutorial To know about the Serial port.....

Topic by uvaraj6    |  last reply


is there a serial interface for commodore 64 cartridges?

I would like to know so that I can finish planning out my next project...

Question by nerd7473    |  last reply


Short range serial data link. Answered

What is the cheapest way to set up a short range (200m) serial data link? Also, what are the best options for secured and unsecured links?

Question by alexhalford    |  last reply


Adafruits serial programmer help needed

For anyone that owns the serial port programmer, I need help. Where the plug is (cable plug to the micro circuit) What pins are what? the row thats o o-o-o-o- (1 alone, 4 connected) is the + - - - - - right? and whats miso and mosi then? Help! D:I don't under stand on the 10 pin clip, what the heck is what. The sites diagram says theres 9 circus, 1 square. well, theres 10 squares!! It also shows near the plus side, the other 4 pins are ground. well, that means the MOSI,(NC)RESET,SCK, and MISO are all connected. Dont think so.For people who have the circuithttp://img402.imageshack.us/my.php?image=picture435mw5.jpgIt be nice if u can label the 10 pins for me, thanks

Topic by Killa-X    |  last reply


Controlling Arduino through the Serial Monitor

Http://www.marginallyclever.com/2011/10/controlling-your-arduino-through-the-serial-monitor/ 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  


soft serial communication on Arduino Micro.

Hello all, I have a few Arduino Micro units, and need to connect them together (in a mesh network) so that every unit in it is interchangeable, meaning that any unit may be in connection with more than one unit. As the Master/Slave form is out of question at this stage (because any given unit cannot be both Master and Slave at the same time, of course) I decided to go for a simple serial communication. However the Arduino Micro units (and frankly none of the Arduinos) do not have sufficient serial pins and I was advised to use Soft Serial instead. I was looking into the pin out of the Arduino Micro but cannot quite figure out which pins I can use for the serial comm.; I need 4 to 6 serial communications. Any help is much appreciated, as the nature of the problem may not be changed. So I need to solve it as it is. Karim.

Topic by karimskarim    |  last reply



Micro USB Serial connection to arduino?

I was planning on getting an Android tablet (Archos 70) and connecting it to an arduino to make a telepresence robot like shown here. I was wondering how i would make a Serial connection from the tablet to the arduino. I know there is an audio serial output, but then i can't have audio for the robot operator. And bluetooth has been ruled out as to expensive. The cellbots that are currently used are connected by usb mini, but the tablet uses micro.  Thanks a Bunch!

Question by Chowmix12    |  last reply


What would be a suitable serial protocol? Answered

I'm currently working on programming a serial interface to put onto I/O devices (number pad, LCD, sensors, secondary microcontroller...) in order to reduce the amount of I/O pins and external connections needed. The only requirements are that it needs to use only two wires (excluding power), and it needs to be bidirectional. Ideally, I'd like to avoid anything that needs too much processing of data before transmission (like adding extra bits to prevent a string of '1's from setting off the error protection). Hopefully, this project will end up as an instructable at some point, so what would be a suitable protocol that would be compatible with common microcontrollers? Thanks in advance.

Question by The Skinnerz    |  last reply


dkduino and usb serial converter driver

I have a dkduino and a usb to serial converter, both running on a profilic usb to serial chip, when i look at them in device manager, th has a code 10, ive tried updating the drivers and whatnot, what should i do?

Question by The nerdling    |  last reply


Help with MAX232 Serial Converter troubleshooting?

Ok..long story short.. built this Instructable: (minimal Arduino on poerfboard,.  w/ blank Atmel) I put this on a breaboard instead https://www.instructables.com/id/Perfboard-Hackduino-Arduino-compatible-circuit/ I then installed Arduino IDE, as well as WinAVR/avrdude I tried to build a parallel programmer: http://www.arduino.cc/en/Main/ParallelProgrammer but it didnt work.. (not sure if it because of WinAVR?avrdue setting?  but command line AND flashing bootloader through Arduino IDE did NOT WORK.. AVRDUDE gives this response: avrdude: can't open device "giveio" avrdude: failed to open parallel port "lpt1" pinout for parallel programm was as follows: PP     ATMEL  (pinout) 1    -  19 2    -  17 11  -  18 16  -  1 18  -  GND on breadboard*** no clue even Ive asked and googled.. couldnt find a 'real' solution to this.. so I looked around..and I found a couple MAX232 chips laying around..figured Id use these to build a Serial Converter using this tut: http://sodoityourself.com/max232-serial-level-converter/ I this all set-up on my breadboard: (pics to check what Im doing wrong) *******(the images shows the vRegulator moved over 1 pin..it has been corrected but after pic was taken) http://dmstudios.net/misc/max232_circuit/top.jpg http://dmstudios.net/misc/max232_circuit/1.jpg http://dmstudios.net/misc/max232_circuit/2.jpg I have checked the vRegulator portion..  I have a cap BEFORE the regulator  *bridging GND & output* and I use my meter to check that there is, in fact, 5v coming from it..  and there is... HOWEVER...  the vRegulator gets SUPER HOT, SUPER FAST!... if I dis-connect the pin 16 form the  chip to the ++ then the vRegulator does NOT get hot... once I bridge it.. instant HEAT.. so is it something I have done wrong in my diagram? http://dmstudios.net/misc/max232_circuit/diagram_1.jpg vRegulator not show in diagram here;; in this diagram.. as soon as I hook up the V++ to pin16 on the chip.. and the cap..etc  something is wrong?? I 'do' have some FTDI cables coming from China for a few bucks.. but this is ONLY for sketch uploading...correct? I also have a true Arduino Due coming as well... but hate waiting weeks when I want to play and get started now! Any help is appreciated..   Im new to all this, so be nice!  LOL thanks gang!

Topic by xl97  


Request Serial - Ribbonised Tabbed WebBrowser

 Ok, the serial for my webbrowser is: in the text file i uploaded. It has a lot of features that IE6 + tabs has. It is one of the biggest projects I've done.  copy everything in the text file to the text box with "enter Serial Here". Pls Donate using Paypal!!!   paypal account: arikyeo1996@gmail.com. You can donate any amount! So long as you donate. I will upload some screenshots soon.

Topic by arikyeo    |  last reply


how to prepare a serial led's display??

Circuit diagrams and pdf files

Question by pravee123  


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


Palm serial port software suggestions?

Does anyone have any sugegstions/links for good, free software for a Palm V which can send/receive over the Palm's serial port? Logging a session of incoming data would be a major bonus. Thanks! Alex

Topic by trialex    |  last reply


Using arduino for Serial in/PWM control

Hello I am wondering if there is someone who can help out a super beginner.  I need to write a code that will allow me to type send a serial message to the micro (im using an arduino uno) to be able to set PWM port to a certain percentage thus changing the fade of an led. I would also like the program to echo back to me a text string indicating what has been done. Is there anyone who can help?

Topic by JonH23    |  last reply


TFDU4100 (PC infrared serial connection)?

I have this infrared transceiver module tfdu411 : data-sheet here the recommended circuit is here well, this circuit is for motherboard with built-in IRDA port , and sure mine does not have one so , can i built this connect this circuit and connect it directly to the serial 9 pins port ? if not , is there any way to connect this module the the PC and build an infrared transceiver ? thank in advance

Question by lu2a  


small serial high resolution display?

Is there a 720p or 1080p display that is about  .75" -1.5" diagonally, this would be used for an Arduino project so if it has pins rather than a type of ribbon cable connector that would be helpful.

Question by CalebO2    |  last reply


Question about linux and serial port? Answered

The instructable https://www.instructables.com/id/Control-real-world-devices-with-your-PC/ all the code is done in VB.net and im using linux nw and i need someway to set this up in linux i don't mind if it is flash for not i just need it to work

Question by wee_man    |  last reply


Analog and Digital inputs over serial?

Good day, question i am building a controller for my robot and i need to send the inputs(analog/digital) by xbee to my robot. now i am not good with programming i get stuck with the first line.... i want to know how i can program it to send it values over serial from xbee tot xbee on robot i didn't get anything work so far, maybe you guys cant help me with a start? Inputs -> arduino -> serial -> Xbee -> Xbee(receiver) -> arduino -> outputs(servo, lights, motors, steppenmotors) the inputs on the controller are 8 switches(digital) and 6 analoge joysticks! Prototype robot is pictured on the picture it had for now a arduino relay shield to control the motors but it will be change to a motor controller(I don't have one yet) any type is possible!

Question by mvan h1    |  last reply


Serial/Console Interface for Video Brochure?

Hello All!  I recently acquired one of those cheap video brochures (the kind that loops a video on full volume until you want to dash it against a wall)... Anyways, I couldn't resist the urge to hack with it, so I pulled the enclosure apart to expose the electronics. Inside I found a magnetic switch, a USB mini connector with all pins wired (two power/two data), a motherboard with three ICs and a scattering of other components, and a rechargeable battery (seems to be LiPo) all wired up to a 5.5" display. I plugged the usb to my computer and it mounted as a drive labeled "MediaPlayer". Inside was the original video file that I replaced with one of my own videos in the same format. It now plays my video with sound. Where I am stumped is with the circuit board. I have not found any markings on the board itself, however it has some pins around the edge to which the switch and speaker were connected to (I'm guessing these may be GPIOs.....). There is also an unpopulated four pin header (to the right of the display connector) that looks like it may possibly be for another USB port. There are also four solderable connections (on the bottom of the left side of the board) that are labeled GND, HRP, HRL, and DET... I wasn't able to find any meaning for those, but is it possible to establish communication through that? Last but not least, the three ICs on the board seem to be a CPU, and two flash chips. The markings on the center one (which I'm assuming is the CPU) are: F1 E200 F8148DA 19H1  The second IC, to the right of the "CPU" is marked: hynix 812A HY5DU121622CTP-D43 KOR N7EAX553Q2 - also engraved with the letters JHY The final IC, left of the "CPU" is marked: hynix KOR HY27UF082G2M TPCB 604A M8SD53321 According to Google, the E200 refers to the all winner E200 SoC that supports UART, SPI and TWI... It also says that it runs OS Melis 2.0... I would like to hack into this system if possible and/or find a way to interface the LCD through SPI for my Pi Zero... Any help is greatly appreciated! Thanks! I included a couple of High Res photos to show the PCB (the display ribbon cable has been removed to show the third IC). 

Question by JoeW79    |  last reply


anyone got a good (CHEAP) method of doing wireless serial communication? ? Answered

Trying to do a PC controlled fireworks display and i don't want to have to buy a 100 foot serial cable to control relay box that i'm planning on using (that takes direct serial communication)?

Question by crapflinger    |  last reply


How to get data from serial port to USB on android tablet?

Hi friends, I'm new in android. I have one tablet,usb-serial port data cable and GPRS device. Now my doubt is i want to get the data from gprs device using that cable.Because the gprs device will connect using the serial port.So it gives the data on serial port. I tried in many ways.But it's not working. Please let me know.

Question by Lavanya S    |  last reply


I cant seem to find my board on serial port on arduino?

I am using an arduino mega2560, earlier this year I have programmed the board to blink and it worked, but then after I start  trying more sketches now, the board no longer shows on the serial port, both the power led and pin 13 led work(i programmed it before and it works) now I've tried it on several computers and my laptop but it still doesn't work please help

Question by JennyL10    |  last reply


How can I type letters in serial-mon and save the input in a global array ?Can anyone guide me in the right direction?

For example, I am trying to create a program where there are multiple questions on serial-mon and the user can input his/her answer in. "How to spell 1?"  one (this is the answer) "How to spell 30?" thirty (this is the answer) I am trying to make my serial- mon page look like that. 

Question by moshoo    |  last reply


serial communication between arduino uno and nano

I want to build a prop/robot based of the persanality cores in portal/portal2 i want to make one of the ability is the persinality core to control a outside object via serial communications between arduinos i want to do this with a nano arduino and a arduino uno is this posible i would be really helpful 

Question by noobduino    |  last reply


Make serial connected batteries easy to replace Answered

I am working on a project that requires two serially connected 9V batteries to power.  For when the batteries will need to be replaced, is there an easy way for a user to replace them without having to disengage wires and then solder new ones?  Is there a way to "rework" the typical battery caps used on 9V batteries?  Using an 18V battery is not an option because of the size of the container the battery is being placed in. I was thinking to use two battery caps, one to connect the positive and negative posts to make the two batteries (9V) serially connected, and then "rework" the other cap to connect the remaining posts on each of the batteries to provide power to the unit I'm making. Is there a way to do this ? Is it feasible?

Question by ClaudyAW    |  last reply


Is there any way for the Serial port to detect continuity?

Like if i have 3 switches how could i detect weather they are on of off? Keep it simple,thanks. Edit:its the 9 pin serial port

Question by ReCreate    |  last reply


Send and read 2 independent serial data's

Hi there! I am working ona quad copter.. In which I want to control 4 motors by 2 pots. My problem is I can send and control 2 motors by a pot.. But how do I control other 2? Wont the serial data of the 2 pots mix up? I am attaching a sample of my code to montor the inputs and control 2 motors by a pot.. #include Servo myservo; int pos = 0; int poth = 2; void setup() { Serial.begin(9600); myservo.attach(3, 1700, 2400); while(Serial.available() <= 0) ; int incomingByte = Serial.read(); if(incomingByte == 115) { loop(); delay(1000); } } void loop() { int vert=analogRead(poth); int pos = map(vert,0,1023,0,180); myservo.write(pos); Serial.println(pos); delay(1000); } I just cant tell which is which  how can I setup a communication protocol to identify which data is which?

Topic by schandwadkar  


Serially connect SD or other memory cards?

SO! Is it possible (or plausible) to connect SD cards together in such a way that their memory capacities add up? I have a bunch of old dumb ones that I could probably use as a makeshift drive in an eee PC, but I'd like to make one big huge drive out of them. If it's possible, how would I do that?

Topic by V-Man737    |  last reply


WANTED: Arduino modules with RS-232

Somewhere previously, (which I thought I had favorited, but obviously didn't), someone pointed out USB Arduino modules are simply converting back to RS-232 when programming the chip. As I want to do my development without Windows or USB, I would like to know if there is anyone out there who has excess modules with RS-232 connectors directly attached, even if I have to pay for the USB versions as a swap. Otherwise, if someone knows these modules better, a USB by-pass straight to the RS-232 part of the module would also be appreciated. Mic

Topic by Treknology    |  last reply


Serial terminal emulation help, please? (again...) Answered

Before you read below, read this: https://www.instructables.com/answers/Updating-1980s-X-Terminals/ I've finally gotten around to setting up PuTTY to work with the serial line. Communication is fine, I'm pretty sure I have the baud rate and everything set up correctly, but I still have one problem. The POS program has a login phase, which works perfectly. However, right after the program itself starts and finishes spitting out its splash screen, copyright information, etc., problems start emerging. Putty doesn't seem to be rendering formatting correctly, or maybe not at all. Whenever text needs to be highlighted, or there need to be shape characters like ┌, or ┤, all I see in the window is garble like this: ae&ae;&ae;&ae;&. Also, no line breaks are given. How should I fix this? Should I change a specific setting in PuTTY? Should I be using a different program? ***More information about the original terminal, more specific examples and screen-shots will supplied shortly.*** Kind-of update: Wait, what? So apparently, those two characters above give the same garble on html as on the terminal. They are supposed to be ASCII characters 218 and 195. Note that these are part of the extended ASCII codes (I just realized that). Does PuTTY have an option support ASCII characters 128 to 255? In the character encoding pane of PuTTY setup, I've tried every encoding available. Do I need to type in a name of an encoding manually?

Question by aelias36    |  last reply


Serial communication between PC and picaxe 28X2

Hi, I am having problem in communicating with PC with Picaxe 28x2. Please help me in solving this problem as it is a very important project My aim is to send the values of w1 and w2 variables ( values of the ultrasonic range sensors 1 and 2 ) to the PC and display them with the help of VB my picaxe code is ..., #picaxe 28x2 main: pulsout C.1,2 pulsin C.1,1,w1 pause 10 pulsout C.2,2 pulsin C.2,1,w2 pause 10 sertxd(#w1,#w2) pause 100 goto main and my VB code is , Imports System.IO Imports Strings = Microsoft.VisualBasic Public Class Form1 Public Declare Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Integer) Dim WithEvents serialPort As New IO.Ports.SerialPort Dim PicaxeRegisters(0 To 1) As Byte Private Sub Form1_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load Timer1.Enabled = True Timer1.Interval = 5000 End Sub Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick Call SerialTxRx() End Sub Sub SerialTxRx() Dim labelstring As String = "" Label1.Text = "" If serialPort.IsOpen Then serialPort.Close() End If Try With serialPort .PortName = "COM1" .BaudRate = 9600 .Parity = IO.Ports.Parity.None .DataBits = 8 ' 8 bits .StopBits = IO.Ports.StopBits.One .ReadTimeout = 1000 .Open() .Read(PicaxeRegisters, 0, 2) .Close() End With For i = 0 To 1 labelstring = labelstring + " " + Str(PicaxeRegisters(i)) Next Label1.Text = labelstring Catch ex As Exception MsgBox(ex.ToString) Label1.Text = "Timeout" End Try End Sub End Class I have not included the write command, since I have not included qualifiers in the picaxe code. The Picaxe chip is sending the values ( I used the terminal in picaxe programming editor to realise this) but the visual basic is not displaying me the actual values sent by the picaxe chip. It is showing random values instead ... So i think that there is an error in the VB code. PLEASE HELP AS SOON AS POSSIBLE .. Thank You 

Topic by santhoshR  


Ipod Dock connector accessories: USB or Serial?

Is there any easy way to tell whether a given ipod/iphone accessory is controlled from the serial pins or the usb pins in the dock connector? Or is it as simple as all the accessories use the serial pins? Thanks. Brian

Topic by kd5crs  


ID-2 connect to serial - usb output? Answered

Hello guys,  I was thinking of buying an ID-2 RFID reader but I am not sure how to connect it to my PC. I was thinking of using a serial to USB cable. However, can someone tell me how to do this (I don't want any microcontrollers or arduinos). ~Thanks

Question by Seifpic    |  last reply


Bluetooth speaker serial port communication hack?

Hello everyone, Recently I bought BT speaker (chinese to be specific) it is great, and I tried connecting it to my Win7 PC. It is interesting, because instead of audio device it installed two serial ports on my computer. I am wondering if this can be somehow useful. Maybe i can turn off voice notifications in the speaker or other settings. But the problem is I do not know any serial port commands that I can use.  If you know what can be done using this bluetooth serial port please message me or reply in this topic. here is photo of the speaker if it is somehow helpful. Later I can add some photos of thew chips inside if needed.

Topic by kondzio29    |  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