Show Posts
Pages: [1] 2 3 ... 52
1  Community / Website and Forum / Re: Loop Back Test - Sticky? on: March 11, 2014, 06:34:05 pm
Quote
Unfortunately rx0 is on the ftdi that I use to connect to my PC.
That's the point
Quote
I also have a Arduino Uno that I uploaded a sketch to and I ran fine so I'm assuming it's working ok. Does this loop test tell me more about my Uno that I would like to know? I have a reset pin and a tx1 and rx0 on the Digital pins. But again, not to sound stupid but what would be a terminal program and how do you hook up a serial port to test with.
The loopback test is to verify operation of the USB/serial chip. If it works there is no need for it
2  Using Arduino / Programming Questions / Re: Unwanted stepper motor action on: February 21, 2014, 03:00:32 am
What powers the pump? It isn't the same supply as the Arduino is it?
3  Using Arduino / Programming Questions / Re: Unwanted stepper motor action on: February 20, 2014, 05:52:18 pm
Code:
 float selectorValueFloat = round(analogRead(selectorPin) / divider);
WTF? You divide an integer by a float, resulting in a float. You round that off, resulting in an int, which you store in a float. Why?

Code:
 //cast to integer for e.g. indexing arrays
  sv = selectorValueFloat;
You wouldn't have to do this if you hadn't stored the int in a float in the first place.

Quote
How would I be able to read only change of state
The change of state of what?

Code:
 if(sv ==0 || stop1 || memo !=sv)
             {
        noTone(12);
      digitalWrite(enable, LOW);
      digitalWrite(stopled, HIGH);
      digitalWrite(startled, LOW);
      has1 = 1;
      memo = sv;
             }
WTF? You haven't learned to indent properly? Use Tools + Auto Format!

Code:
           }}
NEVER!


WOW Way to overreact right there. Yes the int/float rounding arrangement he has is very convoluted
but there is no reason to be so rude about it.

Indentation is something that they will get the hang of. It isn't a big deal

Quote
Every curly brace belongs on its own line. EVERY ONE!

Not true. Putting opening braces on their own line is usually nothing other than a waste of screen space.
Closing braces should be on their own line though.
4  Community / Website and Forum / Re: Moderation Guidelines && Applications for Moderators on: February 20, 2014, 05:05:58 pm
Here it is: http://forum.arduino.cc/index.php?topic=218912.0

I can see why Paul reacted to the convoluted int/float conversion
but I think he way over reacted. And the code formatting is not a big deal at all
5  Using Arduino / Microcontrollers / Re: core13: An Arduino core for the Attiny13 *testers wanted* on: February 17, 2014, 05:59:40 pm
Wow this got all the way to page 17

I will hook up the development board soon to see if I can make some improvements
for the first release of 2014
6  Using Arduino / Microcontrollers / Re: atmel chip as GLCD controller ? on: February 17, 2014, 05:58:29 pm
It depends on what you mean by GLCD.

The Nokia 6100 display is a nice GLCD which has several Arduino libraries and works quite well. There is also a 3" display that can be interfaced through simple serial commands (it has all the display driving built in).

If you are talking about an LCD panel you might find in a smart phone or laptop, its simply not possible to drive these from an Arduino no matter how hard you try - Even a 480x320x16bit LCD requires a pixel clock of somewhere in the region of 9MHz - on top of that they have no brain, no memory, so you have to constantly refresh them usually at a minimum of around 10FPS otherwise they will not work. That gives you one single instruction cycle to write each pixel and generate the Vsync/Hsync/DE/Pclk/Data lines - that is simply impossible. I did try once see if I could make an Arduino generate a 480x272 display signal, but after many hours of crazy optimisation and writing everything in assembler, the best I could get was 2FPS at 8bit colour and that wouldn't have been fast enough so I dropped the idea.
What about a 320x240 monochrome panel? Is that more practical?
7  Using Arduino / Microcontrollers / Re: Anyone know anything about FPGA programming? on: January 26, 2014, 10:38:53 pm
I am using Xilinx ISE for messing with CPLDs in my few designs, and I'm working with full ISE install. Yes, it is heavy, but everything works, so you may focus on actual work. Mind the silicon compilers (synthesizers) are much more complex than C compilers - there is a lot of various stuff involved into.. I tried with other IDEs (other FPGA vendors) in past and all are of the same weight.
So when you are serious with your intention, ask a vendor to send you a DVD with the install (when you cannot download it) and simply start to work..  smiley-wink
You will need a programmer,  with Xilinx the easiest way is the parallel port programmer supported by ISE directly, you may wire it in 10 minutes (5 resistors and 4 diodes). When not having LPT, you may find a FT232R based programmer, or arduino based one, etc. etc.
If you are new in digital electronics, or in FPGA, or in VHDL/Verilog, the CPLDs might be the good starting point for you - it would be a looong way to go for you until be able to mess with Spartans or higher smiley The cheapest XC9572XL breakout boards cost $10-15 incl. shipping.. And the design process (and tools used) is the same as with an FPGA..
I already have a FPGA development board with USB programming. That's why I started this thread.
Rapa nui as in this place: http://en.wikipedia.org/wiki/Easter_Island
Is so then you are the only person I have ever heard from from there AFAIK
8  Using Arduino / Microcontrollers / Re: Anyone know anything about FPGA programming? on: January 26, 2014, 03:22:08 am

There was a time when you programmed the small chips (20v10 etc) in PALASM which IIRC was just a simple text file, but you needed a $4000 programmer. I'm talking 25 years ago though, maybe that has evolved into something flash based that costs nothing, as the CPUs have over that time.
 

From what I read it is stored in volatile ram in the FPGA and has to be loaded by an external chip each run. For this board this is done by an atmega AT90 series

Not exactly expensive though
9  Using Arduino / Microcontrollers / Re: Anyone know anything about FPGA programming? on: January 26, 2014, 02:46:59 am
Is there a "tiny" FPGA package where one can get their feet wet without an 8GB install?  It could support fewer chips, less optimization, and so on.  A sort of "FPGAduino IDE" ?

That's what I was hoping. 8 GB is a lot especially because all my disk drives are over 60% full
10  Using Arduino / Microcontrollers / Re: Anyone know anything about FPGA programming? on: January 23, 2014, 09:12:55 pm
Quote
So are resistors and capacitors.  I agree, it is crap.  This may be a restriction imposed by an authority higher than Xilinx management, so they may not be able to do anything about it, but still.  It's a blank IC, not 3 kilos of enriched unobtainium.
The restriction is most likely imposed by the US government. Although I tend to doubt that it was that broad. Probably Xlinx just wants to cover their butt.

FOSS FTW!
Quote
This is awful close to my #1 pet peeve of all time -- how the building blocks of modern technology are often held at arm's length from hobbyists.  Before I was born, you could go down to a local retail shop and buy parts to fix your TV or build your own stereo system.  Now you can't buy a Dolby Digital decoder IC without an NDA and small fortune in license fees.
Absolutely agree. The government is so out of touch with what goes on in the real world it is crazy. And of course there is the huge corporations that lobby the government. And when in doubt just blame it on preventing terrorism. I guess I am ranting now

Quote
And 3GB for anything but a movie, game, or other media library is pretty excessive.  What is this, an HP printer driver?  smiley-razz
Quote
Its about 8GB once installed smiley
Kind of ridiculous, but a necessary evil.
It shouldn't be a necessary evil. I would gladly download a stripped down package with more limited tools and only support for certain FPGAs if it means saving several GB of space as well as bandwidth.

What we really need is to ditch this proprietary garbage and have full open source development.
11  Using Arduino / Microcontrollers / Re: Anyone know anything about FPGA programming? on: January 23, 2014, 01:45:14 pm
WTF?
Quote
US export regulations require that your First Name, Last Name, Company Name and Shipping Address be verified before Xilinx can fulfill your request. Please provide accurate and complete information for immediate processing. Sorry, addresses with Post Office Boxes and names/addresses with Non-Roman Characters with accents such as grave, tilde or colon are not supported by US export compliance systems.
That's ridiculous. And the download is over 3GB
What a bunch of crap
12  Using Arduino / Microcontrollers / Re: Anyone know anything about FPGA programming? on: January 23, 2014, 01:32:14 am
Yeah not bad. Also found a universal card reader new in package for $4

Now I need to figure out what software I need to use this board
13  Using Arduino / Microcontrollers / Anyone know anything about FPGA programming? on: January 22, 2014, 07:15:34 pm
So I scored a Digilent Basys2 FPGA development board for $2 at the thrift store! What a strange find

I didn't know what it was at first other than the fact it looked cool.

I downloaded the "Adept" software and ran the test program and everything seems to work. But I know nothing
about FPGA programming at all. It seems like it is programmed in something called Verilog. It is really above my head
though. Another thing is how does Verilog get "compiled"?
14  Using Arduino / Microcontrollers / Re: how to program attiny's microcontroller? on: December 16, 2013, 03:13:26 pm
Almost any AVR programmer or you can use an Arduino.

Can you be more specific?
15  Using Arduino / Microcontrollers / Re: core13: An Arduino core for the Attiny13 *testers wanted* on: December 16, 2013, 03:11:44 pm
In wiring.c
Code:
ISR(TIM0_OVF_vect){
ovrf++; //Increment counter every 256 clock cycles
}
You can add a user function call to the ISR hook although it is kind of a hack
Pages: [1] 2 3 ... 52