Welcome, Guest
Username: Password: Remember me

TOPIC: How to start programming pedalSHIELD UNO

How to start programming pedalSHIELD UNO 1 year 2 months ago #456

  • Ray
  • Ray's Avatar
  • NOW ONLINE
  • Administrator
  • Posts: 290
  • Thank you received: 62
  • Karma: 11
This is a quick start guide to code pedalSHIELD UNO. I am going to explain just the basic ideas you need to know to progress as fast as possible.


1. What Do You Need to Know About the Hardware?
You need to know how the hardware resources (leds, buttons, ADCs, PWMs) are mapped:

pedalshield_uno_connections.png


Inputs:
Digital_2: TOGGLE SWITCH.
Analog_4: PUSH-BUTTON_1.
Analog_5: PUSH-BUTTON_2.
Analog_0: GUITAR INPUT JACK.
Digital_12: TRUE-BYPASS FOOTSWITCH.

Outputs:
Digital_13: LED.
PWM_9 (Digital9): OUTPUT JACK.
PWM_10(Digital10): OUTPUT JACK.


2. Installing the Software.
The integrated development environment (IDE) software for Arduino UNO is needed. It is available in the Arduino Software page with all the instructions. There is also a getting started with Arduino UNO guide for more details.

Once all the software is installed the environment should look like this:

pedalshield-uno-cables.jpg



3. Start Coding!
There is a series of pedals already coded and available in the forum. All this effects have "educational" purposes. The idea is to have them as a base to start improving or coding your own effects, so the codes have a balance between performance and complexity so you can understand them easily.

Going from the easy to difficult, the natural evolution is:

Clean/Transparent pedal.
Volume/Booster pedal.
Distortion pedal.
Fuzz Distortion pedal.
Bit-Crusher pedal.
Daft Punk Octaver pedal.
Signal Generator pedal.
Metronome.
Delay pedal.
Tremolo pedal.

You can also download them all in a .zip file:
(I recommend to use the examples from the zip file because they are always up to date)

pedalshield_uno_pedal_examples.zip
Last Edit: 2 months 15 hours ago by Ray.
The administrator has disabled public write access.
The following user(s) said Thank You: Walt2017

How to start programming pedalSHIELD UNO 4 days 23 hours ago #892

  • Beniamino
  • Beniamino's Avatar
  • OFFLINE
  • New Member
  • Posts: 1
  • Karma: 0
what's the difference between distortion and fuzz distortion in programs?
The administrator has disabled public write access.

How to start programming pedalSHIELD UNO 4 days 17 hours ago #893

  • bloodstyle
  • bloodstyle's Avatar
  • OFFLINE
  • New Member
  • Posts: 3
  • Thank you received: 2
  • Karma: 1
as mention in the messages :

the distortion code cuts the upper limit when it reaches the threshold. The distortion in this case is asymmetrical (only clipped on one side).
if(input>distortion_threshold) input=distortion_threshold;

The Fuzz code boosts the signal to max when it reaches the threshold (symmetrical).
if(input>distortion_threshold) input=32768;
else if(input<-distortion_threshold) input=-32768;
Last Edit: 4 days 17 hours ago by bloodstyle.
The administrator has disabled public write access.
The following user(s) said Thank You: Ray
Time to create page: 0.531 seconds
Powered by Kunena Forum
Joomla SEF URLs by Artio