Show Posts
Pages: [1]
1  Using Arduino / Project Guidance / Re: Using Uno shields on Mega without wires! (Remap shield?) on: April 21, 2013, 01:14:54 pm
Thanks for replying Peter.

That looks fantastic- unfortunately it doesn't help my predicament as I need to rewire to pins the Uno doesn't have! (namely 50-53) for SPI.

The other use is to use other UART's since the mega has 4, but only ONE of these would be covered by the Uno go between- so again this would unfortunately not work!

The sheer number of pins would make the exact same product too big for the mega impractical- but If it just had one solder pad per pin, I'd be able to solder some neat cables on for the remapping.
2  Using Arduino / Project Guidance / Using Uno shields on Mega without wires! (Remap shield?) on: April 21, 2013, 08:50:46 am
I'm looking for a full size shield for the mega that I can use to remap the pins so subsequent shields work as they should.

Effectively it needs to be a prototyping board that doesn't have to sit on the top.

Does anybody know of such a shield? It seems a fairly simple concept! In particular I wish to use a data logging shield which has an SD reader and RTC.

I also would like to know if there are any shields or neat ways of attaching screw terminals to every pin on the mega. I've thought about using an old IDE cable and male-male header pins.

Thoughts?

p.s. I'm based in the UK..
3  Using Arduino / Interfacing w/ Software on the Computer / Re: After re-plugging in USB, garbage (null bytes) from serial on: March 29, 2012, 04:37:43 am
Okay I think I figured this out- turning on hardware handshaking in my terminal client seems to solve the problem!

Hope it sorts you out Pete.
4  Using Arduino / Interfacing w/ Software on the Computer / Re: After re-plugging in USB, garbage (null bytes) from serial on: March 29, 2012, 03:38:11 am
I have just noticed, when working correctly, the Tx LED flashes once every 10 seconds.

When the unit is powered up via USB, however the LED on pin 13 continues to flash even though the Tx LED doesn't flash. This only fixed by opening up serial monitor.

Surely this proves the that the problem resides in the initialisation of serial communication on the arduino? I tried sticking a few delays in the program setup but it doesn't seem to have helped.

Is there any other way I can manually force the serial connection to be reset from the arduino side?
5  Using Arduino / Interfacing w/ Software on the Computer / Re: After re-plugging in USB, garbage (null bytes) from serial on: March 28, 2012, 06:38:13 pm
The conditions I'm experiencing are similar to what this guy writes about: http://arduino.cc/forum/index.php?topic=23025.0;wap2

I have noticed something else; adding a blink, the blink works correctly on start up every time. But the Tx LED doesn't flash when it should- regardless of hardware restart. This shows that the program is running fine, but unable to transmit data via USB.

This suggests that the FTDI serial adaptor isn't able to communicate with the chip on start up.

Surely this issue has been documented somewhere else? Anybody come across this problem before?
6  Using Arduino / Interfacing w/ Software on the Computer / Re: After re-plugging in USB, garbage (null bytes) from serial on: March 28, 2012, 12:34:41 pm
Paul, what serial settings does starting serial monitor reset? My cutecom connection is nothing fancy, I see no reason why it shouldn't work. In fact I have the same issue if I leave serial monitor open. Only fixes the problem when it restarts the board.

Pete, that's interesting, I'll put the blink sketch on and see if I get the same result. How do you know the program is in a hung state? My board still sends null bytes when I would be expecting normal characters (every 10 seconds), so I don't think it can be hung. I might stick some led bits in to see..
7  Using Arduino / Interfacing w/ Software on the Computer / After re-plugging in USB, garbage (null bytes) from serial on: March 28, 2012, 11:03:50 am
Hi Guys, First post so be gentle!

I have a USB powered Arduino Mega 1280, which I tend to monitor using Cutecom instead of using the serial monitor, however whenever I unplug the USB and replug it in, the arduino sends null caracters (\0x00), rather than the data it is meant to. This is fixed if I open up the serial monitor, which I think must be restarting the arduino.

Why does the arduino not work immediately on power up? Even pressing the reset button on the arduino doesn't seem to solve the problem.

Baud rates are matching, 8n1 config.

I haven't bothered posting my program as it happens with any program, regardless of peripheral devices attached.
Pages: [1]