Miac USB Slave

For MIAC users to discuss projects, applications, and any other issues related to the MIAC unit.

Moderators: Benj, Mods

Nazaire VERRUE
Posts: 43
Joined: Tue Nov 23, 2010 4:46 pm
Been thanked: 3 times
Contact:

Miac USB Slave

Postby Nazaire VERRUE » Sun Oct 20, 2013 10:53 am

Dear,

Have you an example of Miac USB Slave? (Software and hardware)

Best regards

Nazaire

User avatar
Benj
Matrix Staff
Posts: 14443
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4507 times
Been thanked: 4186 times
Contact:

Re: Miac USB Slave

Postby Benj » Mon Oct 21, 2013 11:15 am

The MIAC USB slave component is an interface to allow you to control the MIAC from the PC using the USB connection.

To start you have to load the MIAC with the USB slave firmware. The pre-compiled firmware can be found in the attachment below. Use the MIACprog.exe tool to load the hex file onto the MIAC.

MIAC USB Slave - Firmware and v5 Source
MIAC USB Slave.zip
(182.58 KiB) Downloaded 201 times


Once you have programmed the MIAC with the firmware and installed the USB driver the MIAC USB Slave component should be able to see the MIAC. Next with the MIAC USB Slave component added to your program in v6 switch to the correct instance by changing the MIAC USB Slave instance property.

Flowcode v6 MIAC USB Example
MIAC USB Slave.fcfx
(4.4 KiB) Downloaded 185 times


Running the simulation should toggle transistor output 1 on the connected MIAC. Make sure you have connected VMot to VPsu to allow the output to supply current to the LED.

Let me know how you get on.

Nazaire VERRUE
Posts: 43
Joined: Tue Nov 23, 2010 4:46 pm
Been thanked: 3 times
Contact:

Re: Miac USB Slave

Postby Nazaire VERRUE » Mon Oct 21, 2013 5:51 pm

Thank you Benj

The Miac USB slave work now perfect

Best regards

Nazaire
These users thanked the author Nazaire VERRUE for the post:
Benj (Tue Oct 22, 2013 5:29 pm)
Rating: 5.26%