334 Threads found on edaboard.com: Pic Mode
I assume you're using an older MCU like an AVR or pic which are specced for 5V operation. To get extended battery life you should use a 3V MCU powered directly from the batteries, or with a LDO with very low IQ (many CMOS LDOs have Iq in the uA range). If you are clever with your component selection and use sleep modes correctly, one can reduce pow
Power Electronics :: 11-29-2016 12:54 :: mtwieg :: Replies: 12 :: Views: 869
Easyrider83 is correct, even if the answer isn't what you wanted to hear :smile:
That pin is an input only, you can't use it to control anything outside the pic.
Microcontrollers :: 07-12-2016 11:19 :: betwixt :: Replies: 2 :: Views: 368
Hi all, I am trying to write a code for pic so that it can carry out different function depends on setting mode.
Default mode: both LED blinking
mode 1 : LED 1 is blinking
mode 2 : LED 2 is blinking
But my code doesnt work as what i thought. I am using IF statement
my code is as below:
Microcontrollers :: 01-17-2016 03:59 :: alpha91 :: Replies: 0 :: Views: 428
i want to build on off programable switch using pjc when i search on net then this project is find.
link of project=
but the problem is this code is only for one cycle of relay on and off operation ...
i need relay on off on off after given time un
Microcontrollers :: 12-13-2015 11:09 :: hamidooon :: Replies: 3 :: Views: 1157
I want interface RAM with pic18f87k22 for store data, more specifically i want declare variable in the address of external RAM. After reading bunch of forum i conclude that i have to interface RAM parallel, which is supported by this cpu and use extended mode.
(See attachment for clarification)
I am not able find specific documentation about it.
Microcontrollers :: 11-17-2015 09:01 :: dhakeparag81 :: Replies: 2 :: Views: 698
This is pic Programmer Schematic:
The VPP here is sourced directly from pic pin, is it okay? Shouldn't it be sourced from 5V+ rail?
Also, can I put some other PNP/NPN transistors in the place of those (BF959 and BC328) if I don't have them?
Thanks in advance
Microcontrollers :: 11-07-2015 20:23 :: K33rg4t3 :: Replies: 4 :: Views: 662
Please show a schematic. It is probably an electical issue rather than software. Are you using LVP mode to program the pic?
Microcontrollers :: 10-27-2015 21:48 :: betwixt :: Replies: 5 :: Views: 664
i am having xbee2 module, my aim is to transmit serial data wirelessely. i am using xbee in transparent mode.
i am having a pic micro 18f25k22 that operates in 3.3v . now i am printing a serial message "testing xbee" this is done if connect to hyperteminal i can see this. now i connected the tx terminal of pic to D-IN terminal of xbee, on (...)
Microcontrollers :: 10-16-2015 17:53 :: raman00084 :: Replies: 0 :: Views: 400
I m configuring CAN controller. i m using mcp2515 can controller and 16f876a pic.
I read the datasheet, adn as per data sheet
configure the bit time in Configuration mode so i done it.
Now what should i configure, i m confused.
is i have to configure the reception in Configuration mode only?
How to proceed?
Microcontrollers :: 07-18-2015 15:12 :: ep.hobbyiest :: Replies: 0 :: Views: 470
NEVER put 13V on MCLR for normal use. It puts the pic into programming mode so it should only be used by your programming equipment to load the code into the IC. At any other time it is quite likely to corrupt the program. You should have it pulled to 5V (or whatever VDD voltage you use) so the pic is taken out of reset state.
Microcontrollers :: 05-27-2015 20:19 :: betwixt :: Replies: 4 :: Views: 588
Hi again, with a 2 or more channel chip (like FT2232H or FT4232H) how can you set what channel will be active to the usb at a time..? E.g one channel is used to get the sample data from pic to PC and from the other channel i want to send a command to pic. How the command will be inserted into the USB bus as the other channel uses it..?[
Microcontrollers :: 05-30-2015 10:12 :: KlausST :: Replies: 37 :: Views: 2647
You have to display data in two different modes and use Timer interrupts. If you want I will write a program for you. Which MCU you want to use? pic, AVR, 8051 ? What crystal frequency will you use ?
- - - Updated - - -
You have to use a button to toggle the display mode. If button status is 0 then adc value
Microcontrollers :: 05-12-2015 07:36 :: milan.rajik :: Replies: 3 :: Views: 801
This book "Embedded C Programming and the Microchip pic" contains the solution but it is CCS C Code. You can convert it to Hi-Tech picC code. Buy the book.
Microcontrollers :: 03-15-2015 05:34 :: milan.rajik :: Replies: 6 :: Views: 1282
I'm using pic18f24j11. In my application my pic IC is connected to Bluetooth Module through UART. Both sharing same power source from battery.
My problem is : When i program my pic IC in release mode I'm able to see the data on RX line from the BLE Module to pic IC. But when I program my (...)
Microcontrollers :: 03-06-2015 02:26 :: kirangkr :: Replies: 1 :: Views: 568
I am interfacing s25FL032P flash memory with my pic through SPI. how to calculate and set SCK required to use.
For normal read mode in S25FL032P speed is 40Mhz clock speed. For setting prescalar bits in SPIxCON1 of pic24 how do I calculate the what prescalar values i need to choose (...)
Microcontrollers :: 01-12-2015 06:36 :: Raady Here :: Replies: 1 :: Views: 976
I would use a dual one shot with suitable buffer and current limiter R to a few Watts of white LEDs, over driven but not to exceed max I with < 20% duty cycle.
1st one shot in retriggerable multistable vibrator or oscillator mode adjusts f vs R over a very wide f range with suitable RC values and Rmin limit. Then output drives 2nd one shot in asta
Microcontrollers :: 12-06-2014 19:58 :: SunnySkyguy :: Replies: 12 :: Views: 1875
Greetings to the Champions of electronics.
I must say that I am just a novice in this field and am working on projects like gsm automation and automatic toll collector system using pic16f877a.
I have managed to complete the hardware, everything seems to be fine.
I am using pickit2 programmer which shows the attempt to program as
Microcontrollers :: 11-19-2014 08:25 :: LeoStar :: Replies: 4 :: Views: 1154
There aren't much I2C devices that support 3.4 MHz "Hs" mode. pic processors e.g. don't.
Microcontrollers :: 11-18-2014 16:38 :: FvM :: Replies: 11 :: Views: 1570
I am trying to interface pic628A with WT32i.
pic has USART interface and WT32 has UART pins.
Knowing that "Synchronous mode (USART) requires both data and a clock and asynchronous mode (UART) requires only data"
I concluded that I have to connect pins 8 and 9 of pic to respective WT32 pins (16 and 15) (...)
Microcontrollers :: 10-21-2014 16:38 :: adeel.sid :: Replies: 1 :: Views: 1445
I presume "PWM" means in this case that a pic timer is used in PWM mode to generate a square wave of fixed duty cycle.
We get a 5V square wave at the MOSFET drain (or less, depending on the LC values). It will generate an AC current through the LC circuit. If LC is tuned to 125 kHz, it's mostly a 125 kHz sine current.
Microcontrollers :: 08-16-2014 09:12 :: FvM :: Replies: 4 :: Views: 643