Show Posts
Pages: [1] 2 3 ... 600
1  Topics / Robotics / Re: Software or Hardware for this part of my robot? on: Today at 12:15:11 pm
Are you using SoftwareSerial for the bluetooth interface?  It will disable interrupts for significant periods of time and that causes jitter in the Servo library.

If you can use a Leonardo you can use the hardware serial port (Serial1) for Bluetooth while still using USB (Serial) for upload and debug.

The Arduino MEGA also has several spare hardware serial ports.
2  Topics / Robotics / Re: Arduino Nano cannot read RC receiver by Pulsein? on: September 29, 2014, 08:57:42 am
Is it possible that the Arduino ground is not connected to the RC Receiver ground?
3  Using Arduino / Programming Questions / Re: Digital Hourglass will not execute at 600 000 ms (10mins) on: September 28, 2014, 10:55:30 am
 Suspect that the problem is declaring 'interval' as long and not unsigned long. All variables an constants used to hold time values in milliseconds should be unsigned long.
4  Using Arduino / Microcontrollers / Re: ArduinoISP failure, device signature 0x0000, programmer is not responding on: September 28, 2014, 10:44:23 am
Apart from that, what about the device signature bring 0x0000 and the boot loader flashes in seconds. Should that be a cause of concern?

The signature being 000000 probably means a bad ICSP connection or maybe the system clock isn't running. Once you burn an Arduino bootloader you need a 16 MHz crystal connected to get the processor clock running.
5  Using Arduino / Microcontrollers / Re: ArduinoISP failure, device signature 0x0000, programmer is not responding on: September 27, 2014, 09:20:00 pm
When you use "Upload Using Programmer" your sketch overwrites the bootloader. To go back to using the bootloader to upload you have to do a "Burn Bootloader".
6  Using Arduino / Programming Questions / Re: Decoding "unknown" remote, resending signal on: September 23, 2014, 03:48:37 pm
Some codings use a different number of state transitions (high-to-low or low-to-high) to represent 1s and 0s. Your different length codes probably just have different numbers of 1s and 0s so they have different numbers of state transitions.
7  Using Arduino / LEDs and Multiplexing / Re: control led matrix 8x8 using two driver cd4026 on: September 23, 2014, 03:40:46 pm
I don't think you can drive an 8x8 matrix with two single-digit 7-segment counter drivers.
8  Development / Suggestions for the Arduino Project / Re: Can an arduino sketch switch "board" when it's opened? on: September 23, 2014, 03:27:55 pm
Your sketch can't set the board type. About the best it can do is generate a compile error if you have set the wrong board.
9  Using Arduino / Project Guidance / Re: Operating arduino at voltage less than 3.3V ? on: September 19, 2014, 09:10:56 am
The ATmega328p will operate at 8 MHz down to 2.4V so if you are running at 8 MHz you can run it on 2.8V.

If you are running at 16 MHz you should use at least 3.78V.
10  Topics / Home Automation and Networked Objects / Re: Ir Controller Using Arduino on: September 18, 2014, 09:34:20 pm
BUT if i remove some irsends say up to case 108, the program starts working again!!

That is often an indication of running out of SRAM.  If you have any constant data, particularly arrays and strig constants, you should move them into FLASH memory.  See: http://arduino.cc/en/Reference/PROGMEM
11  Using Arduino / General Electronics / Re: 'Reading' PWM duty cycle on: September 18, 2014, 09:29:18 pm
Code:
unsigned long highTime pulseIn(inputPin, HIGH);
unsigned long lowTime pulseIn(inputPin, LOW);
unsigned long cycleTime = highTime + lowTime;
float dutyCycle = (float)highTime / float(cycleTime);
You may have to put in special cases for the timeouts you will get when the duty cycle is 0% or 100%.
12  Using Arduino / Installation & Troubleshooting / Re: pins_arduino.h missing when compiling with a makefile on: September 18, 2014, 09:21:47 pm
pins_arduino.h is found in the selected "variants" folder/directory like hardware/arduino/variants/standard/pins_arduino.h.  .  Perhaps that is something you can define in your makefile:
Code:
variant = standard
13  Using Arduino / Sensors / Re: GPS doubts on: September 18, 2014, 09:14:40 pm
If you are lucky the GPS uses a TTLSerial-to-USB chip for the USB interface.  Then you might be able to tap into those serial connections.  The alternative would be something like a USB Host Shield but I don't know if anyone has written the drivers to allow an Arduino to connect to a USB Serial chip.
14  Using Arduino / Project Guidance / Re: Transformers on: September 18, 2014, 06:22:35 pm
You should be able to build a transformer to get from 24VAC to 15000VAC.  If you need either of those to be DC you will need additional components.  Of course the output current will be less then 1/625th of the input current.  Do you know how much current you need to get out of the power supply?
15  Topics / Device Hacking / Re: do you recognize this asynch serial protocol? Saleae capture on: September 18, 2014, 06:18:25 pm
Not much of a sample but the shortest pulse seems to be about 0.333 mS.   If that pulse represents one bit time it would be about 3000 bits per second.  That's not very close to the common async speeds 2400 and 4800.  Perhaps it uses one of the automotive standards like CAN.
Pages: [1] 2 3 ... 600