Arduino Esplora pins used like Arduino UNO pins

Hi everyone! I just bought an Arduino Esplora board and I was searching for a way to use its pins like the ones that you have on the Arduino UNO board.
I mean, I'd like to get inputs and outputs by using digitalRead() and digitalWrite() and I also need a way to have one output that can send PWM outputs (the ones that start from 0 and get to 255 that you can use to make a motor go faster or slower).
Thank you

For those not familiar with the Esplora...


I 'm not that familiar with these.. but my understand is that is hae PRE-BUILT sensors/components.. and there is no access to broken out I/O pins..

Actually.. you can probably use the INPUT & OUTPUT 'trinket kit' pins...

I was searching for a way to not use the trinket kit.
Also that's not true: they can be used as i/o pins (i've tried and they power my leds) but i can't find a way to make them be PWM pins

Looking at the schematic and assuming your talking about INA, INB OUT2 and OUT3

analogWrite(3, x) should give a PWM on OUT3
analogWrite(11, x) should give a PWM on OUT2

You should also be able to use digitalRead on the above.

INA and INB don't work like that; they go through the multiplexer so digitalRead will not work.

Disclaimer:
no experience with the board.

This is the image that explains the pins: http://www.pighixxx.net/portfolio-items/esplora/#prettyPhoto

nicolopadovandev:
This is the image that explains the pins: http://www.pighixxx.net/portfolio-items/esplora/#prettyPhoto

The purple and green numbers indicate the pin numbers that you can use the 'Uno' way

purple: digitalRead and digitalWrite
green: digitalRead, digitalWrite and analogRead

OUTx (on the orange headers) support PWM (analogWrite)

  1. I don't find any "OUTx" in the image that I sent.
  2. I was searching for a way to transform the normal pins (so not the tinker kit ones) into ppm pins because I don't have an adapter for the tinker kit

Why did you create a new thread? We already covered most of this information in the original one:
http://forum.arduino.cc/index.php?topic=589595
Please don't do that.

I thought that I was on the wrong part of the forum. This isn't programming stuff (and we were on the programming part). I didn't want to create troubles with that so I moved. Sorry!! I won't use this conversation anymore, we'll continue using the other.

It is good to use the correct forum section. It's best to chose the most appropriate forum section from the start. However, if you do later decide that the forum section you chose is wrong, you can click the "Report to moderator" link and ask them nicely to move the thread.

We actually seem to be moving more in the programming direction in that thread now.

Thread locked.