Show Posts
Pages: 1 2 [3] 4 5 6
31  Using Arduino / Programming Questions / Re: attiny45 problem on: January 14, 2012, 07:25:45 pm
for the normal arduino it works

but when you try to upload it to the attiny45 with an arduino as an isp

it does not work
32  Using Arduino / Programming Questions / Re: attiny45 problem on: January 14, 2012, 07:16:27 pm
guys  smiley-roll-sweat
i can program but the level you are using is gibberich to me
that is why i asked help in the firsth place

i didnt asked help to get tips on how to do it

i asked help becaus i cant do it

pleas help smiley-cry
33  Using Arduino / Programming Questions / Re: attiny45 problem on: January 14, 2012, 05:27:36 pm
how will i do that

it is for an official project

so if somone can help

34  Using Arduino / Programming Questions / attiny45 problem on: January 14, 2012, 08:30:29 am
hey guys

i have a problem i have an attiny 45 here

and i want to run the virtual wire library
but it wont work it says
C:\Users\peter\Desktop\arduino-0023\libraries\VirtualWire\VirtualWire.cpp: In function 'void vw_setup(uint16_t)':
C:\Users\peter\Desktop\arduino-0023\libraries\VirtualWire\VirtualWire.cpp:259: error: 'TCCR1A' was not declared in this scope
C:\Users\peter\Desktop\arduino-0023\libraries\VirtualWire\VirtualWire.cpp:260: error: 'TCCR1B' was not declared in this scope
C:\Users\peter\Desktop\arduino-0023\libraries\VirtualWire\VirtualWire.cpp:260: error: 'WGM12' was not declared in this scope


can somone help
i realy need it

here is the script btw

Code:
// transmitter.pde
//
// Simple example of how to use VirtualWire to transmit messages
// Implements a simplex (one-way) transmitter with an TX-C1 module
//
// See VirtualWire.h for detailed API docs
// Author: Mike McCauley (mikem@open.com.au)
// Copyright (C) 2008 Mike McCauley
// $Id: transmitter.pde,v 1.3 2009/03/30 00:07:24 mikem Exp $

#include <VirtualWire.h>
#undef int
#undef abs
#undef double
#undef float
#undef round

const int led_pin = 0;

void setup()
{
pinMode(2,INPUT);
digitalWrite(2,HIGH); //Only this line new
pinMode(3,INPUT);
digitalWrite(3,HIGH); //Only this line new
// Initialise the IO and ISR
    vw_set_ptt_inverted(true); // Required for RF Link module
    vw_setup(2000);                 // Bits per sec
    vw_set_tx_pin(1);                // pin 3 is used as the transmit data out into the TX Link module, change this to suit your needs.

}


void loop()
{
  if (digitalRead(2) == LOW) {               // check if the button is pressed
  const char *msg = "10";       // this is your message to send

   vw_send((uint8_t *)msg, strlen(msg));
   vw_wait_tx();
digitalWrite(led_pin, HIGH);   // Wait for message to finish
  delay(100);
 
  }
  else{digitalWrite(led_pin, LOW);}

  if (digitalRead(3) == LOW) {               // check if the button is pressed
  const char *msg = "01";       // this is your message to send

   vw_send((uint8_t *)msg, strlen(msg));
   vw_wait_tx();
digitalWrite(led_pin, HIGH);   // Wait for message to finish
  delay(100);
  }
  else{digitalWrite(led_pin, LOW);}


}
35  Using Arduino / Programming Questions / Re: wireless apperatus on: December 16, 2011, 10:17:33 am
well we are playing in a forrest (so interverence is not a problem)

but if some is lost or has a problem
press a button and help is on its way
36  Using Arduino / Programming Questions / Re: wireless apperatus on: December 15, 2011, 06:18:56 pm
it is okey to get the lowest baud rate it is only gonna send a string of 8-20 numbers

and i wish a attiny85 could run the virtual wire library but it is a bit to tiny to do that
(i am goeing to program an attiny85 with arduino software as mentiond earlyer)
37  Using Arduino / Programming Questions / Re: wireless apperatus on: December 15, 2011, 02:25:52 pm
like i said it does not matter that there is interverence
its for a game and not for a hospital
38  Using Arduino / Programming Questions / Re: wireless apperatus on: December 15, 2011, 01:46:32 pm
but all the frequensys are the same there code isnt
39  Using Arduino / Programming Questions / Re: wireless apperatus on: December 15, 2011, 11:03:06 am
arg
i typed in english as it is

15 tx 433mhz all have a code (10011001-11111111)
1 rx that knows them all and turns on a light that belongs to the tx

15 LIGHTS
15 TX (with arduino)
1 RX (with arduino)

clear enough?
40  Using Arduino / Programming Questions / Re: wireless apperatus on: December 15, 2011, 10:38:22 am
sorry i explaned the hardware so late
i use simple 433mhz rx and tx modules

i have 5 tx arduino's
and one rx arduino

i need the 5 tx to be secure (so nat all 433mhz transmitters work) with there one binairi code (BINIARI SECURETY)
and the rx needs to know up to 15 tx arduino's and if itt receves a signal from tx 1 light one lights (so the remotes tx have there own light)
41  Using Arduino / Programming Questions / Re: wireless apperatus on: December 15, 2011, 12:19:33 am
that sounds handy
but an com system is to much for my plan

do you have a script of it?
42  Using Arduino / Programming Questions / Re: wireless apperatus on: December 14, 2011, 04:19:04 pm
i only need one way
but the amount of chanals does work okey
43  Using Arduino / Programming Questions / Re: wireless apperatus on: December 14, 2011, 04:03:47 pm
Between the attinys and the arduino?

it only makes the signal that should be receved and it makes it clear who he is

(remote 1-15)
44  Using Arduino / Programming Questions / Re: wireless apperatus on: December 14, 2011, 01:20:56 pm
it is the kit i use for the transmittiung and receving
45  Using Arduino / Programming Questions / Re: wireless apperatus on: December 14, 2011, 01:13:21 pm
the hardware
simple RF Link 434MHz set (transmitter and recever)
a arduino with 595 to drive more leds

and a attiny85 as a transmitter
Pages: 1 2 [3] 4 5 6