Metku.net

MetkuMods
It is currently 18.11.2018 17:50

All times are UTC + 2 hours [ DST ]




Post new topic Reply to topic  [ 26 posts ]  Go to page Previous  1, 2
Author Message
PostPosted: 25.09.2008 14:19 
Offline
Junior Modder
Junior Modder

Joined: 22.09.2008 02:59
Posts: 15
yup some will be turning on at the same time , wail some will need to be turning on at a sequence in milli seconds not nano-seconds lol.

From these chips version which one would offer me the highest number of pin input and outputs?
-irvin


Top
 Profile  
 
PostPosted: 25.09.2008 16:20 
Offline
Site Admin
Site Admin
User avatar

Joined: 24.01.2002 10:09
Posts: 4683
Location: Finland
I believe 14 pins for digital is a norm. Should be enough in your case but you do the math on that. :)


Top
 Profile  
 
PostPosted: 26.09.2008 05:23 
Offline
Junior Modder
Junior Modder

Joined: 22.09.2008 02:59
Posts: 15
Hahaha yup, i just ordered the starters kit :D im so excited,I feel like a little kid geting a new toy but for the moment i dont have any questions but when i do get the chip i will do everything in my power to try and figure it out myself but if i get stuck could i still ask questions?

Thanks again for your help and support,and lets see if we can make magic happen :D
-Irvin


Top
 Profile  
 
PostPosted: 26.09.2008 08:02 
Offline
Site Admin
Site Admin
User avatar

Joined: 24.01.2002 10:09
Posts: 4683
Location: Finland
Sure, just ask. I believe there will be others that will find this interesting eventhough currently we are the only ones writing to this thread. :) Microcontrollers can open a whole new world to modders and perhaps this thread will spark new ideas.


Top
 Profile  
 
PostPosted: 27.09.2008 04:25 
Offline
Junior Modder
Junior Modder

Joined: 22.09.2008 02:59
Posts: 15
Wow, I didnt think of this post like that, that would be great if this very post could help someone or spark new idea's

Again thanks for your support,and the chip that i ordered should be coming in a couple of a day, till then i may not post but like i sayd i will post once i get the chip and any issues/questions i may have, again thanks!!! :D
-Irvin


Top
 Profile  
 
PostPosted: 28.09.2008 04:55 
Offline
Junior Modder
Junior Modder

Joined: 22.09.2008 02:59
Posts: 15
Hey japala, so at work at i had lots of time to kill and i build my first sketch, have it checked by the program and it had little captial errors but i fixed them, had it checked and it says that its fine, i dont have the chip so i cant really tell if it would work but i'll post the sketch maybe you can take a look and see if it would do what I expect it to do. I think i got it feeling a lil proud of myself lol :D

int redPin1 = 1; // Red led is connected to digital pin 1
int whtPin2 = 2; // white led is connected to digital pin 2
int whtPin3 = 3; // white led is connected to digital pin 3
int whtPin4 = 4; // white led is connected to digital pin 4
int whtPin5 = 5; // white led is connected to digital pin 5
int whtPin6 = 6; // white led is connected to digital pin 6
int whtPin7 = 7; // white led is connected to digital pin 7
int whtPin8 = 8; // white led is connected to digital pin 8
int whtPin9 = 9; // white led is connected to digital pin 9

void setup () // run once, when the sketch starts
{
pinMode (redPin1, OUTPUT); //sets the digital pin as an output
pinMode (whtPin2, OUTPUT); //sets the digital pin as an output
pinMode (whtPin3, OUTPUT); //sets the digital pin as an output
pinMode (whtPin4, OUTPUT); //sets the digital pin as an output
pinMode (whtPin5, OUTPUT); //sets the digital pin as an output
pinMode (whtPin6, OUTPUT); //sets the digital pin as an output
pinMode (whtPin7, OUTPUT); //sets the digital pin as an output
pinMode (whtPin8, OUTPUT); //sets the digital pin as an output
pinMode (whtPin9, OUTPUT); //sets the digital pin as an output
}

void loop() //runs over and over again
{
digitalWrite (redPin1, HIGH); // sets the 3 red led on for L1
delay(300); // leaves the led on for 300 milliSeconds
digitalWrite (redPin1, LOW); // sets the 3 red led off for L1
delay(300); // leaves the led off for 300 milliSeconds
digitalWrite (redPin1, HIGH); // sets the 3 red led on for L1
delay(300); // leaves the led on for 300 milliSeconds
digitalWrite (redPin1, LOW); // sets the 3 red led on for L1
delay(300); // leaves the led off for 300 milliSeconds
digitalWrite (redPin1, HIGH); // sets the 3 red led on for L1
delay(300); // leaves the led on for 300 milliSeconds
digitalWrite (redPin1, LOW); // sets the 3 red led off for L1
delay(300); // leaves the led off for 300 milliSeconds
digitalWrite (redPin1, HIGH); // sets the 3 red led on for L1, and will leave them on
delay(800); // leaves the led on for half a second
digitalWrite (whtPin2, HIGH); // sets the 4 led on for L2
delay(300); // leaves the led on for 300 milliSeconds
digitalWrite (whtPin2, LOW); // sets the 4 led on for L2
delay(300); // leaves the led on for 300 milliSeconds
digitalWrite (whtPin2, HIGH); // sets the 4 led on for L2
delay(300); // leaves the led on for 300 milliSeconds
digitalWrite (whtPin2, LOW); // sets the 4 led on for L2
delay(300); // leaves the led on for 300 milliSeconds
digitalWrite (whtPin2, HIGH); // sets the 4 led on for L2
delay(800); // leaves the led on for half a second
digitalWrite (whtPin3, HIGH); // sets the far left led on for L3
delay(250); // leaves the led on for 350 milliSeconds
digitalWrite (whtPin4, HIGH); // sets the far left led on for L3
delay(250); // leaves the led on for 350 milliSeconds
digitalWrite (whtPin5, HIGH); // sets the far left led on for L3
delay(250); // leaves the led on for 350 milliSeconds
digitalWrite (whtPin6, HIGH); // sets the far left led on for L3
delay(250); // leaves the led on for 350 milliSeconds
digitalWrite (whtPin7, HIGH); // sets the far left led on for L3
delay(350); // leaves the led on for 350 milliSeconds
digitalWrite (whtPin8, HIGH); // sets the far left led on for L3
delay(350); // leaves the led on for 350 milliSeconds
digitalWrite (whtPin9, HIGH); // sets the far left led on for L3
delay(4000); // leaves the led on for 4 seconds
}

-Irvin


Last edited by irvinds on 28.09.2008 05:08, edited 1 time in total.

Top
 Profile  
 
PostPosted: 28.09.2008 05:07 
Offline
Junior Modder
Junior Modder

Joined: 22.09.2008 02:59
Posts: 15
Ohh also i forgot to mention how did you fill in the letters, for example the Intel sign is clearly outlined but the inside is also seems like is sanded? so that the light could reflect and show the inside on the logo, im sorry if i cant really explain but i was just wondering if you sanded that area or did u use that same tool that you used to make the outlines.

Thanks again and i hope that sketch works when i get the chip.got my fingers crosses :)
-Irvin


Top
 Profile  
 
PostPosted: 28.09.2008 12:07 
Offline
Site Admin
Site Admin
User avatar

Joined: 24.01.2002 10:09
Posts: 4683
Location: Finland
I used the Dremel Multitool for the center. Actually the whole Intel logo is made with that normal rotary tool and a ball like carving bit. The dragon was made with both the Engraver tool and the Multitool.

You can sand the center of the letters with sanding paper (if the area is large enough) or a rotary tool etc. The Engraver has a very small tip and it is no good for "sanding" out larger areas.

And the code seems correct. You have the leds and proper resistors ready for them?


Top
 Profile  
 
PostPosted: 28.09.2008 15:30 
Offline
Junior Modder
Junior Modder

Joined: 22.09.2008 02:59
Posts: 15
Yup,well for the test i have some green and blue led's with 220ohms that i will use to test the chip out with, if my programing is correct then i will go ahead abd buy the proper leds colors.

Also with this code that i wrote, would i need to power the led's on an external power source (meaning the chip wont power the leds and the chip controls the ground) or my setup requires the chip to power up the leds?

And last thing i wanted to ask, for the big area's that have to be sanded down,what grit sandpaper did you use? im assuming the ruffer the paper the deeper scratches right? :?

Well Thank you kind sir for your time once again :D
-Irvin


Top
 Profile  
 
PostPosted: 28.09.2008 15:51 
Offline
Site Admin
Site Admin
User avatar

Joined: 24.01.2002 10:09
Posts: 4683
Location: Finland
Well... you have to see the specs of the Atmel chip to determine if you need for example a transistor to the outputs... It is always best to use them and not source the leds from the chip but they might work just fine either way. Just see what is the per pin output rating for the digital pins.


Top
 Profile  
 
PostPosted: 02.10.2008 23:28 
Offline
Junior Modder
Junior Modder

Joined: 22.09.2008 02:59
Posts: 15
I got my chip last night and i was so excited that i stayed untill around 3:30 playing with the chip (that didnt go too good with waking up at 7:00 for work) and i got the light sequence done, just have to tape it and cut the Leds so that they can aim the light properly, this is kinda cool for my very first time with programing.

So wail I was making the programing I though of a even greater idea, I was thinking of having a fingerprint scanner and a lock or some type of actuator
to open a lock and when the current/magnetic field is gone it locks up once again. I googled this idea and sure enough i didnt get much since i want to do all of this with the arduino chip, think you might have an idea?

The web site I saw was the fallowing...
http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1221654830
http://www.sparkfun.com/commerce/product_info.php?products_id=8839

Thanks again and if you have any info or if it can even be done please let me know and thanks, i'll post pictures tonight of the project...
-Irvin


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 26 posts ]  Go to page Previous  1, 2

All times are UTC + 2 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group