Show Posts
Pages: [1] 2 3 ... 22
1  Using Arduino / Project Guidance / Re: Need Assistance Please on: October 05, 2014, 11:27:35 pm
It looks like Sainsmart forgot to include the i2cdev.h file in their download.

You can get it here:

Copy the contents of the Arduino -> i2cdev folder into your balancing_robot folder and it will compile just fine.
2  Using Arduino / Project Guidance / Re: Arduino Uno R3 and Stepper Motor And A4988 on: September 29, 2014, 04:44:47 pm
The first thing you need to do is post your code here.
Second we need to know which SPECIFIC stepper motor you are using.
3  Using Arduino / Project Guidance / Re: Arduino Uno wont upload program on: September 24, 2014, 09:02:06 pm
Please post the exact code that you are using. You most likely have a layout error in the code.
Please use the insert code (#) symbol to properly post the code.

The basic blink sketch should look like this:
void setup() {
  // initialize digital pin 13 as an output.
  pinMode(13, OUTPUT);

// the loop function runs over and over again forever
void loop() {
  digitalWrite(13, HIGH);   // turn the LED on (HIGH is the voltage level)
  delay(1000);              // wait for a second
  digitalWrite(13, LOW);    // turn the LED off by making the voltage LOW
  delay(1000);              // wait for a second
4  Products / Arduino Due / Re: General Due Question on: August 26, 2014, 06:46:20 pm
Teleduino is written for AVR chips, the Due uses an Atmel SAM3X8E ARM Cortex-M3 CPU.

You would need to research the libraries that Teleduino uses and see if they have been ported to the Due's ARM chip.

As for EEPROM, the 16u2 chip on the Due does have 512 bytes of EEPROM. This post will tell you how to access it:

Othewise you could use an external EEPROM.
5  Products / Arduino Due / Re: Arduino Due libraries (official and 3rd party) on: August 25, 2014, 03:52:48 am
The library is linked at the bottom of the post that you quoted.

Look for this -  pwm01.h (3.96 KB - downloaded 338 times.)
6  Using Arduino / Programming Questions / Re: Need help with code for WEATHER SESTEM on: August 22, 2014, 06:29:04 pm
There are a lot of circumspect "answers" here. What we need is the following:

1)  ALL THE CODE that you are using.
2) Tell us WHERE you installed the dht11 library.
3)  Have you closed and reopened the Arduino IDE after installing the dht11 library?

From this beginning, we can drill down to more specifics.
7  Using Arduino / General Electronics / Re: Whats are the holes on this relay for? on: August 21, 2014, 05:28:54 pm
I think he means he is hooked up to either NO and C or NC and C, and wondering what the other connection (either C or NC) is used for. I don't think he means he spanned over the C and connected the NO and NC together
8  Using Arduino / Project Guidance / Re: Arduino and PLC Intragration on: August 16, 2014, 07:05:55 pm
A Google search for Arduino ph gave me 1.41 million hits.

This is one of the cheaper implementations:
9  Products / Arduino Due / Re: error compiling on: July 29, 2014, 01:50:41 am
Without seeing the sketch that you are trying to compile it's rather difficult to offer any advice.
10  Using Arduino / Programming Questions / Re: Libraries vs "sketchbook folder" libraries on: June 22, 2014, 03:09:06 pm
If there is still a library out there that is broken by the changes to IDE 1, then that is abject laziness on the part of the developer. Developing requires CONSTANT changes and updates. The people that make the environment that someone to chooses to develop for have ZERO OBLIGATION to hold people's hands for something that they are giving away for FREE.

If it's such a terrible problem I have a solution - STOP using Arduino, STOP helping in the forums, STOP writing libraries, STOP the juvenile whining.

Arduino owes you NOTHING. Their JOB is to develop the hardware. The IDE was simply a GIFT to the community. Nothing is stopping you from tossing the IDE entirely, writing your own libraries and code in assembly, and uploading from the command line through a toolchain that you configured entirely on your own. See, no more "Bad, evil, mean Massimo" tarnishing your coding with his "Terrible, disgusting, up to date, FREE IDE."

I SERIOUSLY doubt that you, or anyone else here have suffered any harm by the changes to IDE  1.  For some unknown reason, people just persist in wanting to make the world think that they are some sort of victim. Get over it or leave - the incessant negativity causes far more harm than ANYTHING that IDE 1 has caused.
11  Using Arduino / Programming Questions / Re: Libraries vs "sketchbook folder" libraries on: June 21, 2014, 10:33:24 pm
Ultimately the Arduino group has the right to make any changes that they see fit for their product. Does that potentially place 3rd party developers at odds with them? Of course it does. However, considering that the Arduino IDE is the work of the Arduino group, they have every right to force changes in order to move forward with their development goals. Any third party developers that do not like this reality certainly had the opportunity to simply stop supporting Arduino - nothing was forcing them to do so. Complaining to this day about this subject is simply sour grapes.

12  Using Arduino / General Electronics / Re: What RTC real time clock module is the best? on: June 14, 2014, 01:53:05 pm

For a few pennies more you could have a ready-made DS3231 with 32kb of EEPROM, accurate to 2ppm rather than the 20ppm of the crystal that you listed. I need ACCURATE TIME not SLOPPY time, so I demand the DS3231 - others may not have such requirements.

If size is the paramount consideration, build your own DS3231 without the EEPROM. It even has a lower component count than the DS1307.
13  Using Arduino / General Electronics / Re: header block tails are TOO SHORT. WHERE can I get the good ones? on: June 14, 2014, 01:39:10 pm
The last time this conversation came up, somebody pointed out that the square type B connector used on the Uno/Mega is still used by USB printers

As you would expect.  The argument that the smaller connector would be "more durable" is certainly counter-intuitive.

And then there is the "mini", used on disk drives, hubs and all sorts of widgets.

though they seem to be the last holdout, and most things have gone to the micro-B plug ... Part of this is the European law that mandated micro-B as a standard for cell phone chargers.

Where "most things" means phones and tablets.  Which makes perfect sense.  The flimsy connector on an Aldi mobile phone which looks like a micro B but isn't, and breaks easily was rather annoying.

I've seen complaints that the micro B connectors tended to rip off of electronics more than the mini B, but with the exception of stuff from Adafruit, all of my USB gadgets have been micro B for the last few years.

But therein is the trick - in your hands or most of ours, this may well not be a major problem.

The 5.5x2.1mm co-axial terminals seem to be heavily used for security cameras.

And modems, and network switches, and many other things.  But there are many variants, especially on laptops, some ridiculously small such as on my ASUS EeePC here!

The retention strength and make/break rating of micro USB is far superior to any other USB - look at the specs instead of personal opinion - just like a component the datasheet/specs are the go to for information, not personal opinion. Micro USB has a passive latching mechanism which increases retention force but which allows removal without active user action. Micro USB is rated in excess of 10,000 insertion cycles vs 5,000 for mini and 1,500 for standard.

As for the micro USB connectors ripping off, that is nothing but shoddy, amateurish soldering, not a design flaw. Micro USB is designed to reduce the mechanical wear on the device; instead the easier-to-replace cable is designed to bear the mechanical wear of connection and disconnection. The Universal Serial Bus Micro-USB Cables and Connectors Specification details the mechanical characteristics of Micro-A plugs, Micro-AB receptacles (which accept both Micro-A and Micro-B plugs), and Micro-B plugs and receptacles, along with a Standard-A receptacle to Micro-A plug adapter.

Everyone is entitled to their opinion, but that does not change the fact that micro USB is far superior to any other USB connector to date. All other USB connectors have been deprecated and the only one recommended for use today is the micro. Any company using other than micro USB is not following best engineering practices.
14  Using Arduino / General Electronics / Re: header block tails are TOO SHORT. WHERE can I get the good ones? on: June 14, 2014, 01:32:05 am
Mini and micro USB are both better, more durable, and more reliable than B.
But the leads / sockets tend to have a high resistance. On the Raspberry Pi this can cause a drop of over half a volt with some leads.

Since this affects Raspberry Pi, I say the issue is with the construction of the Raspberry Pi rather than the USB mini or micro - It's certainly not an issues with the millions of phones and tablets that use mini and micro USB. Nor is it a problem with the Arduino Due or Tre or Leonardo or Micro or Nano or Fio or Zero or...
15  Using Arduino / General Electronics / Re: What RTC real time clock module is the best? on: June 13, 2014, 10:41:00 pm
The chronodot is an overpriced DS3231.

DS3231 is a low-cost, extremely accurate I2C real-time clock (RTC), with an integrated temperature-compensated crystal oscillator (TCXO) and crystal.  The DS3231 is accurate to 2ppm at 0-40 °C range

No need to pay the inflated price of the chronodot though. I get my pre-made DS3231's from here, with an onboard AT24C32 32K EEPROM:
Pages: [1] 2 3 ... 22