Seonghee Kim | |
14. Networking and Communication | |
HOME | ABOUT | ASSIGNMENTS | FINAL PROJECT| CONTACT | |
Week14
Assignments
-group assignment
send a message between two projects-individual assignment
design and build a wired &/or wireless network connecting at least two processorsHardware and Softwares used
-arduino IDE
-Git bash
Outcome
running networking protocols.
Networking
Design and fabricating the board
-click here to download files(bridge.sch, bridge.brd)-click here to download files(node.sch, node.brd)
This time I had a problem to mill the board. The end mill sliped while milling, so I move the z axis -0.05 repeatedly up to the endmill milling the board. However the mill looks creepy. and not able to stuff the component.
So I had to mill again. Second mill looks durnken. It looks not able to mill straight.
I found out the reason is that the board is not stick well enough. That is why endmill makes drunken road, the board moves a bit. So I took off the board and stick it tight. Milling was fine.
asynchronous serial bus
- I need 3 C file because each board have to have differnet node id. So after I downloaded Neil's file, I copyed and changed the id number.
-I put c and make file into each node folder and made diffrent hex file for each board.
-If programming is failed, fix the make file, and try agian.
-to fix the make file, I did
1. changes some spaces(red line) to 1 tap. mostly it works.
2.or add fuses command.(blue circle)
- Program done!
- Click here to download the files(node0, node1, node2)
Pyserial
-when I tried to check on python, it comes error of the prot speed.- Click here to download the files(term.py)
I2C arduino
-I also tried I2C with arduino. Ultrasonic board is sending date to lcd board. click here for reference.
- Click here to download the files(distance_master.ino, LCD_slave.ino)
Date: 2018-05-01 Author: Seong Hee Kim @ Fablab Seoul