Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Altera DE2 115 GPIO pin

Status
Not open for further replies.

Oscar99haha

Newbie
Joined
Jul 13, 2022
Messages
3
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
29
Hi I was trying to connect my altera de2-115 board to external 5V relay. The output gpio 11 is depends on my switch 17. When switch 17 is turn up, gpio 11 will output to 5V relay. i tried it on my own but why does the GPIO not giving any output? And also my pin planner had set it to 3.3V. Attached below with my code (Verilog).

Code:
module testonly(GPIO, SW, LEDR);

input [17:0] SW;
output [11:0] GPIO;
output [17:0] LEDR;

assign LEDR[17]=SW[17];
assign GPIO[11]=SW[17];

endmodule
 

DE2-115 GPIO can't drive 5 V relays. Actual output voltage depends on VCCIO setting which can be set between 1.5 and 3.3V by jumpers. GPIO have also protection diodes and 47 ohm series resistor.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top