Arduino: Use the Catalex SD card reader on the SoftSPI bus.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Receiver
Transmitter
lib
README.md

README.md

Arduino: Catalex SD card module and SoftSPI

1 Description

In this sketch I show how to run the Catalex SD card module (v1.0) on the Arduinos SoftSPI bus using the SdFat library.

Here you will find the sketch and the used libraries. The librarie are going to the standard Arduino-libraries directory.

For a more detailed description visit my website:

The basic idea behind the sketch is:

  • Get a temperature value via the DS18B20 OneWire sensor.
  • Send it to another Arduino with the nRF24L01+ wireless module.
  • Print the data to a display & the SD card.

1.1 Hardware

Required components:

  • Arduino UNO or Nano
  • Catalex SD card module
  • nRF24L01+ wireless module
  • DS18B20 temperature module
  • I2C display

Connection for the transmitter:

Arduino Pin DS18B20 Pin
2 DQ
Arduino Pin nRF24L01+ Pin
9 CE
10 CSN
11 MOSI
12 MISO
13 SCK
3V3 3V3
GND GND

Connection for the receiver:

Arduino Pin Display Pin
A4 SDA
A5 SCL
5V VCC
GND GND
Arduino Pin nRF24L01+ Pin
9 CE
10 CSN
11 MOSI
12 MISO
13 SCK
3V3 3V3
GND GND
Arduino Pin Catalex Pin
4 MISO
5 MOSI
6 SCK
7 CS
5V VCC
GND GND

2 License

This project is licensed under the GNU GPLv3 open source license. Thus anybody is allowed to copy and modify the source code, provided all changes are open source too and the author is in knowledge of all done changes. This can happen either via eMail or directly on GitHub, in other words at this repository.

3 Disclaimer

I am not responsible for anything in conjunction with this project, including bugs, failure, fire, harm of equipment and harm of persons. Reasonably foreseeable misapplication:

  • Bug in the code
  • Failure of used parts due to a bug in the code or a wrong wiring diagram, including a wrong design.
  • Fire due to a wrong wiring diagram, including a wrong design.
  • Harm of equipment, meaning third party parts (cameras, flashes, etc.) due to a bug in the code or a wrong wiring diagram, including a wrong design.
  • Harm of persons due to any failure of the system, a wrong wiring diagram or a wrong behaviour.

It is your own responsibility to use these contents. Be careful, this project includes lethal electrical voltage. Put yourself in knowledge about the risks before you start with this project.