MCU pin to LabVIEW pin | Arduino Compatible Compiler for LabVIEW Discussions | Forum

Avatar
Please consider registering
guest
sp_LogInOut Log In sp_Registration Register
Register | Lost password?
Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
sp_Feed Topic RSS sp_TopicIcon
MCU pin to LabVIEW pin
August 14, 2015
12:31 pm
Avatar
INEMSIS_Agta
New Member
Members
Forum Posts: 2
Member Since:
August 14, 2015
sp_UserOfflineSmall Offline

I use a Atmel Mega 32U4 with the Arduino bootloader and selfmade hardware.

Is there a Pin/Port overview for the complete MCU, because the pin values in labview are totaly mixt up.

Some examples:

MCU pin BD0 is in LabView pin 3

MCU pin PE6 is in LabView pin 7

MCU pin PB6 is in LabView pin 10

I couldn't find any relations or a system for the MCU pinout to LabVIEW pins.

August 14, 2015
3:24 pm
Avatar
Amornthep
Member
Members
Forum Posts: 22
Member Since:
April 8, 2015
sp_UserOfflineSmall Offline

Hi, 

What's standard Arduino bootloader you are using ? e.g, Arduino Yun or Arduino Micro ?

The compiler is used the same pin/port out as standard Arduino board . Please refer as hardware schematic.

Amornthep,

August 14, 2015
3:45 pm
Avatar
Steffan
Admin
Forum Posts: 408
Member Since:
March 12, 2015
sp_UserOfflineSmall Offline

This is completely defined by the Arduino libraries, in the variants header file pins_arduino.h.  The documentation can also be found online here for the Mega 32U4:

https://www.arduino.cc/en/Hack.....apping32u4

 

It seems to correlate with your observations.

mapping.pngImage Enlarger

sp_PlupAttachments Attachments
August 20, 2015
6:17 am
Avatar
INEMSIS_Agta
New Member
Members
Forum Posts: 2
Member Since:
August 14, 2015
sp_UserOfflineSmall Offline

Thank you! That's exactly what I need!

Now everything works

Forum Timezone: UTC 0
Most Users Ever Online: 100
Currently Online:
17
Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
miche91: 33
scottj: 28
scadao: 23
Member Stats:
Guest Posters: 5
Members: 202
Moderators: 0
Admins: 3
Forum Stats:
Groups: 1
Forums: 2
Topics: 266
Posts: 1222
Newest Members:
pujacontrol
Administrators: geadmin: 22, filipealtoe: 96, Steffan: 356