Main Site Documentation

PANDA: MIDI, SHARP IR, and TOUCHPAD


#1

Hi everyone!
I terribly need the answers regarding few thing.
My goal is to build a MIDI controller for my synthesizer. It should consist of SHARP IR Range finder and touchpad(synaptics or maybe Nintendo DS touchscreen), should transfer MIDI messages to MIDI OUT and have its own non-volatile memory (a little).
I’ve already found all the libraries and samples for Arduino UNO and wanted to buy one but suddenly against FEZ PANDA board. Being a .Net developer I’ve found it very suitable for myself. Unfortunately there’s a little information in the Internet regarding this board.
I’ve already found drivers(library) for SHARP IR range sensor hence my questions are:

  1. Has PANDA a non-volatile memory where I can store a little data?
  2. Does it real to connect touchpad to the digital input and read its value? Does the library exist for PS/2 devices so I could easily read data from touchpad?
  3. Does it real to connect MIDI out to the board and whether some library exist for sending MIDI messages?
  4. By the way I assume that programs for Netduino should work on PANDA, right?
    Would you be so kind to answer my questions? Thank you in advance!

p.s. You know, the power of Arduino in tons of libraries for it and PANDA seems to be very young project. Is there a lot of libraries available for PANDA? I’d won’t buy one and invent bicycle from scratch if there’s just a few libs for it.


#2

Have you seen Fezzer:

http://www.fezzer.com/#do=recentProjects&page=1

and Wiki:


#3

Arduino is over 5 years old, FEZ just completed its first (happy birthday FEZ). Give it some time and you will see a lot of examples on top of what is already available


#4

[quote]4) By the way I assume that programs for Netduino should work on PANDA, right?
Would you be so kind to answer my questions? Thank you in advance!

[/quote]
They share the same core software engine which is .NET Micro Framework, but they deffer in hardware and extra software capabilities. Take a look at this:
http://www.tinyclr.com/faq/#19

So for example, you need CAN, Audio output or RLP (native code) then you can only do this on GHI boards


#5

Happy Birthday Fez!!!


#6

I thought PANDA already has Audio out and CAN :frowning:

Could you please answer the other questions? I’d like to order PANDA tomorrow but I need be sure that I could make what I want…Otherwise I thinks I will need to look at the Arduino or Netduino side…

  1. Has PANDA a non-volatile memory where I can store a little data?
  2. Does it real to connect touchpad to the digital input and read its value? Does the library exist for PS/2 devices so I could easily read data from touchpad?
  3. Does it real to connect MIDI out to the board and whether some library exist for sending MIDI messages?

#7

And by the way Is Panda really what I need to build a MIDI controller (it could be expanded for more features in feature than just IR sensor and touchpad). Is PANDA fast enough to perform a role of MIDI controller?


#8

[quote]GHI Boards[/quote] includes FEZ Panda. 8).


#9

It’s pity… nobody even from support can answer my questions :frowning:


#10

I apologize for delays. GHI staff is busy with the expo. But we are here to help.

No.But you can add it easily.
http://www.fezzer.com/project/217/i2c-eeprom-program-settings-driver/

Yes,you can use touchpad. Do you have one in mind?

You will need a shield for that. There is one mentioned here:
http://www.tinyclr.com/forum/2/413/
There were some other MIDI related posts on the forum search for “MIDI” here:
http://www.tinyclr.com/forum/search/


#11

[quote]1) Has PANDA a non-volatile memory where I can store a little data?

[/quote]

It will shortly. Wait for the next release of the SDK in a few weeks.


#12

Right! I forgot about that from the beta (available already) release notes:

[ulist]Added 4KB InternalFlashStorage for the user under GHIElectronics.NETMF.Hardware[/ulist]


#13

For Nintendo DS touchscreen you probably need to use four Analog Inputs,
And it’s very easy to read the data from it. And it would be very easy to convert the Arduino’s sketch to NETMF.
Here is a link that have an Arduino’s sketch to read the Nintendo DS touchscreen.

http://kalshagar.wikispaces.com/Arduino+and+a+Nintendo+DS+touch+screen


#14

Thanks for the help guys


#15

Guys, you’re brilliant!)) THANKS!

It will be only a software feature so I don’t need to wait for new board to release, right?

By the way, the main question is: Does PANDA fast enough to be a midi controller? I saw somewhere that write/read from digital pins is to slow comparing other boards… is it true? Because when you’re controlling something via MIDI there shouldn’t be delay…that is what I am afraid of…


#16

Correct.

New SDK has RLP which makes any FEZ a real time device.


#17

Thanks! I will order one today!

What is RLP? Does this SDK already released? Does any tutorial about this implementation exist?

I have one more question. I assume .Net MicroFramework contains library for interacting with PS/2 devices (mice, touchpads etc), right? Is it possible not to use USB host but to connect mouse to the digital input and work with this mouse with mentioned library over Digital Input?
Thanks


#18

While it is possible to electically attach PS/2 compatible devices to a FEZ, I have not seen any micro .net drivers. You would have to port code from elsewhere.

If you use the USB host support, which is available on the Cobra and Domino, you could have your devices working in minutes.


#19

500+ experience points will grant you access to the beta SDK:

http://www.tinyclr.com/beta/

Since you don’t have it yet you need to contact GHI and I am sure they will provide it for you.

RLP - Runtime Loadable Procedures.

Getting started:
http://www.itcrowd.be/getting-started-with-ghi-rlp

Search for it on this forum and in the SDK documentation…

PS/2 arduino project check this out:

http://www.practicalarduino.com/projects/ps2-keyboard-or-mouse

this one looks interesting. I am going to try it tonight,so you might have some PS/2 .net example :wink:


#20

Thanks for the info, big panda :slight_smile:

[quote]PS/2 arduino project check this out:

http://www.practicalarduino.com/projects/ps2-keyboard-or-mouse

this one looks interesting. I am going to try it tonight,so you might have some PS/2 .net example[/quote]

It would be cool to have some examples. However take a look at this project - man here uses digital input and ps2dev library.

I didn’t looked to the code of library but he gets all the data (array of length 3) with one digital input. Seems like touchpad sends a data array which this library could read maybe with some interrupts between bytes (I guess).

By the way today I decided to see what my old MADEINCHINA mp3 player consists of. I’ve found that it uses color 128x128 8-bit LCD display something like this(Mine is PH128128C- but the last chars not the same, i thinks it’s a minor)

http://www.scancraftdisplay.se/File/Powertip/PH128128C-033-LP4Q.pdf

Could you please take a look into these and remind maybe there’re already libraries for Panda and such types of displays (8 data pins).