452 do not have internal USB controller, so you need to use either FT232 or change Microcontroller to something else, let say 18F4552.
What kind of problem you have to program your devices?
Mahdi.
My friend,
I'm sure about 452. It does not have the peripheral to connect to USB port directly and if you want to connect it you need some other intermediate module.
As far as I have no idea about your BT module, I assume that it may be connected to the microcontroller using serial port or SPI or ... .
Then you need to connect your BT to MCU and MCU to USB, now what you have is a Bluetooth device that is connectable to PC USB.
Let me know if I got your project right.
Mahdi.
Hi,
Your posts are a little confusing so first lets ask if this is what you are trying to do - please see the jpeg below.
From the little inforamtion I can find on the Pearl Blue it outputs its data in USART serial mode so it must connect to the USART port of the 18F452.
As Mahdi already said, the 452 chip does not have inbuilt USB so you can only connect to a PC by RS232 - which as the Pear Blue is connected to the only hardware USART you will need a software USART to talk to the PC.
You have said twice that your 452 connects to the PC by USB - well the 452 chip itself cannot do that, so I must assume you are talking about the 452 chip being on an existing board that has either a USB programmer/ converter built onto it or some other kind of USB converter.
Can you say if this is what you have got.
You make no mention of how you intend to program up all this, have you done any before ??
Hello,
There are many problems that you will have to solve for your project to work:
1. As both Mahdi and, wp100 said, 452 doesn't have a USB controller at all. Moreover, all PIC 18Fxxxx family are USB slaves, which means that they can't initiate communication through USB. I mean there must be a Host(Master) chip that will initiate that communication. So, you will have to go higher for PIC32Fxxxx family.
**broken link removed**
2. After you get your PIC32, you will have to implement a "Bluetooth Stack" to communicate with your bluetooth module. This is not an easy job for even an intermediate experienced one.
3. On the PC side, you will have to make a small software that will use another bluetooth module to communicate with your circuit. This require some knowledge in C#
For more information, you can check this thread:
https://www.edaboard.com/threads/84108/#post788596
Hope this helps.
Hello,
There are many problems that you will have to solve for your project to work:
1. As both Mahdi and, wp100 said, 452 doesn't have a USB controller at all. Moreover, all PIC 18Fxxxx family are USB slaves, which means that they can't initiate communication through USB. I mean there must be a Host(Master) chip that will initiate that communication. So, you will have to go higher for PIC32Fxxxx family.
**broken link removed**
2. After you get your PIC32, you will have to implement a "Bluetooth Stack" to communicate with your bluetooth module. This is not an easy job for even an intermediate experienced one.
3. On the PC side, you will have to make a small software that will use another bluetooth module to communicate with your circuit. This require some knowledge in C#
For more information, you can check this thread:
https://www.edaboard.com/threads/84108/#post788596
Hope this helps.
PIC32 is a very complete MCU, but you have another opportunity and that is PIC24 family that supports USB and USB OTG.
USB OTG means your MCU can operate as master or slave of USB. There is also a free to download version of C30 which is the C compiler for PIC24 and seperated USB libraries that all can be received from Microchip.
I still warn you that if you are new with programming and microcontrollers do not try USB, now.
Get experience and then start.
Mahdi.
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?