week#14. Networking and communications.

A little about my 14-th week assignment

What do we need to do

Our assignment for this week was to "design and build a wired and/or wireless network connecting at least two processors". I decided to start from fabricating the all the example boards for serial communication because the more I practice the better my skills are and it is always good to begin from something simple with example c-dode (like hello.bus.45.bridge and hello.bus.45.node boards).
At the same time playing with hello.I2C.45.bridge board with two hello.I2C.45.node boards could bring me closer to understanfing the way to make SPI-communication using tiny-TWI. I want to learn SPI communacation to play with wireless communication using nrf24l01-based modules and that is what I wanted to use in my first final project proposal.

Hello.bus boards

Design

Here are the board, traces and interrior from networking and communications

hello.bus.45.bridge board

hello.bus.45.bridge board

hello.bus.45.bridge traces

hello.bus.45.bridge traces

hello.bus.45.bridge interrior

hello.bus.45.bridge interrior

hello.bus.45.node board

hello.bus.45.node board

hello.bus.45.node traces

hello.bus.45.node traces

hello.bus.45.node interrior

hello.I2C.45.node interrior

Fabrication process

I made those boards with laser-etching technique. I described all the steps in details for hello.I2C boards below. I just added a signature to tell them from the other boards. Here are some pictures from fabrication process for this board:

Fresh-cutted

That is the board with laser-cutted paintspray-traces in our epilog laser.

Just etched

The same after etching.

No paintspray

after the paintspray removal.

The boards are soldered

The boards are soldered!

Programming

I used the example hello.bus.45.c and -make files from FabAcademynetworking and communications week.
To program the board you need to type in therminal (opened in the same folder where you copied the c-file and make-file):
sudo make -f hello.bus.45.make program-usbtiny
You should get the response like this:
prog screenshot
That was for the bridge. Now we need to flash the nodes. Each node operating has to have it's ID (you may set it in program. I typed "nano hello.bus.45.c"): Changing the ID
Let's see what will be the responce for trying to program the first node:

The node is programmed

After we have flashed all the boards it's time to try them! We need to connect all the boards with wires and communicate with the bridge via serial port. I use arduino serial monitor on 9600 speed.

That's how it works:

Difficulties

The first problem I faced was spoiling one of the nodes while soldering. The problem is that I only had straight through-hole connectors and to solder them I had to bend them with pliers. It was hard to make absolutely same bands and it made the soldering difficult. That's why I kinda overheated one board and wrested out the contact pads. But I soldered connectors to the traces and I believe it is still possible to use this node, however it can not be connected with common wire.

Hello.I2C boards

Design

Here are the board, traces and interrior from networking and communications

hello.I2C.45.bridge board

hello.I2C.45.bridge board

hello.I2C.45.bridge traces

hello.I2C.45.bridge traces

hello.I2C.45.bridge interrior

hello.I2C.45.bridge interrior

hello.I2C.45.node board

hello.I2C.45.node board

hello.I2C.45.node traces

hello.I2C.45.node traces

hello.I2C.45.node interrior

hello.I2C.45.node interrior

fabrication process

I fabricated this board with my laser-etching technology (Why not to mill? Here's the answer!), which is quite nice and fast. After I cutted the PCB outline in the laser cutter I etched the board till all the outline-copper was removed. And then I need to remove the paintspray with solvent and trim with file:

This time I decided to show you the etching process in stages:
etching starts

The etching began...

etching in process

...some traces removed...

etching's almost done!

...almost done!

Then I cutted the boards with dremel:

cutting_1

Thats' me cutting them with the dremel-tool

cutting_2

Closer look

Finally I have those boards:

Roughly cutted

Roughly cutted with the dremel-tool

trimmed and cleaned

Now they're trimmed and cleaned!

Then I slodered the PCBs:

The boards are soldered

Difficulties

The main difficulty was the electronic shipment: we were out of attiny45's and I had to purchase them. I did from one expensive shop in hope to get them on the next day, but it longed for four days. I understand that in some other places even four days for electronics shipments sound like a pleasant fairy-tale, but in Moscow I could try to find some other options to save some money in this time terms.

Back to my assignments-list

Back to my main page