UWP Firmata example not working

Would you like to see more information or a tutorial about how to do something with LattePanda? Post requests here!
User avatar
LattePanda
Site Admin
Posts: 2626
Joined: Wed Jan 20, 2016 9:09 am

Thu Jun 16, 2016 5:37 am

corymp wrote:
lattepanda wrote:Hi bro,
I am sorry for the late reply. What’s going on now?
We think there may be some problem in compatibility of USB driver at UWP.
We are trying to solve this problem. But before this, you can try to use Johnny-Five, which only costs you a little time.
http://johnny-five.io
@lattepanda please make this a priority. Node.js and johnny-five does not allow easy connection to windows forms, thus it's not much different from coding via the arduino ide... We need to be able to interface the arduino with windows forms! I would assume this is what a lot of people here purchased the device for! There isn't much any other reason to have a built in arduino! This should have been tested in the design phase of your project... I am unsure why the Leonardo was selected in the first place as it is now retired according to arduino.cc website....

I have johnny-five set up and working... Can someone explain how to interface it with windows forms? according to documentation it's not easy and would be cumbersome to implement
@corymp wrote, You are right and this is the focus of our current work, we are contacting with Microsoft Remote Arduino team to solve the problem. Hope that a solution could be offered soon.
Meanwhile, we are discussing and researching on other firmate library that could be used in visual studio. Do you have any suggestions? If we could offer basic Serial library and general introduction as well as guidance of it, would that of be help in your opinion? Thank you very much.
Enjoy Tinkering with LattePanda ! :lol:

User avatar
pszmyd
Posts: 7
Joined: Sun Jun 05, 2016 8:59 pm

Thu Jun 16, 2016 10:33 pm

@lattepanda Please let us know when you have some timeline on fixing this? Co-op between Windows 10 and built-in Arduino is a crucial feature of LP and a big selling-point imo. This should be a priority.

Also, can you tell us how you made it work (I assume you did) when you wrote the step-by-step tutorial.
Maybe there is some old version of Windows Remote Arduino libs and/or USB/Arduino drivers that could make it work before you come up with a final solution? Being able to do some work is better than putting LP on the shelf for the time being...

User avatar
yotsclee
Posts: 9
Joined: Sat May 07, 2016 7:45 am

Fri Jun 17, 2016 3:13 pm

Hi Latte Panda team, the reason that I bought it because of the built-in Arduino function. If it is not working, it is no good to me. Would you please help to provide a solution to this asap?

User avatar
yotsclee
Posts: 9
Joined: Sat May 07, 2016 7:45 am

Fri Jun 17, 2016 3:41 pm

Hi Guys, I found the below solution. We can use System.IO.Ports.SerialPort class to send data to Arduino. I tried it myself and confirmed it is working. Hope it can act as a temporary workaround solution.

http://stackoverflow.com/questions/2055 ... rduino-led

User avatar
srcox
Posts: 13
Joined: Wed Jun 08, 2016 8:03 pm

Tue Jun 21, 2016 3:43 pm

Me too.
StandardFirmata upload appears to work fine but the firmata test program fails when connected to the usb (com5 port). Have tried all windows solutions mentioned in this forum post with exactly the same results.

The reason I bought this product was for the easy connection to the Windows development platform. Without this it's just a cheap pc. It could be so much more. Please LattePanda make this your top priority.

User avatar
LattePanda
Site Admin
Posts: 2626
Joined: Wed Jan 20, 2016 9:09 am

Mon Jun 27, 2016 9:07 am

will look in to it! cheers
Enjoy Tinkering with LattePanda ! :lol:

User avatar
srcox
Posts: 13
Joined: Wed Jun 08, 2016 8:03 pm

Tue Jun 28, 2016 1:42 pm

Given that none of the UWP samples actually work, is it not time you changed the docs to reflect that? Meanwhile can we please have an update to the UWP/firmata situation?

User avatar
peppe.tumino
Posts: 6
Joined: Tue Jun 14, 2016 2:11 pm

Wed Jun 29, 2016 8:44 pm

Hi,
I have trying (Firmata.NET) http://www.imagitronics.org/projects/firmatanet/, but not working.
So I changed a bit this framework enabling RTS during initialization and now work. I think that is not a solution (RTS is too old) but it can help @lattepanda to solve problem. I attach a working example: remeber to select correct port on Form1.cs (for me "COM5") . My changes on FIRMATA.NET are maked with //MODRTS on Arduino.cs (function open()) .
Please
Attachments
WindowsFormsApplication1.zip
(66.39 KiB) Downloaded 152 times

User avatar
trygame901
Posts: 22
Joined: Wed Jun 01, 2016 6:11 am

Thu Jun 30, 2016 6:41 am

When I uploaded blink from the Arduino ide it was on COM3. It uploaded fine and started to blink. Then I went to upload standard firmata, but it was no longer on COM3, it was now on COM5. When the sketch gets uploaded and the Arduino resets the com is it supposed to change com to another port number?

User avatar
Digioso
Posts: 31
Joined: Mon Jun 06, 2016 10:47 am

Thu Jun 30, 2016 1:37 pm

Maybe a stupid question: Do I need to install Visual Studio to do something with the Arduino?
Visual Studio uses up around 15-20GB of space.

Post Reply