Jump to content

RESISTIVE RUBBER RIBBON >>> AIN


Recommended Posts

Posted

Hi there!

I got my hands on a broken CASIO DG20 I'm currently "MIDIBOXING"

The rubber fretboard conducts electricity and resistance varies proportionaly to distance between 2 probes!!

So it looks like I've got a Ribbon controller here!!

Here is the problem so far:

I'm using the AIN_VALUE_7BIT function to define a lader for the notes but in 7bit, the resolution is too small, thus causing fret to play neighboor notes randomly.

Is there a method to convert the AIN reading into a 0-->255 resolution rather than 0-->127 or possibly even higher?

I could monitor the readings on an lcd and therefore have a more precise design!

Thanks for any help as I'm still beginning PIC MATHS!

Alex

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...