Show Posts
Pages: 1 ... 6 7 [8] 9 10 ... 114
106  Using Arduino / Programming Questions / Re: send data from arduino to a local database in my Pc on: April 01, 2014, 05:31:01 pm
The simplest way is to use PLX-DAQ. This is a freebie macro for Excel which effectively makes into into a terminal. You can use it to make live on-screen graphs.

Theer are alternatives, like here

http://sebastiannilsson.com/en/projekt/realtime-plotter/realtime-data-plotter/

but I have not tried it yet.

107  Using Arduino / Displays / Re: Nokia 5110 LCD Not working at all. on: April 01, 2014, 05:02:15 pm
Contrast. Yes. I think that could be the answer, even though I never had the situation where there was nothing. I believe Stuart Little's tutorial had a bit about that. Also perhaps here   

http://ianlangelectronic.webeden.co.uk/#/lcd-module-0/4569058582

I believe the contrast requirement varies according to what is on the screen and, consequently, striving for good graphics contrast is not worth the effort. I believe I modified the Philips pcd8544 library with Lewis's contrast setting.
108  Using Arduino / Networking, Protocols, and Devices / Re: Bluetooth connect Arduino to Android on: April 01, 2014, 05:05:26 am
I want my bluetooth to be able to send sensor readings to my phone and, if needed, for the phone to be able to send information to my Arduino. Right now it only partially works.

OK Here are some notes I have put together

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

The objective is to prove the point with two-way traffic.  Pretty basic approach, but bulletproof all the same and, once you get it together, you should be good for anything.

Quote
No I am feeding it with 3.3v, I have seen multiple tutorials saying to use 3.3 instead of 5 but until I get it to work myself, I believe nothing smiley

I have seen nothing but confusing junk come out of those Instructables. Feeding 3.3v to a JY-MCU may not do any harm, but cannot possibly be a good idea, and may even be a cause of your problems. The writing on the back clearly says 3.6 > 6v. It has an on-board regulator to deliver 3.3v and needs 3.6v for stable operation. This s exactly the same as a 5v Arduino requiring a minimum of 7v at the barrel jack.

I don't even have a divider on the Tx pin, but at least I can see a clear reason for doing it. it.
109  Using Arduino / Displays / Re: Nokia 5110 LCD Not working at all. on: March 31, 2014, 10:57:54 pm
OK, I have run out of ideas. If you have it wired like the diagram, it will never work - hence my comment. If it is still wired like the picture, it should.  Running the LED with no resistor isn't a good idea, but I have done it and nothing fried.
110  Using Arduino / Displays / Re: Nokia 5110 LCD Not working at all. on: March 31, 2014, 09:25:40 pm
These things are surplus but the fact that you got a fleeting result suggests it is OK. There are variations in the wiring. I got mine going only by accident. Mine is the same order, but the LED is wired to ground. This is one reason why I said disconnect it. You might try grounding it through a 1k resistor.

Your wiring order seems OK.
111  Using Arduino / Displays / Re: Nokia 5110 LCD Not working at all. on: March 31, 2014, 08:21:55 pm
Sorry, this is how I have it wired up:

I bet you didn't, but it does imply you are running it off 3.3v. Try disconnecting the LED.
112  Using Arduino / General Electronics / Re: Bluetooth module serial communication problem on: March 31, 2014, 06:04:18 pm
It can hardly be the code and the wiring looks kosher, so it sounds like inadequate power.

I don't know which is most famous - JY-MCU as a power hog, or USB for its failure to deliver, and adding an LCD can just make a bad situation worse.
113  Using Arduino / Networking, Protocols, and Devices / Re: Bluetooth connect Arduino to Android on: March 31, 2014, 05:47:28 pm
Soooo, I am confused.

No surprise there. You have been reading an Instructable.

There are two things you can do with a bluetooth module, you can configure it with AT+ commands, or you can use it to communicate.

What are you trying to do with your bluetooth?

One of the most important things you need to know is that you don't have to configure  a JY-MCU in order to use it.

I ask this particularly because the code refers to sending AT commands but there is no suggestion that that is what you want. I assume the code complies OK, but I suspect it is junk.  I understand you are ignoring the writers admonishment to feed the JY-MCU with 3.3v VCC.

 
114  Using Arduino / Displays / Re: Nokia 5110 LCD Not working at all. on: March 31, 2014, 09:40:53 am
The picture isn't too flash, but it looks like you are running it off 5v, it should be 3.3v. There might be other power issues. You have no limiting resistor  for the LEDs. Try running it with the LED wire disconnected
115  Using Arduino / Sensors / Re: DS18B20 Scrambled LCD HELP! on: March 31, 2014, 05:31:03 am
I would have thought that would be simply a few floats stored in the setup

Code:
float Max1, Max2, Min1, Min2;
foat temp1, temp2:

void setup(void)
Min1 = 1.25
Max1 = 101.1  etc

void loop() {
get temps
if (temp1 > Min1)
{
doSubrtn();
}
}

The Knowledge is Power Brigade will come down on you soon, so here is some preparation

http://forum.arduino.cc/index.php/topic,45411.0.html

I'm pretty rusty on this stuff
116  Using Arduino / Sensors / Re: DS18B20 Scrambled LCD HELP! on: March 31, 2014, 02:29:14 am
The code I posted is derived from the Hacktronics tutorial. I believe it has all you need. Any  maths you need is straighforward when you use floats.
117  Using Arduino / Sensors / Re: DS18B20 Scrambled LCD HELP! on: March 31, 2014, 12:59:21 am
OK

You have something that works, but I just think there is a swag of redundant stuff in there........
118  Using Arduino / Networking, Protocols, and Devices / Re: Help! Unable to Discover Seeedstudio Bluetooth Shield on: March 31, 2014, 12:56:02 am
because our Capstone is to make Swarm Robots. Thus we have a ton of robots and

Wow...

OK. Pairing implies two, and I'm not sure you would be able to pair with more than one bluetooth, i.e. broadcast, so I don't know how much of a disadvantage you have incurred there. The NRF24 can be in a network of 128(?) but I don't know about uploading code to them either.  If you are intending to have a swarm communicate by bluetooth, I can only assume you have done the necessary research.  There is a faint possiblity that the Seeed is more appropriate for this than the HC-05, and that is the answer you should have received from your professor - not some irrelevant babble about the country it comes from.

Quote
But I ended up buying the HC-05 and it will hopefully be here Tuesday and I'll have 3 days to follow this: http://letsmakerobots.com/node/30915 and make it work.

Probably a very wise move. While I know nothing about robots, I would have thought the NRF24 was a better bet for comms in a swarm.

This very basic note might help with the HC-05, but I assume that, at this stage, you are more advanced than this.

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

Good luck
119  Using Arduino / Displays / Re: LCD with Sensor Shield v5.0 on: March 30, 2014, 09:26:21 pm
I think you have two problems.

1. Your display is clearly running on an I2C adapter. It therefore requires a different library and a slight change to the code. The library is probably   LiquidCrystal_I2C2004V1 and it includes a workling example.

2. You appear to have correctly wired the LCD to the shield, but the shield is made for Uno, not Mega, and, as it stands, the LCD is not connected to the I2C bus. I2C on Mega is pins 20,21, not A4,A5, as is clearly marked in your picture. You may find there is provision on the shield to run a jumper to these pins. Failing that, a bit of butchery on the shield is in order.
120  Topics / Robotics / Re: hc-06 does not respond according to command on: March 30, 2014, 05:03:19 pm

HC-06    ---------     ARDUINO UNO
 RX           ----            TX
TX          -------           RX
VCC        --------         3.3V
GND       ---------        GND }


3. Response of motors to commands. This is a separate programming issue, not relevant to this discussion, and a possible impediment to proving item 2.

I SEEM MY PROBLEM IS HERE IN NUMBER 3.
 

It might be #2. You still have not proven it isn't.
RxTx are kosher, but is the power? What sort of HC-06 is it? If your Bluetooth is on a JY-MCU board, 3.3v might not be enough.  Read the notes. Read what it says on the back of the board. I can't comment on the motors but, since you are using hardware serial, you should be able to prove that section by sending commands from a PC terminal via USB.
Pages: 1 ... 6 7 [8] 9 10 ... 114