Welcome, Guest
Username: Password: Remember me

TOPIC: Arduino and Proview

Re:Arduino and Proview 12 years 11 months ago #2068

  • claes
  • claes's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 3176
  • Thank you received: 502
  • Karma: 133
Even if a digitalWrite takes over 3 us, 20 digital outputs are not more than 60 us, and it's not much compared to the 4-5 ms which seems to be the shortest cylce time for the Proview communication sketch. Sending a few bytes with 115 000 baud shouldn't take more than 1 ms, so there is still 3 ms missing...

/Claes

Post edited by: claes, at: 2011/05/03 09:56
The administrator has disabled public write access.

Re:Arduino and Proview 12 years 11 months ago #2075

  • marc
  • marc's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 710
  • Thank you received: 70
  • Karma: 24
Hi Claes,

Lots of people are complaining about the slowness of the Arduino.
Do you think it can be because inefficiency of the core libraries?

/Marc
Please, use the Wiki if you succeeded your project or solved your problem. Share your work, so we can learn from each other.
The administrator has disabled public write access.

Re:Arduino and Proview 12 years 11 months ago #2094

  • claes
  • claes's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 3176
  • Thank you received: 502
  • Karma: 133
Hi Marc,

The Proview skech uses the IO functions and the USB communication functions, and if you look at this thread the communication shouldn't be a problem. Maybe it has to with the way I have implemented the communication...

http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1293624867

/Claes
The administrator has disabled public write access.

Re:Arduino and Proview 12 years 11 months ago #2096

  • ivo1204
  • ivo1204's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 44
  • Karma: 2
For Arduino Duemilanove & PROVIEW
www.arduino.cc/en/Main/ArduinoBoardDuemilanove

Di Do 4 fix Ao and 4 fix Ai....


Hello Marc,

So far nothing I've done with the Arduino, but like you I am not happy with the Arduino software for the reasons, that you already have said.

My Env:

Ubuntu 11.04 +
Eclipse eclipse-cpp-helios-SR2-linux-gtk-x86_64 +
AVR Eclipse Plugin
avr-eclipse.sourceforge.net/wiki/index.p...e_AVR_Eclipse_Plugin

a. #apt-get install arduino ( will insall avr-gcc, avr-libc, avrdude )
b. Start Eclipse
Put project into Eclipse workspace:
Eclipse → File → Import → Existin Project Into Workspase →next → Select a directory to search for existing Eclipse projects. → browse → select Project

Edit code -> build

To flash Arduino → pwr → Properties → AVRDude → New → Programmer Hardware → Arduino → override ... port /dev/ttyUSB0 ? → override … baud rate 57600 → OK

AVR -> Upload Project to Target Device

But, if You don't like to install Eclipse You can burn Arduino whit AVRdude only:
/usr/bin/avrdude -pm328p -carduino -P/dev/ttyUSB0 -b57600 -Uflash:w:pwr.hex:a

Post edited by: ivo1204, at: 2011/05/07 13:25
Attachments:
The administrator has disabled public write access.

Re:Arduino and Proview 12 years 11 months ago #2097

  • marc
  • marc's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 710
  • Thank you received: 70
  • Karma: 24
Hi Ivo,

Please, can you explain what you have done?

Greetings,

/Marc
Please, use the Wiki if you succeeded your project or solved your problem. Share your work, so we can learn from each other.
The administrator has disabled public write access.

Re:Arduino and Proview 12 years 11 months ago #2109

  • ivo1204
  • ivo1204's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 44
  • Karma: 2
Hi Marc,
Here is english rems

Attachment pwr.gz not found



Post edited by: ivo1204, at: 2011/05/07 13:26
Attachments:
The administrator has disabled public write access.
Time to create page: 8.099 seconds