Transistor
  • Member for 6 years, 4 months
  • Last seen more than a week ago
What are these components in Arduino Mega Schematic?
6 votes

The symbol indicates a pair of solder pads that can be bridged by the user using a blob of solder. Here's something similar. Figure 1. Source: CyberGibbons.

View answer
Does a pin (input pin Arduino) still float when connected to GPIO on RPI?
Accepted answer
3 votes

You need to enable the internal pull-up resistors which are designed to prevent undefined input states on unconnected inputs. Change pinMode(5, INPUT); to pinMode(5, INPUT_PULLUP); For more ...

View answer
Can I connect Multiple Devices to One 5V and one GND pin of my Arduino Uno R3
Accepted answer
3 votes

Yes, you can connect multiple devices to GND and +5 V. You may find that you need to bring one wire from the PCB to an external connector or piece of stripboard so that you can make more reliable ...

View answer
H11L1 opto isolator does not pass signal to Arduino (correctly)
Accepted answer
3 votes

simulate this circuit – Schematic created using CircuitLab I'm not sure I can help much with the MIDI problem but I can help with the schematic. I've reorganised it for clarity. Since the opto-...

View answer
Negative voltage: How do I scale a 0 to 5 V signal to -10 V to +10 V?
3 votes

Your question should read: How do I scale a 0 to 5 V signal to -10 V to +10 V? First write the conversion formula: Vout = 4 * Vin - 10 Testing the formula gives the following: Vin = 0.0 V ==> ...

View answer
Programming a motor with an RGB
Accepted answer
3 votes

Try this: void setup () { pinMode(0,OUTPUT); //IB1 pinMode(1,OUTPUT); //IA1 // pinMode(2,OUTPUT); //IB2 // pinMode(3,OUTPUT); //IA2 pinMode(4,OUTPUT); //RGB red pinMode(5,OUTPUT); //RGB ...

View answer
How can I easily see which COM port is used by Arduino?
Accepted answer
2 votes

Start | Control Panel | System | Device Manager | Ports (COM & LTP). Watch the list change as you plug / unplug the Arduino. The new port is the Arduino.

View answer
Arduino with multiple buttons - will power be an issue?
2 votes

Yes, it is safe to connect multiple buttons to ground. The pull-up resistors have a fairly high value - about 10 kΩ and we know from Ohm's Law that I = V / R = 5 V / 10k = 0.5 mA per button. Your ...

View answer
How would I use Arduino microcontroller separately?
2 votes

Look at the schematics and see which bits you don't need. Leave those out and what's left is what your require. You then would need to design a circuit board for these parts. Now, who should we blame ...

View answer
Why is 1020 steps used for crossfading colors on an RGB LED?
Accepted answer
2 votes

Extract from code: int wait = 10; // 10ms internal crossFade delay; increase for slower fades for (int i = 0; i <= 1020; i++) { redVal = calculateVal(stepR, redVal, i); grnVal = ...

View answer
How do I make a stepper motor compass cross 360° to 0°?
1 votes

Two options (for starters): Use the move() class rather than the moveTo() class. This will allow you to do relative moves rather than absolute. Use setCurrentPosition() (which sets the current ...

View answer
Ignore event until x minutes
1 votes

Use the millis() function instead if you can accomodate a rollover after 50 days. Take a reading of millis() at the start time. time_pushed = millis() + 5 * 60 * 1000; // 5 minutes into future. ...

View answer
Delaying pushbutton input to microcontroller while it's busy processing I/O
1 votes

Without looking any further than the first delaymicroseconds() command I would say that that's where the trouble lies. The delay() functions are very handy for getting the beginner's first LED to ...

View answer
Where to connect an external power source for an Arduino motor driver shield to?
Accepted answer
0 votes

There are two things you need to do: Prevent the motor drawing its power from the micro-controller board. Make sure that all the grounds are connected but avoiding motor current return through the ...

View answer
Connect an Arduino directly to RGB LED strip
0 votes

No. Two reasons: The Arduino can only supply about 40 mA per pin max. Your LEDs will require about 1000 mA or so per channel (based on the 3 A PSU supplied with the unit). The LEDs are individually ...

View answer
Arduino Accessing a web page
0 votes

Unfortunately that text is delivered as part of the complete web page and not, for example, an AJAX request. Do you supply an RSS feed of your forecasts? This is not something we provide at present, ...

View answer
Arduino + ultrasonic rangefinder behaving unexpectedly
0 votes

Your comments don't match your timing delay values and the datasheet specifies a 10 µs pulse. You're giving it 30 µs but you might get away with it. I'd look at how often you're triggering the ...

View answer
Arduino to send sms one time only when a button is pressed
Accepted answer
0 votes

You are resetting count every time you enter the function. static int count; // initialized to zero, once. Adding the static statement should initialise the variable once and preserve its value ...

View answer