I have been working on file transfer through the USB Port and have made a program that will copy any file (currently limited to 512KB and below) from SD card to the HP Prime. You just enter the filename and the amount of bytes that you want to copy of it.

There is currently a lot of storage on the HP Prime, but given it's processing power, you can quickly gather a large amount of data, this is an external storage option. It's fast enough I suppose, I think it is now limited by the speed of the BASIC programs that we can run on the HP Prime.
This is good stuff, thanks for sharing. For those of us who don't write HP Prime software too frequently, how does this work? Does the BASIC language have commands to communicate with USB serial devices over the USB port, or is there something more complex happening?
Yeah, the HP Prime PL has got 3 simple USB HID commands. USBOpen() which allows the device to connect to another USB device over its USB port. USBRecv() which returns the last 64 bytes in the HID buffer and USBTrans() which sends up to 64 bytes at a time.

Then on the Arduino end, the Arduino Leonardo can act as a USB host, and along with the Arduino HID Project library, it can send and receive raw HID data.

The combination of the 2 obviously opens up a whole world of interfacing capabilities as the Arduino has a massive amount of i/o and libraries, this is just one of the recent projects I have been playing with using a combination of the 2.
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

» Go to Registration page
Page 1 of 1
» All times are UTC - 5 Hours
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum