back to main page

WEEK 15



NETWORKING



BUS - TXRX TO DC MOTOR

I used networking in my FINAL PROJECT. For that I wanted to make a network between the DC MOTOR BOARD and the CAPACITIVE SENSOR BOARD.

In previous weeks I redesigned those boards adding 2x2 pin for the network (transmit, recieve, vcc, ground). For the final project I made small changes in them and I also designed the BRIDGE BOARD that could connect to the computer.



DC MOTOR BUS

I realised there was a mistake in the design of the board.
MISTAKE 1:

The mistake was easy to fix with cables. I have to fix it on the schematics and on the TRACES file so the next one I mill is correct.
MISTAKE 2:
I also didnt see that the mill have missed one trace under the microcontroller. The line going between the pins was too thick. I have corrected it now but should keep an eye on it next time I mill this board.






ORYGINAL FILE

DC MOTOR BUS .PDF

TXRX BUS FOR FINAL PROJECT


ORYGINAL FILE

TXRX BUS .PDF

BRIDGE BOARD

ORYGINAL FILE

BRIDGE BUS .PDF

ALL CONNECTED

PROGRAMMING

Programming involved combining .c codes of each board with a bus .c code.

INTERRUPT

Because I connected motor driver to the wrong pins we tried to impose the timing in the code by using interrupt

I looked into the ATtiny datasheet:

ERRORS

When the code was done I kept getting a lot of errors. It is useful to see the errors descriptions and locations in the terminal.

ORYGINAL FILES

BUS MOTOR .C
BUS MOTOR .MAKE
BUS TXRX .C
BUS TXRX .MAKE
KICAD BRIDGE .ZIP
KICAD MOTOR .ZIP
KICAD TXRX .ZIP

IT WORKS!

The network is used in my FINAL PROJECT.











Creative Commons Licence
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
If you have any questions feel free to contact me at OLAMIRECKA@GMAIL.COM