Show Posts
Pages: 1 ... 3 4 [5]
61  International / Software / Problema con delayMicroseconds() en Arduino0022 on: January 28, 2011, 11:56:01 am
Tengo un programa que maneja un display.. Dentro de las rutinas se utiliza delayMilliseconds. Resulta que pasé de Arduino0018 a Arduino0022 y el programa ya no funciona bien.

Descubrí que delayMilliseconds parece no funcionar. No importa el valor que ponga el programa no funciona. Si lo reemplazo por delay(1) sí funciona así que el problema evidentemente está ahí. ¿Alguna idea de lo que ha pasado? ¿Es un bug?

62  Forum 2005-2010 (read only) / Bugs & Suggestions / Arduino packet for Mandriva 2010.1 (spring) on: July 25, 2010, 07:22:41 am
I just want to inform that there is a rpm packet for Mandriva 2010.1 (spring) for Arduino 0018

It is available at the ftp of blogdrake:

http://blogdrake.serveftp.net/mandriva/2010.1/free/


The packet has various dependences. Then it is better to add the repository:

   *  noarch (required)

     urpmi.addmedia --wget Bdk-noarch http://blogdrake.serveftp.net/mandriva/2010.1/free/noarch/ with media_info/synthesis.hdlist.cz



Depending on your architecture:

   * i586

     urpmi.addmedia --wget Bdk-i586 http://blogdrake.serveftp.net/mandriva/2010.1/free/i586/ with media_info/synthesis.hdlist.cz

or

   * x86_64 (should be available shortly)

     urpmi.addmedia --wget Bdk-x86_64 http://blogdrake.serveftp.net/mandriva/2010.1/free/x86_64/ with media_info/synthesis.hdlist.cz

Then, just "urpmi arduino" or use the rpmdrake gui

Arduino is not in noarch because it uses platform specific libraries for accessing the serial port.

The arduino packet: arduino-0018-1bdk2010.1.i586.rpm or arduino-0018-1bdk2010.1.x86_64.rpm needs also the following packets (dependences will be resolved automatically if you use the urpmi or rpmdrake installer GUI):

arduino-0018-1
avr-binutils-2.20.1-1
avr-gcc-4.4.3-4
avr-gcc-c++-4.4.3-4
avr-gdb-7.1-1

rxtx-nolock-2.2-0.1.pre2
avr-libc-1.7.0-9


When installed just execute "arduino" (or search for it at Development/IDEs). It sould run OK as an unprivileged user withoud modifying groups or permissions doe to a suid wrapper added fot this purpose)

x86-64 should run nativelly because the packet rxtx has platform-specific binaries of the librarie for accessing the serial port.

The packets are prepared for Mandriva but could be adapted to other distros. The sources can be downloaded from here:

http://blogdrake.serveftp.net/mandriva/SRPMS/arduino-http://blogdrake.serveftp.net/mandriva/SRPMS/0018-1bdk2010.1.src.rpm
http://blogdrake.serveftp.net/mandriva/SRPMS/avr-binutils-http://blogdrake.serveftp.net/mandriva/SRPMS/2.20.1-1bdk2010.1.src.rpm
http://blogdrake.serveftp.net/mandriva/SRPMS/avr-gcc-http://blogdrake.serveftp.net/mandriva/SRPMS/4.4.3-4bdk2010.1.src.rpm
http://blogdrake.serveftp.net/mandriva/SRPMS/avr-gdb-http://blogdrake.serveftp.net/mandriva/SRPMS/7.1-1bdk2010.1.src.rpm
http://blogdrake.serveftp.net/mandriva/SRPMS/avr-gdb-7.1-1bdk2010.src.rpm
http://blogdrake.serveftp.net/mandriva/SRPMS/avr-libc-1.7.0-1bdk2010.1.src.rpm
http://blogdrake.serveftp.net/mandriva/SRPMS/avr-libc-1.7.0-9bdk2010.1.src.rpm
http://blogdrake.serveftp.net/mandriva/SRPMS/rxtx-nolock-http://blogdrake.serveftp.net/mandriva/SRPMS/2.2-0.1.pre2bdk2010.1.src.rpm
63  Forum 2005-2010 (read only) / Bugs & Suggestions / Re: Arduino packet for Mandriva 2010 on: December 09, 2009, 02:57:06 am
Using this repository, you can install Arduino IDE only by adding the packet. All issues are resolved automatically. If you experiment problems post a comment here.

I created all packets needed for running Arduino (included new versions of GCC, avr libc, and even the rxtx library that lets java to access the serial port, but fixing the /var/lock problems).

The packets where created and tested for Mandriva 2010 but could work for 2009.1... but if you will reinstall, it is better if you  use the lastest version.
64  Forum 2005-2010 (read only) / Bugs & Suggestions / Arduino packet for Mandriva 2010 on: December 01, 2009, 08:04:01 am
I just want to inform that there is a rpm packet for Mandriva 2010.0 for Arduino 0017.

It is available at the ftp of blogdrake:

http://ftp://blogdrake.serveftp.net/mandriva/

The packet has various dependences. Then it is better to add the repository:

    *  noarch

      urpmi.addmedia --wget Bdk-noarch http://ftp://blogdrake.serverftp.net/mandriva/2010.0/free/noarch with media_info/synthesis.hdlist.cz

    * i586

      urpmi.addmedia --wget Bdk-i586 http://ftp://blogdrake.serverftp.net/mandriva/2010.0/free/i586 with media_info/synthesis.hdlist.cz

    * x86_64

      urpmi.addmedia --wget Bdk-x86_64 http://ftp://blogdrake.serverftp.net/mandriva/2010.0/free/x86_64 with media_info/synthesis.hdlist.cz

Then, just "urpmi arduino" or use the rpmdrake gui

Arduino is not in noarch because it uses platform specific libraries for accessing the serial port.

The arduino packet: arduino-0017-2bdk2010.i586.rpm
needs also the following packets (dependences will be resolved automatically if you use the urpmi or rpmdrake installer):

avr-binutils-2.20-1bdk2010.i586.rpm
avr-gcc-4.4.1-4bdk2010.i586.rpm
avr-gcc-c++-4.4.1-4bdk2010.i586.rpm
avr-gdb-7.0-1bdk2010.i586.rpm
rxtx-nolock-2.2-0.1.pre2bdk2010.i586.rpm

When installed just execute "arduino" (or search for it at Development/IDEs). It sould run OK as an unprivileged user withoud modifying groups or permissions doe to a suid wrapper added fot this purpose)
65  Forum 2005-2010 (read only) / Troubleshooting / Re: Arduino loosing software on: February 05, 2010, 07:24:59 am
Yes, it is connected permanently. But the software that communicates to the Arduino waits 2 seconds before starting to send data.

66  Forum 2005-2010 (read only) / Troubleshooting / Arduino loosing software on: February 04, 2010, 04:17:24 am
I have an Arduino Decimilia running a little application that runs in communication with my PC via USB. It works perfectly but sometimes it looses the softwre. The PC starts and the progran in arduino does not work. I uploads again the software and it starts working again.

I added a 2 seconds delay when PC starts and the program starts sending data to the Arduino in order to let it to boot.

¿Any ideas of why the software could be lost?
67  Forum 2005-2010 (read only) / Interfacing / Re: i2c bus scan or analyzer? on: January 28, 2009, 02:47:29 pm
It has an sticker that says:
DECT2111S/18
DECT 211
68  Forum 2005-2010 (read only) / Interfacing / Re: i2c bus scan or analyzer? on: January 27, 2009, 08:44:35 am
The display is from a philips DECT (wireless) phone
69  Forum 2005-2010 (read only) / Interfacing / Re: i2c bus scan or analyzer? on: January 27, 2009, 03:09:11 am
I don't continued with this, but I'm planning to do it when I can. I has no problem on sharing my code.
70  Forum 2005-2010 (read only) / Interfacing / Re: i2c bus scan or analyzer? on: December 24, 2008, 04:35:38 am
Ok, this is the image of the display, I will try to make a little protocol analyzer and I will tell you

71  Forum 2005-2010 (read only) / Interfacing / Re: i2c bus scan or analyzer? on: December 22, 2008, 03:16:11 pm
I do have the phone, then I can monitor the communication. I am suposing it is i2c, then the first thing I need to know is what is the address. With this, I supose I can use try-and-error to figure out the communication.

This is the display:

http://picasaweb.google.es/alejandro.anv/Aaa#5282709383659630962

Then... will try to make a little protocol analyzer. One question: Is there any way to use the wire library to monitor the i2c bus? Something like promiscuous mode or something? or I will need to write a little program for this?

By the way... ¿How do I upload an image to the forum?
72  Forum 2005-2010 (read only) / Interfacing / i2c bus scan or analyzer? on: December 21, 2008, 04:40:33 am
I'm trying to get working an i2c lcd display borrowed from a wireless phone. The problem is that I has not any technical info about it. The only thing I know is the pins for vss, vdd, sda and scl.

Is there any way to scan the i2c bus in order to figure out what addresses must be used?

Or... is there any way to create a small analyzer? I can connect the display to the phone and connect some pins of arduino. Is there any way to analyze the info using the wire library or I must create a custom program for this?
73  Forum 2005-2010 (read only) / Uno Punto Zero / Re: Tutorial - How to change firmware on 8u2 on: October 29, 2010, 09:14:15 am
It would be great if the software on the ATmega8u2 had various usb "personalities" included, selectable by software on the 328.

You could send some special string to 328 to swithch it from usb-serial mode to usb-keyboard mode or usb-joystick mode.

Then, there will be no need to upload new software to the 8u2.

When power off it could return to the default usb-serial mode.
Pages: 1 ... 3 4 [5]