Steering Interface: Testing

Testing without firmware:

Test

Problem/Result

Solution

Test

Problem/Result

Solution

Probing test points of the 5 switches

Test points only read 0V whether or not a switch was pressed

  • Board design: both button pins were grounded, meaning no voltage could ever go through

Probing the pins of the schmitt triggers when the switches are /are not pressed

Voltage change:

  • FILTERED_CC_INC_SPEED, PA2_CC_INC_SPEED (S2)

  • FILTERED_CC_ON/OFF, PA2_CC_ON/OFF (S3)

  • FILTERED_CC_DEC_SPEED, PA1_CC_DEC_SPEED (S4)

  • FILTERED_Brake, PA4_Brake (S5)

  • Joints on U2 not connected properly

Probing bergstak connector pins

Voltage change:

  • FILTERED_CC_INC_SPEED, PA2_CC_INC_SPEED (S2)

  • PA4_Brake (S5)

No voltage change:

  • PA1_CC_DEC_SPEED (S4)

  • FILTERED_CC_ON/OFF, PA2_CC_ON/OFF (S3)

Testing with firmware:

Test

Problem/Result

Solution

Test

Problem/Result

Solution

  • Tested Steering Board using Tutorial Board ADC code to test that the buttons would trigger an interrupt

  • Changed the code to match the pins on the Steering Interface Board

  • Switch 2: Interrupt was triggered

  • Switch 3: No interrupt triggered

  • Switch 4: Got a small change in output (hovered around 1818 initially, changed to 1824 when the button was pressed, then changed again to below 1800 when the button was no longer pressed

  • Switch 5: No interrupt triggered

  •  

  • Tested Steering Board using steering interface firmware

  • Only switch 2 works

 

Changes to be made to the board:

  • Alter the switches in the layout so that only one pin is grounded per switch

  • Make testing easier by moving the schmitt triggers out from underneath the controller board

  • Change connectors to micro-fit.