Hi,
Assuming I take the SD card from my camera and connect it to the PIC. How can I use this PIC to read and transmit the jpg image back to the PC via serial port? The PC does not have a SD card...
Type: Posts; User: Pic2008; Keyword(s):
Hi,
Assuming I take the SD card from my camera and connect it to the PIC. How can I use this PIC to read and transmit the jpg image back to the PC via serial port? The PC does not have a SD card...
I want to know if it is possible to plug USB thumb drive into PIC18 and retrieve the data stored in the USB thumbdrive and write data to this USB thumbdrive?
Any idea will be much appreciated.
Can someone explain to me how the 240VAC after rectification can come down to +12VDC?
Since Picbasic does not support sleep mode and resume in USB, how can the PIC product be certified? I'm planning to use PIC18F. There is no external 5V power and the PIC18F draws its power from the...
Oh, but sending in multiple packets might result in delay in time sensitive application. But looks like I have no other choice.
Thanks for the suggestion.
Just a question, how do I configure the USB demo to send 550 bytes of data instead of the default 8? I tried setting the PBP code to:
USBBufferSizeRX con 550 ' output
USBBufferIn ...
Using 20Mhz crystal.
Config is:
__CONFIG _CONFIG1L, _PLLDIV_5_1L & _CPUDIV_OSC1_PLL2_1L & _USBDIV_2_1L
__CONFIG _CONFIG1H, _FOSC_HSPLL_HS_1H & _FCMEN_OFF_1H & _IESO_OFF_1H
...
I can't seem to get the USB to work with PIC18F4550 using the KBDDESC.ASM
I keep getting USB error if i plug in the PIC.
buffer Var Byte[8]
loopcnt Var Byte
state Var Byte
Melanie, I thought RS232 required negative voltage eg -12V? All this while I thought MAX232 is needed to generate +12V and -12V for the signalling.
Ok, thanks Darrel. It works now.
Hi Darrel,
i already use
DEFINE HSER_EVEN 1
DEFINE HSER_BITS 9
but in hyperterminal it shows garbage. I set hyperterminal to 8 data bit, even parity, 1 stop bit.
If i dont use the...
Correct since you are using BRG16=0. Note that mine is BRG16=1.
But my problem is not the bps, it is the parity. It all works fine without parity.
Anyone else can help?
'PIC18F4550
__CONFIG _CONFIG1L, _PLLDIV_5_1L & _CPUDIV_OSC1_PLL2_1L & _USBDIV_2_1L
__CONFIG _CONFIG1H, _FOSC_HSPLL_HS_1H & _FCMEN_OFF_1H & _IESO_OFF_1H
__CONFIG ...
"Clear" means clear all variables in the RAM, or does it clear the register to the default state also eg TRISA, PORTB etc?
Due to time limitation, what is the fastest way to clear an array without using "For ...next" loop?
Any idea?
Did you try to include the following:
DEFINE OSC 20 ' 20Mhz Osc
I have no problem here using "goto loop"
Anyone knows how to create a USB-RS232 emulator so that the PC application see the PIC as a RS232 COM connection instead of a USB connection? I plan to use PIC18F4550.
Any idea how to read string with variable length? In HSERIN command, I'm not sure how I can allocate the variables since the length of data can change eg.
AB
CDEF
GHI
JKLMNO
Your help is...
Using AT+CMGS= to send the sms to a tel number.
Is there another way where I can put more than 1 tel number and send the same sms at the same time together, so I dont have to repeat the above...
Thanks Arati for the advice.
Using AT+CMGL command, assuming if I got more than 1 new SMS within the same time period, how would I go about reading/detecting the next new SMS?
Should I just...
No luck. Actually I declare variable message VAR BYTE
I tried to send back SMS for message\4
This is what I got when I send ABC earlier to this GSM module.
AB9
If I send ABCDEF and i...
I can send and receive SMS in "text mode" using a Siemens GSM module connected to PIC.
I'm sending 2 chars AB from a remote mobile phone. In the PIC, it can receive AB.
I have declared
data...
Have you connected the polarity of the speaker correctly?
What do you see on that pin using oscilloscope?
Make sure you have disable analog pin and chg it to digital output (if applicable).
Can you explain what you meant by not working? is it cannot read the input, set the output, compilation error etc?