Show Posts
Pages: 1 ... 17 18 [19] 20
271  Forum 2005-2010 (read only) / Frequently-Asked Questions / Re: Arduino Mini Vs. Pre-Loaded ATmega168 on: September 22, 2007, 05:31:30 am
the chrystal (plus condensators) is all you need to get the preburned atmega running. to upload a programm you can use your mini's usb/serial adapter. there should be no difference except for the 2 extra analog ins that the mini offers (as you mentioned).

//kuk
272  Forum 2005-2010 (read only) / Frequently-Asked Questions / Re: Arduino Emulator on: September 02, 2007, 05:46:12 am
hello,

i hope that your board has arrived by now. but to still answer your question: no there isn't an emulator for a arduino boards as far as i know. mainly because there isn't a need (if you have a board that is :-). the board is cheap and uploading a new sketch is as fast as it would be to start an emulator.

i admit that i wanted one to exist when i was waiting for my first board to arrive. but i don't think i would have learned much from it. programming the board mostly isn't the problem for beginners but designing stable circuits... how would an emulator handle setups that "work" but will burn your leds within a couple of minutes? after all i think arduino is about getting the logic out of you computer into the real world. a "real" emulator would probably be a nice thing to share and demonstrate designs over the web, but you'd need to be able to define external components and their behaviour which makes this a big big project.

hope you have fun with your board now. and welcome to the forum.

//ku

273  Forum 2005-2010 (read only) / Frequently-Asked Questions / Re: Serial > Midi driver on: March 22, 2007, 10:06:25 am
you're on windows, aren't you?

(still trying to get the roland driver to work under OS X)
274  Forum 2005-2010 (read only) / Frequently-Asked Questions / usb charging battery on: February 11, 2007, 09:25:06 am
hello everyone,

does anyone know of a integrated solution to use a reachargeable battery on a arduino mini?

i'm thinking of a battery-ic-combo, like they're used in USB mp3 players. I.e. i want to charge the battery automatically when plugged into an USB port.

Has anyone heard of something like that?

best,
kuk
275  Forum 2005-2010 (read only) / Frequently-Asked Questions / Re: A good use for ardunio..? on: December 28, 2006, 04:15:56 am
Hi there + a good morning,

i'll try to answer your question from my point of view.

i don't think that arduino is more appealing to electronicians than programmers or the other way around.
me too came from programming. in my case that was mostly web techniques though. PHP/javascript etc.

basic programming really is simple on arduino but you can certainly go into depth. since you're working an a microcontroller (not a pc) there is much more to consider once your project gets more complicated. that's in terms of size and performance. i'm currently working on musical devices, and the coding really makes a difference in stability and responsiveness.

on the other hand creating circuits, expanding or translating them for different projects is not any harder the code part. but it's the same here: you can go into depth. if you're new to electronics like i was, you can just start off creating things without understanding each resistor's need.

i really found it funny noticing that i suddenly knew the difference between pull-up or pull-down resistors. which might seem like the stupidest question to ask an electronic engineer. but i remember asking it here in the forum, and being only half-able to understand the answer.

i can't tell the exact moment when i learned it but i did learn it. and much more.

much other stuff you will come across is concerning communication between devices. and that is surely a mixture between programming and e-engineering. i had to get arduino understand MIDI messages (musical data) from a keyboard or computer. The MIDI standard itself is a mixture between soft- and hardware descriptions. starting with things like that is always hard because you can't tell for sure if your problems are soft- or hardware based.

you basically have an advantage if you know either coding or circuiting.

the only plattform i can think of that would be more appealing to _programmers_ is something like lego mindstorms (using 3rd party programming tools), which hides the electronic part for you as well as it makes it easy to engineer the whole device. but then again this will limit you on expensive parts unless you understand electronics to bild your own...

my recommendation is clearly to use arduino. you might need something faster or bigger with more in- or outputs. but this won't be a problem once you truly understand what you are doing.

another funny thing is that arduino is growing with my personal needs :-) i started interfacing a graphical lcd display. it worked on the atmega 8. but the code was too coplex and thus to big (in kb) to do much useful besides communicating with the display. and sadly the only project i really wanted to use the display for, was one that would take 8 analog ins instead of the existing 6. Still i had enough to do to get the display doing what i wanted it to.

now i'm working with the arduino minis (ATMEGA168), which both sports double the memory and 2 extra analog ins!

arduinos most advantages are that it's cheap and open source. i consider both the most important facts to help you make your decision. if you find anything cheaper and or better documented go for it. but i really don't think that there is anything like that out there.

PLUS we need programmers to show us how to do those tricky parts like bit-banging for example. there is always something that has not been documented yet.

concerning your projects, i think you can start on any of your ideas. but you should split it up into smaller projects that kinda work on their own.

referring to my own projects, i used the display to show a welcome message to visitors in a small exhibition on rgenerative energy sources at my university. arduino and the display were powered by a battery and programmed to fade and distort the message over the time of the exhibition.

don't set your aims to high when starting but still think of a little (maybe stupid) use for your work. i think that's importnat to keep you going. a blinking LED will not make you happy for a long time, you'll want more. but a dysfunctional robotic arm might make you rather unhappy for a as long as year until you finally give up on it.

didn't expect my answer to get that long. i hope it helps a little.

//kuk










276  Forum 2005-2010 (read only) / Frequently-Asked Questions / Re: Atmega8(L) - Arduino 3V Version on: May 19, 2006, 03:33:15 am
hi there,

me too, was thinking about designing kind of a micro-arduino running on 3,3 V. i don't know either if the atmega8 and atmega8L are fully exchangable.

does anyone know if burning the bootloader (for example) would just work using arduino IDE ?

i would have already tried it if i had an avr-isp :-/ but since i couldn't find a cheap one that works on a mac & with arduino (serial port+ STK500), i decided to just wait for someone with a windows pc.

i'm glad the forum has gotten reorganized.
@mellis: maybe we can get devolopment section in the hardware category, to start working on arduino variants?


best,
kuk
277  Forum 2005-2010 (read only) / Frequently-Asked Questions / Re: play sound files with arduino on: September 05, 2006, 04:10:11 am
hi,

if you want to play a sound file like an mp3 you need to interface with another program.
arduino can't play soundfiles on its own. i would suggest having a look into the flash examples. also use google to finde more examples.

you can still, create simple sounds using pulsed output and attaching a speaker to your arduino board. these sounds are rather beeps than voices.


hope that helped,
kuk_
278  Forum 2005-2010 (read only) / Frequently-Asked Questions / Re: No posting on this board for a while on: August 15, 2006, 01:08:23 pm
...and if you can read this, replies still do work though :-)

i just thought that closing the faq forum might be a good idea anyway. just a couple of people should be allowed to write here since the FAQ are by definition a place for _frequently_ asked questions. but as this forum section is also the most visited one, many people (including me once or twice) tend to ask rather specific questions that could be posted to the dedicated sections instead.

if a poster knows that his question is _frequently_ asked, why post it anyway and not just read the answer ;-)

and as is understand this would be a solution to the spam problem as well.

what do you think?


best, kuk
279  Forum 2005-2010 (read only) / Frequently-Asked Questions / Re: Saving and reporting later on: August 03, 2006, 07:45:20 am
i don't think that there is another way of telling whether your board is connected to the computer than wait for the command.

so:

if ( received_serial_string == "myDownloadcommand" ){
 send the stored date
 // maybe even clear the eeprom ?
}else{
 read buttons
 write values
}


should work.

best,
kuk
280  Forum 2005-2010 (read only) / Frequently-Asked Questions / Re: Saving and reporting later on: August 02, 2006, 06:26:04 am
hi alex,

the search on this forum doesn't seem to work reliably. google usually does a better job if you use the term "arduino".

plugging arduino in to your computer willl reset the board and thus all data inside the ram will be lost.

but you can write data to the eeprom on the atmega8 on your board.
start here: http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1148480666/3

then you can have the main loop wait for you "send data" command coming over the serial line (usb) and read what you've stored.

whish you much fun,
kuk
281  Forum 2005-2010 (read only) / Frequently-Asked Questions / Re: Arduino as midi sequencer on: May 04, 2006, 02:11:02 pm
i may correct myself :-)

as of arduino version 0004 we have a new serial function

use serial.print( 90, BYTE); instead.

i must admit that i have no real experience with the new version yet. but that's how it's documented.
282  Forum 2005-2010 (read only) / Frequently-Asked Questions / Re: Arduino as midi sequencer on: May 04, 2006, 02:03:54 pm
can't you use printByte() ?

printByte(90); // in your case

http://www.arduino.cc/en/Reference/PrintByte

or am i misunderstanding you?
283  Forum 2005-2010 (read only) / Frequently-Asked Questions / Re: one general question concerning RFID readers.. on: April 09, 2006, 06:02:13 am
hmm ok. thanks.

someone wrote that not all of those received 12 bits are necessarily important to distinguish between different tags. maybe you can write a function to cut it down to one byte and save only that one byte (8 bits i mean)...

concerning my question i understand that your rfid reader is sending 12bit bytes continuously. meaning that if there are three tags in reach it will send

- 12 bits describing tag "A"
then
- 12 bits describiing tag "B"
- 12 bits describing tag "C"

and then starting all over with tag "A" in a loop?

is that right?




284  Forum 2005-2010 (read only) / Frequently-Asked Questions / one general question concerning RFID readers... on: April 07, 2006, 08:33:08 am
...
maybe there are differences between different RFID readers, but i've been wondering what they report if there are several RFID tags in reach. do the tags interfere -> aren't readable , or is it possible to distinguish between them and read them one after the other?

in case there are differences between readers: i mean those that have been successfully used with arduino :-)

best, kuk
285  Forum 2005-2010 (read only) / Frequently-Asked Questions / Re: a newbie would like to use a servo on: April 09, 2006, 06:47:32 am
hi,

(just take the wiring from wiring and the code from arduino)

as i understand, a standard servo motor has three pins.

-> Vdd (power)
-> Ground
-> control pulse

the easiest way (READ THE NOTE AT THE END) would be to connect Vdd to 5V out on arduino and ground to ground. (assuming that your servo is ok with 5V. check the manual! )

-> now your servo gets power but will not move yet. you will have to send "pulses" to it, which tell motor in which direction it should move.

so the third pin (control pulses) from your servo goes to a digital out of your arduino. lets call it servoPin, like in the code.

a pulse means a signal which is determined by its length. between pulses there is a small pause (20ms in the code example).

let's say pulses(power HIGH) are dashes (-) and pauses(power LOW) are dots(.):

if you pulse .-.-.-.-.-.-.-.-.-.- your servo motor will move to the left.

if you pulse  .----.----.----.----.----.----. on servoPin your motor will turn to the right.

if you pulse  .----.----.----.-.-.-.-.-.-.-. your servo will first move to right and then to left.

it's a quite simple concept: short pulse->left , long pulse->right

the exact timing depends on your servo.


NOTE:

motors tend to draw a lot of current just before starting to move. YOU SHOULD NOT take the Power directly from arduino, since this behaviour could interfere with the internal computing on your board.
you can do so for testing purposes on your own risk as i don't think that this could do much harm to the board. you just can't be sure that it will work properly.

if you're taking power from an external source, just make sure that both grounds (arduino and external source) are both connected to your motor.

and as always: someone please correct me if i'm wrong :-)

best, kuk









Pages: 1 ... 17 18 [19] 20