Show Posts
Pages: [1]
1  Using Arduino / General Electronics / Re: A question about Arduino VIN on: March 26, 2013, 09:24:47 am
ok

I have read how much my LANC give ~5.56v, maybe a I can add a 5.1 Zener Diode to be safe?

5.1 have to be ok for a ATmega328, I think I have read it work with 4,5-5,5v but I'm not sure.
2  Using Arduino / General Electronics / Re: A question about Arduino VIN on: March 26, 2013, 01:10:57 am
Ahh sorry.

Then I have to read how much it is in my LANC. I maybe can use it anyway or I have to use a battery instead.
3  Using Arduino / General Electronics / Re: A question about Arduino VIN on: March 25, 2013, 05:17:32 pm
hmm ok so I have to maybe scale down if I going to use it on VCC, AREF and AVCC ?

I mean if I read the scheme right the plug can have 5-8v??



6-20vdc.
7-12V recommended.
Lefty

Hmm what??
4  Using Arduino / General Electronics / Re: A question about Arduino VIN on: March 25, 2013, 05:17:10 pm
hmm ok so I have to maybe scale down if I going to use it on VCC, AREF and AVCC ?

I mean if I read the scheme right the plug can have 5-8v??
If by "scale down" you mean ensure your input voltage is 5V, yes.  If you have an external 5V source you can use that without regulation in the same way as the 5V is drawn on the Arduino design directly from USB.  Be sure to refer to the datasheet for the particular ATMega you're using for the range of acceptable voltages allowed at VCC.

Cheers ! Geoff

hmm ok, then it is a good idea to use a 5v voltage regulators to be sure.
5  Using Arduino / General Electronics / Re: A question about Arduino VIN on: March 25, 2013, 03:55:31 pm
hmm ok so I have to maybe scale down if I going to use it on VCC, AREF and AVCC ?

I mean if I read the scheme right the plug can have 5-8v??

6  Using Arduino / General Electronics / A question about Arduino VIN on: March 25, 2013, 03:23:55 pm
Hi
I have follow this guide many times to create a standalone arduino.
http://www.instructables.com/id/Standalone-Arduino-ATMega-chip-on-breadboard/?ALLSTEPS

It works very good.

That I do is that I start with the guide to create a basic start so my atmega328 have power and working, after that I start add the button and LED and that.

Now I have a little problem, I was thinking about make a LANC remote with this guide
http://controlyourcamera.blogspot.se/2011/02/arduino-powered-lanc-remote.html

but that have connect the power to Arduino VIN?

My question is that instead to connect all my positive (+) to a power source like I do in my first guide, shall I connect them to the +5 in the ring like a VIN and the ground to the ring ground in the plug?

I mean is arduino VIN similar to the VCC, AREF and AVCC that I connect to my power source?

I can guess that ground go to the ground but the other I'm not sure??

I hope someone can tell me if that is right or wrong?
7  Using Arduino / Programming Questions / Re: Use VB.NET with USB cable to control a Arduino that have a LED on: March 12, 2013, 05:57:13 am
Thanks to ThatGuyJohn that have post a link to this page
http://www.instructables.com/id/Using-Visual-Basic-to-control-Arduino-Uno/

So now I can control a LED and everything works fine

BUT I have one problem

In a another project I got I was create a Remote controll with IR
So I can controll a TV with buttons.

Now I like to combine this two project so I can turn on and off with my computer.

But nothing happend when I Push the button on my VB.NET program.

I think the problem is that both use serial?

My code is this

Code:
#include <IRremote.h>
 
IRsend irsend;
 

unsigned int PowerOn[68] = {9000,4400,600,1600,650,1600,600,1650,600,500,600,500,650,450,650,450,650,1600,650,450,650,1600,600,1650,600,1600,650,500,600,500,600,1650,600,500,600,1600,650,1600,650,1600,600,500,650,1600,600,500,600,500,650,450,650,500,600,500,600,500,600,1650,600,500,600,1650,600,1600,650,1600,650};
unsigned int Source[68] = {9000,4400,600,1650,600,1600,650,1600,650,450,650,500,600,500,600,500,600,1650,600,500,600,1650,600,1600,650,1600,600,500,650,450,650,1600,600,500,650,450,650,500,600,500,600,500,600,1650,600,500,600,500,650,450,650,1600,600,1650,600,1600,650,1600,650,450,600,1650,650,1600,600,1600,650};
 
void setup()
{
Serial.begin(9600);
}
 
void loop() {

while (Serial.available() == 0);
int val = Serial.read() - '0';

if (val == 1) {
irsend.sendRaw(PowerOn,68,38);
}
else if (val == 0)
{
irsend.sendRaw(Source,68,38);
delay(500);
}
else // if not one of above command, do nothing
{
}
 
}

Do anyone have any idea what to do?
8  Using Arduino / Programming Questions / Use VB.NET with USB cable to control a Arduino that have a LED on: March 11, 2013, 12:37:32 pm
I wonder how hard is that to contril Arduino with VB.NET

I have a Arduino Pro Micro that have USB connection.

It going to control a IR LED but right now I just want to control something basic like on/off LED.
So I have a button on my VB.NET project and can control the LED on Pro Micro.

I have looking around and what I understand I can but I have not find any good tutorial or code to understand how it work.

I have found this
http://www.acraigie.com/programming/firmatavb/digitalpincontrol.html

I going to try that tomorrow but I wonder if someone else have use this control?
9  Using Arduino / Programming Questions / Re: IR send for Carrier Air Conditioners on: March 11, 2013, 12:31:22 pm
Hi, I'm new here but I have work a little with IR and Arduino.

What I understand is that you have is a dump of raw signal.

You can read it here
http://luckylarry.co.uk/arduino-projects/arduino-redefining-the-tv-remote/

Don't forget to "clean" the code, remove every - (minus), add , instead of space
read more here
http://www.instructables.com/id/Fart-Operated-Random-Channel-TV-Remote/step3/Clean-up-your-Pulse-Codes/

And this is a very good place to start smiley
http://www.righto.com/2009/08/multi-protocol-infrared-remote-library.html

Pages: [1]