this post was submitted on 06 Dec 2023
19 points (100.0% liked)

Arduino

549 readers
1 users here now

This is an UNOFFICIAL Arduino community.

Everyone who uses Arduino board or their clones or associated boards and/or the Arduino IDE is welcome here. If it involves Arduino hardware or software it's welcome here. If it connects to Arduino hardware it's welcome here. If you're building your own boards that you use with an Arduino it's welcome here. There will be no Arduino elitist bullshit in this community.

You may also be interested in:

AVR

RULES:

  1. It's always a floating input.

  2. All Lemmy.ca rules apply here.

  3. Everyone (see rule 98) is welcome.

  4. If you’ve seen a question 100 times answer it the 101st time or ignore it. Even better, write a complete, detailed answer and suggest that the mod(s) pin it to the community.

[Did you actually think there were 98 rules?]

  1. If you present something as fact and are asked to provide proof or a source provide proof or a source. Proof must be from a reliable source. If you fail to provide proof or a source your post or comment may be removed.

  2. Don’t be a dick. Yes, this is a catch-all rule.

  3. The mod(s) have the final say.

founded 1 year ago
MODERATORS
 

This is the replacement controller I built for the wheelchair lift. The controller itself is in the middle. The four board on the left and right are a testing harness. The red and black wires are 24VDC and the green and white ones TX and GND for monitoring with a terminal program on my notebook (puTTY).

Without the test harness it looks like this.

I was trying to squeeze a LOT into the BID box that I'm using for this project. I had to stack boards to get everything in.

The bottom most board is a standard bottom board for the BUD case. It has holes along each side for 2.54 screw terminals and pluggable screw terminals. I'm only using that board to mechanically connect the project to the BID case and for the screw terminals. I almost always use pluggable screw terminals because they're awesome. I can unplug four plugs instead of unscrewing 36 screw terminals and trying to keep the wires straight.

There are two top boards. The one on the left carries four relays which turn the negative logic of the Darlingtons into positive logic for the lift. They send 24VDC out to the contactors that run the motors and the door lock. The other small board at the rear has two safety relays which switch power coming in through a bunch of safety switches out to the battery relay and the main contactor.

This is what it looks like assembled into its BUD case.

This is all built around an Arduino Nano with a program that I wrote in Great Cow BASIC.

top 2 comments
sorted by: hot top controversial new old
[–] [email protected] 2 points 11 months ago (1 children)

That’s pretty cool - seems like a fairly involved project! How long did it all take you?

[–] [email protected] 1 points 11 months ago

Thanks.

I've been working on getting the wheelchair lift working for about three months. It is an older unit, originally solid in 2013, and has passed through two or three owners. It had been "services" by a "certified" technician recommended by the company several months before I bought it. The controller uses five Schneider industrial relays of the type I used for this controller. Four have 24VDC coils and one has a 110VAC coil. The lower half of the relay socket on R2, the Active Security relay, had failed so that circuit was not working. The "certified" technician who worked on the machine removed the fifth relay, the 110VAC dead-man emergency lighting relay and moved the bottom half wiring from R2 to the R110 socket. He tied the coil power from R2 to R110. This left him short a relay. He took the next relay up, the Priority Relay which gave the lift platform priority over all other inputs and put it in the R110 socket then put the 110VAC relay in the Priority socket using the normally closed contacts as a short.

So...I bought a replacement relay socket and relays and put the machine back the way it was supposed to be. Then I started trying to figure out what the inputs and outputs for the controller were supposed to be. I got to the point where I was sure I had everything right and that the controller wasn't doing anything. I convinced the company to provide some help and they confirmed that the controller was not working properly. They agreed that building my own was going to be more cost effective than buying a new one.

(Interestingly...when I removed the old one and took at look inside it was a voltage divider on the input, relays on the output, and an ATMEGA128 as the controller. Basically exactly the same thing that I built.

I had the Darlington arrays in my stock. I had to buy the Zener diodes I'm using to reduce the voltage from 24VDC to 3.2VDC.

Building the actual board took about four days. That board had a problem so I built a newer version with some improvements. That took a day.