Show Posts
Pages: 1 [2] 3 4 ... 512
16  Using Arduino / Project Guidance / Re: Arduino MEGA Pinout Diagram on: August 18, 2014, 02:16:38 pm
So glad you are back! I was just looking at a mega diagram you drew in Jan. 2013. The Arduino pins were not marked on the diagram so I started searching smiley

Here is something I did: I tried to shrink my printout and got an exact 1:1 match to an actual mega on your diagram, if I use Letter size paper (USA) and choose in Acrobat reader print menu "Fit" and then go into the printer properties menu and change the scale to be 79%.

I didn't print in color and I am using a third-part compatible board  smiley-red
17  Using Arduino / Storage / Re: Program Stuck at SD.begin(4) on: August 18, 2014, 01:50:44 pm
I have no problem using Ethernet and SD card at the same. They seem to take care of disabling the respective hardware after they function calls just fine.

Just to get a few simple questions answered:
1) Is there anything connected to pin 4 other than the SD card?
2) Is the CS pin of the SD card connected to pin 4?
3) What SD shield or module are you using? Give a link.

FYI the arduino Ethernet shield/library assumes pin 10 is used to select the Ethernet chip, regardless what arduino board. This better not conflict with SD card's chip select.
18  Using Arduino / Storage / Re: SD Card Shield configuration on Arduino mega 2560 REV3? on: August 18, 2014, 01:32:13 pm
The solutions:
1. Use an SD card shield that connects the SD card (via voltage converter) to the ICSP header, instead of pins 10-13. All Arduino official shields (wifi,ethernet,wireless etc.) work this way
2. In case your shield is hardwired to pins 10-13, enable software SPI mode by setting #define MEGA_SOFT_SPI 1 from #define MEGA_SOFT_SPI 0, or rewire it to MEGA's SPI pins.

Method 2, part 1 or 2 isn't as clean-cut as 1 since you are responsible for finding the line and changing it or wiring the pins.

I've been using sd cards with MEGA and arduino uno compatible boards I made myself for the past few years, Solution 1 works fine. I use arduino official shields.
19  Using Arduino / General Electronics / Re: Making a sturdy connection to membrane keypad on: August 06, 2014, 11:27:50 am
Sorry I am only now getting back to you guys. I tried to replace the housing with another hosing with locking tabs but that didn't work. The housings with locking tabs also have guides and grooves that take some space in the front of the housing, displacing the openings that catch retaining tabs further back. My keypad has pins with retaining tabs very close to front of the pins so they will not make good contacts.

I finally decided to extend my circuit board so that the flat cable of the keypad can be taped on to the back of the front panel, instead of needing extra cable etc.
20  Using Arduino / Programming Questions / Re: while (!Serial) needed for Arduino Micro? on: August 06, 2014, 11:24:54 am
Thanks Mike. For some reason I was able to print to serial port without it. Is this needed if you want Micro to receive stuff from serial port, send stuff to serial port, or to make sure the first messages get sent or received? If I do serial methods without connecting to the usb, will the code throw exception and stop?
21  Using Arduino / Programming Questions / while (!Serial) needed for Arduino Micro? on: August 04, 2014, 10:31:57 pm
I just got an Arduino Micro. I remember that you need the following for arduino Leonardo:

  while (!Serial) {
    ; // wait for serial port to connect. Needed for Leonardo only

Is this also needed for Micro since Micro uses the same 32U4? Thanks.

I tested printing stuff from Micro to PC. It seems to work without the while but I was printing analog values repeatedly and I didn't check if the first line printed out.
22  Community / Bar Sport / Re: Arduino popping up in movies/documentaries on: August 01, 2014, 01:25:10 pm
I wish they showed the circuitry. There might be arduino involved.
23  Using Arduino / General Electronics / Re: Making a sturdy connection to membrane keypad on: August 01, 2014, 09:45:33 am
Sorry I didn't clarify before. This is a logger project that is deployed in farm fields. There could be some vibration issues but I just wanted it to be well secured and needs the least amount of effort to service in the field. There has been cases where the keypad got disconnected and that froze the logger. I'm using molex polarized connectors with tabs for internal connections but this one comes with a connector. The rest is plastic sheet with conductive materials painted into strips of "wire" so there is no way to replace the header. I'll see if I have to migrate to the more tactile keypad that you often see on vending machines. They do have a circuit board so I can put socket on the board.
24  Using Arduino / General Electronics / Re: Making a sturdy connection to membrane keypad on: July 31, 2014, 11:52:49 am
Thanks. Is there any where I can purchase these custom made clips?
25  Using Arduino / General Electronics / Re: Making a sturdy connection to membrane keypad on: July 31, 2014, 10:55:02 am
Use a header with two extra pins, one on each end. Plug keyboard in, then solder a wire from one extra pin, across the top and to the other pin. To unplug, bend the wire out slightly. To replug, plug in and bend the wire back. If you don't bend it too much, it will last.

Thanks. I kind of understand. So the wire acts as a retention strap. I wonder how industrial products secure this keypad.
26  Using Arduino / General Electronics / Re: That's easy! on: July 31, 2014, 10:53:50 am
Hot melt glue.

Or silicone.

Pros & cons.

Thought about that but it needs to be removable.
27  Using Arduino / General Electronics / Making a sturdy connection to membrane keypad on: July 31, 2014, 08:09:03 am
This is what I use:

The connector has no locking mechanism. I wonder how to lock it to a receptacle. Thanks.
28  Using Arduino / Project Guidance / Re: custom PCB on: July 17, 2014, 01:54:58 am
China shops underpricing each other, interesting.

Want the real price? I kind of know it but there is no way you or me can get it.
29  Development / Other Software Development / Re: IDE 1.0.5 doesn't work properly with wifi module on: July 16, 2014, 01:48:16 am
I have the same shield, many of them. I didn't upgrade the firmware on any of them except one that I use for testing. The original firmware (no version number) works best with a version of wifi library (no version number) that was released before arduino IDE starts including the wifi library. The 1.0.5 r2 IDE works with the latest firmware (no version number). Otherwise you don't get any connection to servers.
30  Using Arduino / Project Guidance / Re: custom PCB on: July 16, 2014, 01:40:38 am
@ CrossRoads,
OK, as an elecrow member, here i intruduce you the elecrow PCB service:
1. if you care about the price:
 the 5cmx5 cm max , 10 pcs , color free--> 9.9$
 the 5cm x 10 cm max, 10 pcs , color free--> 12.9$
 the 10 cm x 10 cm max , 10 pcs , color free --> 15.9$,
and also special for green board: 10cm x10 cm, 10 pcs, green, only 12.9$
so, as the price, elecrow is good!

2. as the Stencil service:
the Laser Cut PCB Stencil service 20$, and the Stencil service without frame 20$ too, which would reduce the shipping fee greatly for customers.
3. as the other kinds of PCB service:
 Provide the 4 layer PCB, FPC, and high-quality PCB service.

You guys seem new to me. I'll give you a try sometimes.
Pages: 1 [2] 3 4 ... 512