Show Posts
Pages: [1] 2
1  Using Arduino / Project Guidance / Re: GPS Issue on: April 12, 2014, 03:58:22 am
I can't seem to find anything on that guide to reverse it, maybe my mind is just unable to comprehend.

But I did manage to read the whole reference manual and found some propriety commands:


Code:
Serial.println("$PUBX,00*33);
//Position Fix
($PUBX,00,hhmmss.ss,Latitude,N,Longitude,E,AltRef,NavStat,Hacc,Vacc,SOG,COG,Vvel,ageC,HDOP,VDOP,TDOP
,GU,RU,DR,*cs<CR><LF>)


Serial.println("$PUBX,03*0D");
// Satellite Fix : GT = number of sats
$PUBX,03,GT{,SVID,s,AZM,EL,SN,LK},*cs<CR><LF>


Serial.println("$PUBX,04*37");
// Time and Day
$PUBX,04,hhmmss.ss,ddmmyy,UTC_TOW,week,reserved,Clk_B,Clk_D,PG,*cs<CR><LF>

So I think I will manage get all the data.

But it would be great if you could specifically point out where the reverse to the stop command is given.

Thanks.
2  Using Arduino / Project Guidance / GPS Issue on: April 11, 2014, 01:12:28 pm
Hello Everyone,

I am using UBLOX Neo6mv2 GPS Module.
I recently interfaced the module with Arduino Successfully and I am able to extract the Lat/Long information perfectly fine.

Previously I was using an RTC module to time stamp all my data, but since that is inaccurate I want to use the GPS fix for time and date information.

I've ran into a dead end here. I used the following commands from this website: http://ukhas.org.uk/guides:ublox6
to disable all the NMEA sentences. And using the Serial.println("$PUBX,00*33"); command I am able to poll the GPS device for the information. I am unable to turn the NMEA sentences back on. I can't find any command online, even tried to read the protocol data sheet but it kinda went over my head.

The information I get when I poll the device does  not contain the date, which I need for my time stamp, whereas the RMC NMEA sentence contains, date, time, lat, long information.

Basically, I want to know how to restore my device to default settings or turn back the NMEA sentences on periodically.

Here is the code used to turn them off:
Code:
Serial.println("$PUBX,40,GLL,0,0,0,0*5C");
Serial.println("$PUBX,40,GGA,0,0,0,0*5A");
Serial.println("$PUBX,40,GSA,0,0,0,0*4E");
Serial.println("$PUBX,40,RMC,0,0,0,0*47");
Serial.println("$PUBX,40,GSV,0,0,0,0*59");
Serial.println("$PUBX,40,VTG,0,0,0,0*5E");

Would really appreciate if someone could help me find the command to turn the sentences back on.

Thank You,
3  Using Arduino / Networking, Protocols, and Devices / Ublox Neo 6mv2 Problem on: April 11, 2014, 06:33:51 am
Hello Everyone,

I recently interfaced the module with Arduino Successfully and I am able to extract the Lat/Long information perfectly fine.

Previously I was using an RTC module to time stamp all my data, but since that is inaccurate I want to use the GPS fix for time and date information.

I've ran into a dead end here. I used the following commands from this website: http://ukhas.org.uk/guides:ublox6
to disable all the NMEA sentences. And using the Serial.println("$PUBX,00*33"); command I am able to poll the GPS device for the information. I am unable to turn the NMEA sentences back on. I can't find any command online, even tried to read the protocol data sheet but it kinda went over my head.

The information I get when I poll the device does  not contain the date, which I need for my time stamp, whereas the RMC NMEA sentence contains, date, time, lat, long information.

Basically, I want to know how to restore my device to default settings or turn back the NMEA sentences on periodically.

Here is the code used to turn them off:
Code:
Serial.println("$PUBX,40,GLL,0,0,0,0*5C");
Serial.println("$PUBX,40,GGA,0,0,0,0*5A");
Serial.println("$PUBX,40,GSA,0,0,0,0*4E");
Serial.println("$PUBX,40,RMC,0,0,0,0*47");
Serial.println("$PUBX,40,GSV,0,0,0,0*59");
Serial.println("$PUBX,40,VTG,0,0,0,0*5E");

Would really appreciate if someone could help me find the command to turn the sentences back on.

Thank You,
4  Using Arduino / Project Guidance / Re: Communicating with a PC and OBD-II interface simultaneously. on: March 26, 2014, 10:16:16 pm
To communicate from Arduino UNO to your PC, you must be using the standard USB A-B cable.
That USB port is hardwired to the RX,TX (0,1) pins on your Arduino UNO board.

To communicate with multiple serial devices you will have to use SoftwareSerial.
It is very easy to use, just see the examples on the arduino website. It will make any two Digital I/O pins on your board as Rx,Tx and you can add another serial device to your circuit.

Oh and I am trying to get OBD to work, but I have no luck getting that working.

What hardware interface are you using between the Arduino and OBD?
5  Using Arduino / Project Guidance / Re: Arduino Interface with OBD-II on: March 26, 2014, 10:12:31 pm
Basically, I want to make a data logger.

It would log all the details of the car like: Fuel Input Level, RPM, Vehicle Speed etc.

I did connect an ELM327 to USB cable to my computer and using a thirdparty software was able to see all of these.

I have a few question:
Can the ELM327 or the STN1110 directly act as the interfacing device between OBD and Arduino?
Also, if MCP2551 is the CAN controller, means it won't work with ELM327 protocol right?
Where does the MCP2515 come into play, I have seen some circuits in which both 2551 and 2515 are used.
Which is the most reliable IC to use for maximum number of new/old cars?

Thank you.
6  Using Arduino / Project Guidance / Arduino Interface with OBD-II on: March 26, 2014, 11:57:42 am
Hello Everyone,

I have come across a lot of methods and ways to interface the micrcontroller with the OBD, but nothing seems to work. Maximum number of people are using the PIC microcontrollers.

I am totally confused between many IC choices - MCP2551, MCP2515, STN1110, ELM327, MC33290

I am aware all these offer different protocols to interface with the OBD port.

Which one do you guys suggest is the best and the easiest to use with Arduino?
7  Using Arduino / Interfacing w/ Software on the Computer / Re: Wireless Camera and Processing on: January 20, 2013, 04:20:02 am
Quote
After which I want to generate results based on that to be sent to my Arduino which is controlling the motors on the robot. If anyone can please guide me on learning about this it will be a great help

Simple, just send the results in a way supported by the arduino (typically a serial interface, but other methods available). You might start experimenting with a serial interface like the serial monitor.

Thank you, I will get on to it right away smiley
8  Using Arduino / Project Guidance / Re: Simple Image Processing on: January 20, 2013, 02:32:57 am
Just a thought, maybe you should start with a small B/W bitmap image file and see if you can process what it contains line by line.

Yes before buying all the hardware, I am going to start experimenting with processing and various images.


Thanks for the help. I guess I've figured out what exactly has to be done. I will ask again if I get stuck somewhere specific.
9  Using Arduino / Interfacing w/ Software on the Computer / Re: Wireless Camera and Processing on: January 20, 2013, 02:31:13 am
My question is related to sending the results generated in Processing to the Arduino.
10  Using Arduino / Interfacing w/ Software on the Computer / Wireless Camera and Processing on: January 20, 2013, 01:56:28 am
Hello Guys,

I am new to processing. Just started learning about it.

So what I exactly want to do is, have a wireless camera send an image to my PC and using Processing, process the image to find a particular color.

After which I want to generate results based on that to be sent to my Arduino which is controlling the motors on the robot.

If anyone can please guide me on learning about this it will be a great help smiley

Thanks.
11  Using Arduino / Project Guidance / Re: Simple Image Processing on: January 20, 2013, 01:47:01 am
Okay, nevermind. In India the Kinect for PC is costing around $400. That is way over my budget at the moment. So we are back to webcam.

So I will have to use a wireless webcam and process it on the computer.

I will study and learn processing. But can anyone guide me on how to exactly send data to my controller from the results generated by Processing?
Or once I study it from a normal tutorial/wiki I will know that and nothing special would be required.

12  Using Arduino / Project Guidance / Re: Simple Image Processing on: January 20, 2013, 01:36:31 am
Quote
Using Kinect is an awesome idea...but Sir I have no Idea how to send Kinect's data wirelessly back to my computer.
Could you help me a bit in that?

If that can be worked out it will be amazing!

Truly it would. But you can't do it with an Arduino, maybe the Due but so far I have not seen anything to talk to the USB port and input video. That sort of setup would require a laptop on your robot.

Well the Arduino won't have to do any processing other than recieving data wirelessly and telling the motors what to do. Rest everything will be done by the laptop.

As creativen said that I could use Kinect to capture the image data and process it using Processing on the computer and send the data to Arduino for driving the motors. So if I could figure out a way to send images captured by Kinect wirelessly to my PC, it would make things really simple. Well for starters I could actually just wire my laptop to it. As this project is no school work, I am just doing it to increase my own knowledge about image processing and embedded systems.

13  Using Arduino / Project Guidance / Re: Simple Image Processing on: January 20, 2013, 01:13:52 am
Pauses thread here for a moment and rewinds.....

Is this really an image processing issue or just light following?



It will be image processing cause the light which the bot has to follow, I will be holding it in my hand waving around in a 3-D space. If it was just following something on the floor I would've used LDR's.

Using Kinect is an awesome idea...but Sir I have no Idea how to send Kinect's data wirelessly back to my computer.
Could you help me a bit in that?

If that can be worked out it will be amazing!
14  Using Arduino / Project Guidance / Re: Simple Image Processing on: January 19, 2013, 02:41:58 pm
You also don't need to have one processor do every thing. Use a WiFi cam mounted on the 'bot. Link the cam to the PC and have the PC do the image processing and send instructions to the 'bot. Lookup robotics - horse and rider.

Mark

That sounds like a better idea.

Can you explain me a bit more about this?

So what I make out of what you said is:
1. Wifi Camera sends image to PC.
2. I process the image in say MATLAB.
3. I send the instructions to the controller wirelessly from my results generated in MATLAB.

Now I am not very well versed with MATLAB. It would be really great if you could guide me on this.
How would I automate results from my MATLAB scripts to be sent over to the controller?
Give me some sources to study. Also, I am planning to get the XBEE module with the shield for my UNO board. How exactly would XBEE talk to my PC. (Is it possible to do that on an AD-Hoc network? or I would need a Wireless Router?)

It would be really helpful if you could give me more pointers on this.
15  Using Arduino / Project Guidance / Simple Image Processing on: January 19, 2013, 04:42:36 am
Hello,

Basically I want to implement simple image processing using Arduino (whichever works).
The board with a camera will be mounted on a small 4-wheeled car.
Basically I will be holding a bright Red LED and the objective of the car is to follow me using that LED.

Being new to Arduino platform I wanted a bit of advice on which camera and board to use if I want the image processing done by the controller?
How will go about doing that? Like are there any build in libraries I can use?
I will also need a bit of help interfacing the camera with the controller.

And is there a way to do the image processing from the camera mounted on the car on my computer and send the commands back to the controller wirelessly?

It will be awesome if someone can help me out getting things together.

Pages: [1] 2