Uncategorized

MAX4896 Relay Driver Notes

Asked 
Viewed 15 times
-2

I have an automation project which I am currently working on and that can be summarized as the title says: Connecting a MAX4896 8-channel relay to the RaspberryPi 3B+ through SPI and using Python. That is the si,plification because in reality I will have 8 MAX4896 which should be controlled. The hardware connection will be done using the GPIO pins of the Pi.

Now, I am not even close to being an expert in the automation field, neither in working with the Pi, so what I ask you is to give me some tips and ideas on how I can proceed and maybe, if one of you would be so kind, an extract of code that I could comparre with what I had already done.

Thanks in advance to any kind soul that is willing to help me.

 New contributor
  • 1
    That relay board does not support SPI you will need additional hardware if SPI is a requirement. A simple search for Raspberry Pi and relay should turn up several good tutorials like this one; Since the board in question is just 8 individual relays mounted together on a single board. It will require 8 GPIO pins so again without extra hardware you will not have enough pins for your 64 relay scheme. – Steve Robillard 3 hours ago
  • Hi @Victor, Welcome and nice to meet you. Let me see. My answer might be a bit long. Let us first clarify and agree on the following point: (1) You would like to drive a RELAY COIL, NOT a RELAY MODULE. If you appreciate the difference between the two, I would move on. I guess your automation project is no hobbyist grade, so I assume you are comfortable reading datasheets. Let me know otherwise. I used to drive coils and/or modules using ULN2803. You MAX4896 is for coils only. / to continue, – tlfong01 5 mins ago   
  • Please skim the following references and let me know if I have not misunderstood your project spec, and that I should move on. (1) “MAX4896 Space-Saving, 8-Channel Relay/Load Driver Product Description – Maxim”: maximintegrated.com/en/products/analog/…, (2) “MAX4896 Space-Saving, 8-Channel Relay/Load Driver Datasheet – Maxim”: datasheets.maximintegrated.com/en/ds/MAX4896.pdf, (3) “ULN2803A Darlington Transistor Arrays Datasheet”: ti.com/lit/ds/symlink/uln2803a.pdf. – tlfong01 3 mins ago    Edit   

Categories: Uncategorized

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: