Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
5 years, 11 months ago.
Are these components compatible?
Hello I'm designing a system with the LPC1768 Mbed and am wondering if the device is capable of running the following devices simultaneously or if the devices are even compatible with the Mbed : -two proximity senso(Model #= MAX44000PMB1) - 2 solenoids ( haven't picked a model yet, need one capable of cutting power to the system from a standard 110-120V wall socket.) -1 Servo motor. -1 capacitive sensor(Model #=AT42QT1010)
Note* Capacitive sensor is being used differentiate between metal(cans) and non-metals(plastic bottles)
1 Answer
5 years, 11 months ago.
hi Dylan,
The final answer comes from working with them . Using the mbed search reveals a lot of probable solutions -
- Search mbed for MAX44000 reveals several links, libraries and sample code. It appears to only use an I2C interface, which the LPC1768 supports.
- Search mbed for AT42QT1010 also reveals links, libraries and sample code. This too appears to be fully compatible with the LPC1768.
- Search mbed for relay driver For solenoids (relays?) you will need a component between the LPC1768 and the solenoid to amplify the small signal for use with the relay. This all depends on how much current is required - it could be a simple circuit with a transistor or FET, or perhaps a dual since you want to control 2. If you choose a solid state relay, it might be possible to drive it directly from the mbed. For the most part, you probably only need 2 port pins, one for each relay.
- Search mbed for Servo motors and you'll find libraries for this as well.
This and the relay driver are the only 2 of these four that I have personally done. I've implemented the I2C library for a temp/humidity sensor, and for the proximity sensor, I have a project in mind that would use a couple of channels like this. As the chip produces a single signal, it should be easy to interface. You might tie a second mbed pin to the SNSK on this chip for more "control". Since your total pin count is so low, this should not be much of a sacrifice.
A proto-board might be a perfect way to tie these together to get started. You'll find that the servo drivers favor certain pins, and the I2C favor others.