Show Posts
Pages: 1 2 [3] 4 5 ... 3347
31  Using Arduino / Networking, Protocols, and Devices / Re: [Solved]WiFi shield not present - Help please on: September 18, 2014, 07:59:33 am
That jumper is used to install new firmware on the wifi shield. When you do the firmware upgrade, you must jumper those two pins, install the firmware, then insure you remove the jumper block when the upgrade is complete.
But, don't lose that little puppy.
32  Using Arduino / Interfacing w/ Software on the Computer / Re: VIsual basic with arduino on: September 18, 2014, 07:56:06 am
Quote
2) If you know the answer , You could have given solution instead of suggesting . And not allowed me to post other theads
I HAVE pointed out how to tell what events an object triggers or are triggered for the object.

Quote
3)If i cant use this method How to send the data to text box repeatedly without using buttons???
The SerialPort object triggers some events. One of them happens when serial data arrives. Implement a method that deals with that event.

Quote
I have already tried this. But not working.
There was some code involved. Upon execution something happened. You expected something to happen. "But not working" means that what you wanted to happen was not what actually happened. But, that doesn't tell us squat. Show the code. Explain what ACTUALLY happened. Explain what you expected. Explain the difference(s).
33  Using Arduino / Programming Questions / Re: Passing parameters in constructors. on: September 18, 2014, 07:50:28 am
Quote
I think it gets created when the higher-level library gets created
The library is created in a text editor. It is highly unlikely that an instance of the class gets created on the Arduino at that time.

Quote
(which happens in the setup() phase of the top-level sketch.)
No. That might be when an instance of the parent class gets created.

I suggest that you check out the fine folks at http://snippets-r-us.com. They are great with snippets. We, on the other hand, are pretty lousy.

But, don't get (too) discouraged. What you want to do CAN be done. We just need to see the context to determine how.
34  Using Arduino / Project Guidance / Re: Advice sought for a project I am starting. on: September 18, 2014, 07:07:10 am
Quote
PROBLEM 1
The 6x faders are easy
That's a problem?

Quote
PROBLEM 2
The 24 buttons I think will be somewhat more of a challenge, I'm wondering if there are keypad or scanning options I could try for this as there are not 24 inputs available..
There are on a Mega.

Quote
PROBLEM3
As I mentioned above, there are 2 screens in the device,  a 2x12 at the top and a 1x24 at the bottom. I believe these screens are chained in some way because If i send more than 24 characters to the 1st display they will overspill onto the bottom (1x24) display
Why is this a problem?

Quote
but if this message were longer, how would I want to think about spilling over onto the next screen?
You said that happens automatically. What is there to think about?
35  Using Arduino / Project Guidance / Re: Software to Control IOS and Serial port arduino on: September 18, 2014, 07:03:22 am
Quote
I tried with VB and processing but they are not working.
Don't blame your poor programming skills, and inability to follow advice, on VB or Processing.
36  Topics / Robotics / Re: Xbee and arduino 6WD rover on: September 18, 2014, 06:59:53 am
Quote
So if anyone has any idea on how i should power it i would be very grateful!
Provide an external power supply. There are plenty of ways to do this.
37  Using Arduino / Programming Questions / Re: Set on closed loop controller on: September 18, 2014, 06:56:40 am
Quote
The ideal would be a communication from matlab, as I have the availability of:
The ideal would be for you to take your tap dancing shoes off, and tell us about your project.

You can't send a sine wave via the serial port. You MIGHT be able to send discrete values that represent points on the sine wave at some point in time.

What are you intending to do with this data? Replicating the sine wave on the Arduino just doesn't seem likely.
38  Using Arduino / Programming Questions / Re: Problems with SoftwareSerial and Strings on: September 18, 2014, 06:54:04 am
Quote
I want to send Strings using SoftwareSerial library, however, it has confused me a bit.
Why? There is no excuse for using Strings. And, the SoftwareSerial library is smart enough to know that. Use C strings (NULL terminated arrays of chars), instead.
39  Using Arduino / Programming Questions / Re: Converting a SubString to Word on: September 18, 2014, 06:52:35 am
Quote
u mean stuff like that (cant try it atm, just theoretical)
No. It makes no sense to cast a String to a word. NONE!
40  Using Arduino / Programming Questions / Re: Passing parameters in constructors. on: September 18, 2014, 06:51:12 am
Quote
This works for a sketch, but doesn't work for another library. Why not, and what do I need to do to get it work?
Does Serial1 have a value at the time the gps instance is created? Do you know when the gps instance is created?
41  Using Arduino / Networking, Protocols, and Devices / Re: Arduino Uno with Bq2085 SMBUS read on: September 18, 2014, 06:46:51 am
Code:
Wire.beginTransmission(0x16);//Slave address
 Wire.write(0x09); //battery cell voltage register
 byte readData;
 Wire.requestFrom(0x16, 1);
 readData= Wire.read();//should get cell voltage
 Serial.println(readData);//when i print this am getting -1.
 byte errorcode = Wire.endTransmission(0x16);
You don't request a reply in the middle of sending data to a device.
42  Using Arduino / Networking, Protocols, and Devices / Re: Arduino and GPS - GSM module on: September 18, 2014, 06:45:15 am
Quote
Create, so, two serial comunications, using Software serial library. is it workable?
No. You have 4 hardware serial ports on the Mega. Why do you need two more software serial ports?
43  Using Arduino / Networking, Protocols, and Devices / Re: Serial buffer size problem on: September 18, 2014, 06:43:42 am
The 328 based Arduinos have 2048 bytes of SRAM. How do you propose to store two 1024 byte arrays in that memory and have any memory left for anything, like the stack?

Increasing the serial buffer size is NOT the answer. The Arduino can read data orders of magnitude faster than it can receive data, unless you are doing something stupid, like using delay().

Without seeing your code, or having a clue why you are sending novels to the Arduino, all we can do is wish you luck.
44  Using Arduino / Interfacing w/ Software on the Computer / Re: VIsual basic with arduino on: September 18, 2014, 06:38:51 am
Code:
    Private Sub Current_Read_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        SerialPort1.Open()
        Dim s As String
        s = SerialPort1.ReadTo(SerialPort1.ReadExisting())
        Current_Read.Text = s
        's = Val(SerialPort1.ReadChar()) * k
        'Current_Read.Text = Format(s, "Standard")

        SerialPort1.Close()
    End Sub
This method is called when the text in the text box changes. It is pretty stupid to use that as an opportunity to read serial data.

It is pretty stupid to CONTINUE opening and closing the serial port when you have been told to stop doing that.

If you just can't stop yourself from doing that, at least be courteous enough to not post again.
45  Using Arduino / Programming Questions / Re: Converting a SubString to Word on: September 18, 2014, 06:29:23 am
Quote
well, working examples for the called functions are
The compiler converts 0x0FFF or 0b0000101010101010 to some internal representation. It does not matter to the compiler whether you express the value in base 16, base 2, or base 10.

But, since YOU are not able to convert a String that contains a representation of a number in base 16 to a useful value, and YOU are not able to convert a String that contains a representation of a number in base 2 to a useful value, then it seems to me that you should NOT be sending representations of a number in any base you can not deal with. The toInt() method does know how to deal with a representation of a number in base 10.

So, it doesn't take a rocket scientist to decide that sending the value as a representation in base 10 is the ONLY way to go.
Pages: 1 2 [3] 4 5 ... 3347