I mean, without relying on libs -- you should be able to do an Keypad-based engine immobilizer with under 500 bytes of program space.
Same goes for a Speed Limiter / Voltmeter (or similar) for your car.
USB to UART bridge using PIC18F4550
Re: USB to UART bridge using PIC18F4550
The problem with libs is that they need to throw in everything that's in the package in prog memory.
There might be 200 functions in them and you only make use of 3 of them.
What a waste of resources that is!
There might be 200 functions in them and you only make use of 3 of them.
What a waste of resources that is!
Re: USB to UART bridge using PIC18F4550
Actually, only the procedures that are used in the program are linked into the final product.T.Jackson wrote:The problem with libs is that they need to throw in everything that's in the package in prog memory.
There might be 200 functions in them and you only make use of 3 of them.
What a waste of resources that is!
Kind regards, Dany.
Forget your perfect offering. There is a crack in everything, that's how the light gets in... (L. Cohen)
Remember when we were young? We shone like the sun. (David Gilmour)
Forget your perfect offering. There is a crack in everything, that's how the light gets in... (L. Cohen)
Remember when we were young? We shone like the sun. (David Gilmour)
Re: USB to UART bridge using PIC18F4550
This will be difficult with the available software. To make [iPhone -> USB -> PIC18F4550 -> UART module] you need USB host software in your PIC, and as far as I know mE does not have that, see the comment of drdoug. Furthermore I do not know if it is possible to make an 18F4550 function as an USB host, see http://www.mikroe.com/forum/viewtopic.p ... st#p129961.constructor wrote:Hi T.Jackson and thank you for your quick reply,
I'd like to develop a small external device for my iPhone where the the data from the iPhone's USB port will be accessible from an other module that I would like to connect, that uses the UART interface.
[iPhone -> USB -> PIC18F4550 -> UART module]
I know that iPhone has a built - in UART port but it won't offer baud rates > 57600bps. Because I would like to run the module's UART @ 921600 bps, I have to go this way.
So... anyway to get started with the mikroC USB Library?
Thank you.
Kind regards, Dany.
Forget your perfect offering. There is a crack in everything, that's how the light gets in... (L. Cohen)
Remember when we were young? We shone like the sun. (David Gilmour)
Forget your perfect offering. There is a crack in everything, that's how the light gets in... (L. Cohen)
Remember when we were young? We shone like the sun. (David Gilmour)