Show Posts
Pages: 1 ... 14 15 [16] 17
226  Using Arduino / Programming Questions / Re: Time Libraries on: November 11, 2012, 05:10:50 pm
Ok it should be simple but there not any thing that shows how to handle a byte.
Looks like it would be done this way
Code:
Serial.write( TIME_HEADER);
Now for next problem
Code:
C:\Documents and Settings\Burt\My Documents\Downloads\arduino-1.0.2-windows\arduino-1.0.2\libraries\DateTime\DateTime.cpp: In member function 'void DateTimeClass::setTime(time_t)':
C:\Documents and Settings\Burt\My Documents\Downloads\arduino-1.0.2-windows\arduino-1.0.2\libraries\DateTime\DateTime.cpp:28: error: 'millis' was not declared in this scope
C:\Documents and Settings\Burt\My Documents\Downloads\arduino-1.0.2-windows\arduino-1.0.2\libraries\DateTime\DateTime.cpp: In member function 'time_t DateTimeClass::now()':
C:\Documents and Settings\Burt\My Documents\Downloads\arduino-1.0.2-windows\arduino-1.0.2\libraries\DateTime\DateTime.cpp:43: error: 'millis' was not declared in this scope
227  Using Arduino / Programming Questions / Re: Time Libraries on: November 11, 2012, 03:11:43 pm
Well  just got done going over the file and this may be the cause of the problem
Code:
{
  Serial.print(TIME_REQUEST,BYTE); 
  return 0; // the time will be sent later in response to serial mesg
}
228  Using Arduino / Programming Questions / Re: Time Libraries on: November 11, 2012, 03:06:58 pm
Well I just looked at the libraries for Date Time and there casting byte to uint8_t so that shouldn't be a problem

And Yes I'm trying the sample for Timeserial so it may be just the sample.

229  Using Arduino / Programming Questions / Time Libraries on: November 11, 2012, 02:41:28 pm
I was wanting to use the time libraries But they don't play nice with arduino 1.0.1 or 1.0.0
And the Date time libraries has byte used in the serial part which keeps it from working.

Here what I get
Quote
sketch_nov11a.cpp: In function 'void loop()':
sketch_nov11a:31: error: 'BYTE' was not declared in this scope

As of Arduino 1.0, the 'BYTE' keyword is no longer supported.
Please use Serial.write() instead.


And here the Time sample
Quote
TimeSerial.cpp: In function 'time_t requestSync()':
TimeSerial.pde:-1: error: 'BYTE' was not declared in this scope

As of Arduino 1.0, the 'BYTE' keyword is no longer supported.
Please use Serial.write() instead.


230  Using Arduino / General Electronics / Re: 7805 IC Regulator outputting 9v. on: November 08, 2012, 11:58:18 pm
He is feeding some back with R1 so he could be getting 9 volts
231  Using Arduino / General Electronics / Re: Trying to understand pull-up resistors on: November 07, 2012, 05:52:40 pm
Your totally wrong here the DS18B20 is one wire the resistor is used to hold the line high when the chip is not sending data.

The ardunio send out a call for the DS18B20 and it send back that its on the line after is sees that the Line is high it sends data. Then when the line is high the ardnuio can send to the DS18B20 what it wants if it needs to set the chip or just let the chip tell how hot or cold it it is.
232  Using Arduino / Project Guidance / Re: Guidance on an outdoor surveillance application on: October 31, 2012, 10:44:39 am
I don't no if this would work for you but I used a CCD camera It has 10 IR leds so it can see at night.

This is what these things can do It will output a voltage change when you move, but it's read able you could tell what is in front of it.



It could do what you want I hooked the power to 5 volts and used ADC to read the video and you get movement readings
that change with size and heat.

And there repeatable
233  Using Arduino / Project Guidance / Re: TX/RX pin and serial communication on: October 30, 2012, 10:01:42 am
This may help you Plug the uno to your PC load a blink sketch now when it
gets to where it tells program Memory used at the bottom of the IDE press the reset button and let it go.

That should let the boot loader take over. And should program you may have to do more then one time to get the timing right But if you chip didn't
blow the pins TX and RX it should work.

The boot loader starts first then your program so if you reset it will give you a little more time so the boot loader can take over before your program loads. 
234  Using Arduino / Project Guidance / Re: What do I need ?! on: October 30, 2012, 09:01:27 am
You would get better help if you had named this telling what your making
I would ask a mod to change the name

To something like this

What parts do I need to make a money collecting machine.

Not really much less you want to count the money. So most of what you add to it is really for show. I would think of added blinking LED's to cache peoples eyes so they drop in some money.
235  Using Arduino / General Electronics / Re: AMS1117 3.3v volt regulator draws power when bypassed on: May 28, 2012, 09:35:59 pm
I guess you did post that But there was the same thing posted by Jon. That site you can't tell who did what it's changed to much. Still great idea majenko not new but Nice

The OP can use smd part it would be very small foot print.
236  Using Arduino / General Electronics / Re: AMS1117 3.3v volt regulator draws power when bypassed on: May 28, 2012, 02:13:49 am
John posted how to use a diode without voltage drop over here http://digital-diy.com/forum/general-electronics/mini-tip-diode-without-a-voltage-drop-t2206.html#p13262
237  Using Arduino / General Electronics / Re: 5v relay and motor on: May 14, 2012, 06:23:50 pm
If what your saying is you hooked 8 volts to the arduino and are by passing the regulator.
If that's right you may of cooked it.
238  Using Arduino / General Electronics / Re: mosfet failure reasons? on: May 10, 2012, 10:13:27 pm
Sounds like you have shoot-through show your circuit. But its hard to say not seeing how you have the speaker hooked up. But you should be using a cap to feed the speaker.
239  Using Arduino / Project Guidance / Re: Door Lock on: April 27, 2012, 10:26:35 pm
You don't what to hold that latch open for a long time there not made for that.

Have a look at this http://arduserver.com/ it's basically the same thing led on door opens led off door is locked just use a fet to sink the power of the latch coil.
240  Using Arduino / General Electronics / Re: Snapped strip board, best way to fix? on: March 17, 2012, 07:56:09 pm
Use a sharp knife to score it on both sides like has been said your lungs will love you for that.

Any kind of grinding needs lots of ventilation and a mask these boards are made with glass fibers and when you grind it the dust will stay in you lungs which can't be good.   
Pages: 1 ... 14 15 [16] 17