Show Posts
Pages: 1 ... 33 34 [35] 36 37 ... 67
511  Using Arduino / Programming Questions / Re: Moving analog data over serial on: January 01, 2013, 05:39:35 pm
Thanks, Lefty.  Happy to know that. 

-br
512  Using Arduino / Programming Questions / Re: Moving analog data over serial on: January 01, 2013, 05:29:31 pm
If the two arduinos are running at the same +VCC, a direct connection from TX on Arduino 1 to Rx on Arduino 2 should "just work" for 9600 baud serial, provided nothing else is connected to the either pin in question, and the grounds are good.

A puzzler...

-br
513  Using Arduino / Programming Questions / Re: Moving analog data over serial on: January 01, 2013, 04:37:28 pm
Does the receiver work as expected when you type the expected input to it in the serial monitor while it's connected to a PC?

-br

Edit: an additional question: doesn't parseInt() leave the delimiter as the next available character in the serial buffer?  If so, wouldn't you have to eat the comma with Serial.read() after parseInt() to move on past the comma?
514  Using Arduino / Programming Questions / Re: Moving analog data over serial on: January 01, 2013, 04:04:14 pm
If you are using two standard Arduinos with on-board USB hardware, it does not work to connect an additional TX input to the RX pin.  It fights with the existing connection to the USB hardware on that pin.

You can use another pin as a serial input on the receiving unit with the SoftSerial library.  Search the forum and playground for examples.

Good luck with your project,

-br
515  Using Arduino / Interfacing w/ Software on the Computer / Re: Difference b/w print and printin on: January 01, 2013, 08:26:44 am
Println puts a linefeed at the end of the printed text so the next printed output will be on a new line.

-br
516  Using Arduino / Interfacing w/ Software on the Computer / Re: Problems with serial.print on: January 01, 2013, 07:48:59 am
Println adds a linefeed at the end of the printed text so the next print will be on a new line.

-br
517  Using Arduino / Programming Questions / Re: Arduino IDE - OOP versus procedural coding on: January 01, 2013, 07:48:02 am
Fortunately, the avr-gcc compiler used by the Arduino IDE will compile C as well as C++.  There is also a provision for inline ASM.

If you look at the examples you will see a mix of C and C++.

Strong OOPers tend to turn a little green when they first realize how much RAM is available here…

-br
518  Using Arduino / Motors, Mechanics, and Power / Re: Control 200 relays on: December 31, 2012, 06:29:26 pm
At the link:
Quote
We have developed two high voltage (3 kV and 10 kV) high speed pulsed field gel electrophoresis systems…

Kilovolts are, generally, unwelcome on my bench.  Even the little kind that jumps off the fingers.

-br
519  Using Arduino / Motors, Mechanics, and Power / Re: Control 200 relays on: December 31, 2012, 06:11:25 pm
Thousand base pairs, I believe.

-br
520  Using Arduino / Networking, Protocols, and Devices / Re: Cannot get Ethernet Shield to work on: December 31, 2012, 06:09:32 pm
No magic.  You've tried all the right stuff.  Do any of the other Ethernet example sketches show signs of life?  Maybe DHCPAddressPrinter?

-br
521  Using Arduino / Motors, Mechanics, and Power / Re: Control 200 relays on: December 31, 2012, 06:05:59 pm
Perhaps the application is something like this: http://www.ncbi.nlm.nih.gov/pubmed/7859711

-br
522  Using Arduino / Networking, Protocols, and Devices / Re: Sending SMS using Send Hub CURL on: December 31, 2012, 05:30:38 pm
I'm not aware of any https: implementations for Arduino.

If your API provider supports http: instead of https:, see the Ethernet WebClient example for a starting point.

-br
523  Using Arduino / Installation & Troubleshooting / Re: Finding the IP of my Arduino w/ Ethernet? on: December 31, 2012, 02:57:51 pm
It does not appear that your laptop is offering DHCP service on the ethernet port.

Search for Internet Connection Sharing and you may find guidance for your system that will make that setup work.

-br
524  Using Arduino / Programming Questions / Re: RS232 Program Not Printing Carriage Return in Serial Terminal or Minicom on: December 31, 2012, 01:09:16 pm
The '\n' recommendation is a good one.

Alternatively: Does it help if you use Serial.println() instead of Serial.print()?

-br
525  Using Arduino / Interfacing w/ Software on the Computer / Re: Leonardo & Firmata on: December 31, 2012, 07:54:31 am
Of course, you could write the code to parse and execute Paul's proposed command language.

Or you could install Bitlash and have the same commands already available, and readable by humans:
Code:
print d12
a5=156
print a3

Then, when you add your ping sensor, you can add a little C code to the project to extend the language by adding the new function "ping", so you can say:

Code:
print ping()

Which is more important for your project, I wonder: the protocol, or working code?

Cheers all,

-br
Pages: 1 ... 33 34 [35] 36 37 ... 67