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.
Use of Expansion ports
-
- Posts: 4
- Joined: Tue May 02, 2017 9:57 pm
- Has thanked: 1 time
- Been thanked: 2 times
-
- Posts: 4
- Joined: Tue May 02, 2017 9:57 pm
- Has thanked: 1 time
- Been thanked: 2 times
Re: Use of Expansion ports
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).