Commit 3e1ddf56 authored by philip's avatar philip
Browse files

BOM update

parent 17973179
......@@ -19,27 +19,81 @@ https://aggregat.zhdk.ch/
1. *Proposed* Raw UDP (quasi simple) port (?): 1234 (?)
2. [OSC](https://github.com/MariadeAnton/oscpack) (relatively simple)
3. *Postpone (when components are made by pt)* RTPMIDI (complex)
- [ ] **Control Logic** TBD
- [ ] Configuration using DIP Switch (controller/channel offset) TBD
- [ ] **Motor Control**
- [ ] **Calibration** necessary? how?
- [ ] Hardware: Modules, custom PCB-hat?, case/protection
- [ ] Control Logic
- [ ] Motor Control
- [ ] Verify pin availability for 16 motors/PWMs
- [ ] SSR Relays???
- [ ] Calibration necessary? how?
- [ ] Hardware
- [x] IOControls
- [ ] v1.1 with minor fixes
- [ ] Aggregat Shield
## Installation / Flashing
1. Connect the USB cable (programming end / opposite of ethernet plug) to computer.
2. Device should show up as mass storage device (ie external hard disk)
3. Drag & Drop firmware file into external hard disk
-> big LED should flash red-yellow and then stay yellow - *voilà*
## Known Problems & Limitations
- as of 2020-07-02 ethernet interferes with the USB Device interface causing a permanent USB fail, but only if both are connected *at the same time*. It's a problem of the underlying system which might get resolve d in the future.
## Hardware Controls
## Software
Use [Mbed Studio](https://os.mbed.com/studio/) as IDE.
In Mbed Studio workspace run (on command line):
```bash
git clone git@gitlab.zhdk.ch:aggregat-02/a01.git
cd a01
git submodule update --init --recursive
```
As of 2020-07-02 the official USBMIDI of mbed-os has some (reported) bugs, please update these files:
- [USBMIDI.h](https://github.com/tschiemer/mbed-os/blob/usbmidi-writeplus-fixes/drivers/USBMIDI.h)
- [USBMIDI.cpp](https://github.com/tschiemer/mbed-os/blob/usbmidi-writeplus-fixes/drivers/source/usb/USBMIDI.cpp)
- [MIDIMessage.h](https://github.com/tschiemer/mbed-os/blob/usbmidi-writeplus-fixes/drivers/internal/MIDIMessage.h)
### Configuration options
See file `config.h`
## Hardware
- Base board: [ST NUCLEO-H743ZI2](https://www.st.com/en/evaluation-tools/nucleo-h743zi.html) (also see [@mbed](https://os.mbed.com/platforms/ST-Nucleo-H743ZI2/))
*note* can possibly be scaled down to a (marginally) cheaper version
- IOControls: https://gitlab.zhdk.ch/aggregat-02/a01-pcb-iocontrols
- Aggregat shield: https://gitlab.zhdk.ch/aggregat-02/a01-pcb-shield
### Hardware Controls
### Bill of Materials
Possible configuration settings (for evaluation), settable using dip-switch:
For BOM of custom PCBs see respective repository.
Name | Pins | Description | Use?
Number | Item | Cost per (10/100) Unit(s) | Cost
--- | --- | --- | ---
UsbLed | 1 | Is USBMIDI connected? Blink on activity? |
EthLed | 1 | Is Ethernet connected? Blink on activity? |
Channel | 4 | Which MIDI Channel to use (1-16) |
HostId | 2-4 | Which ID is used as part of hostname? |
Forward X to Y | 9 | Enable forwarding of messages from USB/MIDI/NET to USB/MIDI/NET (incl. echo) |
1 | [ST NUCLEO-H743ZI2](https://www.digikey.ch/product-detail/en/stmicroelectronics/NUCLEO-H743ZI2/497-19452-ND/10130892) (Base Board) | 25.65 | 25.65
1 | [IOControls board](https://gitlab.zhdk.ch/aggregat-02/a01-pcb-iocontrols) | ~20.00 | 20.00
1 | [Aggregat shield](https://gitlab.zhdk.ch/aggregat-02/a01-pcb-shield) |
|
1 | [USB 2.0 B Connector](https://www.digikey.ch/product-detail/en/amphenol-icc-commercial-products/MUSB-D511-00/MUSB-D511-00-ND/2567127) | 9.56 | 9.56
3 | [DIN 5-pol (MIDI) Connector](https://www.digikey.ch/product-detail/en/cui-devices/SD-50LS/CP-1235-ND/500833) | 4.17 | 12.52
1 | [AC-DC Converter 5V 14A](https://www.digikey.ch/product-detail/en/mean-well-usa-inc/LRS-75-5/1866-3364-ND/7705056) | 17.25 | 17.25
1 | [USB Power Adapter](https://www.digikey.ch/product-detail/en/cui-inc/SWI3-5-E-I38/102-4482-ND/7784533) | 4.94 | 4.94
1 | [3 Pin connector](https://www.digikey.ch/product-detail/en/molex/0510210300/WM1721-ND/242843) (IOControls) | 0.21 | 0.21
2 | [15 Pin connector](https://www.digikey.ch/product-detail/en/molex/0510211500/WM17002-ND/259375) (IOControls) | 0.40 | 0.80
33 | [Socket connector for crimping](https://www.digikey.ch/product-detail/en/molex/0500798000/WM1142CT-ND/467835) (IOControls) | 2.82 (100) | < 1.00
1 | [Power plug w/ switch](https://www.digikey.ch/product-detail/en/schurter-inc/DC11-0001-001/486-1073-ND/641579) | 13.08 | 13.08
Total (material) cost ~ 100.-
## Pin Assignment
### Pin Assignment
Pin | Function | Description | Connector
--- | --- | --- | ---
......@@ -61,11 +115,11 @@ D33 (PB0) | PWM | *Reserve*
D32 (PA0) | PWM | *Reserve*
|
### iocontrols
#### iocontrols
NUCLEO connectors CN9 (+CN8) only.
#### CN1 (iocontrols connector)
##### CN1 (iocontrols connector)
Pin | Function | Description | Nucleo Connector
--- | --- | --- | ---
......@@ -73,7 +127,7 @@ NUCLEO connectors CN9 (+CN8) only.
GND (11) |
NRST (5) |
#### CN2 (iocontrols connector)
##### CN2 (iocontrols connector)
Pin | Function | Description | Nucleo Connector
--- | --- | --- | ---
......@@ -93,7 +147,7 @@ PD0 (25) | GPIO IN | USB to NET
PD1 (27) | GPIO IN | MIDI to USB
PG0 (29) | GPIO IN | MIDI to NET
#### CN3 (iocontrols connector)
##### CN3 (iocontrols connector)
Pin | Function | Description | Nucleo Connector
--- | --- | --- | ---
......@@ -113,46 +167,7 @@ PF7 (26) | GPIO OUT | LED 22 (MIDI2)
PF9 (28) | GPIO OUT | LED 31 (NET1)
PG1 (30) | GPIO OUT | LED 32 (NET2)
## Installation / Flashing
1. Connect the USB cable (programming end / opposite of ethernet plug) to computer.
2. Device should show up as mass storage device (ie external hard disk)
3. Drag & Drop firmware file into external hard disk
-> big LED should flash red-yellow and then stay yellow - *voilà*
## Known Problems & Limitations
- as of 2020-07-02 ethernet interferes with the USB Device interface causing a permanent USB fail, but only if both are connected *at the same time*. It's a problem of the underlying system which might get resolve d in the future.
## Hardware
### dev (philip)
- Base board: [ST NUCLEO-H743ZI2](https://www.st.com/en/evaluation-tools/nucleo-h743zi.html) (also see [@mbed](https://os.mbed.com/platforms/ST-Nucleo-H743ZI2/))
*note* can possibly be scaled down to a (marginally) cheaper version
- MIDI-Module: [midi-uart-adapter](https://github.com/tschiemer/midi-uart-adapter)
## Software
Use [Mbed Studio](https://os.mbed.com/studio/) as IDE.
In Mbed Studio workspace run (on command line):
```bash
git clone git@gitlab.zhdk.ch:aggregat-02/a01.git
cd a01
git submodule update --init --recursive
```
As of 2020-07-02 the official USBMIDI of mbed-os has some (reported) bugs, please update these files:
- [USBMIDI.h](https://github.com/tschiemer/mbed-os/blob/usbmidi-writeplus-fixes/drivers/USBMIDI.h)
- [USBMIDI.cpp](https://github.com/tschiemer/mbed-os/blob/usbmidi-writeplus-fixes/drivers/source/usb/USBMIDI.cpp)
- [MIDIMessage.h](https://github.com/tschiemer/mbed-os/blob/usbmidi-writeplus-fixes/drivers/internal/MIDIMessage.h)
### Configuration options
See file `config.h`
## Questions?
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment