Show Posts
Pages: [1] 2 3 ... 180
1  Using Arduino / Project Guidance / Re: ATTINY45, Solution/Substitution for FreqCount Library? on: Today at 11:06:40 am
Quote
The input is a 12.5khz square wave, i just need to turn the outputs on when its present and off when it is not.
If all you need to do is detect if the square wave is present or not but don't need to check it's frequency and duty cycle are correct then how about using an RC circuit connected to an analogue input pin to detect it. Easy to do on an tiny85. You could also use the RC circuit output into a comparator and dispense with the tiny85.

EDIT: If you need to check duty cycle and frequency then use interrupt pin on a tiny85.
2  Using Arduino / Programming Questions / Re: ArduinoISP sketch is bad ? on: Today at 10:48:57 am
Thank you for the information! If I understand you correctly the sketch is in "C" and I need Hex?
Not quite, the code is written in C++ (the same as normally used in the Arduino IDE) but it is not written for compiling on the Arduino IDE.
All sketches written for the Arduino IDE need a void setup() and void loop() and expect hardware pins/ports etc to have specific names. The program you supplied is written for compiling on a different IDE (with different needs and names) and to save you downloading/installing & learning this new IDE I hoped someone here who already has it installed would compile it to create the .hex file for you that you can then upload to the tiny85 MCU.

EDIT:
Or re-write the code to work on Arduino as Erni has done.
3  Using Arduino / Networking, Protocols, and Devices / Re: maxim 3231 on: Today at 10:34:44 am
second = (val/16*10) + (val%16)
That's pretty much the way the library code I have does it. It just does (val >> 4) to divide by 16 instead.
Don't forget you will also need to convert to BCD to set the date/time
4  Using Arduino / Sensors / Re: What kind of sensors are? on: Today at 10:28:58 am
Quote
ooo i think a battery ~3000mah an d25c will be fine for 10 min flight? Am i wrong? is there is something else that I should concider ?   

They do look similar, but a piezo is not usually referred to as a sensor , though it could be used as microphone. If the OP thought they were microphones wouldn't he call them that ? (granted where a Newbie is concerned, anything is possible).
Hi raschemmel,
Not sure where your random quote above came from but I suspect your crossing your replies.  smiley-confuse

The OP quotes...
Quote
puts on the features which are 2pcs buzzer but not equal,
so I figured if they look like piezo (that can be used for knock sensors) and the OP refers to buzzers, they probably are buzzers.
5  Using Arduino / Networking, Protocols, and Devices / Re: maxim 3231 on: Today at 08:09:23 am
The time and date info from the DS3231 is read in BCD (binary coded decimal) format and this is probably where your seeing the errors. There are several libraries that work with the DS3231 & DS1307 RTC chips, I suggest either using one of them or at least looking to see how they work in conjunction with the datasheet.
6  Using Arduino / Sensors / Re: What kind of sensors are? on: Today at 04:57:57 am
They look like piezo buzzers from what you show in the images. They are obviously different makes/designs as one has the back enclosed with resin and the other is open.
7  Using Arduino / Networking, Protocols, and Devices / Re: Ethernet shield without connecting it to the router on: Today at 04:51:35 am
To connect the Ethernet shield directly to your Laptop you will probably need an Ethernet crossover cable. These are wired differently than ordinary Ethernet cables. The IP address of your shield and the web IP address are all software defined in the arduino sketch.
8  Using Arduino / Motors, Mechanics, and Power / Re: How can I know the frequency of a RF module of motorized blind ?? on: Today at 03:50:03 am
Can you tell the OP how the device linked can tell him the frequency of the signal used in his blinds ? ( I can't)
As floresta has pointed out the DVB TV tuner can be used as a software defined radio (SDR). Adafruit have a nice little write-up on using one here. The dongle design they use is different but the important parts are the RTL2832U and R820T chips used inside. I have one and it works really well with SDR-Sharp software for analogue signals and you only need it to determine the frequency in this case. I have yet to find good digital capture/decode software though.
9  Using Arduino / Programming Questions / Re: ArduinoISP sketch is bad ? on: Today at 03:41:26 am
The code you have linked to is not written for use in the Arduino IDE so will show errors. You could try downloading a suitable IDE that will compile it of maybe someone here will do it for you and supply the HEX file for you to upload. I only have the Arduino IDE at home and wont be back in work for a couple of days to compile using AVR studio or Codeblocks.
10  Using Arduino / Motors, Mechanics, and Power / Re: How can I know the frequency of a RF module of motorized blind ?? on: September 22, 2014, 10:20:02 am
For a cheap radio scanner buy something like this. The R820T chip inside is capable of approximately 25MHz-1750MHz range so will be fine to determine the frequencies your interested in.
11  Using Arduino / Interfacing w/ Software on the Computer / Re: Arduino Uno - Speed down bootloader on: September 22, 2014, 09:55:11 am
do you know where I can find a repository with this kind of bootloader or an howto on how to use?
The bootloader source and it's makefile are included in the Arduino IDE download. See if you can find a tutorial (or more knowledgeable person than me) to explain how you tweak the makefile to change the baud rate  and compile a new bootloader.
You will need some form of programmer or another UNO loaded with ArduinoISP to burn the bootloader.
12  Using Arduino / Programming Questions / Re: Need help with storage of multiple ints on: September 22, 2014, 05:20:22 am
If I was doing this then I would setup 2 arrays or a custom data type array .
One to store the millis time of the tag read. (If the tag is read again within 5 minutes does this value update or keep initial (first) read time).
The second to store the tag number.
The main program loop would scan the array looking for time expired tags and delete them. Then read new scanned tags and compare to existing reading in the arrays to determine if they have been read before (and how long ago) or storing them with a millis timestamp.
Millis uses an unsigned long (4 bytes) and your tag integer uses 2 bytes so to store 50 entries will need 300 bytes. Easily doable on and UNO if the NFC libraries (and other stuff) don't consume to much SRAM themselves.
13  Using Arduino / Project Guidance / Re: Pressure and Temperature issues at altitude. on: September 22, 2014, 05:00:40 am
The module requires that before calculating the pressure, a temperature reading is taken, this is required to set an internal constant used to calculate pressure.
I think the internal constants are constant (set in factory calibration) and they do not/cannot be changed.

My question is this, the aircraft is un-pressurised, so the internal and external pressure should be about the same. However the internal temperature of the module is likely to be a lot warmer than the ambient temperature. Is this going to effect the pressure reading, and if so, by how much?
I don't think the temperature reading is used to calculate the pressure so it should not be relevant. The air pressure inside and outside should be the same in an unclosed system.
14  Using Arduino / Interfacing w/ Software on the Computer / Re: Arduino Uno - Speed down bootloader on: September 22, 2014, 04:01:35 am
To use a lower baud rate on the UNO bootloader you will need to find or compiled a slower version of the bootloader and then use a programmer to upload to the UNO. You will also need to modify the boards.txt file so the IDE knows to upload at the slower baud rate.
15  Using Arduino / Sensors / Re: Sensor for measuring length of an object flying by, and the speed of it. on: September 21, 2014, 06:01:20 am
OP wants to measure both length and speed so it is doable. Problems would be if the object can turn fully/partially sideways in the chute as this will effect length if using beam break timing.
Really need a lot more info to give meaningful answers.
Between what speeds?
Between what lengths?
Between what sizes?
Can they turn in the chute?
Same colours (for possible sensor options)
Pages: [1] 2 3 ... 180