A PENSER POUR LE ROUTAGE DES CARTES!
faire des diamètres de trous assez grands pour qu'avec les trous metalisés, il y ait la place de mettre les broches des composants/connecteurs
Vérifier qu'on arrive à inclure mes PCB sur le gerber pour test
Regarder les règles pour l'alimentation des shields arduino (3.3 et 5V compatible)
mettre plutôt des composants en boitiers DIL pour pouvoir les monter sur supports et les changer en cas de panne
liste de shields existants: http://shieldlist.org/
Broche et rôle sur Arduino | Connexion sur chipKit Max32 [broche TQFP] (broche hirose) | Possible sur ethernet starter kit | autre proposition | 5V tolerant |
---|---|---|---|---|
0 RXD | SCM1A/RF2 [52] (88) | Oui | SCM1A/RF2 [52] (88) | oui |
1 TXD | SCM1B/RF8 [53] (90) | Oui | SCM1B/RF8 [53] (90) | oui |
2 INT0 | INT1/RE8 ERXD0 [18] (Non) | Non car connecté au contrôleur réseau | PMPD0/RE0 [93] (23) | oui |
3 INT1 ~ | OC1/RD0 SD01/OC1/INT0 [72] (87) | Non car connecté à led D4 | PMPD1/RE1 [94] (21) | oui |
4 | S0SC0/T1CK/CN0/RC14 avec R200Ohm [74] (32) | Non car connecté à quartz pour RTC | PMPD2/RE2 [98] (19) | oui |
5 ~ | OC2/RD1 [76] (44) | Non car connecté à led D5 | PMPD3/RE3 [99] (17) | oui |
6 ~ | OC3/RD2 [77] (42) | Non car connecté à led D6 | PMPD4/RE4 [100] (15) | oui |
7 | INT2/RE9 [19] (Non) | Non car connecté au contrôleur réseau | PMPD5/RE5 [3] (13) | oui |
8 | IC5/PMPD12/RD12 [79] (20) | Oui | PMPD6/RE6 [4] (9) | oui |
9 ~ | OC4/RD3 [78] (40) | Oui | PMPD7/RE7 [5] (7) | oui |
10 ~ SS | OC5/PMWR/RD4 [81] (28) | Oui | SS1/IC2/RD9 [69] (54) | oui |
11 ~ MOSI | T5CK/RC4 [9] (41) | Oui | SDO1/INT0/OC1/RD0 [72] (87) aussi connecté à LED D4 | oui |
12 ~ MISO | SCL2/RA2 [58] (76) | Oui | SDI1/T5CLK/RC4 [9] (41) | oui |
13 ~ SCK | SDA2/RA3 [59] (74) | Oui | SCK1/IC3/PMPCS2/RD10 [70] (91) | oui |
GND | [] () | |||
AREF | VREF+/PMA6/RA10 avec protection par R200Ohm+diode [29] (115) | VREF+/PMA6/RA10 [29] (115) | NON!!!! | |
SDA | Non cablé [] () | SDA2/RA3 [59] (74) | oui | |
SCL | Non cablé[] () | SCL2/RA2 [58] (76) | oui | |
A0 | AN0 [25] (72) | Oui | AN0/RB0 [25] (72) | NON!!!! |
A1 | AN1 [24] (70) | Oui | AN1/RB1 [24] (70) | NON!!!! |
A2 | AN2 [23] (68) | Oui | AN2/RB2 [23] (68) | NON!!!! |
A3 | AN3 [22] (66) | Non car utilisée sur le MCP1253 | C2OUT/AN9/RB9 [33] (73) | NON!!!! |
A4 SDA | AN4 [21] (64) | Oui | AN4/RB4 [21] (64) sur le pic les voies analogiques ne sont pas multiplexées avec l'i2c, donc choix par jumper pour amener l'i2C ou AN4/5 sur ces broches | NON!!!! |
A5 SCL | AN5 [20] (62) | Non car utilisée pour l'usb otg | C1OUT/AN8/RB8 [32] (71) sur le pic les voies analogiques ne sont pas multiplexées avec l'i2c, donc choix par jumper pour amener l'i2C ou AN4/5 sur ces broches | NON!!!! |
gestion des interruptions sur arduino (INT0 et INT1 sont des vrais IT externes, pas de IT on pin change): http://michael.bouvy.net/blog/fr/2013/06/01/interruptions-arduino-atmega-delay-timer/
IOREF: broche en sortie de la carte arduino mère pour indiquer le niveau de tension à utiliser pour les GPIO etc… (UNO=5V, mega=3.3V)
VIN: entrée d'alimentation 9V par ex, va sur régulateur 1117
broche à ajouter par rapport à arduino sortir VREF-
entrées analogiques: prévoir diodes pour limiter tension car non 5V tolerant voir page 15 de http://ww1.microchip.com/downloads/en/DeviceDoc/61156H.pdf
diode BAV70 pas dispo en france chez farnell, http://fr.farnell.com/jsp/search/browse.jsp?N=2014+203047&Ntk=gensearch&Ntt=bav70&Ntx=mode+matchallpartial
toutes les ultra fast recovery sont stockées aux usa, mettre le filtre recouvrement ultra rapide http://fr.farnell.com/jsp/search/browse.jsp?N=2014+203046+210361558&Ns=P_PRICE_FARNELL_FR|0&Ntk=gensearch&Ntt=fast+recovery+diode&Ntx=mode+matchallpartial&locale=fr_FR&appliedparametrics=true&getResults=true&suppressRedirect=true&isRedirect=&No=0&divisionLocale=fr_FR&catalogId=&skipManufacturer=false&skipParametricAttributeId=&prevNValues=2014+203046+210266894&mm=1002206||,&filtersHidden=false&appliedHidden=false&autoApply=true&originalQueryURL=%2Fjsp%2Fsearch%2Fbrowse.jsp%3FN%3D2014%2B203046%26Ntk%3Dgensearch%26Ntt%3Dfast%2Brecovery%2Bdiode%26Ntx%3Dmode%2Bmatchallpartial%26No%3D0%26getResults%3Dtrue%26appliedparametrics%3Dtrue%26locale%3Dfr_FR%26divisionLocale%3Dfr_FR%26catalogId%3D%26skipManufacturer%3Dfalse%26skipParametricAttributeId%3D%26prevNValues%3D2014%2B203046
celle la est en dual avec boitier SOT323: http://fr.farnell.com/diodes-inc/bav70w/diode-ss-dual-75v-0-15a-sot323/dp/1902421RL
doc: http://www.diodes.com/datasheets/ds30063.pdf
librairie zetex→D_2A
61132B_PIC32ReferenceManual.pdf p753
SDO = MOSI, SDI=MISO
en SPI master, les SS/ sont des GPIO controlées en software
http://microchippiclessons.blogspot.fr/2009/06/spi-tutorial.html
61132B_PIC32ReferenceManual.pdf p799
indication de 5V tolerant en p16 de http://ww1.microchip.com/downloads/en/DeviceDoc/61156H.pdf
p35 de 61156H.pdf, il y a la liste des broches avec “Change notification inputs” et les IT externes
composant transceiver MCP2551 sur la digilent: http://ww1.microchip.com/downloads/en/DeviceDoc/21667f.pdf
Industrial (I): -40°C to +85°C Extended (E): -40°C to +125°C
Controler Aera Network; http://ww1.microchip.com/downloads/en/DeviceDoc/61154C.pdf
2 controleurs: (voir page 41 de http://ww1.microchip.com/downloads/en/DeviceDoc/61156H.pdf) -le CAN1 utilise les broches C1TX [88] (16) et C1RX [87] (18) ou les alternatives AC1TX et AC1RX -le CAN2 utilise les broches C2TX [89] (14) et C2RX [90] (10) ou les alternatives AC2TX et AC2RX
router les broches différentielles en respectant les longueurs.
ressources:
https://github.com/Seeed-Studio/CAN_BUS_Shield
http://www.seeedstudio.com/wiki/CAN-BUS_Shield
http://www.microchip.com/forums/m562123.aspx
http://embeddedcodesource.com/
On Sun, Nov 23, 2014 at 04:29:37PM +0100, Burak Yuksel wrote: > Is there anyone there who is experienced, or having fundamental knowledge on CAN communication? I've some experience, even though I'm not an expert in CAN bus. > I am currently having a problem of reading from a force sensor which is communicating with CAN 2.0B 1Mbit/s. I have PeakSystems converter, which supposed to be compatible with this specification, and I am trying to read on my Linux machine. So far I have NETDEV drivers and SocketCAN tools on PC. It's difficult to help you, since you're not saying what is (are) the issue(s) you're facing... Lets start with a few generic advices: - you should try to use Ubuntu 14.04 for that, since the support for socketcan in 12.04 is only half present. Among others the can-utils package is missing in 12.04. You need to download the sources from https//gitorious.org/linux-can/can-utils and build them. Having a 12.04 system with the 3.13 kernel (ie the 'linux-generic-lts-trusty package installed) probably helps. - The 'can0' interface is auto-configured by the kernel but not brought up. You need to run 'sudo ifconfig can0 up' to be able to use it. - Once you've the can-utils package installed and brought the interface up you can sniff the CAN bus trafic with the 'candump' utility (which is a 'tcpcump' for the can0 interface). This generally greatly helps understanding CAN protocol issues. - Make sure you have proper cabling with the 120 Ohm termination at the end. It doen't matter too much with short cables at low speeds, but at 1Mbit/s it will probably make a difference. See http://en.wikipedia.org/wiki/CAN_bus or http://www.ni.com/white-paper/9759/en/ for details. Matthieu Herrb
La carte agit à la fois comme une breakout de la carte d'évaluation PIC32 et comme un shield I2C quand le PIC32 n'est pas monté dessus.
voir si on peut commander chez snootlab (538.20 euros)
http://fr.rs-online.com/web/p/kits-de-developpement-pour-processeurs-et-microcontroleurs/6868657/
Connecteur pour carte fille: HIROSE Electric PN FX10A-120S/12-SV(71) : http://fr.farnell.com/hirose-hrs/fx10a-120s-12-sv-71/embase-0-5mm-guide-120-voies/dp/1798394?Ntt=HIROSE+Electric+PN+FX10A-120S/12-SV%2871%29
librairie eagle : ftp://ftp.cadsoft.de/eagle/userfiles/libraries/conn-hirose.lbr
pour info breakout board à 30 le module on peut en mettre partout).
Ce week-end j'ai aussi installé un tube de guidage pour le filament de mon imprimante. J'ai imprimé des fixations et pour l'instant mon fil ne casse pas. J'ai pas mal de tube en rab pour toi si tu veux tester.
Jonathan
http://jorisvr.nl/arduino_frequency.html
https://learn.adafruit.com/arduino-tips-tricks-and-techniques/arduino-uno-faq