will these work?   PLEASE LOOK!

hi everyone!

well iv been serverly bored lately so im going to actually spend some money and do a project (a elabrate car remote/ electronic key).

i have a few questions before i buy mainly if the stuff i want will actualy work:

is this tranciever compatible with arduino? http://www.sparkfun.com/commerce/product_info.php?products_id=153# if so i will buy 2 for communication between each other.

am i able to use the attiny13 with arduino (without the bootloader) http://www.sparkfun.com/commerce/product_info.php?products_id=211 otherwise can you please point me to some smaller microcontrollers as i dont want the remote to be to big (itl only be 2 buttons with wireless and a few wires coming out the front) otherwise ill just use the atmega168

wil the MAX1555 constantly power the microcontroller while switching between charging and running off battery? also which switcher should i use if i dont use lipo batterys as i would pefer to use a littler battery (3v rechargable cell)

how would i make it if its plugged into the "car" as a key that it only sends the codes throught the wireing to the "cars" controller and not over the wireless?

getting more random now...

if it works and well (unlikely(ill probably give up by then :P)) i would like to do it properly onto a pcb so here are the new questions:

is there any reason i cannot use the Crystal SMD 16MHz over the normal non smd chip?

also where is a good site that sells SMD components (resistors ect)

another thing with the random code

heres my code:

void setup(){
Serial.begin(9600);
}

void loop(){
  Serial.println(random(100000000, 999999999));
  delay(20);
}

so extremely simple just produce a random number between 100000000 and 999999999 (so the output is always that many digits long) the problem is it never goes random for the whole thing. so heres an example output

100016807

100015089

100011481

100003114

100014210

100023240

100003800

100002558

100012099

100001101

100006296

100015445

100004748

100023522

100021683

100014151

100014615

100016657

100017304

100018772

100011823

100011025

100005677

100002821

100012888

100026357

100000363

100007638

100030600

100007431

100025753

100013458

100003912

100020787

100028258

100005185

100019699

100003853

100020515

100027365

100030815

100013616

100008913

100030408

100030189

100017761

100026636

100005451

100010498

100021557

100000057

100020609

100025732

100009656

100025876

100007074

100013212

100026292

100028250

100004711

100011306

100013514

100023269

100004680

100018921

100008389

100001521

100008880

100022212

100007189

100011146

100004581

100027291

100030797

100017209

100030198

100002039

100009960

100019617

100004101

100027347

100030974

100029677

100019877

100014549

100024819

100006873

100019684

100015451

100015354

100021612

100003523

100004433

100029666

100007200

100008110

100004108

100007905

100032006

100009880

100024685

100014177

100024575

100028980

100006305

100031774

100015129

100006909

100023094

100012880

100017129

100003511

100006785

100012175

100004035

100029754

100017182

100028943

100007616

100022316

100004676

100013397

100019066

100004040

100011947

100024144

100001225

100026034

100006366

100008882

100026870

100010421

100011746

100023116

100024655

100031709

100000927

100023688

100028263

100021181

100011726

100022047

100019442

100008545

100028928

100030606

100009848

100006551

100011671

100009486

100023092

100010850

100018183

100009431

100011358

100025671

100006817

100018520

100013353

100006286

100018267

100014242

100003061

100007010

100019526

100002438

100030620

100016068

100016174

100009014

100018730

100027906

if someone can help me so i can make it so it is using all the numbers for randomness.

thanks heaps in advance :D

callum

is this tranciever compatible with arduino?

Yes but you will need an Ardunio with each trancever.

am i able to use the attiny13 with arduino (without the bootloader)

No this is not compatible. you will have to program it separately if you want to use it.

wil the MAX1555 constantly power the microcontroller

Yes this, and a battery, and some switch over diodes.

how would i make it if its plugged into the "car" as a key that it only sends the codes throught the wireing to the "cars" controller and not over the wireless?

Yes, modulate the signals at a high frequency say at 100KHz, and capacitative couple onto the wiring. Demodulate at the other end.

is there any reason i cannot use the Crystal SMD 16MHz over the normal non smd chip?

Not that I can see.

also where is a good site that sells SMD components (resistors ect)

:- Farnell

another thing with the random code

so extremely simple just produce a random number between 100000000 and 999999999 (so the output is always that many digits long) the problem is it never goes random for the whole thing. so heres an example output

If this code is in the Arduino then it is limited to the number of bytes assigned to variables. If in Procesing then you need to use floating point variables.

Just a point, if you are having to ask these questions then I think that this project is maybe a bit too advanced for you, try doing some of the tutorials first and work your way up to this. :'(

thanks man yer it is probabily 2 advanced 4 me but 2 late i have oreded 2 trancievers and some other parts so waiting for them to arrive and figured out the random problem a guy helped me fix that

how would i make it if its plugged into the "car" as a key that it only sends the codes throught the wireing to the "cars" controller and not over the wireless?

now this idea I like .. i can think of quite a few times this would have made my life sooooo much easier. Cheers to the idea !!!!!!! Les .... custom automotive floor mat

haha yer it would be quite cool

now im sure a few where expecting this so...

has anyone interfaced the arduino with the nrf2401a tranciever http://www.sparkfun.com/commerce/product_info.php?products_id=153

trust ,iv got them then actualy look at the example code and its al in pic form (grrr)

help appreciated

haha gota laught at my stupidity

cheers callum

how would i make it if its plugged into the "car" as a key that it only sends the codes throught the wireing to the "cars" controller and not over the wireless?

now this idea I like .. i can think of quite a few times this would have made my life sooooo much easier. Cheers to the idea !!!!!!! Les .... custom automotive floor mat

Hello everyone, Wow, that is a great idea, much better security that way!! The hackers may have some trouble with that plan, or not??

auto insurance