[INSTRM-647] Validate new bsh board in enu rack Created: 10/Apr/19 Updated: 16/Apr/19 Resolved: 13/Apr/19 |
|
| Status: | Done |
| Project: | Instrument control development |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Normal |
| Reporter: | arnaud.lefur | Assignee: | arnaud.lefur |
| Resolution: | Done | Votes: | 0 |
| Labels: | SM1 | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Story Points: | 2 |
| Sprint: | SM1-2019 E |
| Description |
|
Up till now, bsh (bia-shutters board) was an arduino leonardo ethernet. This board is no longer sold, so we are switching to arduino uno rev3 with an ethernet shield. |
| Comments |
| Comment by arnaud.lefur [ 10/Apr/19 ] |
|
Test are on going since last thursday. The board is not working as expected : We though about a grounding issue in the new enu rack, because of the weird string that the board was returning, but that's not it. The problem occurs only when we connect blue shutter. I've found those information in the ethernet shield documentation. Arduino communicates with both the W5500 and SD card using the SPI bus(through the ICSP header). This is on digital pins 10,11,12 and 13 on the Uno and pins 50,51,52 on the Mega. On both boards, pin 10 is used to select the W5500 and pin 4 for the SD Card. These pins cannot be used for general I/O. |
| Comment by arnaud.lefur [ 10/Apr/19 ] |
|
We are using currently using pin 4 to read blue shutter close switch state, that may be the root cause of the board misbehaviour. We need to recable pin 4 to another one and check if it solves the problem. |
| Comment by arnaud.lefur [ 13/Apr/19 ] |
|
pin 4 has been switched to pin A4, it's working fine now. |