Show Posts
Pages: 1 ... 6 7 [8] 9 10 ... 113
106  Using Arduino / Project Guidance / Re: serial 0 device blocking bootloader ? on: March 28, 2014, 02:23:29 am
im already on a mega and all ports used.

Quote
software serial is not an option.

Beats me.... Maybe it's time to disconnect everything except the alleged offender, and make sure that is where the problem really lies, and then try another device on D0.
107  Using Arduino / Project Guidance / Re: serial 0 device blocking bootloader ? on: March 28, 2014, 01:57:41 am
thanks for your reply, software serial is not an option.
i believe it is excpecting a sketch as that is what it does when it is reset by the ftdi (or in this case the power supply)
what im thinking is to make a circuit that an arduino pin switches the tx line on after a delay of about 3 seconds, which is enough, ive found.

I won't ask why software serial is not an option, and I don't believe Arduino expects a sketch on on reset. I don't know what an FTDI is but, in that event, what does Arduino do when no sketch arrives - which is usually the case?

That aside, I can't see a software solution using a delay in Arduino. A 3 sec delay in connecting the Tx is not the same as a three sec delay introduced on reset. If you are short of pins for software serial, a Mega might be the solution, as it has four hardware serial ports - along with a lot of other pins. 
108  Using Arduino / Project Guidance / Re: Which Arduino works with smartphones ? on: March 28, 2014, 01:38:42 am
Much more to the point is: which smartphone works with Arduinos?

Generally speaking, I think you can forget about using an iPhone.

1. Uno. You would only use a Lilypad if you have a strong, clear, and very personal reason - which is not yet evident.

2. I don't know what Eclipse is. You almost certainly don't need it.

3. I don't know what Anniken is either. Same applies. Bluetooth is a common, simple, and popular way to communicate between Arduino and Android. Below is all you need to do that. The LED stuff is down to you. You will get plenty of help here.

http://homepages.ihug.com.au/~npyner/Arduino/GUIDE_2BT.pdf
http://homepages.ihug.com.au/~npyner/Arduino/BT_2_WAY.ino
109  Using Arduino / Project Guidance / Re: serial 0 device blocking bootloader ? on: March 28, 2014, 01:24:16 am
It sounds sort of feasible but I would have thought that Arduino would only expect a new sketch when it was specificallyt told it was about to get one.

I assume the reason why it needs to be always connected is because the transmitting device is powered from Arduino.

I have to bite my tongue as I say this, but I guess a work around is to use software serial, thereby enabling you to get the transmitter off D0. Software serial has it's limitations but they might not be such a problem if you only have one-way traffic.
110  Using Arduino / Networking, Protocols, and Devices / Re: HC-05 Bluetooth module stopped working. on: March 27, 2014, 10:12:28 pm
OK, I assume it is a JY-MCU module or the like, and I will solder up the LED connection on mine.
I am only speculating on the power because I can't see another explanation, and I'm talking about current, not volts, as the module is a bit of a power hog. Are you supplying power through a USB cable or a wall wart.?
111  Using Arduino / Networking, Protocols, and Devices / Re: Help! Unable to Discover Seeedstudio Bluetooth Shield on: March 27, 2014, 07:20:09 pm
I get the distinct impression that you have left it pretty late to find out that you have made a bad choice of both project and equipment.  The best thing you have done so far is borrow a Uno, and it might be a good idea to try to keep it.

You are not alone and there has been quite a swag of similar problems of late. One of the most comprehensive is here

http://forum.arduino.cc/index.php?topic=120113.30

in which reply #40, yes #40, seems the most pertinent, but you may find something useful there.

Quote
with an endgoal to be able to upload code to an Arduino Pro Mini

I don't know if it's possible to do that, it is certainly pointless, and it might actually be easier to do something more constructive.

This might not be helpful but, seriously, if you can find a way in the next six days to buy, beg, borrow, or steal and HC-05 bluetooth module, you will then have something that several million people know, love, and understand - and can talk sensibly to you about it. And quite a few of those people are on this forum.

112  Using Arduino / Project Guidance / Re: What Arduino/Shield to Buy on: March 27, 2014, 06:12:58 pm
There is an outfit in Santiago that makes a 4-20mA shield for some breathtaking price. I think it is called MCI. I understand all you need is shown below, which is the sort of thing that could go on a prototyping board that then connects to a Uno. Freetronics make a version of the Uno that has a proto area included, but they are probably more expensive.

113  Using Arduino / Networking, Protocols, and Devices / Re: HC-05 Bluetooth module stopped working. on: March 27, 2014, 10:30:07 am
OK, is that the little 6-pin module, or are you referring to a shield? I don't actually have the LED connected on my HC-05.
Your problem could still be power.
114  Using Arduino / Networking, Protocols, and Devices / Re: HC-05 Bluetooth module stopped working. on: March 27, 2014, 09:24:07 am
The LED on the module blinks just fine as before, though.

This is not "just fine". If it blinks, it isn't connected.

IF you really are establishing a connection with the right procedure on the Android, with proper confirmation, and THEN you still see a blinking LED, it could be that you are instantly losing the connection, which suggests it might be a power problem.
115  Using Arduino / Networking, Protocols, and Devices / Re: Seeedstudio BT Shield not discoverable! on: March 27, 2014, 07:50:55 am
already tried using another device........there is either some code or hardware problem i guess.

OK. So that's that one out of the way....
Now while I have strong doubts about the code, I believe the problem could be more fundamental than that.  I'm not familiar with the Seeed but one bluetooth isn't so different from another and, if you cannot get pairing, this isn't down to Arduino per se,  but it could be because you used, or are using, the Arduino to stuff the bluetooth up. If the latter, it is because the code is not only suss, but also not intended for the purpose you think it is.  It seems amish-mash but part of it could be for setting the bluetooth up rather than actually communicating.

You need to be sure of the differences between pairing, connecting and communicating.  Pairing is between Android and bluetooth.  Arduino is not involved and does nothing more than provide the power, i.e. if you have another source of power for bluetooth,  Arduino could be disconnected. Once the pairing is made bluetooth is "on the books" at Android and henceforth you just connect. As for communication,  Android and Arduino just talk to Bluetooth and and don't know what it is connected to the other side - if anything.

I hesitate to offer this link but it might shine some light on common principles.

http://homepages.ihug.com.au/~npyner/Arduino/GUIDE_2BT.pdf
http://homepages.ihug.com.au/~npyner/Arduino/BT_2_WAY.ino



     
116  Using Arduino / Project Guidance / Re: Two Arduinos Communicating through Bluetooth on: March 26, 2014, 08:25:24 pm

So our goal as a group is for two independent Arduinos to communicate with each other through some type of wireless technology, whether that be bluetooth, RFID, or something else, and to send informational data (text-based messages/numbers) from one to the other when in close proximity (and vice versa simultaneously).

So is this feasible?

Yes.

I think doing it by bluetooth is the least common way and there are several reasons including.

1. Most or many Arduino users want more than  two, which considerable magnifies the problem.

2. Other radio methods offer greater range

3. Other methods are usually cheaper.

There is plenty of information around here about using NRF24, and I think that is the obvious place to look. In the meantime, here is the only comprehensive stuff on bluetooth that I know of.

http://phillipecantin.blogspot.com.au/2012/01/arduino-bluetooth-link.html
117  Using Arduino / Project Guidance / Re: Why use an arduino mini over uno? Please help on: March 26, 2014, 08:14:46 pm
what exactly does one gain from using the mini?

If it isn't immediately apparent to you, the answer is nothing.

The Uno and Mega are the standard. That's where the talk is, and where the best support is.  A breadboard is always a temporary lashup  and a Uno can be easily connected to one, it just can't sit on one. That isn't a good reason for not getting one.

I believe  a Mini is more appropriate as an Arduino that is incorporated into something else, i.e. a small part of the greater whole - which is more or less in line with what you are thinking.
118  Using Arduino / Project Guidance / Re: Wristwatch with four buttons and Nokia 5110 on: March 26, 2014, 07:36:59 pm
I may instead turn it into a clock or something else fun,

Very wise.  There is plenty you can do and still have fun while leaving all that multi-million dollar miniaturisation stuff to Casio etc.
Further, an Arduino clock can be made to do a hell of a lot more than any digital watch and it's a shame Victor Borge never knew of it. The 5110 is a great little display with six lines of text. You can even use it for graphics, although I wouldn't recommend it. It is also possible to mix graphics and text.

Quote
Does anyone have any idea what battery may work well? (preferably a button one, optionally rechargeable)

It might pay to get off that bike too, as the problem is much the same as above. The Arduino is a long way from a dedicated clock chip and, if it consumes a hundred times as much power just sitting around doing practically nothing, don't be surprised.  It's OK  to spend a rainy afternoon fiddlearsing around with battery powered robots, where the Arduino's demand is probably secondary anyway, but the thing about clocks is that, to be useful, they need to run continuously for a very long time - like a couple of years.

Further, while Arduino consumes all that power, it might not even be telling the time. It usually uses a clock module for that - which usually does have a battery, a (large) button battery, which may even be rechargeable.
119  Using Arduino / Networking, Protocols, and Devices / Re: Seeedstudio BT Shield not discoverable! on: March 26, 2014, 06:26:17 pm
I don't know anything about your bluetooth shield, NewSoftSerial,  or the code.

The code does seem suss, if only because there seems to be a hell of a lot of it for such a simple job. Further, the duplication of the command

  Serial.begin(38400);

and the comments about pin 48, also make me suspect it is junk cobbled up from something else, even though these lines are probably more indicative of, rather than a direct cause of, your problem.

Having said all that, you might try using another device. I despaired of ever getting my Arduino to talk to my Android tablet but when I got a phone it was fine. I eventually found that the tablet was OK with a different bluetooth module and that module was also OK with the phone.  My tablet is pretty clunky and I'm more inclined to blame it than Arduino, but it does show that all is not perfect in the bluetooth world.

120  Topics / Robotics / Re: hc-06 does not respond according to command on: March 25, 2014, 06:04:53 pm
Your post is unreadable and the problem unclear. It may be that you have simply left the USB cable connected when you try to run the programme.

Here is some background on the procedure that may help.

http://homepages.ihug.com.au/~npyner/Arduino/GUIDE_2BT.pdf
http://homepages.ihug.com.au/~npyner/Arduino/BT_2_WAY.ino
Pages: 1 ... 6 7 [8] 9 10 ... 113