Eval » Historie » Version 15
Maximilian Seesslen, 28.04.2022 16:02
| 1 | 1 | Redmine Admin | h1. Eval |
|---|---|---|---|
| 2 | |||
| 3 | * FPC 10p cable for CANIO/Miniminutnik |
||
| 4 | 8 | Redmine Admin | * Buchsenleiste: TX/RX/POW/I2C |
| 5 | 2 | Redmine Admin | * Boot/Reset button; gross |
| 6 | * 4Pin I2C-JST-Stecker |
||
| 7 | 1 | Redmine Admin | * TX/RX-LEDs (from adapter) |
| 8 | * Power-LED |
||
| 9 | * Target-LED |
||
| 10 | * Micro-USB |
||
| 11 | * Aussparung FPC-Stecker-Verrigelung |
||
| 12 | 8 | Redmine Admin | * 1mm Acryl schon sehr windig, siehe CANDis platten. Aber geht? |
| 13 | 1 | Redmine Admin | * MCP2221 |
| 14 | * LDO 3V |
||
| 15 | 2 | Redmine Admin | * Schiebeschalter: I2C Power 5V/3V |
| 16 | 10 | Redmine Admin | * LED power target |
| 17 | 1 | Redmine Admin | |
| 18 | 6 | Redmine Admin | VUsb must have bypass capacitor between 0.22 and 0.47 μF. _> 3x100nF |
| 19 | 1 | Redmine Admin | When using internal LDO, GPIO and UART signals are 5V. We dont want this-> extern LDO |
| 20 | 4 | Redmine Admin | |
| 21 | vom Design Links USB rein, rechts FPC raus. |
||
| 22 | 1 | Redmine Admin | LEDs vorne. Pinheader hinten oben. JST vorne. |
| 23 | Konnektoren alle oben, IC unten (1mm) _> 6mm total height |
||
| 24 | |||
| 25 | 10 | Redmine Admin | LED-Löcher von unten mit Uhu auffuellen? |
| 26 | |||
| 27 | 8 | Redmine Admin | h2. Buchsenleiste |
| 28 | |||
| 29 | |GND| |
||
| 30 | |3V | |
||
| 31 | |5V | |
||
| 32 | |RX | |
||
| 33 | |TX | |
||
| 34 | |SCL| |
||
| 35 | |SDA| |
||
| 36 | 1 | Redmine Admin | |GND| |
| 37 | 10 | Redmine Admin | |
| 38 | h2. LEDs |
||
| 39 | |||
| 40 | |VUSB |GRN | |
||
| 41 | |POW LDO|GRN | |
||
| 42 | |Target |VIO | |
||
| 43 | |RX |RED | |
||
| 44 | |TX |YEL | |
||
| 45 | 11 | Redmine Admin | |
| 46 | 12 | Redmine Admin | |
| 47 | <pre> |
||
| 48 | 11 | Redmine Admin | ---------------------- |
| 49 | | PINHEADER | |
||
| 50 | |USB O O FPC| |
||
| 51 | | ...... O O| |
||
| 52 | --JST----------------- |
||
| 53 | 12 | Redmine Admin | </pre> |
| 54 | |||
| 55 | h2. Mechanics |
||
| 56 | |||
| 57 | Big buttons are too big. |
||
| 58 | Check if buttons B3FS-1010 are cool; only 0,3mm above coverplate; 3mm button diameter |
||
| 59 | KSC541GROHS: 3mm height; 2,4 button diameter |
||
| 60 | 13 | Redmine Admin | |
| 61 | 1mm Cover plate |
||
| 62 | 3mm spacers |
||
| 63 | 1,6mm PCB |
||
| 64 | 1mm spacer |
||
| 65 | 1mm cover plate |
||
| 66 | 14 | Maximilian Seesslen | |
| 67 | h2. Readme |
||
| 68 | |||
| 69 | <pre><code class="shell"> |
||
| 70 | for f in /sys/class/i2c-adapter/i2c-* ; do echo -n "${f##*-}: "; cat "$f/name"; done |
||
| 71 | </code></pre> |
||
| 72 | 15 | Maximilian Seesslen | |
| 73 | |||
| 74 | <pre><code class="cpp"> |
||
| 75 | QCommandLineParser parser; |
||
| 76 | parser.setApplicationDescription("ICC Manager"); |
||
| 77 | parser.addHelpOption(); |
||
| 78 | |||
| 79 | QCommandLineOption oBus("b", "The I"C bus to use", "number"); |
||
| 80 | parser.addOption(oBus); |
||
| 81 | parser.process(app); |
||
| 82 | |||
| 83 | if( !parser.isSet(oBus) ) |
||
| 84 | { |
||
| 85 | parser.showHelp(22); |
||
| 86 | } |
||
| 87 | |||
| 88 | CTemp temp( parser.value(oBus).toInt() ); |
||
| 89 | |||
| 90 | </code></pre> |