Show Posts
Pages: [1]
1  Using Arduino / Programming Questions / Re: Getting Arduino Com Ports With C# on: June 18, 2012, 05:46:36 am
I Found smiley-grin

here is code

                ManagementObjectSearcher searcher =
                    new ManagementObjectSearcher("root\\CIMV2",
                    "SELECT * FROM Win32_PnPEntity");

                foreach (ManagementObject queryObj in searcher.Get())
                    if (queryObj["Caption"].ToString().Contains("Arduino"))

            catch (ManagementException e)

dont forget add reference System.Management smiley
2  Using Arduino / Programming Questions / Getting Arduino Com Ports With C# on: June 17, 2012, 02:37:42 pm
Hi I use this code for getting available com ports from computer with C#

string[] ports = SerialPort.GetPortNames();
foreach (string port in ports)

My question is that How can I get only Arduino port because I get all ports and I take exception on my desktop program. I want to take only arduino ports.

Anybody have idea?
3  Using Arduino / General Electronics / Grove Serial LCD Problem on: March 02, 2012, 05:47:09 am
I bought Grove serial lcd but I cant work it I always get this error "SerialLCD slcd(11,12);"

here is a sample :

  SerialLCD Library - Hello World
 Demonstrates the use a 16x2 LCD SerialLCD driver from Seeedstudio.
 This sketch prints "Hello, Seeeduino!" to the LCD
 and shows the time.
 Library originally added 16 Dec. 2010
 by Jimbo.we

// include the library code:
#include <SerialLCD.h>
#include <NewSoftSerial.h> //this is a must

// initialize the library
SerialLCD slcd(11,12);//this is a must, assign soft serial pins

void setup() {
  // set up
  // Print a message to the LCD.
  slcd.print("hello, world!");

void loop() {
  // set the cursor to column 0, line 1
  // (note: line 1 is the second row, since counting begins with 0):
  slcd.setCursor(0, 1);
  // print the number of seconds since reset:

I download library and search internet but I cant do that.

can u help me please?
4  Using Arduino / General Electronics / Re: Small Sealed Membrane 4X3 button pad with sticker on: February 28, 2012, 04:13:18 am
thanks. I try to do.
5  Using Arduino / General Electronics / Re: Small Sealed Membrane 4X3 button pad with sticker on: February 25, 2012, 07:14:31 am
sorry I forgot add a linl smiley-sad

product link is :
6  Using Arduino / General Electronics / Small Sealed Membrane 4X3 button pad with sticker on: February 24, 2012, 10:21:50 am
How can I use this product? Have you show me an example
7  Using Arduino / General Electronics / About Restart and Shutdown to arduino on: February 18, 2012, 09:01:12 am
How Can I restart and shut down to Arduino with a button?

Thanks for now.
8  Using Arduino / General Electronics / Re: Arduino communication to computer on: February 11, 2012, 03:18:14 pm
thx all of you.
9  Using Arduino / General Electronics / Arduino communication to computer on: February 10, 2012, 03:34:11 am
good day. I have developed a device using arduino uno. this device consists of several sensors. gives the values of the sensors to the computer. I've done it but for a single device, multiple devices to a computer that will use and how to take data from all thedevices you need to install a communications network which need to use auxiliary equipment. max 100 and 300 meters betweendevices may be computers. I want to find solutions to the wired and wireless. I would be glad if you help. good work.
Pages: [1]