- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I have a problem with using GPIO pins. If I have nothing connected to the pin that I want to use, then it works well (it changes its value from 0 to 1 and from 1 to 0 if I want to), but when I connected VCC pin from another device to that pin, then I can't change port's value from 0 to 1. The idea is to make this external device run once in a while, so I want to let's say set the pin to which the VCC is connected to 1 every 10 seconds, and after that change it to 0 so that this external device will not be working more. Could anyone help me with this? I set the pin to digital output with the Strong Drive mode and Initial state drive to 0. And I'm using Port 1.5 which is pin 42.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How much current is your external device drawing from the PSoC pin?
Which board are you using? CY8CKIT-0??
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm using CY8CKIT - 049 and the external device is ESP8266 module when I connect it to the VCC pin then it works just fine, the problem is when I'm trying to change from VCC pin to that 1.5 Port
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The GPIO pins have a current limit (25 mA iirc), and the device you are wanting to power is 56 mA of typical draw (up to 150 if active radio...)
http://espressif.com/sites/default/files/documentation/0a-esp8266ex_datasheet_en.pdf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for reply, so is there any way to do that as I described? or it has to be connected to the VCC pin?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Consider using 3 pins in parallel,
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Or just use a PNP-transistor to turn your device on and off.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Mario,
To increase the total source or sink capabilities of the circuit, GPIO pins can be ganged. Please refer section 6.11(page 57) in this document.
http://www.cypress.com/file/127101/download
Best Regardss,
VSRS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for Your replies, I think I will try with the transistor