I want to attempt to build a web based sensor host using my Arduino ..
I will be using the following:
enc28j60 (SPI)
rmf12 Radio (SPI)
sdcard (SPI)
ds1307 (i2c)
So what confuses the heck out of me is first off how would I go about hooking up 3 spi devices on the same arduino, and secondly how would I access them all at the same time.
Would I need to buffer all of these with something like a 74AHC125 so they all talk / play nice?
Any help / tutorial would be appreciated.. Its my first project in 20 years, so I am new to the platform and forget most of my electronics training..
So from what I have read since posting my question and what you have said, if I had 3 SPI devices, I would need the 3 common pins ( MISO, MOSI, and SCK ) and then 3 unused pins, 1 each for the unique device select.
Now, you said they all can't be on at the same time. So does that mean that when I toggle 1 on I have to toggle the other 2 off each and every time? If so, is there an easy way of doing that?
Thank for the help..
Abysmal
Why is one first project always the hardest, and make one look the stupidest!
CS is frequently, but not always, active low. For example, the DS1722 digital temperature sensor uses active high on CS. Check the datasheet for each peripheral and see.
Because they vary, and because active low logic sometimes confuses me, I like to do things like