Show Posts
|
|
Pages: [1] 2
|
|
3
|
Using Arduino / Networking, Protocols, and Devices / Re: GPS (u-blox6) and USB to TTL(CP2102)
|
on: March 18, 2013, 05:55:11 am
|
Thank you all for first aid, I'm sorry the lack of information, is that I'm even in the dark, which informed me (who gave me this GPS that was unused in the company ...) is that this GPS is: http://www.u-blox.com/images/downloads/Product_Docs/LEA-6_DataSheet_%28GPS.G6-HW-09004%29.pdfI don't have datasheet of module serial converter, but i have the link (ebay): http://www.ebay.com/itm/CP2102-USB-2-0-to-UART-TTL-6PIN-Module-Serial-Converter-W-Free-Dupont-cables-/230945561413?pt=LH_DefaultDomain_0&hash=item35c56d9b45It is being used in the MAX3232 output of GPS (RX / TX) to operate the USB. For you to understand better my situation, I have this GPS in a box of plastic resinous, ie the electronic circuit of the GPS is in the midst of the resin inside the box, I do not have access to the circuit to check the connections made in the GPS, just a cable out of the box with a resinous USB tip, which when connected to the notebook, works perfectly with Docklight and u-center (software for reading the information from the u-blox GPS). I found two sites that describe the operation of the u-blox NEO (other than mine) converter using a "USB to TTL": http://ukhas.org.uk/guides:ublox6http://www.ardushop.com/component/u-blox-neo-6m-gps-module-for-arduino-s-ide-sensor.html Such a circuit cannot work because both USB devices (the u-blox and the CP2102) are slaves and you don't have a host (master) in your equation. And is there a way to do this? (master) Excuse my ignorance.  tks
|
|
|
|
|
4
|
International / Portugues / Re: GPS (u-blox6) e USB to TTL(CP2102)
|
on: March 18, 2013, 05:46:22 am
|
Obrigado primeiramente a todos pela ajuda, me desculpe a falta de informações, é que estou no escuro mesmo, o que me informaram (quem me deu esse GPS que estava sem uso na empresa...) é que é esse GPS: http://www.u-blox.com/images/downloads/Product_Docs/LEA-6_DataSheet_%28GPS.G6-HW-09004%29.pdfPara vocês entederem melhor minha situação, eu tenho esse GPS em uma caixa de plastico resinada, ou seja o circuito eletronico do GPS está no meio da resina dentro da caixa, eu não tenho acesso ao circuito para verificar as ligações feita no GPS, apenas um cabo que sai da caixa resinada com uma ponta USB, que ao ser ligada no notebook, funciona perfeitamente com Docklight, u-center (software de leitura das informações dos GPS da u-blox). Eu verifiquei na internet e vi que esse GPS para o Brasil é caro, e gostaria de aproveitar esse oportunidade e integrar ao meu projeto usando Arduino, porém não estou tendo sucesso  Eu achei dois sites que relatam o funcionamento do u-blox NEO (diferente do meu) usando um conversor "USB to TTL": http://ukhas.org.uk/guides:ublox6http://www.ardushop.com/component/u-blox-neo-6m-gps-module-for-arduino-s-ide-sensor.htmlDesculpem a ignorancia. Abraços
|
|
|
|
|
5
|
Using Arduino / Networking, Protocols, and Devices / GPS (u-blox6) and USB to TTL(CP2102)
|
on: March 18, 2013, 01:01:27 am
|
Hi, I'm a few days (a few hours at night) trying to solve a problem. I have a GPS module that got the company where I work from u-blox, the u-blox, specifically u-blox6. It is sealed in a box with resin and has a USB cable (so I do not have access to hardware  ), I tested him in the u-center software and it is OK, no problem / defect. I'm using a CP2102 (eBay):  and I'm using SoftwareSerial that comes with the Arduino IDE 1.0.4 to try to communicate, but if I try to perform this simple test the "available()" returns false, can someone help me? Already tried everything, done everything already  #include <SoftwareSerial.h>
SoftwareSerial mySerial(3, 2);
void setup() { Serial.begin(9600); // set the data rate for the SoftwareSerial port mySerial.begin(9600); }
void loop() // run over and over { if (mySerial.available()) Serial.write("OK"); } Tks Sorry my poor english guys 
|
|
|
|
|
6
|
International / Portugues / GPS (u-blox6) e USB to TTL(CP2102)
|
on: March 18, 2013, 12:57:41 am
|
Olá, Estou a alguns dias (poucas horas a noite que tenho livre) tentando resolver um problema. Tenho um módulo GPS que ganhei da empresa onde trabalho da u-blox, mas especificamente o u-blox6. Ele está lacrado em uma caixa com resina e possui um cabo USB (desse modo não tenho acesso ao hardware  ), liguei ele no software u-center e o mesmo está OK, sem nenhum problema/defeito. Estou usando um CP2102 que comprei no eBay:  e o SoftwareSerial que vem com a IDE Arduino 1.0.4 para tentar fazer a comunicação, porém se tento realizar esse simples teste o "available()" retorna false, alguem pode me ajudar? Ja tentei de tudo, ja fiz de tudo  #include <SoftwareSerial.h>
SoftwareSerial mySerial(3, 2);
void setup() { Serial.begin(9600); // set the data rate for the SoftwareSerial port mySerial.begin(9600); }
void loop() // run over and over { if (mySerial.available()) Serial.write("OK"); }
|
|
|
|
|
7
|
International / Portugues / Re: Xbee e Roteador
|
on: March 30, 2012, 01:41:16 pm
|
|
Igual o seu, unica coisa é que o meu tem uma distancia de 3 milhas (3600metros) e o seu 1 milha (1000metros)
Obrigado, vou dar uma pesquisada em qual será o melhor custo beneficio para o que irei ligar no meu mac.
Abracos
|
|
|
|
|
8
|
International / Portugues / Re: Xbee e Roteador
|
on: March 30, 2012, 12:29:22 pm
|
|
Sim,
acabei vendo que o Xbee trabalhar com 802.15.4 e os roteadores 802.11
Qual seria o Xbee mais barato para que eu possa ligar no usb do meu notebook?
|
|
|
|
|
10
|
International / Portugues / Re: Sensor Umidade do Solo
|
on: March 07, 2012, 07:07:58 am
|
Acho que essa medida de umidade somente faz sentido se voce tiver a leitura do ph do solo e da temperatura.
Edson
Pretendo ler a temperatura também, só o pH que nao
|
|
|
|
|
11
|
International / Portugues / Re: Sensor Umidade do Solo
|
on: March 06, 2012, 09:23:04 am
|
ótimo!  Entendi que o uso dos 2 pinos digitais são para a inversão de corrente, impendindo a eletrólise nas duas pontas certo? mas por que usar esse H-bridge? seria para deixar 1A de corrente contínua de saída!? 
|
|
|
|
|
12
|
Using Arduino / Sensors / Re: Moisture Sensor
|
on: March 06, 2012, 09:19:47 am
|
Water conducts based in the impurities in it so I would expect the numbers to vary greatly depending on your source of water.
I don't think you are doing anything "wrong".
Ultrapure water is hardly conductive at all while seawater approaches the conductivity of stainless steel (which really all that conductive compared to say silver wire.)
Interestingly, so how could I create a rule percentage, regardless of the soil, able to tell if it's humid 80%, for example?
|
|
|
|
|
13
|
Using Arduino / Sensors / Moisture Sensor
|
on: March 06, 2012, 06:43:03 am
|
I'm trying to do a soil moisture sensor, follow this example: http://orionmultitouch.blogspot.com/2010/02/arduino-simple-moisture-tester.htmlI am using a 10K ohm resistor, But my results were different when I connect the two ends directly, the value received in 1023, according to my calculations and it shows in the video, is correct: 1023 the two ends connected directly and 0 when the two are disconnected ... sensor = 1023 sensor = 1023 sensor = 1023 sensor = 1023 sensor = 0 sensor = 0 sensor = 1023 sensor = 1023 sensor = 1023 sensor = 1023 sensor = 1023 I took a glass with water and put the two ends in the cup, my result was this: sensor = 351 sensor = 322 sensor = 321 sensor = 312 sensor = 308 sensor = 306 sensor = 300 sensor = 295 sensor = 291 sensor = 286 sensor = 282 sensor = 278 sensor = 274 sensor = 274 sensor = 273 sensor = 272 sensor = 271 sensor = 272 sensor = 271 sensor = 272 sensor = 272 sensor = 271 sensor = 272 sensor = 271 sensor = 271 sensor = 271 sensor = 271 sensor = 274 sensor = 272 sensor = 272 sensor = 272 sensor = 271 sensor = 272 sensor = 272 sensor = 272 sensor = 272 sensor = 271 sensor = 271 sensor = 272 sensor = 271 sensor = 272 sensor = 271 sensor = 271 sensor = 272 sensor = 273 sensor = 272 sensor = 272 sensor = 272 sensor = 272 sensor = 273 sensor = 273 sensor = 273 sensor = 273 sensor = 273 sensor = 273 sensor = 274 sensor = 273 sensor = 274 sensor = 273 sensor = 273 Intriguing is that the values fall slowly and then lie between 270 ~ 275, and in the video tutorial and the values are 600 ~ 650 on the ground moist, and this directly into my glass of water, What am I doing wrong? I tried this also: http://seeedstudio.com/wiki/Grove_-_Moisture_SensorI Made the 2N2222 transistor (2N2222A without being as it is in the schematic), but also of low and unstable (start high and slowly falling vain). I found this other: http://www.botanicalls.com/archived_kits/twitter/reminder: I'm using copper wire at the tip Thanks
|
|
|
|
|
14
|
International / Portugues / Re: Sensor Umidade do Solo
|
on: March 06, 2012, 06:23:43 am
|
Dando uma fuçada, achei isso (ja sabia, mas confirma o que achava): No caso das placas Arduino, transformamos a tensão elétrica em um valor entre 0 e 1023, sendo que 0 representa zero volts e 1023, 5 volts, aplicada em uma das seis entradas analógicas disponíveis. http://arduino.cc/playground/Portugues/LearningKnockQuando ligo as duas pontas diretamente é retornado o valor de 1023, como disse já. Para mim colocando as duas pontas dentro de um recipiente com agua homogenea era para retornar 1023 também, não?
|
|
|
|
|
15
|
International / Portugues / Re: Sensor Umidade do Solo
|
on: March 06, 2012, 05:36:54 am
|
Talvez nada pois isso depende muito do tipo de solo que você esta medindo, por exemplo calcário deixa básico, compostos orgânicos em decomposição acido e por ai vai Edson
Cheguei a pensar nisso, mas como eu poderia fazer algo que retornasse a porcetagem de umidade independente do solo? Pois eu havia pensando em pegar o valor de quanto está no copo d'agua como 100% e em cima disso fazer a regra de 3, com os valores do solo. Mesmo assim, é estranho, pois fiz usando o 2N2222 e os resistores do esquematico: http://seeedstudio.com/wiki/Grove_-_Moisture_SensorLá em baixo na pagina ele mostra 4 testes: * Sensor in air * Sensor in dry soil * Sensor in humid soil * Sensor in water Sendo que o ultimo (sensor na agua) está dando valores muito alto para ele, coisa de 920~950  E para mim retorna algo entre 230~250 Ps: utilizei um fio de cobre em cada ponta. (creio que seja o melhor condutor) Abs.
|
|
|
|
|