Community
cancel
Showing results for 
Search instead for 
Did you mean: 
nDE_S
New Contributor I
2,225 Views

intel edison with minibreakout board 1.8v and relay of the 5v

Jump to solution

Hi guys,

I'm having trouble trigger 5v relay from intel edison with minibreakout board because which uses 1.8v logic.

Does this product solve my problem:

(https://www.adafruit.com/products/757 https://www.adafruit.com/products/757 )

0 Kudos

Accepted Solutions
IIstv
New Contributor I
61 Views

PCB companies usually expect PCB files in GERBER format. It is generated by every PCB design software.

So first design the circuitry, then the PCB, and send them the GERBER files.

Just copy the ADS7951 page of the Arduino Kit, then attach two ACS712 to two of its analog inputs, and done.

I recommend to attach them through a jumper, so that you could test the ADS7951 without the rest first.

How to use the ACS712: you can google for its pdf datasheet, and you will get a sample schematics.

Not a very complicated schematics, but it is quite time consuming to draw it. If this is your first time, better have your drawings checked before you proceed with the PCB.

(The ACS712 is insulated, but devil never sleeps )

For electronic design I recommend Eagle, but lately I used KiCad and found it surprisingly good. Moreover it is without absolutely any limitation in its licence. Another nice and easy tool is Diptrace, which is also free up to a limited board size.

Istvan

P.s. We still don't have too many details of your app, but if the measured current is in galvanic connection with the mains, take care of safety precautions.

View solution in original post

19 Replies
IIstv
New Contributor I
61 Views

The BSS138 FETs on the boar can only provide some 200mA, and the relays inductivity will casue problems too. If your relay needs less current than this, it may work, but this level shifter was really not meant for that.

I would think, you need something like this:

https://www.sparkfun.com/products/13815?_ga=1.269052401.1601433795.1447764327 SparkFun Beefcake Relay Control Kit (Ver. 2.0) - KIT-13815 - SparkFun Electronics

As a matter of fact you don't need the whole board. If you have your own relay, you only need R2, Q1, D1, D2.

nDE_S
New Contributor I
61 Views

Hi if,

My problem is similar to this:

I put a power supply with 12v and 1A (in j21) and the system keeps sending only1.8V to relay. Relay need 5v.

the product you indicated have a 5v relayI think not solve my problem:

about this site I stay study V_VSYS

IIstv
New Contributor I
61 Views

It is easy to fry the Edison on the 1.8V GPIO ports, so experiment with great care. Only if you know what you are doing.

I think, you have to issues:

1. Where to get the 5V to operate the relay? V_SYS is the Intel Edison power and it should not go above 4.5V in any circumstances. The 5V_VSYS would be over 5V, but I don't think it would be available on the J17, J18, J19, J20 headers. It looks like the only option to find +5V auxiliary power, is the OTG USB connector.

2. Apparently, the 1.8V output cannot drive a 5V relay. But you can switch the 5V, with a transistor, controlled by the 1.8V Edison GPIO. The schematics of the relay board in my previous post (http://cdn.sparkfun.com/datasheets/Components/General/SparkFun_Beefcake_Relay_Control_Kit_v20a.pdf http://cdn.sparkfun.com/datasheets/Components/General/SparkFun_Beefcake_Relay_Control_Kit_v20a.pdf ) is a good example. As I said, you need R2, Q1, D1, D2. Connect the 5V to the VCC of D1, and the Edison GPIO port to the CTRL side of R2, and replace the relay with yours.

nDE_S
New Contributor I
61 Views

Hi if,

One more question please.

My project will use two relays of the 5v.

I have to buy two kits?

IIstv
New Contributor I
61 Views

Yes, you will need two of those.

Do you have practice in circuit design and build? As I said, it is easy to make mistakes, so take very much care.

Istvan

idata
Community Manager
61 Views

Hi Neuberfran,

 

 

That's right! Thanks If for your contribution.

 

 

Neuberfran, as If told you, you can build your own circuit to control your relay following the schematic provided by If. Additionally, I would like to recommend you to read these threads that can be very useful.Hope this information helps; please let us know any update.

 

 

Regards,

 

-Yermi

 

idata
Community Manager
61 Views

 

Hi Neuberfran,

 

 

We would like to know if you were able to connect the 5V relay. Also, if you need any help, please ask.

 

 

Regards,

 

-Yermi

 

nDE_S
New Contributor I
61 Views

Hi -Yermi,

I'm waiting for my technical finish PCB above

nDE_S
New Contributor I
61 Views

Hi,

if,

-Yermi,

How can I do a circuit to use ADC in intel edison with minibreakout board?

Do you have a example?

idata
Community Manager
61 Views

Hi Neuberfran,

 

 

Great! Hope you can finish soon your PCB for controlling the 5V relay.

 

 

On the other hand, the Edison breakout board doesn't include an external ADC, and this is the reason you need to use an external ADC circuit or might use the SparkFun ADC block for Edison.

 

 

The SparkFun ADC block for Edison adds ADC functionality through I2C bus and has only 4 channels. Here you can find more information and details about the ADC block https://www.sparkfun.com/products/13770 https://www.sparkfun.com/products/13770.

 

 

Another option could be using the ADC used by the Arduino Expansion Board (ADS7951), it has 8 channels, and interfaces with the Edison trough SPI, additionally, and you must use a logic level translator because the Edison's IO are 1.8V.

 

 

Hope this information helps, if you have any questions, let me know please.

 

 

Regards,

 

-Yermi

 

IIstv
New Contributor I
61 Views

Hi Neuberfran,

How is it going with the PCB?

As Yermi stated, the Edison does not have a built-in ADC. Thought it has two processors, neither the Atom nor the Quark was added any ADC. Therefore, you need to connect one yourselves.

Sparkfun offers one, but once you use a mini breakout board, I don't know if you can sandwitch the ADC panel between that, and the edison.

The Arduino breakout board has an ADC chip, not a very high performance one, but good enough for domestic purposes:

http://www.ti.com/lit/ds/symlink/ads7951.pdf http://www.ti.com/lit/ds/symlink/ads7951.pdf

Yermi, please tell me if I am wrong, but the datasheet says its digital I/O side can operate in the range 1.7V to 5.25V, so I think it can be connected to the Edison directly, without a level translator.

The ADC circuitry is page 5 of the Arduino board schematics, and it goes to directly to the 70-pin HIROSE connector. (And supplied with 1.8V).

http://www.intel.com/content/dam/support/us/en/documents/edison/sb/edison_arduino_hvm_8_26.pdf http://www.intel.com/content/dam/support/us/en/documents/edison/sb/edison_arduino_hvm_8_26.pdf

I think the best choice is to use this - from the software point of view I would surely recommend it.

What voltage level do you want to measure? How many inputs do you need? The Arduino board only connects 6 ADC channels to the outside world, but the chip has 8 inputs, so if you build your own board, you can utilise them all.

Istvan

nDE_S
New Contributor I
61 Views

Hi if,

-Yermi,

My first problem (topic) I solved with above circuit (0.7v is sufficient to active relay). I came in contact with sparkfun but they sell not only arduino breakout board without kit. I have minibreakout board to that project.

https://www.youtube.com/watch?v=FH9-ceVrvw8 Intel Edison - Project Toggle State Light - YouTube

About above video I'm thinking of creating a circuit with ads7951 and acs712 to two lights and connect it to SPi of the minibreakout board. About this I have two questions:

1) What about voltage of the circuit do connect in m-bb:

2) Do you know some Chinese company that can build that circuit for me

IIstv
New Contributor I
61 Views

Hi Neuberfran,

First Q2: No, I usually don't need to work with Chinese companies. We can utilize some good facilities nearby for bulk production. Prototyping I do myself.

Q1: Not sure what you are asking. If it is the signal path voltage level, I should say: the digital I/O of the 7951 can be connected to the Edison if +VBD= 1.8V (pin21 of 7951). The analog side: according to the datasheets, the 7951 can bear 2*VREF + 0.2V on its analog input, and the recommended VREF is 2.5V, so the analog input maximum level is 5.2V (Don't forget to select the 2*VREF input range in the Mode Control Register). So it is safe to connect it to the 5V output of the acs712.

I would do it step-by-step: first the ADC, then test it, then the current sensor, test it, finally connect.

Istvan

idata
Community Manager
61 Views

Hi guys,

 

 

Great Neuberfran! You have activated the relay using m-bb.

 

I would like you to explain with some more details your first question, however, as Istvan told you, I'll do it step-by-step.

 

 

Regarding your second question, I found these links http://www.pcbcart.com/ www.pcbcart.com and http://www.ezpcb.com/ www.ezpcb.com, I've never used these personally, but you can put in contact with them for more information.

 

 

I'll be waiting if you have any questions.

 

 

Regards,

 

-Yermi

 

nDE_S
New Contributor I
61 Views

Hi -Yermi,

Surely they will ask for a pdf board (circuit) I'm wondering.

Do you understand my project?

(joing ads7951 and two acs712 )

IIstv
New Contributor I
62 Views

PCB companies usually expect PCB files in GERBER format. It is generated by every PCB design software.

So first design the circuitry, then the PCB, and send them the GERBER files.

Just copy the ADS7951 page of the Arduino Kit, then attach two ACS712 to two of its analog inputs, and done.

I recommend to attach them through a jumper, so that you could test the ADS7951 without the rest first.

How to use the ACS712: you can google for its pdf datasheet, and you will get a sample schematics.

Not a very complicated schematics, but it is quite time consuming to draw it. If this is your first time, better have your drawings checked before you proceed with the PCB.

(The ACS712 is insulated, but devil never sleeps )

For electronic design I recommend Eagle, but lately I used KiCad and found it surprisingly good. Moreover it is without absolutely any limitation in its licence. Another nice and easy tool is Diptrace, which is also free up to a limited board size.

Istvan

P.s. We still don't have too many details of your app, but if the measured current is in galvanic connection with the mains, take care of safety precautions.

View solution in original post

idata
Community Manager
61 Views

Hi guys,

 

 

Yes neuberfran, they'll usually expect PCB files, also I've understood that you want to join ads7951 and acs712, however, I've seen that if are provided very helpful information in their previous posts, so I would suggest you following that and if you have any questions, let us know please.

 

 

Regards,

 

-Yermi

 

nDE_S
New Contributor I
61 Views

Hi if,

Hi –Yermi,

I will not need use galvanic connection

( http://www402.abbext.com/what-meant-Galavanic-Galvanic-Isolation-isolated-IO-modules-S800-Series-q37...)

I am a software man

I am not able to generate GERBER file format or PDF to send to company

If you can do it for me using their knowledge of intel Edison and m-bb and this video: https://www.youtube.com/watch?v=FH9-ceVrvw8 https://www.youtube.com/watch?v=FH9-ceVrvw8 OK Thank's. If NOT, no problem.

The above answers is correct

idata
Community Manager
61 Views

Hi Neuberfran,

 

 

We're more than glad that you have solved your original issue, unfortunately we don't offer that service (Design your PCB circuit and generate GERBER files), so we won't be able to help you with that.

 

 

Regards,

 

-Yermi