Join / Participar

Join Kuaray project

Wanna join Kuaray? Wanna be a part of a Green computar grid, dedicated to fight Global Warming? Ok. This is what you can do...
  • Build your node;
  •  Contact us when you are ready!
Kuaray Programme Manager / Solar Power Project Manager: Cleuton Sampaio (cleuton#kuaray.org).

(Quer se juntar ao Kuaray? Quer ser parte de um Grid computacional verde, dedicado a combater o Aquecimento Global? Ok. Isto é o que você pode fazer...
  • Monte seu nó;
  • Contacte-nos quando estiver pronto! 
Instruções em Português ao final!

Node Kit (version 1.0)



This is the first version of Kuaray GHG detector node. It can and will change over time, but, for now, this is what you need:

 1) raspberry PI 3, with power supply, case and Ubuntu Mate:

https://www.adafruit.com/product/3058

2) protoboard to assemble the detector:

https://www.adafruit.com/products/239

3) protoboard jumpers:

https://www.adafruit.com/products/1957

4) cobbler T cable:

https://www.adafruit.com/products/1957

5) A/D Converter MCP3008:

https://www.adafruit.com/products/856

6) MQ135 GHG sensor:

http://www.sainsmart.com/sainsmart-mq135-sensor-air-quality-sensor-hazardous-gas-detection-module-arduino.html

7) A Solar Panel 6v with 3 or 5w a converter circuit and a battery (4000 ma):

https://learn.adafruit.com/usb-dc-and-solar-lipoly-charger

Instructions

Install Ubuntu mate (which comes in the SD card with your Raspberry 3 kit).
Install OpenSSH server:

sudo apt install openssh-server

In another computer, create an SSH key and copy to your Raspberry Server. This tutorial show you how to do it. Disable password authentication on your server, to increase security. The same tutorial will teach you.

Configure your Rasp 3 Ubuntu to log on your WiFi network. This tutorial will show you how to do it.

Install node.js:
  • sudo apt-get update 
  • sudo apt-get install nodejs
  • sudo apt-get install npm
Download and install the Test Script from Github.

Assemble the detector

Connect the Cobbler cable to your Raspberry 3. Connect the right side to pin 1! 





Most cables come with a red wire, which should be connected to pin 1, exaclty like the picture above.

Connect the "T" adapter to your protoboard. The protoboard is divided in the middle. You must connect each side of the "T" connector according to this:

Connect the MCP 3008 exaclty like the picture, taking care with the marker. The Chip has a little mark on one side, which should be facing the opposite side of the protoboard.

Connect the jumpers. Install the MQ135 and connect to Raspberry and the MCP3008. This article has a very good description of the connections:







Use the 5v pin.

Use a multimeter to measure the connections before wiring the components! Pin 1 is 3,3v and pin 2 is 5v!

Final assembly should be like this article (only shows MCP3008) and the picture bellow:



Português 

Kit do Nó (versão 1.0)



Esta é a primeira versão do Nó detector de GHG do Kuaray. Ela poderá mudar ao longo do tempo, mas, por enquanto, isto é o que você precisará:

1) raspberry PI 3, com Fonte e case, mais Ubuntu Mate:

http://produto.mercadolivre.com.br/MLB-761952772-kit-raspberry-pi-3-pi3-completofontesd16gbcasesistema-_JM

2) protoboard para montar o detector:

http://produto.mercadolivre.com.br/MLB-719024911-protoboard-830-furos-_JM

3) jumpers para protoboard:

http://produto.mercadolivre.com.br/MLB-772609689-jumpers-cabo-fio-protoboard-montagem-eletrnic-macho-_JM

4) Cabo cobbler T:

http://produto.mercadolivre.com.br/MLB-711999355-t-cobbler-breakout-kit-raspberry-pi-b-pi2-pi3-_JM

5) Conversor A/D MCP3008:

http://produto.mercadolivre.com.br/MLB-737776651-conversor-analogico-digtal-mcp3008-ip-8-canais-10-bit-spi-_JM

6) Sensor de gases MQ135:

http://produto.mercadolivre.com.br/MLB-796516893-sensor-de-gas-mq-135-mq135-mq-135-arduino-pic-_JM

7) Painel Solar de 6v com 3 ou 5w circuito conversor e bateria (4000 ma). Pode ser encontrado no Mercado Livre. Veja a referência do site abaixo (inglês):

https://learn.adafruit.com/usb-dc-and-solar-lipoly-charger

Instruções

Instale o Ububtu mate (que vem no SD card do seu Kit Raspberry 3).
Instale o Servidor OpenSSH: 

sudo apt install openssh-server

Em outro computador, crie uma chave SSH e copie para seu servidor Raspberry. Este tutorial mostra como fazer. Desabilite a autenticação por senha, para aumentar a segurança. O mesmo tutorial mostra como fazer (tutoriais em inglês).

Configure o Ubuntu do seu Rasp 3 para logar automaticamente na sua Rede WiFi. Este tutorial (inglês) mostra como fazer.

Instale o Node.js:
  • sudo apt-get update 
  • sudo apt-get install nodejs
  • sudo apt-get install npm
Baixe e instale o Script de Teste do Github.

Monte o detector

Conecte o cabo Cobbler no seu Raspberry 3. Conecte o lado certo no pino 1: 


Muitos cabos vem com um fio vermelho, que deve ser conectado ao pino 1, como na figura acima.

Conecte o adaptador "T"à sua protoboard. A protoboard é dividida ao meio. Você deve conectar cada lado do "T" de acordo com esta foto:


Conecte o MCP 3008 exatamente como na figura, tomando cuidado com o marcador. O Chip tem uma pequena marca de um dos lados, que deve estar apontado para o lado oposto da protoboard.

Conecte os jumpers, instale o MQ135 e conecte o Raspberry e o MCP3008. Esta foto mostra como conectar. O "T" tem as marcações: 
 

Use o pino de 5v.

É melhor usar um multímetro para medir as conexões, antes de ligar os componentes! O pino 1 é  3,3v e o pino 2, 5v.

A montagem final pode ser vista nesta foto:
 















Nenhum comentário:

Postar um comentário