Show Posts
Pages: 1 ... 3 4 [5] 6 7 ... 516
61  Using Arduino / Storage / Re: SD card init failure on: September 04, 2014, 01:04:15 am
Provide a link to the SD shield. I'll take a look at its design.

Which Arduino board and which version are you using?
62  Using Arduino / Storage / Re: NANO and data logging sheiled on: September 03, 2014, 10:01:27 pm
Use ASM1117-3.3V regulator. I have in on my custom board with SD card slot and ATMEGA328.

Voltage Regulator 3.3V/1A SOT223 AMS1117-3.3   

Dipmicro.com part number: DE4113

I am using Itead_IC_110429 EAGLE library and the part has SOT-223 foot print so any decent library should have its foot print.

Remember, the tab is NOT connected to ground, but to output instead. I made the mistake once.
63  Using Arduino / Storage / Re: SD shields don't work with external power on: September 03, 2014, 09:57:12 pm
is there a 3.3v regulator on the board ?

That was my first thought. I've seen problems of failure to start with older Arduino boards that draw 3.3V from the FTDI chips. I've designed my own board with ATMEGA328 and SD card but I added an ASM1117-3.3V regulator specifically for the SD card. Works every time.
64  Using Arduino / Storage / Re: SD card init failure on: September 03, 2014, 09:54:12 pm
I have the same problem with Seeed SD shield on Arduino Uno R3. I read on a different forum that using a different SD library can solve the problem. Will post the details here if that works out.

Which library are you using? SD or SdFat?

I am using SdFat library now with MEGA2560 R3. I have not seen any problems since. I guess it may be due to the weak 3.3V supply on older boards (MEGA1280, UNO R2, Duemillanove) not able to supply enough power to the card for initialization. MEGA2560 R3 has a separate 3.3V supply. I designed a board also with a separate 3.3V supply. I have not seen any problem so far.
65  Using Arduino / Project Guidance / Re: Small household device to send data via wireless router on: September 02, 2014, 08:09:25 pm
You may use digi's xbee wifi s6b module for transmission, as long as the rest of the device has a micro controller capable of generating text info to send to xbee. Xbee has sleep mode. An xbee module is not cheap though. Around 40 USD.
66  Using Arduino / Project Guidance / Re: Arduino Board/shield difference? on: September 01, 2014, 07:57:26 pm
Arduino board has the micro controller and is sufficient to run basic projects or more complex projects if you connect more hardware to it.

A convenient way to connect more hardware to the arduino board is to buy a shield that has the hardware on it. All you need to do is to plug the shield on top of Arduino, instead of using a bunch of jumper wires and a breadboard. The majority of shields you see online are compatible with Arduino UNO, with some also compatible with MEGA and Leonardo. Most of them are not compatible with Arduino DUE because of the different voltages. Arduino DUE operates at 3.3V I/O logic and most shields only operate at 5V. As far as I know, all current version of official Arduino shields are compatible with Arduino UNO, DUE, MEGA, and Leonardo. Many third party shields such as Adafruit's data logging shield, don't have their SPI pins connected to an ICSP header. So they are only able to limp on arduino MEGA or Leonardo.

You buy a shield if you want the convenience of the hardware and supporting software and want to try the hardware out.
67  Using Arduino / Project Guidance / Re: Parallax RFID reader not reading card on: August 24, 2014, 09:35:44 pm
You should read the sample code. In the sample code, a zero is inserted into the end of the array containing the 10-character sequence. Where is that in your code?

Curious. I don't know about the flooding argument. I don't have an RFID reader. If you place an RFID on it, does it keep reporting what it reads?

I'm not sure how well you hooked up your circuits. It's one of the standard things I ask when someone has a circuit that is not working. If you did everything including circuit and code correctly, you wouldn't be here. You may be an expert in building circuits but without showing a picture, we all think you made a spaghetti monster.  smiley-razz

For the duplicate post, press report to moderator and kindly ask them to remove it. They'd be happy to help.
68  Using Arduino / Project Guidance / Re: Need Help on creating a code for my Tank Project. on: August 24, 2014, 09:20:59 pm
zoomkat,

Let's cut the noise and get to the point. Page 3. Turn the joystick 45 degree and each motor driven by one axis of the stick. I've mentioned this long ago on the forum. It must have been done by countless others.

Perhaps you can provide a link to what ever it was you mentioned long ago. Better yet post up your code that does what you are describing.  If you don't have working code perhaps you can explain your thinking  in the statement "Turn the joystick 45 degree and each motor driven by one axis of the stick.".

Didn't you just point to a working solution yourself, on page 3 of that thread? How difficult would it be to try one axis controlling one motor, and then get back to the forum and post some code in progress for critique? Middle means no motion (with deadzone), 1023 is maximal forward, 0 is maximal reverse. Same for the other motor. You just have to orient the stick at 45 degrees of what you would typically hold it.
69  Using Arduino / Project Guidance / Re: Parallax RFID reader not reading card on: August 24, 2014, 03:42:30 pm
No, remove the other thread yourself and use this one. Post the link to the said RFID reader, your hookup with pictures.
70  Using Arduino / Project Guidance / Re: Need some advices on making a weather station on: August 24, 2014, 03:40:15 pm
I would use sprintf to assemble information and sscanf to disassemble them.

http://liudr.wordpress.com/2012/01/16/sprintf/

http://liudr.wordpress.com/2012/01/30/sscanf/

Some may recommend Sprint class functions but I don't use them.
71  Using Arduino / Project Guidance / Re: Need some advices on making a weather station on: August 24, 2014, 12:30:29 pm
Are all sensors connected to the same central location with the wireless transmitter? If yes, then just do print such as Temp=12, Humi=50\r each time you send data and disassemble the data on the receiver end.

If you wish to expand this project to include more sites, more locations, then you need to consider xbee. Cheap transceivers can't network.
72  Using Arduino / Project Guidance / Re: Need Help on creating a code for my Tank Project. on: August 24, 2014, 12:25:47 pm
zoomkat,

Let's cut the noise and get to the point. Page 3. Turn the joystick 45 degree and each motor driven by one axis of the stick. I've mentioned this long ago on the forum. It must have been done by countless others.
73  Using Arduino / Project Guidance / Re: Need Help on creating a code for my Tank Project. on: August 24, 2014, 10:13:11 am
Hey Justin,

When you want to control two motors (speed direction) with a joy stick, you need to orientate the stick at 45 degrees angle so that if you push it up, then both "up/down" and "left/right" are increasing. This way you can use one channel to directly control each motor, pretty simple and gives you the right kind of movement corresponding to the joy stick's position. What you are doing is probably less simple and has very limited movement corresponding to the stick position.
74  Using Arduino / Project Guidance / Re: GPS Receiver guidance on: August 24, 2014, 10:05:04 am
Why do you say it is the code? Have you tried to power your setup with a separate battery from truck and keep it inside the truck instead of on your bike? I've used the EM406A module I bought from sparkfun.com and recorded my trips on highways in my car.
75  Development / Other Software Development / EthernetClient.h questions: on: August 21, 2014, 11:32:11 pm
The following is taken from the said file from IDE 1.0.5 r2:
Code:
#include "Arduino.h"
#include "Print.h"
#include "Client.h"
#include "IPAddress.h"

My question is why the double quotation instead of brackets?

http://gcc.gnu.org/onlinedocs/gcc-4.1.2/cpp/Include-Syntax.html

I'm writing my own xbee_wifi_client class and want to borrow what Arduino team did. Just curious.

Another question:

Code:
  using Print::write;

What does it do exactly?
Pages: 1 ... 3 4 [5] 6 7 ... 516