Show Posts
Pages: 1 ... 5 6 [7] 8 9 ... 17
91  International / Scandinavia / Re: Easy Arduino project preferable in Stockholm on: September 30, 2013, 12:40:22 am
Im trying to make a arduino-project for controlling a timer and a scoreboard for different type of sports.
Im interested in finding a person in Stockholm, Sweden.
My contact info :
Gunnar Petersen Jr -
gunnar.petersen.jr@gmail.com
0735 366 000

/Gunnar


Låter intressant.. Snackar vi om en anställning eller vägledning? Om det är vägledning det handlar om så går det bra att presentera vad du har gjort eller planerar att göra så kan vi hjälpa dig så gott vi kan!

//Basel
92  International / Scandinavia / Re: World Maker Faire on: September 24, 2013, 02:45:38 pm
Reste du?

Jag åker til Rom for den Euro-version.

Nej, blev tyvärr ingen resa.. Låter hur najs som helst.. Har du redan bokat? I så fall vart reser du ifrån och hur länge hade du tänkt stanna..?
93  Using Arduino / Microcontrollers / Re: Attiny2313 minimum and maximum voltage? on: September 19, 2013, 05:28:38 am
Hi,

Whats the minimum voltage for attiny 2313?  I read in the datasheet it can go as low as 2.7v.. But how come when i use 3v power supply it doesnt work?

What's the clock frequency, 1Mhz, 8Mhz.. etc..??? Can you post a schematic of how you connected everything maybe?? Would be a lot easier to help..
Quote
Also how can i use 4 aa battery as the supply power? It doesnt seem to work too.. I guess, beacuse 4 aa battery is 6v while the maximum voltage is 5.5v?
Thanks!
Well, why not use 3 AA batteries (~4.5V)??  Anyway, to be able to drop 6V to 5V you need a low dropout regulator.. Here is an example: http://www.ti.com/lit/ds/snvs096d/snvs096d.pdf

//Basel
94  Using Arduino / Microcontrollers / Re: Newbie here, hoping for some help with a standalone ATMEGA328. on: September 18, 2013, 07:50:24 am
Put a 10K resistor between VCC and reset and try again..
95  Using Arduino / Microcontrollers / Re: Differance between Sparkfun Arduino Pro Micro and Arduino Micro (Serial Ports) on: September 18, 2013, 03:21:46 am
Since the arduino pro micro is smaller (no pins) i would like to use it but i need 2 serial ports and so i would like to know if it is capable of connecting to an XBee through RX TX and computer through USB for serial communication,

Yes, it can! You have TX, RX and USB broken out.. The rest is only software =)..

//Basel
96  International / Scandinavia / World Maker Faire on: September 17, 2013, 03:20:28 pm
Tjenare! Jag undrar ifall det finns någon som skall/sugen på att åka till World Maker Faire i New York?? Själv är jag väldigt sugen på att åka dit men har tyvärr inga kompisar som delar mitt intresse.. World Maker Faire börjar den 21-22 sep och biljetten kostar 40 dollar.. Om någon kan tänka sig haka på så säg till så fort som möjligt!

//Basel
97  Community / Exhibition / Gallery / Re: Arduino Laser Target Game on: September 16, 2013, 08:07:12 am
Good job.. it looks like fun..!! smiley
98  Community / Exhibition / Gallery / Re: BlueCopter - Arduino Quadcopter on: September 15, 2013, 05:33:24 am
For those following this:  I've updated the code.. Made the sketch run more efficiently and reduced code size.. With this change I managed to find better PID values and thus get better/faster stabilization.. For those interested I've added pictures of the main board and hardware setup (see first post)..
99  Using Arduino / LEDs and Multiplexing / Re: Control Led Strip (not-RGB) on: September 11, 2013, 04:14:46 pm
You can't.. These strips don't have any control chip on them.. It's just a bunch of leds connected in parallel..
100  Community / Exhibition / Gallery / Re: BlueCopter - Arduino Quadcopter on: September 08, 2013, 02:30:17 pm
yummmyyyyyy it seem work fine in the scope .... its late here and i cant start esc's bbeeping in home smiley-grin tomorrow morning i will test it ..... if it works fine i will start study arduino tommorow hardly .... .... <3 <3

Glad to hear that.. Alright! Good luck with your project =)

//Basel
101  Community / Exhibition / Gallery / Re: BlueCopter - Arduino Quadcopter on: September 08, 2013, 01:39:51 pm
i tired your code this happend .... befor i connect receiver to pin1(tx) it has signal and after i connect signal it has change unormally and brushless motor dont work

i upload video of process ...
befor and after i connect receiver to arduino uno

Looking at the video I see that the duty cycle is changing from zero to 100%.. That means that it was hooked right the first time..
Did you read what I wrote in the previous post? Why did you connect the receiver to pin 1????? The code is calling for interrupt 1.. And interrupt 1 is on PIN 3.. Forget about the brushless motor for a second.. Connect the output (pin 11) to the oscilloscope and connect the receiver signal to PIN 3 on the UNO.. Dont change anything in the code, and reupload and test it again.. If you get the same results as in the video, then connect the output (PIN 11) to the ESC input signal and try again.. (Dont forget to connect the GND of the ESC to the GND on arduino)..

When you first start up the ESC remember to put the throttle on 0% (stick all the way down) for at least 3-5 seconds before fiddling with it..

Edit: If you got propellers on then remove them.. We don't want you to lose a finger now do we..?
102  Community / Exhibition / Gallery / Re: BlueCopter - Arduino Quadcopter on: September 08, 2013, 10:26:04 am
smiley-grin i was wrong after i change the throtle on radio and signal never changes and when i unpluged the receiver the signal i had signal from pin 11 still like befor showing on scope

ya because you changed the interrupt pin number.. And why did you put pinMode (YOUR_OUTPUT_PIN, OUTPUT); in the interrupt routine??? You only have 2 interrupts on the UNO.. They have the numbers 0 and 1 and are located on pins (2 and 3).. so in the code change the number 3 to a 1 and leave everything as is.. I've fixed the sketch for you... Here is the code, just copy paste and run it..

Code:
#define RX_INT_PIN_THROTTLE 1
#define YOUR_OUTPUT_PIN 11


volatile int rxPrev = 0; //variable that will contain the previous time
volatile int rxVal = 0; //variable that will contain the current throttle pulse length



void rxGoesHigh(){
/* As soon as we get into this function we measure the current time (with micros)
and put that value in our variable rxPrev. After that we re-attach the same interrupt
but this time we want it to fire when the pin goes low "FALLING". When that happens it
will call the function rxGoesLow */
  rxPrev=micros();
 
  attachInterrupt(RX_INT_PIN_THROTTLE,rxGoesLow,FALLING);
}
void rxGoesLow(){
/* As soon as we get into this function we measure the current time (with micros) and
subtract the previous time (rxPrev). By doing that we will get the length of the pulse,
from start to the end. We end this process by re-attaching the throttle pin to a RISING
interrupt, which will repeat the process again... */
  rxVal=micros()-rxPrev; 
  attachInterrupt(RX_INT_PIN_THROTTLE,rxGoesHigh,RISING);
 
}

void setup(){
pinMode (YOUR_OUTPUT_PIN, OUTPUT);
attachInterrupt(RX_INT_PIN_THROTTLE,rxGoesHigh,RISING); /*We begin by attaching a interrupt
to the throttle pin. the interrupt will fire when the pin goes high "RISING" (meaning the
start of the pulse). When that happens it will call the function rxGoesHigh.*/
}
void loop(){
//Nothing to do here!
int out = map(rxVal,1000,2000,0,255);
analogWrite(YOUR_OUTPUT_PIN,out);
}



Edit: If this still doesn't work for you, I need you to show me how you hooked everything up.. Just draw a simple schematic.. And can you give me the name of your receiver/transmitter??? Just want to check and make sure that it's really PPM we are talking about..

//Basel
103  Community / Exhibition / Gallery / Re: BlueCopter - Arduino Quadcopter on: September 08, 2013, 02:53:34 am
Quote
tnx . i will be great because this code is just for one channel and im sure i f go to edit this i will screw the code and everything go wrong smiley-grin .

Sure I can write the pin-change-interrupt explanation, but I'm going to use my quadcopter code as an example (Arduino Leonardo).. Meaning it won't work on the UNO... If you only got 4 channels you can go with a Arduino Leonardo (it has 5 external interrupts) or Arduino Mega (has 6 external interrupts) and reuse my example code that I posted above... if you don't want to buy another board you can use this library which makes PC-Interrupts look like a walk in the park..The library for the pin-change-interrupts will simplify a lot and make the code look like the example I posted..
Here is the library: https://code.google.com/p/arduino-pinchangeint/

and some another question in this code we dont have any output pin ?

Well, no, because it's too simple really.. Here is a example of how to output PWM (combine this code with the previous example and give it a go)..

Code:
#define YOUR_OUTPUT_PIN 11
void setup(){
pinMode(YOUR_OUTPUT_PIN,OUTPUT);
}
void loop(){
int out = map(rxVal,1000,2000,0,255);
analogWrite(YOUR_OUTPUT_PIN,out);
}


But seriously, you clearly need to read and look at the different examples/tutorials in this forum and out there(internet of things).. I wouldn't mind writing the whole thing for you, but that won't teach you anything!

If you'd like, write your sketch and try it out and in-case it doesn't work and you've tried everything you can, post it here.. We would be more than happy to help you out..

//Basel
104  Using Arduino / Project Guidance / Re: Arduino Science Fair on: September 07, 2013, 06:22:59 pm
<thinking oout of the box >
create the smartest doorbell possible, one that recognizes the length of the press, how hard it was pressed, temperature of the finger, the pattern, movements while pressed, whatever is measurable to identify the person....

Can you enter a secret code with a simple doorbell to open the door?
What else can be controlled by a doorbell? garage, lighting, garden sprinkler ...

Looll!! Sprinkler controlled by a doorbell, that would be funny! haha, but seriously bro, very fun ideas!
105  Using Arduino / Project Guidance / Re: arduino quadcopter and ppm receiver ( none sum ) on: September 07, 2013, 05:59:24 pm
im so weak in programming and coding smiley-sad . there is so many codes to read ppm but they are not complete ... i want somthing to read 4 channel in ppm and output ppm-sum or 4channel in pwm mode . its my university final project smiley-sad

No, I'm not used PPM-sum.. I'm using ordinary servo signals/PPM, one pin for each signal, and outputting PWM.. I know programming is not your strong side, but because it's a University project you need to scratch your head for some time and read, read and read... Anyhow I just answered your question in my thread (with example code YAYYY), hope you find it helpful.. http://forum.arduino.cc/index.php?topic=184503.0

Good luck!  smiley
//Basel
Pages: 1 ... 5 6 [7] 8 9 ... 17