Networking
In this week i decide to complete what’s missing in my final project, the wireless conection.
I chouse for this the nRF24L01+ from Nordic to make que simple conection.
RF it’s always tricky, but with this chip i expect no problem’s.
It’s a simple RF module, but have all the power including to stream music.
But it’s a simple module because have, no more layers like wifi, or bluetooth.
Because i want to deliver information from trash can into trash can i suspect this is the right solution.
I need to confirm if
FabKit Penela
This week i decided re-make the fabkit. I inspired on satshakit
I add to it. ftdi port.
and the ISP port.
Than i make it.
I have this erros’s.
I resolve them using a higher resoltuion image. 1000dpi
Vinil cutting.
- Measure the outline of the board in eagle board
- export pads and outline(dimension) as color png.
- In Roland Cutstudio import it
- Make outline.
- remove the image
- convert lines to polylines
- remove the outer lines and leave the pads and the true outline of the board.
- resize to the measure did in eagle.
- Vinil cutter force 150gf.
soldering is easy
After populate the board i solder it with hot air.
Another mistake, i not chose the right crystal foot print.
programing the board
Programing the board was a challenge.
First don't work.
I could not upload the arduino bootloader because i use atmega328 and not atemega328p
so change
signature = 0x1e 0x95 0x14; # 328 old to
signature = 0x1e 0x95 0x0F; # 328p atual in avrdude.conf like said this
site.
After than i find that dtr on ftdi connector must have an 100nF capacitor between dtr and reset pin.
I found that when you disconnect or misplace or cross the tx rx pin's, it's good politics to remove the usb, and restart the arduino.
After this it work's beautifully, but i gone make another board with:
- redesign the crystal connector
- add the capacitor between dtr and reset
- make all connector's smd
- review the possibility of dual layer board
VIDEO
123 radio test
I decided use arduino and a library.
Because it’s a non fail solution.
After than i will gone make my c library.
So i have gone to the arduino playground find the nRF24l01.
I find this simple library as a second choice.
The test was a success :)
video
Work to do
Make a breakout board with attiny44 serial gateway to this chip
link link to same documentation
Here is the
link to this week files. :)