Show Posts
Pages: 1 [2] 3
16  Forum 2005-2010 (read only) / Syntax & Programs / Counting hexadecimal / binary on: January 29, 2007, 10:28:03 am
for example, if i have an register 0x00 and i want to count up to let´s say 0xff each step in a loop ?? i want to make a function and just pass the variable between the increasing steps (0x01,0x02,....0xdf, 0xef,0xff).


any code out there? don´t even know how to start!

thanks
17  Forum 2005-2010 (read only) / Syntax & Programs / Re: turn bootloader off on: September 15, 2006, 01:21:18 pm
YEAH!! thank you so much! it worked out right from the first try!

now i can use my stk500 with arduino even without bootloader! Great!
i changed the baud rate in arduino IDE also to 115200! maybe you should
also write this in wiki!

thanks!
18  Forum 2005-2010 (read only) / Syntax & Programs / Re: turn bootloader off on: September 15, 2006, 04:42:20 am
hi!

i do have a stk500. but can i use the compiled arduino-code?! and where is the hex-file stored?
i dont want to rewrite the arduino code in C, cause time is running ;-)

thanks
19  Forum 2005-2010 (read only) / Syntax & Programs / turn bootloader off on: September 14, 2006, 03:17:19 pm
i´ve a RX/TX connection between two arduino boards. the TX unit is always sending serial data.
sometimes the receiver goes standby (cause its hooked up to usb). so if its up again it receives
the serial data immidiately and overwrites the programme inside because the bootloader is
started. is there a possibility to burn via arduino without burning the bootloader on the chip (i´m aware
that this will only function one time!)

thanks
20  Forum 2005-2010 (read only) / Interfacing / Strange Serial.read() Bug related to Baud Rate? on: February 15, 2007, 02:14:44 pm
hi,

i´m currently using a script interfacing the arduino board over serial port by declaring
Code:
Serial.begin(9600);
.
tried several com-interfaces on computer side (command line, zterm, arduino serial monitor, pd)etc.. but i´m getting just wrong syntax. after changing the serial rate to 19200 in those programs (not in arduino-code), all of a sudden, it works, but for this project i would need a (working smiley-wink) baud rate of 9600 as i´m using a bluetooth device which can deal only with that specific baud rate?

is there any preference (in ~/Library/Arduino/preferences.txt) which overwrites the Serial.begin definition with another value? Seems like a strange bug to me.
21  Forum 2005-2010 (read only) / Development / Re: Can I use object code from Arduino on other AV on: November 14, 2006, 08:09:37 am
for sure, verify that your fuse bits are correct set. and that you are using an external oscillator with 16mhz. then load up the bootloader with stk500 or AVRisp. good explanation is also here; http://www.arduino.cc/en/Main/StandaloneAssembly
22  Forum 2005-2010 (read only) / Troubleshooting / Re: Battery powered arduino - problems with Analog on: November 13, 2006, 05:07:22 pm
i build up arduino on a breadboard, so i need it.
23  Forum 2005-2010 (read only) / Troubleshooting / Battery powered arduino - problems with AnalogIn on: November 13, 2006, 06:48:47 am
hi,

my arduino is running with 9volt battery block and lm7805. i´m reading sensor data from a gyro sensor which is powered with 3,3volt (LD33). data is being read by max/msp and simple message system. as i recognized that during the time the values of AnalogRead changes with battery load. that seems pretty strange because 7805 should make sure that voltage (and of course reference voltage) is on constant level.

thanks
24  Forum 2005-2010 (read only) / Troubleshooting / Re: [VP 1] Device is not responding correctly. on: September 02, 2006, 10:06:34 pm
actually i found the problem and i guess its a performance issue. o.k. i´m running P4 2,4ghz 1GB ram on winXP but i guess my java-app is quite slow, anyway. my solution was to hold the reset button. then click on "export to board" and waiting 2-3sec. till i release the reset button.

now, everything works fine?! has anyone a possible explanation for this bug?!
25  Forum 2005-2010 (read only) / Troubleshooting / Re: [VP 1] Device is not responding correctly. on: September 02, 2006, 09:31:23 pm
the same problem as me! i burned some atmega8 with bootloader. upload with arduino004 works extactly one time. after successful upload the programmer everytime:

[VP 1] Device is not responding correctly.

any suggestions?
26  Forum 2005-2010 (read only) / Development / arduino with internal oscillator on 1Mhz on: November 13, 2006, 06:50:37 am
was wondering if i could run arduino with internal oscillator on 1mhz? sure, i have to rewrite fuse-settings, but probably someone has tried it and can give some advise?

thanks
27  Forum 2005-2010 (read only) / Development / Re: Ok, on to Atmega32 on: November 13, 2006, 05:17:01 pm
even easier for beginning; try it without Arduino IDE, with the command line way-of-life. http://www.arduino.cc/playground/Learning/CommandLine. just edit the mcu type in makefile and adjust both files pins_arduino.c and wiring.c. probably, other files? anyway, i would be very interested in getting different atmel chips to work. would expand arduino community enormously.
28  Forum 2005-2010 (read only) / Interfacing / Re: AC Light Dimming on: August 19, 2009, 08:44:04 am
Quote
attached a slightly updated schematic.  The block with the AC_Out is
your load (a light for example).  On my board I have this as a hot and
neutral to connect the load.

Sorry, but shouldn't you use a bridge rectifier inbetween the AC input and your opto-isolator? Or is it unnecessary?

29  Forum 2005-2010 (read only) / Interfacing / Re: help with texas instruments TLC-5940 on: January 14, 2007, 03:22:22 pm
well, i´m not sure, if i can help you, but it looks like a hardcore-crash course>>if you are new to electronics and wanna tweak the TLC5940. unfortunately, i don´t have experience with it, but i guess you can limit your errors a bit. or boil the problem down: easily said, you will need 16 12-bit "packets" because it will shift the input with a 192-bit width after a rising edge of XLAT (10ms should be enough). then next  192bit through Sin. i´m not sure, if you really need to use BLANK, cause it´s never mentioned in the timing diagrams. just put it to GND.

you should use delays between HIGH and LOWs, otherwise the IC is not capable to detect a raising or falling edge!

and increase the size of R(iREF). it is responsible for output current. if you have ordinary LEDs, you can easily take a 1,9kOhm resistor, as you will have 20mA on each output.

Hopefully, there are other users who experimenting with TLC5940, as for me it is unclear, if you can talk to it with SPI, or the serial interface just looks like an SPI interface. if so, where is Chipselect?!

good luck!
30  Forum 2005-2010 (read only) / Interfacing / Re: GPS clock on: November 13, 2006, 05:19:08 pm
regex for arduino would be GREAT  smiley-grin
Pages: 1 [2] 3