• Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

Oshonsoft USB Demo1 Project

ericgibbs

Well-Known Member
Most Helpful Member
Thread starter #1
Hi,
A simple USB PC module for controlling a Oshonsoft HID USB based 18F2550 PIC.
All the programs and schematics are included in the attached zip file.
 

Attachments

ericgibbs

Well-Known Member
Most Helpful Member
Thread starter #4
Hidterm.ocx is missing where do I find that
hi,
You will need the USB option from Oshonsoft, to enable the module to run.

I have attached a zip and an exe file.
The term2.exe file is the next stage of development, I am planning to bring out the final version during the next few days.
 

Attachments

Last edited:

ericgibbs

Well-Known Member
Most Helpful Member
Thread starter #5
hi,
I have re-zipped the files to include the ocx,oca and basic2.exe

EDIT: 26 Nov 2011
Added the VB5 source code and other files. [USB_Terminal2F.zip]
Download load and unzip both zips, Oshonsoft [USB_Demo2.zip]

You need both zips to run in Oshonsoft and VB5 on the PC
 

Attachments

Last edited:

be80be

Well-Known Member
#6
Eric Thanks for all your hard work, or is it fun.

Just down loaded it. Math is kicking my butt in college that and writing

Should of finish my EE degree when I was a boy not 30 years latter LOL.

But now days they want you to have a degree.
 

ericgibbs

Well-Known Member
Most Helpful Member
Thread starter #7
Eric Thanks for all your hard work, or is it fun.

Just down loaded it. Math is kicking my butt in college that and writing

Should of finish my EE degree when I was a boy not 30 years latter LOL.

But now days they want you to have a degree.
Burt,
Its still fun for me....:)

Problem for you Burt, had you done your degree 30 years ago, you wouldn't have been taught PIC's at that time. More like the Z80 mcu types.!

The latest scientific trials have clearly shown that its possible to continue studying and learning into very old age, so you have a long ways to go yet.

You are still a spring chicken, so keep at it.

If you have any suggestions about that USB module, changes or additions I would like to hear them.
 
#8
Hi everyone,

I have successfully done the Oshonsoft USB Demo1 Project. I can't edit the sample VB project (on the PC). Can anybody help me pls ?
 

ericgibbs

Well-Known Member
Most Helpful Member
Thread starter #10
Hi everyone,

I have successfully done the Oshonsoft USB Demo1 Project. I can't edit the sample VB project (on the PC). Can anybody help me pls ?
hi,
The VB source code is editable.?
What is the problem you are having.? are you able to write VB5 code.?

Please post more details of what you are trying to do.

EDIT:
Just checked the Demo1 link, the VB5 source is no longer there.???? I will repost later.
 
Last edited:

ericgibbs

Well-Known Member
Most Helpful Member
Thread starter #11

Attachments

Last edited:

duffy

New Member
#12
This looks mighty cool, Eric. Should be helpful to a lot of people fighting their way through a USB design.
 

ericgibbs

Well-Known Member
Most Helpful Member
Thread starter #14
I just have a question, this programs cant be simulated because you cant simulate the usb conction I´m right? thanks
hi,
You are correct, its not possible to run a USB simulation in the Oshonsoft IDE.
 
#16
Hi, I was trying to conect everything, I´m having trouble with my LCD because I have a differ model, y made the conecction and programing changes that apply to mine but still not working. This part of the LCD by now is the least I want to make work. By the other hand and the part I´m most interested is that I cant still conect to the usb and de pc the .exe file it tells me "HID connection failed" my next step is to change my 18f4550 for a 18f2550 maybe thats my problem but I want to ask the following: I remember that somewhere I read about adding de HID to de PC this step if its needed I had not do it, so I have to do it ? if so how?
thanks for your help
 

ericgibbs

Well-Known Member
Most Helpful Member
Thread starter #17
hi jose,

Do you have the Registered version of the Oshonsoft USB option.??

The 18F4550 will work OK as well as the 18F2550.

On your circuit do you have a 20MHz crystal and a 1meg ohm resistor in parallel, with the two 22pF capacitors to 0V, also is the Vusb capacitor 0.47uF.??

Do you have the hidterm.ocx, oca, dll in your Windows/Systems folder.?
 
#18
hi Eric thanks for your help,
1. the register version of the oshonsoft USB option I checked and have the following information ( I have version 2.73 and I went to "help> View License Information>Info and got the 32 bit Math Support -Enable; Structure Lenguage Support - Enable; USB Support - Enable)
2. yes I have the 1M resistor with both 22pf capacitors and the 0.47uF capacitor
3. I missed de dll where can I get it?
 

ericgibbs

Well-Known Member
Most Helpful Member
Thread starter #19
hi,
Check your USB devices.

Use Start/Settings/Control/System/Hardware/Device Manager.

This is an image of my settings.

This is the dll, [ remove the .txt extension, I have to add that to upload].

Post your program I will try it.
 

ericgibbs

Well-Known Member
Most Helpful Member
Thread starter #20
hi,
Download and run this SnoopyPro.exe, Select 'View' from menu, press key F2 and you should see the HID installed information.

This image is mine.
 
Last edited:

Latest threads

EE World Online Articles

Loading

 
Top