Welcome, Guest
Username: Password: Remember me

TOPIC: How to start programming pedalSHIELD UNO

How to start programming pedalSHIELD UNO 2 years 9 months ago #456

  • Ray
  • Ray's Avatar
  • Platinum Member
  • Posts: 547
  • Thank you received: 124
  • Karma: 27
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:


Analog_4: PUSH-BUTTON_1.
Analog_5: PUSH-BUTTON_2.

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:


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.
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)


There are also some good contributions in the forum, have a look to this cool codes:
Last Edit: 10 months 4 days ago by Ray.
The administrator has disabled public write access.
The following user(s) said Thank You: Duinosmash

How to start programming pedalSHIELD UNO 1 year 6 months ago #892

what's the difference between distortion and fuzz distortion in programs?
The administrator has disabled public write access.

How to start programming pedalSHIELD UNO 1 year 6 months ago #893

  • ucfanrg
  • ucfanrg's Avatar
  • New Member
  • Posts: 12
  • Thank you received: 6
  • Karma: 2
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: 1 year 6 months ago by ucfanrg.
The administrator has disabled public write access.
The following user(s) said Thank You: Ray, jackhansenguitar
Time to create page: 0.139 seconds
Powered by Kunena Forum
Joomla SEF URLs by Artio

Our Instagram

Follow us

You can also follow us on:

facebook   google   instagram

pinterest   youtube   twitter