1 / 11

Software Design Narrative

Software Design Narrative. Team 1 Hang Xie. Software Design Considerations. Utilization of integrated peripherals pwm , uart , i2c, atd Computer vision library OpenCV or SimpleCV. Software development status. MicroController part: PWM done UART transmitting done

bisa
Download Presentation

Software Design Narrative

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Software Design Narrative Team 1 Hang Xie

  2. Software Design Considerations • Utilization of integrated peripherals pwm, uart, i2c, atd • Computer vision library OpenCV or SimpleCV

  3. Software development status • MicroController part: PWM done UART transmitting done UART receive part not done ATD not done I2C not done • Intelligent part UART done Simple CV not done Atom Motherboard

  4. Software development status • Register initializations required PWM UART I/O OCxCON1 U1BRG TRISB OCxCON2 U1TXIPx OCxR U1STA OCxRS MODE PSS register

  5. Flow chart for micro ( using raspberry pi)

  6. Flow chart for micro (Atom)

  7. State machine, polling loop

  8. Software Design Considerations • Port names/addresses: Programming port: RP1, RP0,VSS,VDD,MCLR PWM1: RP6 PWM2: RP7 PWM3: RP8 PWM4: RP9 PWM5: RP14 PWM6: RP29 UART_RX: RP11 UART_TX:RP12 I2C_SDA : RP10 I2C_SCL: RP17 I/O: RP3, RP4, RP30, RP16, RP23

  9. Software Design Narrative Shareware sources • pySerial : Serial(port,9600), flushInput(), read(), write() • Raspbian • SimpleCV • OpenCV My own modules • pwm_init( ) • pwm_con( ) • uart_init( ) • uart_get( ) • uart_put( ) • atd_init( ) • Init_all( )

  10. Hierarchical arrangement of the various code module

  11. QUESTIONS

More Related