Page 1 of 1

Use of Expansion ports

Posted: Thu May 04, 2017 3:34 pm
by joubertmorne
I have hit a brick wall with my project and I hope someone can help me.

My setup is as follows:

16F1937
EB024 Bluetooth Board
EB014 Keypad
EB005 LCD Board
Formula Allcode

I have been tasked to program a Microcontroller with a script that controls a Formula allcode robot. I was successful in doing this.

Next, I am required to fire a laser (which will be attached to the robot) for 1 second when an input is received from the keypad (attached to the microcontroller). My thoughts are to make use of a combination of the expansion ports and a transistor/relay as 5V is available on both expansion and servo port.

Any help would be much appreciated.

Re: Use of Expansion ports

Posted: Sat May 06, 2017 1:05 am
by joubertmorne
The solution was to make use of the E-Blocks Header which has pins that activate when the corresponding LED is lit. In my case, the transistor switch circuit was activated through pin E0 which toggles with LEDon/off (0). :D