Wish List | Page 2 | 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
Wish List
April 27, 2015
10:22 pm
Avatar
RTSLVU
Member
Members
Forum Posts: 21
Member Since:
March 20, 2015
sp_UserOfflineSmall Offline

I guess I should have posted in this thread but I would like to see support for Adafruit products starting with their LCD/button shield.

see my post here https://www.geverywhere.com/for.....d-support/

April 28, 2015
1:21 am
Avatar
Steffan
Admin
Forum Posts: 408
Member Since:
March 12, 2015
sp_UserOfflineSmall Offline

Thanks for the post.  The reason we selected the SainSmart over the Adafruit I2C controller is because it is about half the price for an end solution.  You can find LCD2004 based LCD's for around $10 (like this one), whereas the Adafruit I2C LCDs are not as readily available and is over twice the cost at $20.  Yes, it does have buttons, but those can easily be added separately.  There are also more options with the SainSmart, like 4 line LCDs.  We want to provide the lowest cost alternatives to the community.

Also, if you are looking for a chip solution for the SainSmart I2C Expander, from what we could find, it is just based off of the PCF8574, which can be found on digikey here for about the same or less than the MCP23017.

We will definitely consider this and other Adafruit products for future integration to the product though.

April 28, 2015
1:27 am
Avatar
Steffan
Admin
Forum Posts: 408
Member Since:
March 12, 2015
sp_UserOfflineSmall Offline

kombela said
What about supporting chipKIT WF32?

It is arduino compatible and has 80 MHz clock! I really would like to have a 80 Mhz resolution clock in my hands :)

Well, have you checked out the Arduino Due?? 32-bit ARM core, 84MHz CPU clock, with a DMA controller.  Beat thatLaugh

But seriously, we do believe the chipKIT offers many advantages and we have considered it.  Things like this are definitely on the roadmap.

April 28, 2015
1:30 am
Avatar
Steffan
Admin
Forum Posts: 408
Member Since:
March 12, 2015
sp_UserOfflineSmall Offline

John said

Steffan said
Thats a good question and should have been specified in the documentation (will be added).  The underlying library automatically adjusts the timer prescaler based on the input period.  The minimum period or highest frequency this library supports is 1 microsecond or 1 MHz. The maximum period is 8388480 microseconds or about 8.3 seconds.

Steffan,

Inspired by the timer interrupt, i have made an example "task scheduler" that i want to share. 

I wanted to open a new topic "Examples"but i realized that i could not upload a VI ?

What to do ?

Regards, John

John, we can now upload .vi and .zip files.  Go ahead and post your example.  We will work to get a separate forum or project page setup for the future, but for now feel free to create a new "Examples" thread and post anything you want there.  Thanks!

April 28, 2015
5:45 pm
Avatar
John
Member
Members
Forum Posts: 18
Member Since:
March 19, 2015
sp_UserOfflineSmall Offline

Steffan said
John, we can now upload .vi and .zip files.  Go ahead and post your example.  We will work to get a separate forum or project page setup for the future, but for now feel free to create a new "Examples" thread and post anything you want there.  Thanks!

Steffan,

I tried to upload .vi example but had no success.

Help stated:

If you want to upload your own images or other media and your forum administrator has granted you permission to do so, then use the Attachments button beneath the editor window instead.

Did not find the Attachments button!

April 28, 2015
8:19 pm
Avatar
RTSLVU
Member
Members
Forum Posts: 21
Member Since:
March 20, 2015
sp_UserOfflineSmall Offline

Steffan said
Thanks for the post.  The reason we selected the SainSmart over the Adafruit I2C controller is because it is about half the price for an end solution.  You can find LCD2004 based LCD's for around $10 (like this one), whereas the Adafruit I2C LCDs are not as readily available and is over twice the cost at $20.  Yes, it does have buttons, but those can easily be added separately.  There are also more options with the SainSmart, like 4 line LCDs.  We want to provide the lowest cost alternatives to the community.

Also, if you are looking for a chip solution for the SainSmart I2C Expander, from what we could find, it is just based off of the PCF8574, which can be found on digikey here for about the same or less than the MCP23017.

We will definitely consider this and other Adafruit products for future integration to the product though.

Yes but the Adafruit design has the advantage of easily adding more buttons as it is based around an I2C port expander chip that has two 8bit ports and only uses one for the LCD and leaves 8 DIO pins available. (5 used for buttons on the Adafruit)

The similar Sainsmart design uses an analog input and the four buttons are on a voltage divider. That is not a very robust design (IMHO)

Also The Adafruit design (and library) will handle a 4 line LCD you just have to declare as 4x20 instead of 2x20. Personally I do not like to buy the prefab shields and would rather just build my own.

April 29, 2015
12:25 am
Avatar
Steffan
Admin
Forum Posts: 408
Member Since:
March 12, 2015
sp_UserOfflineSmall Offline

John said

Steffan said
John, we can now upload .vi and .zip files.  Go ahead and post your example.  We will work to get a separate forum or project page setup for the future, but for now feel free to create a new "Examples" thread and post anything you want there.  Thanks!

Steffan,

I tried to upload .vi example but had no success.

Help stated:

If you want to upload your own images or other media and your forum administrator has granted you permission to do so, then use the Attachments button beneath the editor window instead.

Did not find the Attachments button!

Go ahead and try it again now.  Upload button should be at the bottom left above the Smileys when posting.

April 29, 2015
8:22 am
Avatar
John
Member
Members
Forum Posts: 18
Member Since:
March 19, 2015
sp_UserOfflineSmall Offline

Hello Steffan,

Uploaded a VI, but its not showed.

When i try to edit the reply in "Example code" topic, i have an option to remove the file, so the file seems to be there....?

Regards, John

April 29, 2015
2:14 pm
Avatar
Steffan
Admin
Forum Posts: 408
Member Since:
March 12, 2015
sp_UserOfflineSmall Offline

John said
Hello Steffan,

Uploaded a VI, but its not showed.

When i try to edit the reply in "Example code" topic, i have an option to remove the file, so the file seems to be there....?

Regards, John

Ok, you should be able to see your attachment now.  Download permissions weren't set properly for non-media file types.

April 29, 2015
3:35 pm
Avatar
John
Member
Members
Forum Posts: 18
Member Since:
March 19, 2015
sp_UserOfflineSmall Offline

Yes ! 

G-everywhere = G-ok ;-0

Thankx !

May 11, 2015
1:37 am
Avatar
Kbet
Member
Members
Forum Posts: 4
Member Since:
March 19, 2015
sp_UserOfflineSmall Offline

How about support for ESP8266 boards? They are now supported in the Arduino IDE.  TCP/IP serial vi's would be great as well unless of course I am just not using the tools at hand properly.... which could very well be the case.

May 11, 2015
4:20 am
Avatar
Steffan
Admin
Forum Posts: 408
Member Since:
March 12, 2015
sp_UserOfflineSmall Offline

Kbet said
How about support for ESP8266 boards? They are now supported in the Arduino IDE.  TCP/IP serial vi's would be great as well unless of course I am just not using the tools at hand properly.... which could very well be the case.

Technically, the ESP-01 might already be programmable via the ACC4LV assuming you install the esp8266 IDE branch.  We have not tried this though and it would not be supported.  It appears version 1.6.1 was branched to include support for this.  Hopefully the ESP support is merged back into the trunk of the IDE and actually gets released as a board package, instead of part of the main IDE install since the current IDE version now supports board package plugins.  However, since the ACC4LV does not currently support the WiFi library, you would not have access to that, which is presumably one of the main reasons to use the ESP-01.  We will add this to our roadmap.

As far as TCP/IP (and Ethernet in general), this is definitely on our roadmap already.

May 12, 2015
5:53 am
Avatar
kombela
Member
Members
Forum Posts: 6
Member Since:
April 27, 2015
sp_UserOfflineSmall Offline

Steffan said

kombela said
What about supporting chipKIT WF32?

It is arduino compatible and has 80 MHz clock! I really would like to have a 80 Mhz resolution clock in my hands :)

Well, have you checked out the Arduino Due?? 32-bit ARM core, 84MHz CPU clock, with a DMA controller.  Beat thatLaugh

But seriously, we do believe the chipKIT offers many advantages and we have considered it.  Things like this are definitely on the roadmap.

Hi Steffan,

 

Thanks for the tip, and good to know that you have the chipKIT on your roadmap. I like that this forum really works!

May 12, 2015
8:30 pm
Avatar
kombela
Member
Members
Forum Posts: 6
Member Since:
April 27, 2015
sp_UserOfflineSmall Offline

I was just experimenting with the PWM capabilities of the arduino avaliable with the compiler, and I found no way to reach the full scale of PWM control possible with Arduino. Actually I need all the functionality described in this tutorial:

http://www.arduino.cc/en/Tutor.....ArduinoPWM

I guess the full functionality would be available if you had given access to registers. Am I right, or is it more complicated?

Anyway I really would welcome full control over arduino's PWM capabilities. (like prescale factor, Fast PWM, phase correct PWM,varying timer top limit) I am planning to use it for SMPS transistor control, and all parameters need to be adjustable.

May 12, 2015
9:03 pm
Avatar
Steffan
Admin
Forum Posts: 408
Member Since:
March 12, 2015
sp_UserOfflineSmall Offline

You are correct, only simple PWM via analogWrite() has been implemented in the ACC4LV.  As this article points out, this covers a lot of the use cases.  We will add this to our priority list of new features.  Among others, we are looking at generalizing raw register access so I believe that would also solve your needs by allowing you to access the timer registers.  Thanks for the feedback.

May 12, 2015
9:06 pm
Avatar
Steffan
Admin
Forum Posts: 408
Member Since:
March 12, 2015
sp_UserOfflineSmall Offline

kombela said
I was just experimenting with the PWM capabilities of the arduino avaliable with the compiler, and I found no way to reach the full scale of PWM control possible with Arduino. Actually I need all the functionality described in this tutorial:

http://www.arduino.cc/en/Tutor.....ArduinoPWM

I guess the full functionality would be available if you had given access to registers. Am I right, or is it more complicated?

Anyway I really would welcome full control over arduino's PWM capabilities. (like prescale factor, Fast PWM, phase correct PWM,varying timer top limit) I am planning to use it for SMPS transistor control, and all parameters need to be adjustable.

As another thought, take a look at using the Timer1 interrupt as a workaround.  You can specify period down to 1us and you could use this for frequency/pulse width control.  There is also a nop() API to get you very short delays of 1 processor instruction.  Not sure if this can help you but just a thought.

May 13, 2015
6:41 am
Avatar
kombela
Member
Members
Forum Posts: 6
Member Since:
April 27, 2015
sp_UserOfflineSmall Offline

Steffan said

kombela said
I was just experimenting with the PWM capabilities of the arduino avaliable with the compiler, and I found no way to reach the full scale of PWM control possible with Arduino. Actually I need all the functionality described in this tutorial:

http://www.arduino.cc/en/Tutor.....ArduinoPWM

I guess the full functionality would be available if you had given access to registers. Am I right, or is it more complicated?

Anyway I really would welcome full control over arduino's PWM capabilities. (like prescale factor, Fast PWM, phase correct PWM,varying timer top limit) I am planning to use it for SMPS transistor control, and all parameters need to be adjustable.

As another thought, take a look at using the Timer1 interrupt as a workaround.  You can specify period down to 1us and you could use this for frequency/pulse width control.  There is also a nop() API to get you very short delays of 1 processor instruction.  Not sure if this can help you but just a thought.

Thanks for your suggestions, but I guess it would not help me. I need many PWM outputs having different settings, and I would like to use the aurduino in the meantime for controlling the PWM based on measurements. So I have no resources to generate the PWM programmatically.

So maybe the detailed PWM control or register access will be on the roadmap in the near future?

May 13, 2015
8:47 pm
Avatar
mknix
Member
Members
Forum Posts: 4
Member Since:
May 13, 2015
sp_UserOfflineSmall Offline

Hi all, this is my first post here.

First of all : what a cool product you have ! many thanks for bringing it to life, lots of people where dreaming about it.

Have not purchased it yet (never manage to compile anything during my 7 day trial, but I guess this is due to my laptop outdated setup (still win XP...). Anyway I'am very confident and will test again with another computer asap, then focus my effort on convincing my boss to buy a pro version ;-)

Coming back to the wish list :

For features, I would love to see SD card support

For boad support my choice is Teensy 3.1 support, It is, imho, one of the best arduino compatible board.(Arduino Due rocks, but no one can beat teensy when talking about performance/form factor size optimisation tradeoff.

keep the good job !

May 13, 2015
8:53 pm
Avatar
Steffan
Admin
Forum Posts: 408
Member Since:
March 12, 2015
sp_UserOfflineSmall Offline

Yes, you need Windows 7 or 8.

In case you didn't see, SD card support has just been released in 1.0.0.15 this week.

The Teensy is on the roadmap for testing, in fact, it may already work as you just need to download the Teensyduino IDE branch.  This has apparently been maintained with the recent Arduino IDE updates, however we have not tested it, nor support it yet.

May 13, 2015
9:27 pm
Avatar
mknix
Member
Members
Forum Posts: 4
Member Since:
May 13, 2015
sp_UserOfflineSmall Offline

hey, great news ! And thanks for your quick reply.

Forum Timezone: UTC 0
Most Users Ever Online: 100
Currently Online:
2
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