HOME  |  NEWS  |  BLOGS  |  MESSAGES  |  FEATURES  |  VIDEOS  |  WEBINARS  |  INDUSTRIES  |  FOCUS ON FUNDAMENTALS
  |  REGISTER  |  LOGIN  |  HELP
Comments
You must login to participate in this chat. Please login.

Not used emb. USB the PIC way dongle

Kentj declared it SOLD!

"See" everyone tomorrow!!

Blogger

The thanks go to all of you that attended today.

 

Blogger

Twice, Sold American!

Iron

Thanks Fred, Rob, Digi-Key, and Design News.

Thanks Fred.  I'm out.

Any more questions?

 

Blogger

Ahah!  Unfortunately the only TMC driver I have found is in Linux.  I have a lot of translating to do.

Iron

@Kentj

HID = Human Interface Device Class

HID is part of the Microchip USB Framework.

Blogger

Did I answer my own question when I said I have to write my own USB/TMC driver?  in other words, is HID a class too?

Iron

@vlad

Chapter 8 of the book Advanced PIC Microcontroller Projects in C by Dogan Ibrahim may be helpful in conjunction with the USB spec because it has examples in addition to explanation of all Descriptors including HID.  It is titled "Advanced PIC18 Projects -- USB Bus Projects."  I cannot claim that it will necessarily answer your specific questions because I have not done a USB project using the chapter info yet.

 

If you do not want to purchase the book, try Interlibrary Loan through a local library.

@bvsmith

Yep.. It is part of the USB Demo package.

Blogger

Fred, on slide 16 of today's package, is the window that shows the USB HID DEvice List also by Kadtronix?  I looked at the user manual for their API Library, and I see the window that is on slide 18, but I don't see the window like on slide 16. 

Any more questions?

 

Blogger

Good to know in advance; thanks and over-and-out.

Iron

@gbabecki - The MLAs are easy to install and by default(?) will install into a separate directory tree for each version. They download as an .exe installer.

Iron

@gbabecki

Yep.. You can install only the portions you are interested in.  For example, when I do USB projects I only install the USB packages.  You can install multiple directories that way.  One for a TCP/IP project another for a USB project and so forth.  The latest MLA for general purpose use is 2013-06-15.  If you want to move towards Harmony, the 2013-12-20 package is geared that way.

Blogger

@Fred: Have a great day! "See" you tomorrow.

Iron

@Fred

Oooooh, one last question:  are the Microchip MLA's easy to install?  I have really plugged in one of them to date.  Thanks.

Iron

I had a bunch of fun today.  I hope you all did too.

Are there any more questions?

 

Blogger

thanks fred, rob, digikey and ieee

@vlad

The best thing to do is read Chapter 9 of the USB spec and go through the Microchip MLA demos.

There is a web site that explains USB concepts.  I don't know its name off hand.  Search on USB Primer.

Jan Axelson's books are great too. I've written numerous articles on HID and USB for Nuts and Volts magazine.

Blogger

I got everything I need Fred.

I resonate with Fred's support of Microchip.  I think Microchip has the best support materials for their products, including hardware and software support.

Thanks RFengineerUMR

Iron

@EmbedXControls :  Correct

Depending on the number of prototype design cycles you have, if you can choose a "fatter" / faster
MCU to do your proof-of-concept, then go for it ; higher-end MCUs will have more features (for
design & debug).  Hence eval boards with headers !

Same thing for FPGA designs ; take a bigger one (expecially if a smaller pin-compatible one is
available) for debugging purposes...

Iron

is there any paricular book/ website where HID apps with PIC microcontroller can be learned? 

Iron

@vlad

 

Today's download

http://www.edtp.com/cec/day3PicCode.zip

To make it quick to locate in the chat, I used the Find function in FireFox and "Fred Eady."  Hope this helped.

Metcal seems to be hosted at techni-tool.com

Iron

@Fred re equipment question

Thanks for the leads on the soldering gear.  "See" you tomorrow.

Iron

Have I missed anyone?

Blogger

Metcal was bought by Oki

Iron

@gbabecki

ESD is the company name. They are all about dispensing.  I have a machine that is foot pedal operated and dispenses  solder using shop air.  It's very precise.  I think Metcal got bought out by someone.  Can't think of the company right now.  The oven came from Manncorp.

Blogger

A certificate for the IEEE Professional Development Hours will be emailed to you as a PDF file within 2 months of the semester end date (semester end dates are 6/30/14 and 12/31/14).

Iron

StephT thanks for your answer. The main thing I understand is comparing the features of each MCU and Memory requirement of my application before choosing a PIC.

Fred I took 5 courser so far in last 3 Months. How do I apply for the IEEE Professional Development Hours credit ?

Thank you Fred.  Tata.

Iron

@EmbedXControls :  

I would guess the 1st (hardest ?) question is knowing if you'll have enough horse power with
an 8b / 16b or 32b device !  Overall BOM cost objective would also help (if realistic for
objective to fill !)
 

Iron

Thank you, Fred... See you tomorrow...

Iron

Thank you all for attending and participating today.

 

Blogger

@Fred re fabrication response: "ESD solder dispenser (when I don't need a stencil from Stencils Unlimited), ESD solder paste, a table top batch oven (not a toaster oven) and Metcal soldering equipment"

What type of solder (paste) dispenser are you referring to; just a syringe when you don't need stencil accuracy?  Also, is the "table top batch oven" also form Metcal or another vendor?  Thanks.

Iron

@Fred   :  thnaks for your answers !   See ya tomorrow !

Iron

Thanks Fred for your answer.

USBView is included in WDK (Windows Driver Kit)

Iron

Thanks StephT for your answer.

@StephT

It doesn't get any better than Jan's books.

Blogger

@Fred: Good presentation, Will look at Microchip offerings more closely. See you Thursday

Iron

To answer my own question: The delayms() function in slide six is subject to failure once every 5.8e18 days or so, if I calculated correctly. That routine would need to be written more carefully if 8- or 16-bit arithmetic were being used.

Iron

Have not used the MCP2200 USB to UART Protocol Converter.

Iron

I forgot to say ... and it will give you a list of the available processors that fit your needs.

Iron

@EmbedXControls :
on the Microchip site, once you chose 8b / 16b / 32b, you have tables of available functions
per device, to help narrow selection.  Also depends on the amount of memory you need.

Iron

@D.Jack

I use ExpressPCB, an ESD solder dispenser (when I don't need a stencil from Stencils Unlimited), ESD solder paste, a table top batch oven (not a toaster oven) and Metcal soldering equipment.  I use a hot air machine for quick changes and repairs.

Blogger

One nice thing about DigiKey's web site is it makes it easy to select the correct processor.  You can pick your peripherals, Flash, EEPROM, RAM sizes, # of ADC's, # of bits for the ADC's etc.

Iron

I've used the free USBview from Microsoft to find the PID/VID and other information for USB devices.  I can't find it on the Microsoft web site right now.  Try searching for USBview.zip.

Iron

@bobybacs

The advantage is spelled "M I C R O C H I P".

Microchip has great support, great field reps and great products.

Blogger

@Fred  ;  
I want to learn more on USB ; I know of Jan Axelson's books ; any other good suggestions ?

Iron

@bvsmith1953

Kadtronix USB HID API LIbrary

Blogger

Hi everybody, unfortunately I am too late

Iron

@Fred - I have a suggestion/request. Could you begin copying the origial questions into your replies? It would make the answers so much more useful for the rest of us.

Iron

@EmbedXControls

A very good example of choosing a PIC was my slide mistake calling a J53 part a J13 part.

THe J13 part does not have a USB engine.  So, you can't write a HID app using a PIC18F47J13.

You would instead use the PIC18F47J53.

Blogger

I do need to write my own USB/TMC drivers though.

Iron

Thanks, see you all tomorrow.

Iron

I'm designing the hardware too.

Iron

@KentJ

Depends on what the hardware designer specified.

If there are no USB drivers to load, it is probably HID.

Blogger

can someone please post a link for today's download?

Iron

@Fred - Yesterday you indicated the boards were "garage manufactured".

Yours?  Any process or equipment recommendations?

Iron

Hm, would I consider using a PIC to write a HID app? Is "I suppose..." a reasonable answer? :) Should I be able to transcend my ~irrational fear of generic HID, then quite possibly.

Iron

?2: No, have not used Digilent modules.

Gold

Thanks Fred. I was spelling it with cad...

Iron

@AntoshC

Kadtronix USB HID API Library

Blogger

?Fred,  what was the application you used on slide 8?

Iron

@fjglan

I don't understand your question..

Blogger

@richw42

I've not had any problems with that piece of code.

Blogger

Got today's download.   Thanks for all the materials.

Fred, how did you get the PS3 PID/VID Information?

Iron

Thanks Fred and Ron...

Iron

Answer to ? #1: No, have not used MCP2200

Gold

Thanks, Fred, a complex subject .

@Fred: which are the advantages using a PIC to implement HID devices over using MSP430, ATMEL or other microcontrollers ?

Iron

Thanks Fred for this sesssion

Hello from Bakersfield CA

Iron

Thanks zwilrich - iwas spelling it with cad...

Iron

great job, Thanks Fred

Iron

I have not used any Diligent modules for development

@StephT

In the end, very similar.  Different user/admin interface.

 

 
 
 
 
 
Blogger

I am gonna have to study up on this a bit more. Thanks

Iron

Thank you Fred and Rob.  Great job.

The USB HID Demo starts at $39 from http://www.kadtronix.com/usbhidapi.htm.  I think this is the one Fred mentioned.

Iron

Excellent pressentation. Whew, lot said, lot covered,

 

Thanks,

PW Forest, MS

Iron

Thanks for your presentation again.

Wow, lots of info.  Need to review later.

Great Presentation. Thanks.

Thank you Fred & Rob

Iron

Thanks Fred. Good stuff

Iron

I would consider using a HID

Iron

I have to review later also

Iron

Interesting. It moves pretty fast. A little hard to digest real-time.

Iron

Fred this course is about Picking the right PIC. So far I see you are teaching how to program various PICs

I need to know more details about how we choose a right PIC. Please explain.

Thanks

What was the name of the software you used to get the VID and PID for the hardware?

Thanks Fred and Rob

Looking forward to tomorrow.

Iron

Would Test and Measurement equipment be concidered HID?

Iron

Thanls FRed, it went kind of fast today and there is a lot to digest.Defintiely further work is required on my part.

Iron

Yesterday, I found MPLAB X does not support PICSTART PLUS programmer... disappointed.

Iron

Great presentation. One to go back and review later...

Thanks, good stuff!

Iron

thanks Fred and Rob

Iron

thanks, very informative.

Iron

Thank you Fred and Digikey CEC team.

Iron

Sound easy using the MicroChip app. Thanks everybody

Thank you Fred, Design News, and Digi-Key

Gold

yes would consider using a HID

Iron

Sounds like a fun project.

 

Gold

Thanks Fred. I have definitely sipped from the firehose today!  8^)

Iron

I will look it over using this presentations information

 

Iron

Great presentation! Thanks Fred, Rob, Digi-Key and Design News!

Iron

After this course I would consider using PICs for HID application.

Iron

Great stuff Fred.  Thanks!

Iron

Fred can you spell out the Sniffer make and model #

thanks

Yes, I would consider using it.

Iron

USB looks pretty easy on the PIC part I would considere it

Where can i get this down load package?

Iron

yes, I would consider now.

Iron

Sure, I'd consider using one.

Iron

yes I would condider writing a HID application

Iron

Yes, since I have PICTail stuff the plan is to upgrade a PIC30F5011 module to a PIC32MX.

Silver

yes, I would consider using a PIC for an USB HID device

Write MicroChip HID APP? Good question -- you made it look easy!

Iron

Will likely use this for a future project

Iron

Would consider pic for hid application

Iron

Yeah I'd consider a HID app on a PIC.

Iron

Sounds interesting. Yes, I will investigate HID apps!

Iron

We'r enow on slide 19.

 

Blogger

not used but investigated

Iron

I've used arduino boards and RS232 to USB converters.  Not Microchip.

Iron

We're now on slide 18.

Blogger

never used PMODs; arduino shields, yes; sundry Chiense modules, yes

Iron

We're now on slide 17.

Blogger

We're now on slide 16.

Blogger

No, I have not used any Digilent modules.

Iron

We're now on page 15.

Blogger

No. I have not used any Digilent modules.

Iron

I've been using PICTail stuff.

 

Silver

Have not used digilent

Iron

No, I have not used Diligent modules

 
Iron

I have not used any Digilent modules

We're now on slide 14.

Blogger

have'nt used digilent modules

Iron

I have not used any Digilent (p)modules to date.

Iron

I have Digilent ZedBoard :-)

Iron

Fred's question:

Have you used any Digilent modules for development?

Blogger

Not yet, still learning

Iron

Have nit used any Digilent PMods yet. Some look interesting and may get a few.

Iron

Frid's? have not used any pics

Haven't used any of the Digilent stuff

Digilent: Have Not used yet

Iron

Have not used any PMod modules.  Have used XBee.

Iron

I don't remember using any pmod devices

Iron

I've used a development board from Digilent, but no PMOD stuff. (Nexys 3, if you're curious :D )

I have't used  any PMOD - very new to all this.

Iron

Have not used any Digilent modules.

Iron

Haven't used any modules for development yet...

Iron

Haven't used any digilent modules

Have not used digital kits.

Iron

I have not sued any PMODs

Iron

Have not used Diligent modules (yet!)

Iron

We're now on slide 13.

Blogger

We're now on sldie 12.

Blogger

Hello Fred, sorry I am late. Good afternoon

@Fred - what is the name of that app to capture the USB PID and VID?

Iron

We're now on sldie 11.

Blogger

I have a doubt, previous code is for generate the software on slide 8?

 

Iron

We're now on slide 10.

Blogger

We're now on slide 9.

Blogger

We're now on slide 8.

Blogger

no, never used the MCP2200 before

Iron

Single character variable names are not a great practice. Simple to type, hard to search for. I'd use cc as a minimum .

Try to refresh your browser, or, like I did, use Chrome or Firefox of Safari (IE did not work for me)

Iron

Does that delayms routine have a bug when currentTickCnt wraps around?

Iron

No Audio. How can I get audio?

 

Iron

We're now on slide 7.

Blogger

If you are looking for a ready made board -- look at this brochure:

http://ww1.microchip.com/downloads/en/DeviceDoc/01181j.pdf

quick ref to connectivity solutions for PIC

Iron

Hello,

 

Foest, MS.

 

P

Iron

Have not used MCP2200 USB to UART Protocol Converter

Iron

We're now on slide 6.

Blogger

We're now on slide 5.

Blogger

Have not used MCP220 (yet!)

Iron

Refresh your browse and it may bring audio back. Or try Chrome.

Blogger

Never used MCP2200 -- just FTDI chips for same

Iron

No, I have not used the MCP2200 USB to UART Protocol Converter

We're now on slide 4.

Blogger

Yay, now audio works

Iron

no, I haven't used it

Iron

Have not used that device

Iron

I've use an RS232 to USB converter chip.

Iron

Have not used MCP2200 USB to UART Protocol Converter?

@Fred : same as FTDI ?  Any better features ?

 

Iron

We're now on slide 3.

Blogger

Haven't used the MCP2200

Iron

Haven't used the MCP2200 in any of my designs

Nope, have not use the MChip USB-Serial converter.

Iron

never used mcp2200 in design

Iron

Yes, I've used the MCP2200 - same eval board as yours!

Iron

No Never used that interface.

 

Iron

I have not used that part

Sorry no.  All FTDI for me at the moment.  FT245.

Silver

Nope, have not used that part.

Iron

I have not used the protocol convertoer

Iron

We're now on slide 2.

Blogger

No, have not used the protocol converter

Gold

Have not used that part

Iron

Have not used that part.

Iron

Hello Again from Rochester

 

Iron

Hello from Albuquerque.

Iron

Fred's question:

Have you used the MCP2200 USB to UART Protocol Converter?

Blogger

We're now on slide 1.

Blogger

greetings from Dayton, home of The University of Dayton.

Platinum

Hi all -Audio is live! If you don't see the audio bar at the top of the screen, please refresh your browser. It may take a couple tries. When you see the audio bar, hit the play button. If you experience audio interruptions and are using IE, try using FF or Chrome as your browser. Many people experience issues with IE. Also, make sure your flash player is updated with the current version. Some companies block live audio streams, so if that is the case for your company, the class will be archived on this page immediately following the class and you can listen then. People don't experience any issues with the audio for the archived version.

Looking forward to today's classs; I've got several old PS3 controllers in the basement to play with, now I have some ideas what to do with them!

hello from SW Michigan

Iron

Good Morning from Calgary

Day 3, can't wait.  The first two days have been really good!

-The streaming audio player will appear at the top of this web page when the show starts at 2 PM Eastern time today. When you see it, click on the play button to start the audio. Note however, that some companies block live audio streams. If when the show starts, the audio bar doesn't appear or you don't hear any audio, try refreshing your browser. If that doesn't work, try using Firefox or Google Chrome as your browser. Some users experience audio interruptions with IE. Also, make sure your flash player is updated with the current version. If that doesn't work, the class will be archived immediately following our live taping. You shouldn't experience any problems with the audio when listening on-demand.

Blogger

Hello from Aurora CO.

Iron

Hello from Ontario Canada

Iron

Hello again from Simi Valley, CA

Iron

Hello from Houston

 

Iron

Greetings from Plymouth, MN!

Iron

hello from the midwest

Iron

Good morning vrom Victoria, BC. CANADA

Silver

hello from san jose,CA

Iron

@Fred - Yesterday you indicated the boards were "garage manufactured".

Yours?  Any process or equipment recommendations?

Iron

Hello from Co Springs!

Iron

Thank you Fred for the bonus download.

Iron

Hello from sunny Valdez

@78RPM, @Mar re day-2 source material info

No problem on the roadmap; just happen to have been down that road a time or two.

Iron

Hello from Thornville, Ohio

Iron

Greetings from Deerfield Beach FL

 

hello from Mishawaka

 

Iron

Good afternoon from Valladolid, Spain in the middle of Iberic Penninsule

Iron

Good afternoon from a sunny Minnetonka, MN.

Iron

Hello from Kansas City, MO

Hello from Beavercreek, OH where the sun sparkles on the remnants of yesterday's mercifully light snow

@Rob Spiegel: If I missed two days of this course can I graduate it ?

Iron

Hail from sunny Buffalo, NY!

Iron

hello everyone from Timisoara, Romania

Iron

Hello from Greensboro, NC

 

Iron

Hi from Rocklin, CA

 

Iron

Hello from sunny SE Lake Simcoe Ontario Canada. But snow coming tomorrow arrrgggghhhhh!

Iron

yay awesomeness incoming today

@everyone

Today's bonus download is up!

http://www.edtp.com/cec/day3PicCode.zip

The download consists of an Ellisys trace viewer install program, a Sony PS3 Controller Driver for PIC32MX and the pair of files I "adjusted" in the PIC18F47J53 HID slides.

You can use the Ellisys viewer to examine the hid.ufo and ps3.ufo trace files, which are also part of today's download package.

"See" you in an hour or so..

Blogger

Hello from snowy Edmonton, AB

Iron

-You are eligible to earn IEEE Professional Development Hours by attending these courses and participating in the chat function. Additionally, we are no longer using the points system, offering "graduation", or giving grades. The IEEE hours are taking the place of that. There are some important things for you to know about earning the hours. The most important ones are that you need to attend these courses live, you need to attend a minimum of two of them per semester, you need to fill out a course evaluation form within 2 weeks of the end of the class, you need to attend 4 out of the 5 classes per course, and you need to participate in the chat function every day you attend. Please click on the link at the top of this page that says "How do I earn IEEE professional development hours" to read all of these important details and more.

 

Blogger

more slidesfrom Eady

Iron

hi,greeting from Ghana

Iron

Howdy from Tomball, TEXAS

Iron

Hi from NJ!

> @gbabecki  Thanks for the source material info!

Iron

Hi all.  It's on its way up to 40 degF today in Minneapolis.

Iron

Thank you, gbabecki.

Gold

Hello from Summerville, SC. How is everyone doing?

Iron

Good morning from Long Island, NY. Yes, we dodged the snow but it's really windy and cold. 34 F but 30 mph winds make it feel like 10 F!

Iron

Morning from NJ. Thankfully we dodged the Nor'easter. no snow as orginally forcast

Iron

Greetings from Scottsdale

Iron

-Be sure to click 'Today's Slide Deck' under Special Educational Materials above right to download the PowerPoint for today's session.

Blogger

@78RPM re: Fred's source materials

The structure of the day-2 source material in day2PicCode.zip is as follows.  Top 5 folders follow each of the project examples in the slides.  Each folder is organized as an MPLABX workspace and project so the sub-folders are typically "<directory>.X" and "firmware", where <directory> is the name of the workspace/project (e.g., xc8cls).  The "<directory>.X" folder contains the MPLABX workspace and project structure files plus compilation output files.  The "firmware" folder contains the software source files you are seeking.  The one exception to this general organization is the "pmodcls-16lf1829" workspace.  Since it used the MPLABX Configurator the generated source is contained in the "pmodcls-16lf1829.X" directory as well.

 

The board layout files from day 1 are in ExpressPCB format, which are normally ".sch" (schematic) and ".pcb" (PCB layout).  You can download the free ExpressPCB tools to view and manipulate these files and then generate PCBs.

 

Hope this helps your navigation.

Iron

Hello from Albuquerque, New Mexico.

Blogger

-Please join our Digi-Key Continuing Education Center LinkedIn Group at http://linkd.in/yoNGeY and be sure to follow @designnews and @DigiKeyCEC on Twitter for the latest class information. We encourage you to tweet about today's class using #DigiKeyCEC.

Blogger

Hello from Arlington Heights

Iron

Greetings from Ghana

Iron

Can anyone help me find the source code (C, assembly, and Basic) in the folders Fred has shared?  What are the file extensions for each and what folders are they in? And which files are the board layouts?

Gold

Have a happy hump day!

Iron


Partner Zone
Latest Analysis
Much of the research on lithium-ion batteries is focused on how to make the batteries charge more quickly and last longer than they currently do, work that would significantly improve the experience of mobile device users, as well EV and hybrid car drivers. Researchers in Singapore have come up with what seems like the best solution so far -- a battery that can recharge itself in mere minutes and has a potential lifespan of 20 years.
Some humanoid walking robots are also good at running, balancing, and coordinated movements in group settings. Several of our sports robots have won regional or worldwide acclaim in the RoboCup soccer World Cup, or FIRST Robotics competitions. Others include the world's first hockey-playing robot and a trash-talking Scrabble player.
Sherlock Ohms highlights stories told by engineers who have used their deductive reasoning and technical prowess to troubleshoot and solve the most perplexing engineering mysteries.
Melissa Cavanagh of 3DP Unlimited talked to Design News about the company’s large format 3D printer, during Medical Design and Manufacturing Midwest.
The DDV-IP is a two-wheeled self-balancing robot that can deliver cold beverages to thirsty folks on hot summer days. A wireless RF remote enables manual control of the device beyond the act of self-balancing. All of the features of the DDV-IP result in an effective delivery vehicle while providing entertainment to the user.
More:Blogs|News
Design News Webinar Series
10/7/2014 8:00 a.m. California / 11:00 a.m. New York
9/25/2014 11:00 a.m. California / 2:00 p.m. New York
9/10/2014 11:00 a.m. California / 2:00 p.m. New York
7/23/2014 11:00 a.m. California / 2:00 p.m. New York
Quick Poll
The Continuing Education Center offers engineers an entirely new way to get the education they need to formulate next-generation solutions.
Oct 20 - 24, How to Design & Build an Embedded Web Server: An Embedded TCP/IP Tutorial
SEMESTERS: 1  |  2  |  3  |  4  |  5  |  6


Focus on Fundamentals consists of 45-minute on-line classes that cover a host of technologies. You learn without leaving the comfort of your desk. All classes are taught by subject-matter experts and all are archived. So if you can't attend live, attend at your convenience.
Next Class: 10/28-10/30 11:00 AM
Sponsored by Stratasys
Next Class: 10/28-10/30 2:00 PM
Sponsored by Gates Corporation
Learn More   |   Login   |   Archived Classes
Twitter Feed
Design News Twitter Feed
Like Us on Facebook

Sponsored Content

Technology Marketplace

Copyright © 2014 UBM Canon, A UBM company, All rights reserved. Privacy Policy | Terms of Service