Show Posts
Pages: [1] 2
1  Forum 2005-2010 (read only) / Workshops / Re: In one in Hartford Ct on: November 26, 2010, 03:25:24 pm
Im in NYC (BK) but i dont mind a 2 hour drive to Hartford for an arduino get together workshop or w.e count me in
2  Forum 2005-2010 (read only) / Workshops / Re: Arduino Hacklab NYC on: November 11, 2010, 10:04:55 am
any update on this? any upcoming dates for NYC workshops?
3  Forum 2005-2010 (read only) / Frequently-Asked Questions / Re: Police light set up in car and power. on: December 29, 2010, 10:13:43 am
CrossRoads,

Thank you so much sir. I finally figured it out and able to do it thanks to you. Exactly how i wanted it. Thank you 10000 times. smiley

THANK YOU   smiley-grin

Roman
4  Forum 2005-2010 (read only) / Frequently-Asked Questions / Re: Police light set up in car and power. on: December 25, 2010, 06:27:29 pm
CrossRoads thank you so much sir.

Ive made a video to show u where im stuck. Iv been trying to modify this all day long and still cant figure out what is the deal.

[media]http://www.youtube.com/watch?v=zfyCKMEP7A0[/media]

It seems like led are lit not whether arduino tells them to, but rather the power suply of the battery.

Any ideas?

Thanks so much

Roman

5  Forum 2005-2010 (read only) / Frequently-Asked Questions / Re: Police light set up in car and power. on: December 24, 2010, 02:52:21 pm
Hi CrossRoads,

sorry to bother again but i am stomped.

I have received all the parts and i am lost as to how to properly connect everything.

I ordered 2 mosfets transistors, 3 7406s and not sure which is better to use and finally got the voltage booster.

Please help me with a sketch. I dont understand how do i connect the second part of leds (blue ones, according to the sketch) if it only has 3 pins.

Please help i would love to finish this by the end of the week if possible.

any suggestions are appreciated

Thanks a bunch

Roman

Here is the current one i just cant understand how to finish it.

6  Forum 2005-2010 (read only) / Frequently-Asked Questions / Re: Police light set up in car and power. on: December 16, 2010, 08:43:24 pm
Thanks guys for the replies

CrossRoads,

i made a diagram of what i understand it to be. However i tried searching for the IRF3707Z or 7406 ic but to no avail. Please point me in the right direction. is it also availbale from pololu? so i can order everything at once? I tried radioshack and the like and none have IRF3707Z.



I want this done before new years so i will overnight parts however i dont know what to order.

red leds are rated at 20mA and 2.0v
blue leds are at 20mA and 3.3v or so.

which resistors do i need?

I used online calculator and for the blue i got 390 ohm resistor if wired by 4 in series with 8 rows

and for red i got 220ohm if using like u suggested

Thanks for any tips i really appreciate it

Roman
7  Forum 2005-2010 (read only) / Frequently-Asked Questions / Re: Police light set up in car and power. on: December 14, 2010, 01:39:39 pm
Just realized that i can use one pin for one color in each pod. BECAUSE i will not be running individual patterns on the leds but rather a bunch at a same time doing the same thing (blink blue , blink red, blink blink blue, blink blink red)

Do i need some kind of led driver for this? i understand that i can basically make this set up work with 2 pins?

pin 12 = all blue (total 32 leds)
pin 11 = all red leds (total 32)

how would i go about powering this up in my car?
8  Forum 2005-2010 (read only) / Frequently-Asked Questions / Police light set up in car and power. on: December 14, 2010, 12:56:47 pm
Hi guys,

I am building a police light set up (wait wait, I know, but this is only for my self for demo purposes and to use for offroad use). This will be a simple set up:
2 pods in the back window: each has 12 blue leds (two rows of 6) and 12 red leds (2 rows of 6)
4 pods in the grill each consisting of 4 leds: two blue and two red pods

Totaling 64 leds. I will be using 3mm piranha leds from superbrightleds.

So far I have built one pod ( 24 leds) on a breadboard where each pin connects to two leds (I figured that's at most what it can handle from each pin as its rated up to 40ma)

At this point I am not sure how to proceed to connect the rest 40 leds and make them work together. I have a mega which will easily accommodate this, but don't want to waste it. Or I can build another clone using atmega 328 to use for the other pod(s).

should I use Charlieplexing? Is this the easiest way to accomplish my task? That way I can use just one board?

This will be connected to the car. I have searched topics on connecting it to the car and have gotten a few diff ways to do it.

Therefore I am wondering, if I tap into the radio or perhaps some other source will it be enough to power my 64 leds?

What is the easiest and safest way to connect my clone or uno/mega to my car to have it work?

Thanks,

Roman  
9  Forum 2005-2010 (read only) / Frequently-Asked Questions / atmega2560 clone? on: December 07, 2010, 03:17:38 pm
Hi all,

Ive made clones with atmega 328s, but i need more pins. I understand charlieplexing is an option, but i would like more indivial pins. There are too many tiny connections on the atmega2560 that i just dont see my self soldering them by hand---too small.

any ideas?

Thanks,

Roman
10  Forum 2005-2010 (read only) / Frequently-Asked Questions / Re: LCD acting up when used with motion sensor on: December 02, 2010, 12:44:07 pm
fair and valid. i will post up exact code and video tonight

thanks all smiley
11  Forum 2005-2010 (read only) / Frequently-Asked Questions / Re: LCD acting up when used with motion sensor on: December 02, 2010, 11:43:34 am
this is the one i am using http://www.adafruit.com/index.php?main_page=product_info&cPath=35&products_id=189

I just need something to sense motion. Are there any others?
12  Forum 2005-2010 (read only) / Frequently-Asked Questions / Re: LCD acting up when used with motion sensor on: December 02, 2010, 10:28:09 am
Also, there may some mistakes in the code such as syntax, i am doing this by memory i have correctly written code at home. I am just looking for advice why LCD is acting up only when PIR sensor code is included in the sketch being run.

Thanks
13  Forum 2005-2010 (read only) / Frequently-Asked Questions / LCD acting up when used with motion sensor on: December 02, 2010, 10:23:58 am
Hi fellow Arduinians,

I set up a PIR motion sensor and an LCD (20x4) to UNO. PIR is ground, positive and also goes out to PIN 2. LCD is connected using Ladyadas tut.

My code is written to display whenever there is motion detected or not. Simple.

However, when I try to run this, the lcd becomes very static and unable to read. With some letters faded out and so on. Does anyone know why? I am guessing this is due to voltage (either too much or too low) with PIR sensor messing it up somehow.

However, while not changing my connection in anyway, if I just run a sketch to display Hello World on the LCD it works perfectly, once I include the code to use PIR sensor (pretty much exact copy of code posted in ladyadas tut the LCD screen goes haywire.

So here is my code:
Code:
#include <LiquidCrystal.h>

LiquidCrystal lcd(7, 8, 9, 10, 11, 12);

int ledPin = 13;                // choose the pin for the LED
int inputPin = 2;               // choose the input pin (for PIR sensor)
int pirState = LOW;             // we start, assuming no motion detected
int val = 0;                    // variable for reading the pin status
 
void setup() {
  pinMode(ledPin, OUTPUT);      // declare LED as output
  pinMode(inputPin, INPUT);     // declare sensor as input
 
  Serial.begin(9600);
}
 
void loop(){
  val = digitalRead(inputPin);  // read input value
  if (val == HIGH) {            // check if the input is HIGH
    digitalWrite(ledPin, HIGH);  // turn LED ON
    if (pirState == LOW) {
      // we have just turned on
      Serial.println("Motion detected!");
      // We only want to print on the output change, not state
      pirState = HIGH;
    }
  } else {
    digitalWrite(ledPin, LOW); // turn LED OFF
    if (pirState == HIGH){
      // we have just turned of
      Serial.println("Motion ended!");
      // We only want to print on the output change, not state
      pirState = LOW;
    }
(somewhere here I indicate this is 20x4)
if ( val == HIGH )
lcd.setcursor(o,1);      
lcd.print(“Motion”);
if ( val == LOW )
      lcd.print(“No Motion”);

}

Thanks for any help....

Also, does anyone know if its possible to do a faster refrash rate on the PIR sensor. It seems like it detects motion and displays Motion detected for 6 seconds. Is there a way to make it instant? If there is motion display msg, and if the next second there is none display accordingly?

Thanks guys
14  Forum 2005-2010 (read only) / Frequently-Asked Questions / Help with VU meter on: November 29, 2010, 11:40:32 am
Hey fellas,

I'm attempting to build a vu meter I found in 30 evil projects by evil genius. I am confused as to which transistor and capacitor I need to use? My capacitor needs to be 0.1uF however what about transistor? Thanks for any help

Roman
15  Forum 2005-2010 (read only) / Frequently-Asked Questions / Re: Powering 4 Arduinos? on: November 23, 2010, 12:13:49 pm
Also, does anyone know why is it when I plug it in the wall outlet (the wall adaptor or some other electronic device even if its just the cord it self) I sometimes see a spark? Happens often and in outlets in different rooms. Is it normal? I think not.
Pages: [1] 2