back to main page
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.
I realised there was a mistake in the design of the board.
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.
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 FILEDC MOTOR BUS .PDF
ORYGINAL FILETXRX BUS .PDF
ORYGINAL FILEBRIDGE BUS .PDF
Programming involved combining .c codes of each board with a bus .c code.
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:
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.
The network is used in my FINAL PROJECT.