Search the Community: Showing results for tags 'analog'.

More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • GadgetBox Universal IoT Hardware
    • GadgetBox General Discussion
  • Papilio Platform
    • Papilio General Discussion
    • Papilio Pro
    • Papilio One
    • Papilio DUO
    • Papilio Wings
    • DesignLab IDE
    • DesignLab Libraries
    • RetroCade Synth
    • Papilio Arcade
    • Papilio Loader Application
    • Papilio Logic Sniffer
    • Retired
  • Electronics
    • Modules
  • Soft Processors
    • ZPUino
    • J1 Forth
    • AVR8 Soft Processor
  • Community
    • Gadget Factory
    • Documentation
    • FPGA Discussions
    • Community Projects
    • Pipistrello
  • Open Bench
    • Open Bench Logic Sniffer at Dangerous Prototypes
    • OpenBench Logic Sniffer at Gadget Factory
  • Gadget Factory Internal Category


  • Papilio Platform
    • Papilio One
    • Papilio Plus
    • Papilio Wings
    • LogicStart MegaWing
    • ZPUino
    • Papilio Pro
  • Papilio Arcade
  • RetroCade Synth
  • Logic Sniffer
  • FPGAs
  • DesignLab
    • Example Projects
    • Libraries


  • Papilio FPGA
    • Papilio UCF (User Constraint) Files
    • Papilio Bit Files
  • Papilio Arcade
  • RetroCade Synth
  • General
  • Beta (Test) Releases
  • Books

Found 4 results

  1. Hi, I'd like to implement some buttons from DFRobot to my Retrocade Synth. I naively believed that I could just connect the 3 wires to the analog input but maybe that's not that simple. And I don't know which pin number I have to listen... so I've tried every possible pin number but I always get "key = 0" even if I press a button. Could someone help me ? Please see my code and the wiring below. #include "SPIADC.h" #include "SPI.h" int pin = 32; int key_in = -1; int last_key = -1; void setup() { Serial.begin(115200); Serial.println("BEGINNING"); } void loop() { key_in =; if (key_in != last_key) { Serial.print("key = "); Serial.println(key_in); last_key = key_in; } }
  2. Note: this is crossposted from stackexchage , I hope this doesn't go against the forum netiquette (feel free to erase it otherwise) Background Similarly to what Jeri Ellsworth did in her C64 Bass Guitar hack I am working on an audio-to-midi converter for my bass guitar. I am also planning to use piezo discs as sensors placed under each string, connected to a Papilio One, using the ADC of the Logic Start MegaWing (an ADC128S102). The ADC reference voltage is hardwired to 3.3. volts. My problem is that my analog electronics knowledge is pretty bad and I don't have any practical experience (I have given a try to the relevant chapter of the The Data Conversion Handbook but it's a bit too advanced for me). Question What circuit should I use to drive the ADC? The circuit should Implement an anti-aliasing filter. The frequency ranges (excluding harmonics) typically found in each string of a 4-string bass are: E string: E1 (41.20 Hz) to E3 (164.81 Hz) A string: A1 (55.00 Hz) to A3 (220.00 Hz) D string: D2 (73.42 Hz) to D4 (293.66 Hz) G string: G2 (98.00 Hz) to G4 (392.00 Hz) Ensure that the input signal voltage matches the expected range of the ADC (0V to 3.3V as I understand it).I would appreciate as much practical information as possible (e.g. specific circuits and specific parts to use) since, as I have said, I am pretty unexperienced on this. Pointers to books/articles suitable for a newbie like me would also be appreciated.
  3. Hi Guys, I am new to the FPGA world. I am planning to get the Papilio ONE board with LogicStart MegaWing for FPGA and Verilog learning. My question is about the ADC chip on this wing. I understand that SPARTAN FPGA family doesn't come with analog IOs, so an external ADC was used, controlled by SPI protocol. Now lets say I want to play with this option,I guess that I need some kind of Verilog code in order to implement the SPI protocol into the FPGA, am I right? Is there an exsisting block I can use? I have looked for information about it, but all I found is stuff related to the ZAP IDE, while I want to use papilio as an FPGA development platform. Thanks:) Nadav
  4. I just received my RetroCade Synth and it is working great so far But I wanted to ask how the audio output is routed and if it can be changed? Apparantly all output is routed to both audio jacks? Is it planned to allow custom output routing? Also, I assume using one jack as an audio *input* is not possible? Anyway, great job so far! Cheers, Toby