Show Posts
Pages: [1] 2 3 ... 6
1  Using Arduino / Project Guidance / Re: Arduino MPPT - Tim Nolan version without battery on: July 12, 2013, 12:22:57 am
maybe putting a super capacitor in instead of the battery will help with the problem of pump startup power.
It would have to be monitored as to when enough power was stored to get the pump going and when enough power was being generated by the panel to run the pump.

D
2  Forum 2005-2010 (read only) / Development / Re: alternator regulation on: April 29, 2009, 10:24:11 am
I go into Baja a few times a year and would like to build an alternator based welder too. Will you be posting progress here or in a blog somewhere?
3  Forum 2005-2010 (read only) / Development / Re: pre-processor directive screwiness or just me on: November 15, 2008, 08:24:17 pm
thanks, I'll look into it.
4  Forum 2005-2010 (read only) / Development / Re: pre-processor directive screwiness or just me on: November 15, 2008, 12:16:06 pm
Ok, I'll head over to the Processing group and bring this up if it's not been already.  I'll also look at the code handling this and see about adding an ifdef filter for #include inclusions.
5  Forum 2005-2010 (read only) / Development / pre-processor directive screwiness or just me on: November 14, 2008, 05:57:46 pm
I've got an Arduino application with a dozen tabs/sketches and one of them is a serial driven LCD sketch. I picked up a parallel LCD and got the LCD4Bit library working so now I want to include both sketches in my project but only use one at any given time.

This sounds like a piece of cake only I'm already in the 14k range for the compile size with just one LCD driver installed. What I found was if I put one definition in my main header file( myDefinitions.h) like this:
#define USE_4BIT_LCD

and then wrap the entire 4bit LCD sketch with this:
#ifdef USE_4BIT_LCD
  #include <LCD4Bit.h>
   ---- entire sketch code in here-----
#endif

And for the serial LCD module I do this:
#ifdef USE_SERIAL_LCD
  #include <SoftwareSerial.h>
   ---- entire sketch code in here-----
#endif

The "#include" directives and code still gets included in the entire project from both sketches and this gets me a "sketch too big" error when compiling.

I then tried a trick which allows me to define the name of the include file in a macro and so I tried defining the correct library headerfile name when required or use the name of my already included "myDefinitions.h" file. It would look like this:
#ifdef USE_4BIT_LCD
  #define INCLUDE_THIS <LCD4Bit.h>
else
  #define INCLUDE_THIS "myDefinitions.h"
#endif

#ifdef USE_4BIT_LCD

#include INCLUDE_THIS
   ---- entire sketch code in here-----
#endif


But the compiler says that it can not find LCD4Bit.h

Anybody have any ideas if this is a bug in my head, a bug in the Arduino IDE, or a bug in the gnu compiler?

Thanks.
6  Forum 2005-2010 (read only) / Development / Re: .net based Arduino Sketch Editor on: July 17, 2009, 03:22:01 pm
Quote
You still seem to think you have some right to dictate what someone else does with their time. You don't. If you think he's wasting his time, courting a law suit from Microsoft or whatever then fine, you've warned him; now you can walk away having done your civic duty and forget about this (to you) worthless project.

Do you people even read any of my posts? I'm talking about those who keep twisting this into an anti-Microsoft, anti-Google, hate this, hate that type of junk.  Nowhere have I ever stated what anyone should do with there time or that they should not work on this project, or any project. And I've stated at least a couple times that the issue is with people in this forum stating or believing that this is in anyway a cross platform project. That's it. And my comments of other languages were in the context of their cross platform capabilities and legalities so where that sideways comment about Python came from is another amazing stretch of someones imagination. Once again, do what you want, just don't go saying things that are not true about what the project is, it a Windows-only Arduino IDE. That's it.

Quote
And it's open source even if only one person works on it as long as they're making the source available for other people to use if they wish. Remind me again how many people worked on the Linux kernel right at the very beginning?

Dude, read the context of the comment! GAWD!  I'm sure Linus was doing the Linux kernel to give his buddies "a taste of what open source is". Yeah, that's the ticket, he was so into showing off this open source stuff to his friends that he started a kernel. Get real. Someone needs to pass out the ADD and/or ADHD pills.

FYI - here's a nice little quote from Microsoft on .NET and Mono and MS patents made by Microsoft President Bob Muglia -
Quote
There is a substantive effort in open source [sic] to bring such an implementation of .Net to market, known as Mono and being driven by Novell, and one of the attributes of the agreement we made with Novell is that the intellectual property [sic] associated with that is available to Novell customers.

I can now only imagine how this is somehow going to be twisted into something tied to Apple or some other unrelated issue.
7  Forum 2005-2010 (read only) / Development / Re: .net based Arduino Sketch Editor on: July 17, 2009, 01:12:51 am
it's interesting that just like a discussion in US politics of topics considered Democratic, Republicans will veer to bringing up Clinton when something becomes uncomfortable to accept. I've seen MS sympathizers veer to bringing up Google in the same way. It's a strange phenomenon and I've now seen it in a number of .NET discussions.

Maybe a group think thing or maybe the conversation stepped outside the comfort zone of one side but either way, it definitely is not a sign of an independent thinker.

regarding #3:
Quote
3 – Give some taste of the open source to the windows users (open source is not just Linux and Un*ix or 100% portable software)
would it not have been better to show them how working with an existing open source project enables everyone to enjoy the rewards? Or is your interest in open source personal satisfaction of some sort?

You really should have just stopped before the list of why you're doing this .NET Arduino project because it now looks like you are motivated because of its tie to Windows.

Quote
4 – Open the mind of the people that I work with to the joy of open source

Creating your own project does not show anybody the joy of open source unless you get someone to help. That's an interesting way to attempt to show your coworkers the joy of open source when you have no idea if anybody will help you. Sorry but it sounds like a fake and reactionary response and not very well thought out at the very least.

Quote
Software is in fact a religion but I'm agnostic! (sorry about that)
So you think software is a religion and you want to continue to spread the belief that MS .NET is legal to use without a Microsoft license? You obviously do not really want to put this back on topic.
8  Forum 2005-2010 (read only) / Development / Re: .net based Arduino Sketch Editor on: July 16, 2009, 04:13:52 pm
Quote
when did MS harvest the time and effort of free programmers for their own good?

You have not researched the Microsoft Bristol connection. And this is not a hate Microsoft or hate .NET discussion at all. It's about knowing when you are being used as a tool and knowing what rights you have using the software you are using.  Read about Bristol, Mainsoft and the others, about what happened when Microsoft got the market share they wanted/needed, and what it did to all those customers who bought into the belief that their software had a future in Win32 source on UNIX platforms. And then look around at what people are saying about Mono and what Microsoft will not say about .NET licensing and patents regarding Mono. I gave you the example, get educated about what it means.
9  Forum 2005-2010 (read only) / Development / Re: .net based Arduino Sketch Editor on: July 16, 2009, 01:27:29 pm
Quote
Sorry if this ends up being some sort of flame.. but i have read enough of that bs..

it appears you read very little of what else goes on, and has gone on, in the world of tech.  I've got two more things to say about your nitpicking, one is that when you have fleas in your carpeting, you don't kill them all with one treatment. You must wait until the eggs hatch and then lay the bomb which kills them all. Right now, those .NET copies are just helping spread the use of their technology to gain market share and so they are beneficial.

The next thing I'm going to mention is going to require you to go research the details. Microsoft licensed part of their Win32 APIs to about 5 companies who used those licenses to provide compatibility libraries so Win32 source code could be compiled to run on UNIX systems. After a few years and a number of critical workstation class applications were ported to Win32 and were running using the compatibility libraries, Microsoft increased the licensing cost to around 4X what they originally licensed it as and effectively made using those libraries on UNIX systems too expensive and so all the companies either had to now port from Win32 to UNIX or try to get their customers to run their software on Windows or go without it. Here's a few terms to search if you want to read up on history( bristol microsoft  win32 mainsoft ).

Most if not all of MS .NET is not portable without license from Microsoft and I challenge you or anyone else to get them to tell you in writing that it is.  Stop the BS about MS .NET portability.
10  Forum 2005-2010 (read only) / Development / Re: .net based Arduino Sketch Editor on: July 15, 2009, 03:45:22 pm
Quote
I think his sideways comment was in response to your sideways comment about not being a Python developer.

then I screwed up by not getting the point across that C# and all that .NET stuff is not open source and has not been proven to be legally used on any other platform but Microsoft's. The Python comment was because it is open source and cross platform and could just have easily been C++/Qt, or many others.

Also, I only chimed in because of all the misinformed comments about this MS .NET Arduino IDE project being cross platform and anything but a Windows only IDE. Not to mention people not even knowing C# is not .NET and .NET is not C#.  My comments have been as much as possible about facts and have not been based not some trust-me faith based stuff religions are about.
11  Forum 2005-2010 (read only) / Development / Re: .net based Arduino Sketch Editor on: July 15, 2009, 02:07:57 pm
Quote
Dougl, I look forward to you developing an IDE in Python. I'd like it by next Tuesday please.

Andrew, what point were you attempting to make in your sideways comment anyways? Nowhere did I say the task was easy and nowhere did I say Python was going to make it easy.
12  Forum 2005-2010 (read only) / Development / Re: .net based Arduino Sketch Editor on: July 15, 2009, 12:44:38 pm
Quote
I'am am really a Open Source "Advocate" and  mono is a major concern to me. I've been following mono since the beginning and allot as been done since the project started... The fact that novel acquired ximain and therefore mono gives me some degree of confidence that Microsoft patents are being "followed"...

that would be just fine but Novell was suckered into signing an IP licensing agreement with Microsoft when they were trying to work on an interoperability contract. Read the story, that's how it happened and there was much press from both MS and Novell. Novell was saying the new contract was about interoperability and Microsoft was saying it was about IP licensing. But the fact is, Novell is licensed to use some of Microsofts patented technologies. But, you won't find them saying MS .NET is part of that because they will not let that out of the bag directly or else they would be talking about .NET licensing. They refuse to so you have to consider it a threat to your business if you use any Mono .NET code off of the Windows platform.

Quote
I know that for now this is a windows *only* release. that is a problem but not a definite one.
I wanted to develop this in C# because i use it every day at work...
You and many others keep confusing C# with .NET and they are not the same. C# is the compiler, CLI the runtime engine and it appears that Microsoft recently stated in legal terms anyone could build compatible versions as long as they followed the spec Microsoft controls. More on this in a moment. The .NET part included C# and the CLI but also includes all the MS .NET libraries and it is the libraries that Microsoft will not clarify the IP legal status of.

Now, regarding Microsoft's comments on C# and CLI and rights to follow the spec. With all the legal history of company after company signing licensing agreements with Microsoft and ending up in court because Microsoft illegally used the license or contract to the harm of the other, why would anyone trust them one bit? A very public example is Sun's Java contract with Microsoft in 1996. I bring up Java because that is why C#, CLI and the whole MS .NET platform exists today.  MS DirectX and Direct3D resulted from OpenGL in the early 90s also another example of lockin technologies created because cross platform technologies were getting popular. The requirement to only follow their spec or the license if revoked is a show stopper. Many GPL-like licenses just require you push back what's different but not Microsoft and it looks more like the standard legal trickery or loophole if you will.

So there can never be any discussion or belief that any MS .Net based product can be cross platform without the threat of being pulled from the market by MS patent lawyers. Arduino is all about learning and being inclusive so anyone can work with this. Doing an Arduino IDE in C# with or without .NET is exclusionary because it requires licenses from Microsoft, terms of the open C# and CLI are tied to Microsofts interpretation of following their specifications exactly, and they will not discuss cross platform licensing issues with the .Net libraries. What you do with this C# stuff is not yours to hand even if Microsoft leads you to believe it is. They have some of the best lawyers in the world and plenty of money to back them.

Too bad you weren't a Python developer.
13  Forum 2005-2010 (read only) / Development / Re: .net based Arduino Sketch Editor on: July 15, 2009, 12:16:34 am
Quote
Umm.. but you have heard of stuff like Mono? From what i have seen in the code there is no reference to any Microsoft.dll that cannot be dereferenced and be replaced by a Mono file. Of course the Scintilla Wrapper might be something different alltogether, but i dont think so.

so because it is in Mono then it is therefore safe from Microsoft patents? Sorry but that's not how it works and as an example, ask TomTom about that. And yes, I know TomTom was sued for FAT and not MS .NET patent claims.

Quote
From what i know of .net this could be easily portable... but to begin with the program should have to be done in 'real' .net first and when it's done it should go to mono.. then we can talk about portability again ;0)

The issue is .NET does not get you any portability, none. If you used C# with the GTK+ libs then you could be safer as long as you make sure your build env, if it's Microsofts, isn't injecting any MS .NET code. All this because someone doesn't like the Java IDE and instead of helping fix it they make something designed to be exclusionary? Whatever.
14  Forum 2005-2010 (read only) / Development / Re: .nyet based Arduino Sketch Editor on: July 12, 2009, 01:20:30 am
FYI, any use of MS .NET libraries 100% excludes its use on none Microsoft platforms without a license from Microsoft.  

Too bad the author didn't use Java, Python, or any other cross platform tool kit so it's an inclusive project instead of exclusionary one. Sorry, the world does not revolve around only one operating system.

What's even worst, it seems that the author is using the Scintilla module as the basis for alot of the work and I have to wonder why he didn't try basing this on SciTE for Arduino given that it's already there, done and supports many languages already.  SciTE is already cross platform so it would have included everyone in the project.

So don't be fooled into thinking this can be anything but a single platform tool for a project, Arduino, which is all about being open and inclusive. my $.02
15  Forum 2005-2010 (read only) / Development / Re: Arduino to Excel on: September 07, 2009, 01:59:01 pm
That python script is a nice option but if you want something alittle more graphical, use Processing.  If you didn't know, the Arduino IDE is based on Processing and there are many many examples of people using serial port access in Processing.

And while you don't need the Processing application to display your data, you could have it do that while at the same time appending the data to a file. Add a button to redirect the incoming data to a new file and launch the spreadsheet on the original file.

http://en.wikipedia.org/wiki/Processing_(programming_language)
Pages: [1] 2 3 ... 6