PIC18F46J50 USB HID and SD Card 4 Channel Datalogger

Status
Not open for further replies.
Joined
Jul 25, 2012
Messages
1,192
Helped
171
Reputation
342
Reaction score
162
Trophy points
1,343
Visit site
Activity points
0
Hello!

Here is my modified project PIC18F46J50 USB HID and SD Card 4 Channel Datalogger running at 20MHz. Code written in miroC Pro 5.6.0.

put the mcHID.dll file in windows\system32 folder and run the vb.net setup.exe file. After install run the installed vb.net app.

Start proteus simulation. (proteus file datalogger.dsn is inside the .rar file)

In the vb.net app click different tabs to see the progress bar (temperature) vary depending upon the tab (Channel) selected.

To create .mmc file WinImage was used.

Report bugs.

Screenshot attached.

---------------------Updated file-----------------

dataologger v3.rar

I am getting some "[MMC CMD] Command Unsupoorted" warning in Proteus. If anybody knows how to solve the issue, please mention it.



--------------------Updated file-----------------

datalogger v4.rar


Thanks
Jayanth D
 

Attachments

  • simss.jpg
    339.6 KB · Views: 395
  • datalogger v2.rar
    401.2 KB · Views: 445
  • datalogger v3.rar
    401.3 KB · Views: 378
  • datalogger v4.rar
    420.2 KB · Views: 623
Last edited:

Time ago I investigated the control of SD memory. Thank for excellent project.
 

Dear internetuser2k12
please send me your vb and c source code. it is so much helpful for me for making my final year project. please help me
my email address is xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

MOD: NO PRIVATE SHARING
 
Last edited by a moderator:

I have 18F4550 chip. will it work for 18F4550? what should be the configuration bits/word?
 

@embpic

mcHID.dll only works with Visual Basic.Net. You can't use it with VC#.Net

You can use easyUSBHIDNetClass.dll which works with VB.Net and VC#.Net

I don't have the project files now. If anybody needs sourcecode then mention it I will make a new project and post it.
 

internetuser2k12... How do you can resolve the problem of simulation in Proteus? In many examples when the software read Mmc_Fat_Inic() the Proteus don't work... your code work very well!.
 

If the SPI pins of MCU has additional functions like ADC, etc... then disable them and make the pins digital IO then MMC_Fat_Init will work. I have used winImage to create .mmc file for Proteus. First create .IMA file and then save it as .mmc file for Proteus MMC Card.
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…