Show Posts
Pages: 1 [2] 3 4 ... 16
16  Using Arduino / Project Guidance / Re: How to put a CTRL-z character to the serial monitor send-window? on: July 18, 2014, 06:13:23 pm
Yes, I guess I have to. I tried Realterm. It works but it messes up its display.
17  Using Arduino / Project Guidance / How to put a CTRL-z character to the serial monitor send-window? on: July 18, 2014, 05:51:41 pm
I have a GSM modem and I had to test some AT-commands. When I tried to send a SMS, I noticed that I can't send a CTRL-Z to finish it.
18  Using Arduino / Installation & Troubleshooting / Re: Timeout problem : Mega 2560 and Windows on: July 10, 2014, 03:51:00 am
I get timeout messages if I have the board using the serial port at the same I try to upload the sketch.
19  Using Arduino / Installation & Troubleshooting / Arduino 1.5.7 BETA editor freezes when full height on: July 10, 2014, 02:29:14 am
It is not possible write anything to the editor window when I increase IDE height to full screen. The Windows size buttons and menus work and it is possible to end it. If I return the IDE to previous size, it starts to work again. It works at full screen size.

I have installed it into a folder called C:\Program Files\Arduino156, perhaps the IDE protests the wrong version. And it does not help to reinstall the SW.

I have Win 7.

20  Using Arduino / Programming Questions / Re: The Software serial multple serial test example does not compile on: July 02, 2014, 09:47:55 am
Even if the GSM shield uses SoftwareSerial (it does, but it's a bastardization of the original) that doesn't explain why you are trying to create another instance (of a different class) of a software serial implementation on a device with 4 hardware serial ports. Surely you are not trying to read from 6 serial devices at once.
"The World Is Not Enough" but I used the Software serial because that was what the examples said. Using arduino libraries and examples is usually the easiest way and what I can see, the GSM libraries do not understand extra HW serial ports..

I just downloaded IDE Arduino IDE 156
21  Using Arduino / Programming Questions / Re: The Software serial multple serial test example does not compile on: July 01, 2014, 06:37:36 pm
Hi

Yes, I have v.105-R2 too
22  Using Arduino / Programming Questions / Re: The Software serial multple serial test example does not compile on: July 01, 2014, 05:20:44 pm
I got hardware serial port working. But if use them I must control the modem myself without GSM libraries.
23  Using Arduino / Programming Questions / Re: The Software serial multple serial test example does not compile on: July 01, 2014, 04:07:14 pm
This is a bit confusing.  I thought that the software serial library uses interrupts with RX. And so is new or at least good to use.
This is from GSM modem's reference page.
"It relies on the Software Serial library for communication between the moden and Arduino. "
24  Using Arduino / Programming Questions / Re: The Software serial multple serial test example does not compile on: July 01, 2014, 03:39:42 pm
I see. I thought that the Software serial is what is used with GSM library.
25  Using Arduino / Programming Questions / The Software serial multple serial test example does not compile on: July 01, 2014, 01:26:02 pm
I tried compile the "Software serial multple serial test " example code for Mega 2560. But got an error:
c:/program files/arduino-1.0.5-r2/hardware/tools/avr/bin/../lib/gcc/avr/4.3.2/../../../../avr/lib/avr6/crtm2560.o: In function `__vector_default':
(.vectors+0xdc): relocation truncated to fit: R_AVR_13_PCREL against symbol `__vector_55' defined in .text.__vector_55 section in core.a(HardwareSerial.cpp.o)

The code is unmodified and from examples in IDE. I list it here all the same.
/*
  Software serial multple serial test
 
 Receives from the hardware serial, sends to software serial.
 Receives from software serial, sends to hardware serial.
 
 The circuit:
 * RX is digital pin 10 (connect to TX of other device)
 * TX is digital pin 11 (connect to RX of other device)
 
 Note:
 Not all pins on the Mega and Mega 2560 support change interrupts,
 so only the following can be used for RX:
 10, 11, 12, 13, 50, 51, 52, 53, 62, 63, 64, 65, 66, 67, 68, 69
 
 Not all pins on the Leonardo support change interrupts,
 so only the following can be used for RX:
 8, 9, 10, 11, 14 (MISO), 15 (SCK), 16 (MOSI).
 
 created back in the mists of time
 modified 25 May 2012
 by Tom Igoe
 based on Mikal Hart's example
 
 This example code is in the public domain.
 
 */
#include <SoftwareSerial.h>

SoftwareSerial mySerial(10, 11); // RX, TX

void setup() 
{
  // Open serial communications and wait for port to open:
  Serial.begin(57600);
  while (!Serial) {
    ; // wait for serial port to connect. Needed for Leonardo only
  }


  Serial.println("Goodnight moon!");

  // set the data rate for the SoftwareSerial port
  mySerial.begin(4800);
  mySerial.println("Hello, world?");
}

void loop() // run over and over
{
  if (mySerial.available())
    Serial.write(mySerial.read());
  if (Serial.available())
    mySerial.write(Serial.read());
}

26  Products / Arduino GSM Shield / What are the RX/TX pins the GSM library uses in the Mega2560 on: May 30, 2014, 04:27:17 pm
This is a silly question but I have problems with a GSM shield. It's RX and TX are clearly marked but software defines those in the Mega. I will cross TX and RX of course. That is, RX goes to the TX and vice versa. Arduino's documentation is meant to be easy but it confuses me when there is no mention of TX and RX.

So, when I use GSM library, what is RX on the Mega2560 and what is TX.
27  Products / Arduino Due / Re: Long battery for arduino due on: May 25, 2014, 04:24:50 pm
If you looking for an IC, which lowers 12V to 3.3V, these can help. 919-R-783.3-1.0 This is a Mouser part number but there many others and from other vendors too.
28  Using Arduino / Networking, Protocols, and Devices / Re: I2C no go on Mega 2560 on: May 06, 2014, 12:37:49 pm
I don't know what you want, but I have a I2C bus working. Both ends are using 5V. Only difficulty was when I had to break 12bit data to 8 bit pieces. But that is C language.
29  Products / Arduino GSM Shield / Confusing info about serial pin numbers on the GSM shield page on: February 28, 2014, 05:07:24 pm
I am reading the GSM shield page http://arduino.cc/en/Guide/ArduinoGSMShield. There is a photo about the board taken directly above. The text on photo says: GSM TX (pin3) but it easy to see on the photo that it is really RX. The other pin is wrong also. The whole Arduino site seems confusing these.

I am trying to start Itead 3G  modem to communicate with the MEGA, but it is difficult to know what are the RX and TX pins really. They are crossed on the Itead Board. I can say now that Itead's  documentation is not very helpful either. Because of all this I have to trace the connections with a multimeter. I would rather do something else at Friday night.
30  Products / Arduino Due / Re: Parallel library for Due External Memory Bus/Static Memory Controller on: February 18, 2014, 04:58:11 pm
If address pins are missing you will have holes in the space that would cause duplications on top of other data.

So for example if A4 was missing you could write 16 contiguous bytes ok, but the 17th byte will go into location 0, thus overwriting the first byte. This could be manageable but a right PITA.

Likewise with data, the top bits may not matter if you stick to values below the first missing bit, but if you are missing any low-order bits you will be in trouble. This is almost not possible to use unless you "adjust" every variable you save and "unadjust" every variable you retrieve.

______
Rob

I don't think missing address pins cause other problems than a smaller device. For instance a 65000 byte device with 16 address bits. If leave one address pin/bit out, you'll have a device with 32000 usable bytes. If it is a some kind of rom and you connect it to a processor with all address pins, then you'll get gaps (or a great mess, if don't take care). I am not going to draw any truth tables so I leave this here.
Pages: 1 [2] 3 4 ... 16