Show Posts
Pages: 1 [2] 3 4 ... 8
16  Using Arduino / Microcontrollers / Re: New kid on the block on: November 24, 2012, 08:26:28 pm
"I have PCs and Macs if I need to do multitasking etc."
Well that's just more added hardware, you need a PC hooked up to the arduino to do it, also it consumes more electricity space and yes
you now have to program your computer with something like VB anyway. Raspberry pi is nice but is slow very limited for a computer
17  Using Arduino / Microcontrollers / Re: New kid on the block on: November 24, 2012, 08:19:18 pm
"How"
Well it uses Microsoft Visual Studio MF C# or Visual basic.
Microsoft Visual C# express is free, although its not open source but the netduino is.
You can run it using windows, or Linux and Mac using Mono another open source project.
So you can actually run it all open source using mono and windows.
As much as I hate Microcrap its easy to work with.

18  Using Arduino / Microcontrollers / Re: New kid on the block on: November 24, 2012, 07:56:35 pm
"Why do you think that."
Well, so you guys can catch up and make a more decent product that Id want to buy.
Why would you buy a horse and buggy if you can get a car at the same price.
"The arduino is not about specifications. If you don't know that you don't know anything."
Your right about that 100 percent, its lacking in both hardware and software.
Just try to multitask 16-20 things the same time, without any native support for multitasking or threading on a 8 bit system.
Not here to fight, just think the arduino could be so much more then it is.





19  Using Arduino / Microcontrollers / New kid on the block on: November 24, 2012, 07:22:05 pm
Guess you guys need to know what your competition is doing.

Netduino 2 $59.95

processor and memory
  ●    STMicro 32-bit microcontroller
  ●    Speed: 168MHz, Cortex-M4
  ●    Code Storage: 384 KB
  ●    RAM: 100+ KB
digital i/o features
  ●    all 22 digital and analog pins: GPIO
  ●    digital pins 0-1: UART 1 RX, TX
  ●    digital pins 2-3: UART 2 RX, TX/PWM
  ●    digital pins 5-6: PWM, PWM
  ●    digital pins 7-8: UART 3 RX, TX
(also works as UART 2 RTS, CTS)
  ●    digital pins 9-10: PWM, PWM
  ●    digital pins 11-13: PWM/MOSI, MISO, SPCK
  ●    digital pin SD/SC: SDA/SCL
(also works as UART 4 RX, TX)
networking
  ●    ethernet: 10 mbps
  ●    network stack: lwIP
storage
  ●    micro sd (up to 2 GB) (soon to go much higher with a software upgrade)
  ●    auto card detect
power
  ●    input: 7.5 - 9.0 VDC or USB powered
  ●    output: 5 VDC and 3.3 VDC regulated
  ●    max current: 25 mA per pin
microcontroller max current: est. 125 mA total
  ●    digital i/o are 3.3 V--but 5 V tolerant

runs C# and VB natively
20  Community / Bar Sport / Re: I'm not a troll but.... on: October 11, 2012, 07:48:35 am
"I think he means "weaker" as in less power.  Arduino pins can drive up to 20 MA at 5V; the Netduino's pins are 3.3V and some of the analog pins can only do 2mA"

That's only some what true, my pins run at 5v
(they are 5 volt compliant, but normally work at 3.3vdc)
I'm not sure, but I don't think you can do that with a analog pins.

"What was your project anyway"
It was a Hydroponic controller it had to control water, temp, PH, nutrients, Lights ect.
All at the same time ie. multitask (something arduino cant do)
"You may be a c sharp wiz but everyone else is not."
C# wizard, no hardly, but most programers use and like C#, so its easy to get the help you need,
and believe me I needed lots of it. Actually I like visual basic, its what most of us stared with as kids.
That's going to be fun to play with.


21  Community / Bar Sport / Re: I'm not a troll but.... on: October 10, 2012, 03:52:42 pm
"The netduino's i/o is weaker though, which is one reason people stick with Arduinos."
How so, the pin layout is the same, are you saying the arduino is faster, maybe idk but a nanosecond here there shouldn't mater on most projects.
Also if your only concern is i/o then you have the wrong product, you should be using a phidget and not a microcontroller.


22  Community / Bar Sport / I'm not a troll but.... on: October 10, 2012, 10:51:52 am
After finishing my project that's been on going for 2 years this is what happened.
1) I had a heck of a time getting the IDE to work under Linux (gave up used windows)
2)Halfway through the program I found it impossible to multithread and multitask, something you want to do after your 1st blinky.
Oh sure you can write a state machine, or some other trick but that's not true multitasking, confusing totally impractical.
Tried the commercial software more of the same and impossible to figure out. The only other solution was occam-pi a great project, but seems like it gets little support and is in beta format. In fact from what I understand is that they are not even allowed to use the Arduino IDE.
So I dumped my arduino and got myself a netduino, I really had no choice, this arduino just wont work. Within a couple hours I had 16 things multithreading and tasking. It was like a dream come true, which makes you think why I wasted all that time on the arduino. Its also nice to have the faster processor, more memory, and to be able to write in C# or even Visual Basic, Oh ya it even cost less go figure.
Nothings perfect, but the product needs to work for you.

23  Using Arduino / Installation & Troubleshooting / Re: Can't upload to Duemilanove on Linux 64bits on: March 22, 2012, 02:57:45 pm
My UNO has never worked right under Ubuntu 64bit about 3 years ago someone told me that with all the problems just give up use windows so I did.
Now I'm coming back thinking things have changed in 3 years but they haven’t. I suspect, as we concluded 3 years ago that the majority of Arduino programers are mostly window guys, so just because its open source don't expect it to work on Linux.
I found a website that explains that most of the conflicts with the Arduino is in the boot loader and they offered a alternative boot loader for linux
I cant find the website anymore and I didn’t try it, as I don't like the idea of flashing my arduino with untested or unapproved software.
wish you luck
24  Using Arduino / Programming Questions / Re: 1st state machine on: February 27, 2012, 06:16:05 pm
"wasConditionMet"
Ok sounds right, not sure how you combine that I tried different ways not working yet.
25  Using Arduino / Programming Questions / Re: 1st state machine on: February 27, 2012, 04:50:47 pm
Thanks it sounds simple I cant, get it working somehow in setup.
26  Using Arduino / Programming Questions / Re: 1st state machine on: February 27, 2012, 04:22:40 pm
ok fixed some mistakes, better, think it works not sure, why the delay is too short those are in seconds not ms
Problem is I want it only to blink once have no idea how to do that.



Code:
//  Some macros for defining time intervals in milliseconds
#define seconds_in_ms(s) ((s)*1000UL)
#define minutes_in_ms(m) ((m)*60UL*1000UL)
#define hours_in_ms(h)   ((h)*60UL*60UL*1000UL)
#define days_in_ms(d)    ((d)*24UL*60UL*60UL*1000UL)
#define weeks_in_ms(w)   ((w)*7UL*24UL*60UL*60UL*1000UL)

unsigned long sequenceDelay = 0;
unsigned long flashoffDelay3 = seconds_in_ms(1);
unsigned long flashoffDelay2 = seconds_in_ms(10);
boolean LED3state = true;   //will turn on led
boolean LED2state = true;     // will turn on led

long waitUntil3 = 0;
long waitUntil2 = sequenceDelay;
void setup() {
   pinMode(2, OUTPUT);
   pinMode(3, OUTPUT);
}
void loop()
{
   digitalWrite(2, LED3state);
   digitalWrite(3, LED2state);
   // checking to see if enough time has elapsed
   if (millis() >= waitUntil2) {
      LED2state = !(LED2state);
      waitUntil2 = millis() + flashoffDelay2;
     
   }

   if (millis() >= waitUntil3) {
      LED3state = !(LED3state);
      waitUntil3 = millis() + flashoffDelay3;
     

   }
}
27  Using Arduino / Programming Questions / Re: 1st state machine on: February 27, 2012, 03:48:02 pm
I'm using optical relays, so they work opposite off is on and on is off.
They all have to be on 1st, then blink off for a set time variable, each one will have its own time. Not critical at the rate they switch so long as the blink off is accurate.
Problem is I need them to do this only once, they are dosing various chemicals.
28  Using Arduino / Programming Questions / 1st state machine on: February 27, 2012, 02:56:35 pm
Ok I'm trying to build a simple state machine I'm lost not working rite
So far I'm trying to make it (do this)
A) light up Leds = true got 2 so far (practice)
B) Blink off at separate times
would be nice to breakout of the loop so this only happens once.
The Idea is to have like 6 blink off at separate times but start together.

Code:
//  Some macros for defining time intervals in milliseconds
#define seconds_in_ms(s) ((s)*1000UL)
#define minutes_in_ms(m) ((m)*60UL*1000UL)
#define hours_in_ms(h)   ((h)*60UL*60UL*1000UL)
#define days_in_ms(d)    ((d)*24UL*60UL*60UL*1000UL)
#define weeks_in_ms(w)   ((w)*7UL*24UL*60UL*60UL*1000UL)

unsigned long sequenceDelay = 0;
unsigned long flashoffDelay2 = seconds_in_ms(1);
unsigned long flashoffDelay3 = seconds_in_ms(3);
boolean LED3state = true;   //will turn on led
boolean LED2state = true;     // will turn on led

long waitUntil13 = 0;
long waitUntil12 = sequenceDelay;
void setup() {
   pinMode(2, OUTPUT);
   pinMode(3, OUTPUT);
}
void loop()
{
   digitalWrite(2, LED3state);
   digitalWrite(3, LED2state);
   // checking to see if enough time has elapsed
   if (millis() >= waitUntil13) {
      LED3state = !(LED3state);
      waitUntil13 = millis() + flashoffDelay3;
     
   }

   if (millis() >= waitUntil12) {
      LED2state = !(LED2state);
      waitUntil12 = millis() + flashoffDelay2;
     

   }
}

29  Using Arduino / Programming Questions / Re: anyone hear of concurrency.cc on: February 25, 2012, 07:18:24 am
Update
They have
All open source
PDF book very well written explains everything.
No community no one to ask Questions, they do have a mailing list I signed up for it.
You have to use their IDE seems a little better to me, it gives you more features.It couldn't find my com port had to tell it, found that strange with all the cool features and it couldn't do that, not a big deal though.
How it works is you load their software on the Arduino, then you can write your scketch normal like. It
creates an extra long scketch you don't see. You need to load it every time you upload, a simple push of a button.
They are selling these custom boards I don't get the point of, the magic is in the software, and it loaded on my arduino uno instant like.
Don't quote me but it was something like 36 same time way more then then your board has.
Easy peasy had two leds blinking same time in under a minute. Don't think this will work for me, I'm using optical relays and Off is On so the term Blink is a no go. Have fun

30  Using Arduino / Programming Questions / anyone hear of concurrency.cc on: February 24, 2012, 01:36:53 pm
Found the site, and I'm going to try it, I needed simple multitasking and I couldn't figure out the QP state machine, way too complicated.
Seems like with simple code you can blink 2 or more things the same time on your arduino.
Only thing  is I'm not sure of, trying to blink them for like min, hours or weeks also I read someplace it maxes out at 45 days not sure what that means. Looks cool though


Code:
PROC main ()
2 PAR
3 blink (12 , 500)
4 blink (11 , 500)

Pages: 1 [2] 3 4 ... 8