Loading...
  Show Posts
Pages: 1 2 3 [4] 5 6 ... 17
46  Community / Workshops and Events / Re: Arduino at Embedded World 2013 in Nuremberg on: February 26, 2013, 12:56:18 pm
Atmel and Arduino present at Embedded World 2013 (booth 5-311).

https://www.facebook.com/photo.php?fbid=614612141889293&set=a.536119686405206.99092558.121682197848959&type=1&theater
47  Products / Arduino Due / Re: [ now published on github ] Building a CAN API for Arduino DUE on: February 25, 2013, 10:24:49 pm
Hello AdderD,

You are doing an amazing job. Thank you. I haven't get through all the improvements (just a glance) but looks/works very pretty now. Thank you also for adding a third sketch. This is how value is added here.

haha2k
I am happy you are on the move with the CAN library. Keep us posted about your progress.

I invite the CAN bus fans in the forum to join us and let us know how the library is working, picture of the CAN shield, etc. Regards!
48  Products / Arduino Due / Re: [ now published on github ] Building a CAN API for Arduino DUE on: February 25, 2013, 10:12:36 am
Hello jeancarlo19,

Here a procedure that should make the CAN sketches compile OK. I know the following is going to look drastic but it is the easiest way to do it.

Before proceed with the following steps, MAKE SURE to BACKUP your current Arduino 1.5.2 files.

Step 1: copy and replace ALL the folders/files from ...\Arduino-can\Arduino-can\*.*
to ...\arduino-1.5.2-windows\arduino-1.5.2\*.*

I want to clarify that ...\Arduino-can\Arduino-can\ refers to the CAN github stuff.
and ...\arduino-1.5.2-windows\arduino-1.5.2\ refers to your current arduino 1.5.2 stuff.

Step 2: Open the Arduino IDE 1.5.2

Step 3: Open any CAN sketch (now under ...\arduino-1.5.2-windows\arduino-1.5.2\hardware\arduino\sam\libraries\CAN\).

Step 4: Import the CAN library (don't forget to set the Arduino Due (Programming Port) board)

And that's it. Now, you should be able to compile the sketch without errors/warnings.

The reason for the above procedure is because the CAN library was built as Arduino staging using in a prior Ardunio stuff.
Besides the CAN library itself, there are few files that have to be updated in the current 1.5.2 version.  I will make time
to find and tell the only necessary files to copy/replace. Regards! 
49  Products / Arduino Due / Re: [ now published on github ] Building a CAN API for Arduino DUE on: February 24, 2013, 10:34:51 pm
Hello haha2k.
I am happy you already want to deals with the 'heart of the matter'.

Thanks AddeD for your very pertinent comments.

I would like to add a couple of notes:

- Check the default baud rate in the specifications of your OBD?. Remember, the example default baud rate is 1Mbps. Depending on the OBD factory settings, this value could change to 500K, 250K, etc. If so, you have to change it. I.e. if you baud rate is 125K, then you have to do this:

Code:
CAN.init(CAN0, SystemCoreClock, CAN_BPS_125K);
CAN.init(CAN1, SystemCoreClock, CAN_BPS_125K);

- Try changing the transfer ID to 0x07DF. this is a standard CAN functional request. Do it as follows:

Code:
#define TEST1_CAN_TRANSFER_ID    0x07DF

Thank you and keep us posted.
50  Products / Arduino Due / Re: Connecting an Ethernet PHY to Arduino Due on: February 24, 2013, 07:12:56 pm
Hello Graham,

I am happy you are interested in this project. I still working on the modified Ethernet MAC library. As you mentioned, I had to get rid off the breadboard to avoid wiring issues. Here a picture of what I have so far with less connections between the external Ethernet PHY DP83848 and a Taijiuino, although I am planning to use a DM9161 Phy when coming in from Russia next week. It could be also great to see your POE one of these days. One of my future goals is the implementation of a Webserver example, but for that, I have to wait a little longer. Regards!

51  Community / Workshops and Events / Arduino at Embedded World 2013 in Nuremberg on: February 23, 2013, 02:54:18 pm
Hello. I just checked and found only one Arduino exhibitor at Embedded World 2013 in Nuremberg next week (February 26-28). Does anyone knows if there will be more presence of Arduino there? Thanks.

http://www.ask-embedded-world.de/index.php5?path=Home&Action=showSearchResults&placeholder=search%20term&qsearchfree=Arduino&submitsearch=Start%20search&initial_search_locale=en_GB&itemtype=product

Description: Lernpaket Arduino
Product of: FRANZIS Verlag GmbH.
52  Products / Arduino Due / Re: AVR Library with Arduino Due? on: February 23, 2013, 01:00:37 pm
Hello Joggi4,

May be it is not necessary to say but Arduino Due (ARM) uses sam libraries, not avr. Both architectures are quite different (processor, platforms, programmers). The Arduino and Atmel teams have done a magnificent job making some prior-Due shields/sketches compatible with Due. Don't get confuse thinking that because both sam and avr run under the same Arduino IDE, it should work the same with the libraries. IDE works mainly as set up compile tool chain. A lot of adaptation has to be done in the low level code (gpio, timers, memory barriers, interrupts, linker maps, macros, etc, etc) to make the AVR registers run in the ARM-Cortex core. Is that what you pursue to do? I believe, we must explore new avenues exploiting other 32-bit ARM libraries out there (solid proven) to fit in our Due. Regards!

53  Products / Arduino Due / Re: Connecting an Ethernet PHY to Arduino Due on: February 20, 2013, 02:14:36 pm
I connected Taijiuino with EPHY DP83848 but no communication. I will be revising the phy files, pin configuration and wires. I hope to bring good news soon. Here a picture of my mess!.

54  Community / Website and Forum / Re: Forum Website Down on: February 20, 2013, 09:18:05 am
Hello madbob,
Please, let us know if there is something we can do/help. I understand maintenance meas resources, money. Sometimes a donation pot helps.
55  Products / Arduino Due / Re: Connecting an Ethernet PHY to Arduino Due on: February 19, 2013, 10:13:42 am
Since last weekend, I have a compiling (OK) Ethernet MAC API for Arduino Due. It contains the following files:

- emac sample sketch
- emac.h
- emac.cpp
- ethernet_phy.h
- ethernet_phy.c
- mii.h
- mini_ip.h
- conf_eth.h

All these files come from Atmel and are the only necessary to run the sample. I did rid off the rest (about 40 files) from the original ASF library.

I have planned to start tests tonight with a Taijiuino and a DP83848 PHY module. (I still waiting for the Russian AS_DM9161. The last snowstorm have caused mail delays). I hope to show tomorrow results of the tests and some pictures.

I am conscious that some people are eager to get the library but it doesn't make much sense to publish it without previous basic tests. Thus, thank you for your patience!
56  Products / Arduino Due / Re: [ now published on github ] Building a CAN API for Arduino DUE on: February 18, 2013, 11:01:54 pm
Please, check replay #33.

http://arduino.cc/forum/index.php?PHPSESSID=891604776329b7f55faf3f9510fb1ace&topic=131096.30.

Regards.
57  Products / Arduino Due / Re: [ now published on github ] Building a CAN API for Arduino DUE on: February 18, 2013, 02:01:31 pm
Thank you AdderD for your notes and insights about the library.

A second CAN sample sketch has been added into the "can" branch. In this example, the two CAN modules work in PRODUCER mode (CAN0 mailbox 0) and CONSUMER mode (CAN1 mailbox 0) and use CAN interrupt handler to check whether the communication has been completed (interrupt is triggered).

https://github.com/arduino/Arduino/tree/can/hardware/arduino/sam/libraries/CAN/examples

Quote
Producer Mode:
In this mode, when a remote frame is received, the mailbox data are sent automatically. By enabling this mode, a producer can be done using only one mailbox instead of two: one to detect the remote frame and one to send the answer.

Consumer Mode:
In this mode, after each transfer request, a remote frame is automatically sent. The first answer received is stored in the corresponding mailbox data registers.
58  Community / Website and Forum / Forum Website Down on: February 17, 2013, 09:32:22 am
Hello, I just want to notify that I did lost access to the Arduino forum website since yesterday for about 12 hrs. Regards. It is back know! Thank you!
59  International / Software / Libreria CAN (Controller Area Network) para Arduino Due on: February 16, 2013, 08:24:33 am
Hola,

La libreria CAN (Controller Area Network) para Arduino Due ha sido recientemente publicada en github. Para mas detalles, dirigirse a siguiente hilo en el foro en ingles.

http://arduino.cc/forum/index.php/topic,131096.75.html # 88

Como algunos de ustedes lo habran notado, Arduino Due vino con los pines CANTX y CANRX connectados directamente al microcontrolador SAM3X8E, pero la gente de Arduino nunca desarrollo la libreria asociada (API). 

Hace unos tres meses, inicie el referido hilo en ingles, donde, con la ayuda de Atmel, me di a la tarea de transportar la libreria CAN ASF del software Atmel Studio 6 a la interfaz de Arduino. Por ahora, solo cuenta con un ejemplo que comunica los dos puertos CAN (CANTX0, CANRX0, CANTX1, CANRX1) del Arduino Due (Transmision/Recepcion), y para ello, ademas de la libreria, se require de un escudo con dos transceivers que no existe comercialmente y que debe ser contruido por el usuario.

Para los que no lo saben, CAN o tambien conocido como CAN bus es el protocolo de comunicacion utilizado por la mayoria de los automoviles hoy dia. El ejecutar CAN en Arduino Due permite que podamos aprovechar los dos controladores CAN dentro de Arduino Due y comunicarnos con nuestro vehiculos, tanto para lectura/monitoreo de data o control/escritura.

Lamentablemente, toda la informacion disponible esta en idioma ingles.

Mi proposito como es netamente informativo, pues por los momentos (dada mi carga de trabajo) no puedo iniciar un hilo similar en espanol. Pero prometo responder a cualquier pregunta referente a mi iniciativa.

Saludos cordiales,
Palliser
60  Products / Arduino Due / Re: Connecting an Ethernet PHY to Arduino Due on: February 14, 2013, 07:20:05 am
Pin interconnection between Taijiuino and Ethernet PHY DP83848C


Pages: 1 2 3 [4] 5 6 ... 17