Show Posts
Pages: [1] 2 3
1  International / Portugues / Montando Arduino na Protoboard com mínimo de componentes. on: May 29, 2012, 05:09:20 pm
Olá amigos,

Eu fiz um tutorial sobre como montar um Arduino em protoboard usando o mínimo de componentes possível (no final fica apenas o Atmega).
Quem tiver interesse, confira:

Neste vídeo eu monto na protoboard um Arduino compatível com UNO, Duemilanove e etc.:


E neste eu monto um Arduino que só utiliza o Atmega e nenhum outro componente adicional:


A página do tutorial é essa aqui: http://engenheirando.com/arduino/montando-arduino-na-protoboard/

Qualquer comentário é bem vindo!

Obrigado,
Maurício Féo Rivello  smiley-wink
2  International / Portugues / Re: LCD x Caracteres on: May 29, 2012, 04:14:34 pm
Fala,

O que você pensa em fazer é um esquema como aquelas barrinhas que vão se preenchendo, é isso?

Pois dessa forma, você não precisa criar mais que 8 characteres, então não precisaria ficar mudando os characteres dinamicamente.
Criaria 1 com uma linha preenchida, outro com duas e assim por diante até tudo preenchido (são 8 linhas ao total, então dá)
3  Using Arduino / Programming Questions / Re: Ultrasonic range sensor not working correctly with Nano on: April 19, 2012, 05:50:30 pm
Almost sure this is not a programming question, but anyway.

Also noted that it can't read ranges above 2m with Nano, while with duemilanove it works correctly.

Thanks for any help,
4  Using Arduino / Programming Questions / Ultrasonic range sensor not working correctly with Nano on: April 19, 2012, 02:49:29 am
Hello guys,

I have an ultrasonic range sensor HC-SR04, I made a prototipe with an Arduino duemilanove, which worked correctly.

The problem is, when I switch the sensor to my arduino Nano, it reacts differently. I start to read '0' cm most of the time, and it just read the correct distance when the surface in front of the sensor is flat and perpendicular (90º) with the sensor.

With the Duemilanove, it reads almost any surface and support a greater range on angles and never displays '0'. Sometimes display huge distances but never '0'.
For example, with duemilanove I can read the dist to my t-shirt while with nano it just read the wall or flat surfaces.

The code is absolutely the same and for anything else, the Nano board is working alright.

Any clues? help  smiley-sad

**The code which works well with duemilanove but not with Nano:
Code:
#include <LiquidCrystal.h>
LiquidCrystal lcd(12, 11, 5, 4, 3, 2);

#define echo A5
#define trig A4
unsigned long duration;

void setup() {
  lcd.begin(16, 2);
  pinMode(echo,INPUT);
  pinMode(trig,OUTPUT);
  pinMode(7,OUTPUT);
  digitalWrite(7,HIGH);
  Serial.begin(9600);
}

void loop() {
  digitalWrite(trig, LOW);
  delayMicroseconds(2);
  digitalWrite(trig, HIGH);
  delayMicroseconds(10);
  digitalWrite(trig, LOW);
  duration = pulseIn(echo,HIGH);
  Serial.println(duration/59,DEC);
  lcd.setCursor(0,0);
  lcd.print(duration/59,DEC);
  lcd.print("  ");
  delay(500);
}

Moderator edit: code tags added
5  Community / Exhibition / Gallery / Re: Ardomotic - Free Arduino Domotic Project on: December 25, 2011, 09:55:03 pm
Nice! It's a good idea, I think I'll do the same.  With a "signal recorder" it would work with any gate, regardless of the control. smiley

The problem is actually physical, my relays were breaking because of power spikes caused when using the relays do turn the motors on and off... Since i'm not used to work with this kind of stuff an my electronic knowlege is VERY limited when it comes to inductive stuff... It's taking me a while to figure things out :s

Did you put a diode in parallel reverse to the relay coil?  Like that?
6  Community / Exhibition / Gallery / Re: Ardomotic - Free Arduino Domotic Project on: December 24, 2011, 12:09:49 pm
Really nice work!
Made me laugh alone for 2 minutes while playing with your xmas tree.  smiley-lol

I made something similar in which I showed in this topic: http://arduino.cc/forum/index.php/topic,74872.0.html
But I'm not good at html and my page was ugly, only with buttons.
You did a nice job with the interface and the house drawnings. Excelent work!

Looking forward to see your codes!  smiley
7  Community / Exhibition / Gallery / Re: Not too early to think Halloween.. on: November 04, 2011, 07:05:48 pm
Nice project!

What about trying something more audacious?

8  Topics / Home Automation and Networked Objects / Re: Controlling your house through the Internet! (smartphone, tablet...) on: October 21, 2011, 10:00:27 pm
adis,
Interesting your systems, specially the GPRS part.  Once we did it but the arduino was sending SMS through a PC connected to the internet... Not that elegant.
This GPRS/SMS part is for uninvited guests that cut the wires before entering  smiley-twist, for long power failures during winter when the water instalation might freeze and break if there is no one home or other emergencies.

That's a really nice idea!  smiley-lol
9  Topics / Home Automation and Networked Objects / Re: Controlling your house through the Internet! (smartphone, tablet...) on: October 10, 2011, 09:00:18 pm
Thank you for the comments,

maidbloke,
When the PHP receives the status from the Arduino (to draw the right color to the button) is needs to get the individual information for each digital pin. I know I could make it with only one byte but I preferred simplicity since 4 bytes is almost nothing smiley

And you're alright, there is some security methods, I did not mentioned in the videos but I talked about the need for security methods in the documentation page.

adis,
Interesting your systems, specially the GPRS part.  Once we did it but the arduino was sending SMS through a PC connected to the internet... Not that elegant.
10  Community / Exhibition / Gallery / Re: Controlling your house through the Internet! (smartphone, tablet...) on: October 10, 2011, 08:53:38 pm
Nice bld,

and nice documentation either!  smiley
11  Community / Exhibition / Gallery / Controlling your house through the Internet! (smartphone, tablet...) on: October 09, 2011, 02:53:13 pm
Hello everybody!

I made an interesting project to control my house via the internet.

It's basically an Arduino and Ethernet Shield which is accessed by a PHP page on the internet. It can control the lights and sockets through relays, and I hacked the intercom and gate remote controller to be also controlled by the Arduino.

I made a video demonstration, using the cellphone to control the devices, it is in here:
www.youtube.com/MauricioRivello
(if you like, help me by clicking "Like" on Youtube! smiley-lol)

The arduino and PHP codes can be downloaded here:
Source Codes

An explanation of the system can be found here, but unfortunately there is no english version yet.
To see with google translate, you can use this link.

The project is not finished yet, so:
Any idea and suggestion is welcome and any question leave a comment!

Thank you!
12  Topics / Home Automation and Networked Objects / Controlling your house through the Internet! (smartphone, tablet...) on: October 09, 2011, 02:43:08 pm
Hello everybody!

I made an interesting project to control my house via the internet.

It's basically an Arduino and Ethernet Shield which is accessed by a PHP page on the internet. It can control the lights and sockets through relays, and I hacked the intercom and gate remote controller to be also controlled by the Arduino.

I made a video demonstration, using the cellphone to control the devices, it is in here:
www.youtube.com/MauricioRivello
(if you like, help me by clicking "Like" on Youtube! smiley-lol)

The arduino and PHP codes can be downloaded here:
Source Codes

An explanation of the system can be found here, but unfortunately there is no english version yet.
To see with google translate, you can use this link.

The project is not finished yet, so:
Any idea and suggestion is welcome and any question leave a comment!

Thank you!
13  International / Portugues / Re: Questão muito básica on: October 07, 2011, 08:40:40 pm
não adianta. vc precisa de um transistor para ligar os 2 led's.

http://www.kpsec.freeuk.com/trancirc.htm

Na verdade não há problema nenhum em ligar diretamente se você não exceder os 40mA limite do Arduino.

--
Rivello
http://www.youtube.com/MauricioRivello
14  International / Portugues / Re: Questão muito básica on: October 07, 2011, 09:15:34 am
NÃO!!

A corrente que passa em cada LED é:   (5V - QuedaTensãoLED )/Resistor

Supondo a queda de tensão desse LED sendo de 2V, a corrente seria:  (5-2)/100 = 30mA por LED ou 60mA no total.

O Arduino tem limite de corrente de 40mA por pino. Então com resistor de 100 você deve acionar no máximo 1 LED por pino.

Isso pra evitar queimar seu Arduino, para obter o melhor brilho possível, você deve descobrir qual a queda de tensão do seu LED, qual a corrente ideal p/ ele e calcular o Resistor para que a corrente seja essa ideal, usando a fórmula que te dei.

Abraços,

Rivello
http://www.youtube.com/MauricioRivello
15  International / Portugues / Re: Controlando sua casa pela Internet! on: October 04, 2011, 06:36:29 pm
Usei todos relés de 12V, talvez isso tenha contribuído também p/ não ter feito diferença a atenuação do fio.
Usei par trançado do cabo de rede mais barato que achei! hahaha
Pages: [1] 2 3