Show Posts
Pages: 1 2 [3] 4 5 ... 170
31  Using Arduino / Storage / Re: Why don't sdcard and rfid reader share the same pin? on: July 16, 2014, 02:28:37 am
Quote
By the way, anyone can explain me the abbreviations on sd card breakout and rfid reader, as well.
You will need to link to the devices your talking about as there are dozens of different designs using different pinouts and pin labels.
32  Using Arduino / Microcontrollers / Re: ST72324BJ6T6 with arduino? on: July 16, 2014, 02:24:15 am
You seem to have a need to use this ST7 series chip but maybe you can convert the project to use an arduino processor instead?
Can you tell us more?
33  Community / Website and Forum / Re: Forum Font on: July 15, 2014, 08:01:58 am
Looks like the screwed up font has caught up we me also.
 
34  Using Arduino / Microcontrollers / Re: ST72324BJ6T6 with arduino? on: July 15, 2014, 08:00:26 am
Not unless someone has written Arduino compatible cores for them.
35  Using Arduino / Project Guidance / Re: Notification when door opens on: July 15, 2014, 07:55:47 am
If your sending the data to the Android phone using Wi-Fi then when your out of range you get no messages.
36  Using Arduino / Sensors / Re: Tips for measuring speed of ball on: July 15, 2014, 02:05:16 am
How accurate do you need the speed? I build a TDR to measure and find breaks in cables and I had considered altering it's input method to use laser detectors so I could measure distance via time of flight. The timing chip I use can measure in the 45-90 pico second range so quite accurate and I could measure to about 2cm on average. Laser would maybe be slightly less accurate.
http://forum.arduino.cc/index.php?topic=183770.0
37  Development / Suggestions for the Arduino Project / Re: Does Arduino have a future? on: July 14, 2014, 03:08:20 am
I think if it is to have a future then the infamous Uno 'avrdude: stk500_recv(): ' errors need to be addressed.
I have never seen this problem myself with a genuine Arduino board & drivers. Some of the new platforms like the ST Nuclio present a flash drive to the connected PC and programming is as simple as dragging the compiled file into the drive.
38  Using Arduino / Programming Questions / Re: 2 MEGA's writing on 1 display (I2T) on: July 14, 2014, 02:59:58 am
Nearly all the I/O pins on the chips used in the UNO/MEGA can be used as interrupt pins but they require a little more work to use (or a library like this)
39  Using Arduino / Microcontrollers / Re: Selection of arduino board on: July 14, 2014, 02:14:24 am
How about Teensy3.1 http://www.pjrc.com/store/teensy31.html programmable from Arduino IDE. Digital pins are 5V tolerant (not sure about analogue pins though) and >10 analogue pins. 
40  Community / Local Groups / Re: Boston, Lincs, UK i.e. the original ? on: July 13, 2014, 02:18:55 am
Yes, there's a bunch of us in the Boston, MA, USA area not too far from the east coast smiley-cool
Wrong continent Crossroads.
41  Using Arduino / Networking, Protocols, and Devices / Re: SPI AD9833 pin hookup on: July 12, 2014, 03:39:24 am
Where are all the pins besides FSYNC defined in the code? I can't find where they are defined. Only FSYNC is mentioned in code.
See reply #11
42  Using Arduino / Networking, Protocols, and Devices / Re: SPI AD9833 pin hookup on: July 12, 2014, 02:54:41 am
EDIT: Also your frequency calculations may be wrong as the sketch is basing them on a 1MHz clock and it appears your module has a 25MHz clock source.

1Mhz or 16 Mhz ?
Neither, 25MHz as you said in a previous post the clock chip on the AD9833 module had 25.000 etched into its surface.
I said 1MHz because the sinneb link says...


Quote
I added the Timer1 library to generate the masterclock for the AD9833. This clock runs in the background at ~1Mhz and is made available through pin 9.
Does the hex number constant 0X10,000,000 represent 1 Mhz
or
does the 16,000,000 reference frequency represent 16 Mhz clock source
that was used by the author of this code?

I am not familiar with the Timer1 library used but what the sinneb author wrote above about 1MHz clock does not match the calculation used in the sketch. Either the calculation is wrong as it's done for a 16MHz clock or the comment is incorrect or I'm more stupid than I thought.

Code:
//We can't just send the actual frequency, we have to calculate the "frequency word".
 //This amounts to ((desired frequency)/(reference frequency)) x 0x10000000.
 //calculated_freq_word will hold the calculated result.
 long calculated_freq_word;
 float AD9837Val = 0.00000000;
 
 AD9837Val = (((float)(frequency))/16000000);
 calculated_freq_word = AD9837Val*0x10000000;
For your module you would do AD9837Val = (((float)(frequency))/25000000);, the  calculated_freq_word = AD9837Val*0x10000000; stays the same as it's just making the floating point number suitable for the chip.
43  Using Arduino / Networking, Protocols, and Devices / Re: SPI AD9833 pin hookup on: July 12, 2014, 02:20:16 am
Where in the code are the pin configurations, besides the comments at the beginning of the program?
setup() defines the FSYNC pin (2) as output but the other SPI pins  are hardware dependent and in the case of the UNO are pins 10-13. When SPI.begin() is called in setup() it sets these pins up as needed.
44  Using Arduino / Programming Questions / Re: Alternative IDE on: July 12, 2014, 02:13:28 am
Im guessing you use linux? I use Micro$oft Shitows smiley-wink
Nope, I'm using Windows.
45  Using Arduino / Displays / Re: 20x4 LCD problem on: July 11, 2014, 10:46:05 am
I cannot remember where I saw it or if it's fixed now but I recall reading that the LiquidCrystal library does not work properly with 20x4 displays.
Pages: 1 2 [3] 4 5 ... 170