alexan_e
  • Member for 7 years, 11 months
  • Last seen more than 1 year ago
What happens if I power the Arduino with both the USB and external power voltage simultaneously?
62 votes

I am a novice user of Arduino. I am not sure whether I can connect both USB and external supply through power adaptor to Arduino simultaneously. Would this burn the controller? Lets study the ...

View answer
How do I know the sampling frequency?
22 votes

The Arduino ADC clock speed is set in ..arduino-1.5.5\hardware\arduino\avr\cores\arduino\wiring.c Here is the relevant part #if defined(ADCSRA) // Set A/D prescale factor to 128 // 16 MHz / ...

View answer
Powering Arduino with car batteries
Accepted answer
18 votes

Use a switching regulator such as the LM2596. You can get a ready board from eBay for about US$1. Just set the output voltage to 5 V and feed the Vcc input of Arduino; this bypasses the onboard ...

View answer
I'm using too much RAM. How can this be measured?
Accepted answer
15 votes

You can use the functions provided AVRGCC: Monitoring Stack Usage The function was intended to check the stack usage but what it reports is the actual RAM that has never been used (during execution). ...

View answer
Should I try to make my sketches as small as possible, even when I have enough room?
12 votes

You second code may be smaller in size but due to the function call overhead the max execution speed is reduced. Does this matter in your case? No, because you have huge delays anyway, but if the code ...

View answer
Arduino motor shield orange/white pin usage
7 votes

...which pins are mapped to the data pins etc. The shield page provides a schematic I would like to know some more information about the orange and white pin blocks on the board These have the ...

View answer
Arduino as ISP without a computer
Accepted answer
5 votes

I think µProg – tiny, fast, portable AVR programmer with SD does what you want. You can store multiple files in the SD card (hex, eep etc) and select from the device menu which one to write to the ...

View answer
Is there a way to make wiring a bare microprocessor to a shield easier?
4 votes

You can make adapter boards (one for each mcu model). The bottom side (male headers) would plug to the breadboard and the upper side would have female headers with the same pinout as an Arduino board ...

View answer
Timer2 does not work as it should
Accepted answer
4 votes

I have located the source of the problem. In file wiring.c (arduino-1.5.6-r2\hardware\arduino\avr\cores\arduino) which gets called before setup(), there is the following part that tries to changes ...

View answer
On my lcd my characters collide, how can i remove one(because of the programming)
Accepted answer
3 votes

The HD44780 controller has a 80 bytes (characters) memory, in order to support up to 2x40 character displays. Since you use a 2x16 display, there is an empty space in the memory you can use on your ...

View answer
Esp8266 Arduino smart connect
2 votes

The following code can do what you want (source), all that is needed is to combine it with the sensor code. The default behaviour is to create an access point when it can't connect to the eeprom ...

View answer
Attiny84 and 2-Axis Joystick
1 votes

Several AVR devices including ATtiny 84, have a clock prescaler that can be used to lower the core frequency. The divider can be controlled two ways. The first way is the CKDIV8 fuse that controls ...

View answer