Show Posts
Pages: 1 ... 6 7 [8] 9 10 ... 26
106  Using Arduino / Programming Questions / Re: Reduce Uno RAM usage on: May 07, 2013, 09:25:16 am
Do not use a wrapper class. When it comes to MCU, there is a rule of thumb: the simpler, the better. That is to be taken from the perspective of the generated code, not from the code written by the programmer.

Creating a class simplifies the coding process quite a bit, and increases reusability, but adds complexity to the generated code, which sometimes the Arduino cannot afford (like you've already found out).

107  Using Arduino / General Electronics / Re: What component can act as a switch and be controlled by an Arduino? on: May 06, 2013, 08:18:52 am
https://en.wikipedia.org/wiki/Relay

+

https://www.google.com/search?hl=en&q=arduino+relay
108  General Category / General Discussion / Re: 2 boards, same digital pins. on: May 03, 2013, 09:32:20 am
Do you mean 2 shields in the same Arduino?

Depending on the protocol those shields use, it is possible for them to share the same pins. For example: I2C devices use the same pins, even although they can be in different shields or even not in shields. The same is true for devices communicating over SPI.

Now, if the devices or shields don't use any of the "cascading" protocols, then you are out of luck.
109  Using Arduino / Networking, Protocols, and Devices / Re: Html5 and Arduino on: May 03, 2013, 09:29:21 am
I want to ask if there is any possible to save the css and jquery files direkt in arduino or there is another way to solve the problem?

I strongly advise you against using the Arduino for storing the CSS and HTML data.

Instead, use a SD card reader. If you are going to buy an ethernet shield, get the model that has a SD card reader on it, so you can also use that for storing the HTML and CSS files.

So, all the Arduino will do is read the HTML or CSS files from the SD card and send them through the ethernet port.
110  Using Arduino / Project Guidance / Re: Maximum reliable baud rate for Arduino mega? on: May 03, 2013, 08:00:48 am
I only use 115200 in my sketches when I need to debug them through the serial port. I've never had any problem with this setting.

Problems I've had with weird chars appearing in the serial monitor had to do with bad connections, incorrectly using the serial pins for other purposes, writing to the serial pins, and so on... in short, in all cases it was *my* problem, and not the Arduino's. 

the Serial monitor also shows weird chars when the arduino is set to communicate at one speed (115200 for example) and the selected speed in the serial monitor (lower right corner of the screen) is something else.

For bluetooth COMs through the serial port, I use 9600 bauds.

111  Community / Exhibition / Gallery / Re: Arduino Mars Rover on: May 02, 2013, 07:16:06 pm
Imagine the dialog:

- What does your daddy do?
- He builds robots similar to the ones NASA sends to Mars!


I can think of only one thing cooler than that:

- What does your daddy do?
- He's an astronaut... his name's Neil Armstrong.


Anyhow, I bet your daughters are very proud of you... I don't even know you and I am proud to be in the same forum as you. Congrats!
112  Using Arduino / Microcontrollers / Re: Is my ATMega328 fried? on: April 29, 2013, 05:50:03 pm
Thanks Alot! (everyone)

Would this work for a HVProgrammer?  http://mightyohm.com/blog/2010/12/new-product-hv-rescue-shield-2-0/


Yes, perfectly.
113  Using Arduino / Microcontrollers / Re: Is my ATMega328 fried? on: April 29, 2013, 05:02:30 pm
Alright, but would I need an USBtinyISP to burn the boot loader or can I just use the HV programmer for both?

For burning a bootloader the USBtinyISP is ok. You can also use an USBasp or another Arduino.
114  Using Arduino / Microcontrollers / Re: Is my ATMega328 fried? on: April 29, 2013, 04:53:10 pm

No. You need a HIGH VOLTAGE PROGRAMMER.

Caps for the VR? If it is a 78xx regulator, use tantalum (recommended) 10uF for input and electrolitic 100uF for output.

115  Using Arduino / Microcontrollers / Re: Is my ATMega328 fried? on: April 29, 2013, 08:37:39 am
If the fuses (and/or bootloader) are gone, something bad happened to the chip.

True, but that is not a permanent situation. It can be recovered.
116  Using Arduino / LEDs and Multiplexing / Re: Multiplexing 30 FSRs on: April 29, 2013, 08:07:19 am
Another option is not to read analog inputs, but read them digitally from three 10-channel ADCs, such as this one:

http://www.hobbytronics.co.uk/adc-i2c-slave

You'll need 3 of these, each one in a i2c address. Since they'll all be in a single i2c chain, all you'll need for the 30 analog inputs are 2 arduino pins (namely the SDA and SCL pins). As you've already figured out, your FSRs will be connected to the ADCs.

8-channel ADCs are easier to find, but in that case you'll need 4 of them. If possible, go for parts that can be chained (like i2c), so you don't use too many arduino pins just to connect the ADCs.

117  Using Arduino / Microcontrollers / Re: Is my ATMega328 fried? on: April 29, 2013, 07:51:07 am
I have a 328 in that same situation.

I don't think it is fried: I think it just lost the fuses bit. I haven't, however, been able to recover it yet.
118  Using Arduino / Sensors / Re: Conversion units from mg/L to ppm on: April 29, 2013, 07:46:27 am
1mg/l is equivalent to 1ppm..

that is true only for water or other substances where 1 ml weights 1mg

For everything else you have to know its specific weight (mg/mL), because the conversion of mg/l to ppm depends on the substance - it isn't like going from ºF to ºC.

In your case, go with what the datasheets specifies: 0.4mg/L = 220ppm

119  Community / Exhibition / Gallery / Re: ArduGuitar! on: April 26, 2013, 03:14:50 pm
From your page:
Quote
First, I analyzed the circuitry of an old IBanez RG140 guitar which dated back to 1980. Don't worry, that's not old for electric guitars, in fact people pay more to get even older junk - as if any technology was better in the 1950s than it is today?

Old guitars' advantage is not the electronics in it: it is the wood they are made of. A 1980's mid-end guitar possibly has better woods than many of today's high-end guitars. Besides, some of them were handcrafted, and China still wasn't what it is today, so not that many companies were outsourcing production to China (I believe Singapore was more popular back then: the Asian Tiger)

An extremely high number of laws have passed since then that limits exploration and export of certain types of woods (such as Brazilian mahogany), which makes them extremely expensive nowadays.

Other than the quality of the pickups, the electronics in a guitar are so simple, one can compare a handmade American Fender to a mass produced Chinese Squier in that department (everything else is different!)

My guitar is an unknown Spanish brand called "SX", a Les Paul clone, bought in 2008 for cheap. It was sold as having the body made from solid mahogany. I doubted that at first, but once I installed Seymour Duncan pickups in it, and changed the strings for 0.010" D'Addarios, it started sounding beautiful, bluesy, perfect! Then I realized it was indeed made of mahogany: in 2009 the company was raided by some enviromental agents for illegally importing mahogany from Brazil and eventually had to pay an extremely high fine. All of their current guitars are made of crappy woods. My specific guitar has, since then, more than tripled in value.
120  Community / Bar Sport / Re: Arduino based replicator on: April 26, 2013, 07:20:50 am
Are you living anywhere near the Swiss/French border outside Geneva? More specifically, near a very large and long tunnel near there?

If you are, I can help you by telling you where to start getting all parts you need. Since you'll need more than a 25 digital pins, I suggest you start with an Arduino Mega (even better: a DUE).
Pages: 1 ... 6 7 [8] 9 10 ... 26