Show Posts
Pages: [1] 2
1  Forum 2005-2010 (read only) / Interfacing / Re: interfacing led matrix in live mode on: June 04, 2006, 05:44:15 pm
ok ccdust , now please tell me how you did it:

how did you connect the led to 3 pins? simple split? 2nd diode?
is it a hi-power led? if not then maybe a hi-power will work better

maybe you have a photo of your setup?

are you sensing a flash light??? it will  not work best!! leds sense their own bandwidth best!
so the best setup is 1 led as a light source and second as sensor

anyway good job
ts
2  Forum 2005-2010 (read only) / Interfacing / Re: interfacing led matrix in live mode on: June 04, 2006, 05:51:05 am
check out

http://motestruments.com/led-touch-sensor-circuit/

is it possible in arduino - arduino can use same pin as input AND output.. ???

what if the same led is hooked up to 3 pins.. with another diode to analog in?

also alternating between 2 leds to get A lighting when B is sensing... to sense objects like fingers etc. not only ambient light

I will read your notebook further and think about it..

help please everyone!

ts

3  Forum 2005-2010 (read only) / Interfacing / interfacing led matrix in live mode on: May 29, 2006, 11:32:22 am
I understand from these posts that it is pretty easy to control the 8x8 matrix with the maxim chip.
so until the chip arrives from maxim..
 
I have a question - If I want to send the characters to the matrix LIVE , that means not send code and then disconnect arduino from the computer but have a small applet (visual c? flash?) that I can , for example type a letter into , and that letter would appear on the matrix display.
 
I understand we are dealing with the serialwrite() serialread().... but how to interface simply?
 
so - the problem is I know only visual C and basic , so I would need a few example programs if this has to be in other languages.
anyway pointers to example code would be GREATLY appreciated.
 
also a BIDIRECTIONAL LED MATRIX which can function as an input/output device has been demonstrated in make magazine and hackaday. (link soon) if anyone knows how to implement this in arduino it would be awesome! (even for 2-3 leds)
 
thanks
and keep up the good work
Tom
4  Forum 2005-2010 (read only) / Interfacing / Re: reading rpm signal from cpu fan on: July 23, 2006, 06:13:55 am
thanks very much friend , merci mon ami
when the project is done I'll post the how-to
5  Forum 2005-2010 (read only) / Interfacing / reading rpm signal from cpu fan on: July 14, 2006, 10:38:30 am
hello
I am using arduino to make an RPM meter to read the pulses off an ordinary intel cpu fan with 3 leads (+,-, rpm signal)
I tried using digitalread() and pulsein() but I get fuzzy results.
anyone knows how to read those signals reliably?

code examples:




void loop()
 {
  
  scanvalue=digitalRead(7);
  if (scanvalue!=previous_scan) {pulsecount++; previous_scan=scanvalue;}
    
   if (millis() - previousMillis > interval)
  {
   interval=((millis() - previousMillis)/pulsecount)*50
   previousMillis = millis();    
   pulsecount=0;

   //code blinking code here
   }
}
6  Forum 2005-2010 (read only) / Interfacing / reading variables from usb drive with vmusic on: February 19, 2008, 09:01:21 am
I am making a project which will need to read a small text file with (35 or so) variables from a usb drive , and also play a recorded sound. I saw the vinculum Vmusic2 is up to the job , but reading the forum on this thread

http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1187669098

but it seems that there is a problem reading files off the drive.

Has anyone succeeded in receiving any useful data or text file from USB drive using VMUSIC?
is there another option I can use?

my first thought was to work my variables into the file names (since DIR seems to work) , does that make sense?

another overkill option was to use arduino BT and then send the variables using BT ,but the TX pin would be taken for the VMUSIC , won't that be a problem?



more info---

http://techartblog.blogspot.com/2007/08/vmusic2-on-arduino.html

http://www.arduino.cc/playground/Main/VMUSIC

http://www.vinculum.com/prd_vmusic1.html


thanks
tomas
7  Forum 2005-2010 (read only) / Interfacing / Re: arduino laser projector project - rpm meter pr on: January 04, 2008, 10:19:06 am

1. will try using a circular disc with a small slit (maybe the cardboard arm is really too wide)

2. will try connecting the transistor to ocsilloscope to see what it looks like.
maybe upload the image

3. as you can see on the link from my page , the 15-year-old kids who did this with an atmega8 (not arduino) used a similiar sensor and arm , so there should be litle difference.

8  Forum 2005-2010 (read only) / Interfacing / Re: arduino laser projector project - rpm meter pr on: January 02, 2008, 03:50:34 am
I created the debug lines in the interrupt handler to debug the error...

it's still there when I remove those lines...

I will try to delete all serial print code and see what happens.

tomas
9  Forum 2005-2010 (read only) / Interfacing / arduino laser projector project - rpm meter prob on: January 01, 2008, 01:59:23 pm
hello

I am trying to build an arduino laser projector.

at first it will be with 1 mirror , rotating , and rpm meter (optical) using interrupt 0 , and laser powered by uln2003

code , debug info , pics are here -

http://tomsofer.googlepages.com/home2



but my code (based on something I downloaded from arduino site) gives me strange rpm's!

can you help?



thanks

tomas

10  Forum 2005-2010 (read only) / Interfacing / ReMake: Arduino Laser projector - from example on: October 21, 2006, 12:29:04 pm
Hello

I am Re-making the Atmega16 laser projector shown here:

http://heim.ifi.uio.no/haakoh/avr/

in Arduino. Should be no problem, but I already have one.. I thought to use CPU fan for motor&rpm sensor module .. I used this code

http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1152891511/0

to read the current RPM from fan , which is around 8000rpm , and split one rotation time into time-slots for individual pixels.
but somehow I am getting instability.
These people were working with 1500 rpm.
do you think it's just too fast for arduino?

anyone who is interested in helping in this project please email me, I will check my code first against theirs first and post it soon.

their code:

http://heim.ifi.uio.no/haakoh/avr/projector.c.html

Tomas

sofertom (a) gmail com
11  Forum 2005-2010 (read only) / Exhibition / Re: Centipede Shield - also a contest! on: November 10, 2009, 10:11:31 am
I had an idea for a "distributed production" alphanumeric electronic demonstration sign. the idea is demonstrators get a kit in the mail containing precut led strips and wire, and construct a 2X4 foot 14-segment alphanumeric 1-character sign. the wires all go out to a plug at the bottom. Now - one guy comes out with the same sign, but he also has the control board - arduino+centipede, to control all 5 signs (incl. power supply and switching with uln2003) , and end up with a 5-letter, 10X4 foot electronic sign! I know this does not make use of the input and only uses the centipede as an output expansion, and I know that for the same price I can almost get an arduino mega (which is good for 4 1-letter signs) , but I still want it!
I also discussed this with some guys from graffiti research lab (google it) and they were cautiously interested.

diagram will be up soon. thanks for reading!


12  Forum 2005-2010 (read only) / Frequently-Asked Questions / reading variables from USB drive with Vmusic on: March 02, 2008, 01:19:59 pm
I am making a project which will need to read a small text file with (35 or so) variables from a usb drive , and also play a recorded sound. I saw the vinculum Vmusic2 is up to the job , but reading the forum on this thread
 
http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1187669098
 
but it seems that there is a problem reading files off the drive.
 
Has anyone succeeded in receiving any useful data or text file from USB drive using VMUSIC?
is there another option I can use?  
 
my first thought was to work my variables into the file names (since the command - DIR - seems to work) , does that make sense?
 
 
more info---
 
http://techartblog.blogspot.com/2007/08/vmusic2-on-arduino.html
 
http://www.arduino.cc/playground/Main/VMUSIC
 
http://www.vinculum.com/prd_vmusic1.html
 
 
thanks
tomas
13  Forum 2005-2010 (read only) / Frequently-Asked Questions / Re: projector - delay function screws rpm measurem on: February 25, 2008, 03:56:42 am
Yes , I Browsed some websites and noticed that just after posting...sorry... I have both boards so I'll bring the Diecimilia over and run the code on it.

oops..
14  Forum 2005-2010 (read only) / Frequently-Asked Questions / Re: projector - delay function screws rpm measurem on: February 21, 2008, 08:20:18 am
Tried to paste the first 3 lines , and got "timsk1 was not declared in scope..."

also I assume "SET_PULSE_HIGH(OutPort, OutBit); " is a leftover from some other code..?


Code:
#include <stdint.h>
#include <avr/interrupt.h>
#include <avr/io.h>
#include <avr/pgmspace.h>


 volatile byte rpmcount;


 void rpm_fun()
 {
   rpmcount++;
   //Each rotation, this interrupt function is run
 }


 void setup()
 {
   Serial.begin(19200);
   attachInterrupt(0, rpm_fun, FALLING);
  
  TCCR1A = 0x00;      // COM1A1=0, COM1A0=0 => Disconnect Pin OC1 from Timer/Counter 1 -- PWM11=0,PWM10=0 => PWM Operation disabled
  TCCR1B = 0x02;      // 16MHz clock with prescaler means TCNT1 increments every .5 uS (cs11 bit is set)
  TIMSK1 = 0x00;      // Timer1 interrupts off  
  
 }




 void loop()
 {  
 }


15  Forum 2005-2010 (read only) / Frequently-Asked Questions / Re: projector - delay function screws rpm measurem on: February 21, 2008, 07:17:36 am
Wow , I can't wait to try it out...

By the way I thought I was smart and used delay() for the delay_time/1000 part , and delayMicroseconds() for the delay_time%1000 part.

as you can imagine , it worked better than before , but still very badly.

thanks!

TS
Pages: [1] 2