Pages: [1]   Go Down
Author Topic: Arduíno Mega + MRF24J40  (Read 1759 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 2
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hey!

I'm starting using Arduino, pardon me if I say something wrong! =)

Everything seems very confusing to me, but I'm trying my best!

So, here is the problem:

I want to connect an Arduino to a wireless network of a lab, using 802.15.4

So, my best option, as my teacher said, is Microchip MRF24J40MA.

Using SPI, how can I connect both?

I already found the MISO, MOSI, SS and SCK in Arduino.
Quote
Arduino Mega users – MISO is 50, MOSI is 51, SCK is 52 and SS is usually 53

With that, I would connect directly, but the voltage in Arduino ports (5 Volts) is different from the Microchip (3.3V).

Are there any shield available, so I would avoid having the work to create one?

Also, I'm trying to create a connection betweek them, but i'm still unsure about the connection.

Code:
MRF24J40MA(3.3V) - arduino (5v)
GND            - GND
VIN               - 3.3V
CS (IN)                 - SS    (OUT) - REDUCE 5v->3.3v
SDI       - MOSI  (OUT) - REDUCE 5v->3.3v
SDO       - MISO  (IN) - DIRETO
SCK       - SCK (OUT) - REDUCE 5v->3.3v
RESET    - NO CONNECTION
WAKE            - NO CONNECTION
INT            - PINO 3  (IN) - DIRETO

Also, can I use a resistor divider to get 3.3 Volts on the chip, like this?

http://www.sparkfun.com/tutorials/65

Thanks in advance!
Logged

Manchester (England England)
Offline Offline
Brattain Member
*****
Karma: 634
Posts: 34519
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
So, my best option, as my teacher said, is Microchip MRF24J40MA.
No it is not. It would mean you have to write a whole lot of internet stack. That is most defiantly beyond what you are capable of.
Your best bet is to get an Arduinio wireless shield.
Logged

Tucson, AZ
Offline Offline
Sr. Member
****
Karma: 8
Posts: 317
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

802.15.4 specifies the physical layer and media access control for low-rate wireless personal area networks (LR-WPANs), such as ZigBee or MiWi, not standard ethernet.

I would recommend that you look for a ZigBee or MiWi shield.
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 2
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thank you, Grumpy_Mike and kd7eir for the replys!

I don't know if i need a shield yet, since now I know that the network I will connect doesn't use a protocol yet.

My goal is to use arduino to connect to the network and implement a package sniffer, monitoring the network.

So, I'm kinda lost. Any thoughts?
Logged

Manchester (England England)
Offline Offline
Brattain Member
*****
Karma: 634
Posts: 34519
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
My goal is to use arduino to connect to the network and implement a package sniffer, monitoring the network.
One requirement of a packet sniffer is to have a large amount of memory to store the packets in. The arduino does not have very much memory for this.
How big a packet do you want to store? The Mega has most memory but that is only 8K so only a few packets, not really useful to be a sniffer.
Logged

Pages: [1]   Go Up
Jump to: