Show Posts
|
|
Pages: [1] 2 3 ... 151
|
|
1
|
Using Arduino / General Electronics / Re: Basic Ohms law problem
|
on: February 02, 2013, 05:03:36 pm
|
Witch in reality puts out 6.24vdc and makes my scanner blink crazy. If your arduino runs off an r/c oscillator, its frequency is more dependent on the voltage, but not that dependent. AVRs can work comfortably at 6.24v. If you are really concerned about it, you can put a diode or an led in serial + a resistor to pull down the voltage. Moderator edit: dhenry was banned for making this post. The quoted figure of 6.24V exceeds the maximum rating of the chip. This is not the first time that dhenry has made completely false assertions. Strikeout added by me. (Nick Gammon)
|
|
|
|
|
2
|
Using Arduino / Project Guidance / Re: Shift Registers
|
on: February 02, 2013, 04:00:54 pm
|
This thread seems to suggest that is not true, but I could be completely wrong? You are not wrong. People saying "no" in that thread are wrong. Not only it can be used as input, in some cases, the same pin can be used as input and output at the same time. And it is a pretty old idea for embedded programmers.
|
|
|
|
|
3
|
Using Arduino / Project Guidance / Re: send digital output based on sound frequency.
|
on: February 02, 2013, 01:00:25 pm
|
Does anybody know the code that would help me do this. Programming is simple: all you need to do is to pretend to be a computer trying to replicate activities that a human would otherwise perform to achieve the goal. So in your case, ask yourself how YOU as a human would have done here to achieve your goal. Once you have that cleared, it is a breeze to tell the computer to do it for you.
|
|
|
|
|
4
|
Using Arduino / Displays / Re: 1602a 16X2 LCD is blank
|
on: February 02, 2013, 08:14:04 am
|
The power busses at the top left corner of the picture ( red, orange, yellow and white wires ) are not connected to where you bring in the power at the top right of the picture (blue and white wires). due to optical illusion. You can count the pins, from right to left, as the leds for sure work so pin 15/16 are right.
|
|
|
|
|
8
|
Using Arduino / Displays / Re: Is it possible to display an Analog meter with Arduino?
|
on: February 01, 2013, 06:11:18 pm
|
I was hoping this can be done with Arduino Yes - in principle. No - in practicality. The programming is reasonably involved, especially if you want to code to a logic graphics interface, for portability reasons. However, if you are willing to use a faster / cheaper chip, NXP offers emWin, completely free of charge and without any limitations, for its line of mcus. My experience with emWin (both on lpc and other chips) has been nothing but outstanding.
|
|
|
|
|
11
|
Using Arduino / General Electronics / Re: varying high voltage
|
on: February 01, 2013, 05:53:27 pm
|
2W led down-lights They are fairly (read: very) difficult to dim. If I would you, I would start with regular incandescent light bulbs: you can dim those things easily with a bridge rectifier + mosfet, if you are OK with floating the whole dimmer.
|
|
|
|
|
12
|
Using Arduino / Programming Questions / Re: Is there a good Basic interpreter?
|
on: February 01, 2013, 05:49:15 pm
|
good riddance. No language (or any tool, for that matter) can do everything effectively and efficiently to everyone's satisfaction - that's why we have so many different langues / tools. Judging a language's "inferiority" on its inability to perform a task is futile.
|
|
|
|
|
13
|
Using Arduino / Networking, Protocols, and Devices / Re: Clean, straight-forward MPU-6050 code
|
on: February 01, 2013, 08:24:06 am
|
it too is ridiculously long. That particular piece of code is actually well written. It's well structured and well commented. In particular, the use of all the defines helps make the code more portable and more readable / maintainable. That's how one is supposed to have written code pieces in C - I would have put it in a .c/.h file for that's for another discussion. The actual code being executed are towards the bottom, if you wish to live with magic numbers - a very bad way of programming. The device is i2c, so it can be easily coded as such. A 15 minute job, max, if you want to roll your own.
|
|
|
|
|