Show Posts
Pages: [1] 2 3 ... 8
1  Using Arduino / Programming Questions / Re: Multi-tab function not declared in scope on: March 03, 2014, 03:28:23 pm
As things are coded now the original problem would be non-existent. At least visibly, because of surePress();.

Notice if expectSerial(); is uncommented it throws a scope error.  Seems to me that any function that is used needs to be specified in main.h right?
Which is fine with me, wanted to create a "function index" for readability anyway.

Still curious why #include <SoftwareSerial.h> needs to be in two places, If it has to be in bluefruitTesting.ino then blueUp(); is completely redundant. In fact blueUp(); only currently exist to remove it from the main .ino file.   
2  Using Arduino / Programming Questions / Re: Multi-tab function not declared in scope on: March 03, 2014, 02:30:49 pm
also curious why
#include <SoftwareSerial.h>

needs to be in the bluefruitTesting.ino as well as in bluecom.cpp?

looks like it will need to be done this way with any libraries to be added ?
3  Using Arduino / Programming Questions / Re: Multi-tab function not declared in scope on: March 03, 2014, 11:14:27 am
@pYro_56, @jiggy-Ninja, Thank you! I actually just learned about default parameters because of basic programing ignorance. Was having this issue in another program in progress. Checking again I see the same thing was going on. Had a hard time drawing the correlation before because it was working in the original program I used it in. Difference was in the other program it was only used through other functions in the same file, avoiding the scope error.

@pyRo_65    I did see the changes compile for me with void space() added. Why do only some functions need to be specified in main.h as opposed to all of them?

Reinforces the idea that I should just learn how to make my own libraries. After all the reason I separate into different files is develop so sort of modularity between my programs. 'pressEvent()' would benefit from being part of a class so multiple buttons could be defined as separate objects anyhow.

I apologize for the amount of redundant code in these files, as one might gather, its cut and paste from other projects being worked on. To avoid reinventing the wheel every time something needs to be tested.

Still kinda lost on the "why" of this issue, but I'm glad to understand "what" the issue is.
4  Using Arduino / Programming Questions / Re: Multi-tab function not declared in scope on: March 02, 2014, 04:31:26 pm
When I use the "pressEvent()" function in the main loop

surprisingly the functions that depend on it in the same file fail to throw errors
5  Using Arduino / Programming Questions / Multi-tab function not declared in scope on: March 02, 2014, 03:40:34 pm
This question is coming from the angle of human readability over compiler readability

Wish this was just a spelling error, I have functions in separate .ino files that get declared as "out of scope" when I try to use them.
Putting them in the main .ino file in before setup and loop makes them work fine.

Putting them before setup and loop is all well and good if I just wanted to get things to work, but I also want my code to be organized in a way that makes it more readable. Putting ancillary functions before the meat and potatoes would seem to be a confusing story to me.

Have been trying to figure out what make these functions so different that they escape scope into outerspace when other functions are working fine. Has anyone run into this before?   
6  Community / Gigs and Collaborations / Re: home energy management on: June 25, 2013, 08:53:02 am
Quote
Yes, get people to turn their heating thermostat down by 1 degree C and they save 10% on their heating bill, fact. So show them their heating/energy use and they might change.

This is a misleading generalization and misguided assumption wrapped up into one statement. First of all I think there is an assumption here that people will compromise comfort for efficiency given some peer pressure. The type of people that would compromise comfort for efficiency aren't all that susceptible to peer pressure or are already making that compromise as much as bearable. If this a proposed self control solution, I'm willing to bet either very little people become interested or take advantage of it properly. Self control is supposedly the problem to begin with, right? Giving someone the exact knowledge to help them control them selves really doesn't add anything than. The generalization is that 1 degree will save 10%. Try to cite this. Might be an average but, you'll find that those numbers are actually all over the board depending on various factors. In most cases manually touching the thermostat is not even in the same spirit of a solution to home energy management.

The idea of the Nest thermostat appeals to me because it balances comfort, convenience, and efficiency. I might buy one of those where as I wouldn't spend a dime on a generic programmable one that put me in explicit control. If this is merely a cloud thermometer it leads me to the question, doesn't nest have an api? https://github.com/gboudreau/nest-api. So, is this more of an issue of compiling data? 

Again, with such a lack of transparency I feel like I might be making unfair assessment of what is valuable here.

Code:
Know any string leaders who might like to get behind this project?

All the strong leaders I know have their own projects and businesses. Step up and put your name on it, or no one else will.
7  Community / Gigs and Collaborations / Re: home energy management on: June 24, 2013, 12:23:13 pm
HEM, What licence are you going to use/are using?
for
-software
-hardware

(not looking to elicit a bike shed argument, just curious)

Thank you both for the watchdog explanation by the way
8  Community / Gigs and Collaborations / Re: home energy management on: June 24, 2013, 11:51:46 am
I assume your going to have a watchdog running if you want 24/7 365



Please explain what "watchdog" is for those of us not privileged enough to know. (me at least) Thanks
9  Community / Gigs and Collaborations / Re: home energy management on: June 24, 2013, 10:50:43 am
Naming is the thing you would think to be the simplest part of the process but it always seems to take a good deal of effort. That being said I don't claim to be good at it.

However, I will reiterate something that I have heard Massimo talk about. (i paraphrase) He says " Stop putting duino on the end of everything, I don't think that means what you think it means!"
Supposedly several of the concocted combinations of the duino suffix translate to inappropriate terms in Italian.

So heads up, I would eliminate smartduino

I have been also told by marketing people that 2 syllable names are more marketable than three and so on. Though it is hard in practice to get close to this if you have a budget on domain licensing.
For instance naming it "Super Polar Bear Saver" may align with the message, be an available domain, and dba but it will make the project a mouthful to talk about.

Completly contradicting what I just said, Footprint Tracker might be a good name. Bigfoot could be your mascot for irony sake. After all if anyone can save a polar bear it would be a Yeti right?

Anyhow, getting the naming out of the way asap is a good idea. In my own project I have been referring to it as an "interfacing device" for a number of months for lack of an official name. That seems to give people the impression that the project is too ambiguous to be all that important.  They don't say much besides, "good luck with your interface" until they understand more about it. Which is bad because a name is a opportunity to foster interest and build recognition. When you start to get people tearing the idea apart head to toe before you have made only a slight intro that when you know you've got something right. Unless they are pointing at completely irrelevant issues.
10  Community / Gigs and Collaborations / Re: home energy management on: June 21, 2013, 07:12:13 am
Actually looking at the kickstarter project in more detail I would say that platform provides some opportunity to be build upon. Maybe mutually beneficial particularly considering environmental data typically directly corresponds with energy usage.

Tough to tell not knowing too many details about the project proposed here.
11  Community / Gigs and Collaborations / Re: home energy management on: June 21, 2013, 07:03:22 am
Quote

That was the first thing that came to mind when I saw this thread too. Even though they are two different applications.

Quote
Personally: running an electrically powered device to measure electricity use in order to reduce it is a little bit ironic ;-)

Yup! So is using gas powered engines to drill for oil.
Comes down to how much energy it can help you save, I'm sure the concept is to match it selves power in savings by an order of magnitude.
12  Community / Gigs and Collaborations / JesterType, open source mobile typing solution on: June 19, 2013, 10:49:27 pm
Looking for potential collaborators!
Experienced and not.

JesterType is a project looking to bring typing efficiency to mobile devices.
Like current devices tablets & smartphones but the bigger target is wearable tech like having the device integrated into a smartwatch.

Idealistically the ultimate implementation idea would be a watch like wireless wearable EMG sensor array showing up as a HID on anything you want to interface with.
However, currently the design concepts of the idea are being tested with a simple 5 button keyer.
This has been done for the sake of getting the development on the map. Different hardware will be experimented with over the course of the project.
Build videos are in the works (might be a while)

Problems looking to solve:
1. Embarrassing, I admit, it was hard for me to learn how to touch type. This skill is hard for others as well. A good portion of the population still "hunts an pecks" because of this. Text based communication is vital to today's world! Why let it play second fiddle when we can make more accessible?
2. We have cool mobile devices but these are difficult to use for text centric work. Which is most work... I want to communicate and program on my android phone and tablet, quickly and efficiently!

I am well aware of the players in this space. Probably more so than most as I've been at it a for a while. Until I see something worth anyone's time that solves the problems I will push on with this project in some capacity.
The goal is something that is suitable for a mainstream audience but hackable to be adapted for those with special needs. 

Current capabilities- With the arduino leonardo,micro or usb lilypad (atmega32u4 based boards)
  • Chorded keying with 5 simple buttons
  • basic context based layout assignment (learn the user)
  • basic auto correction (suggested not really auto)
  • basic noise correction
  • composition context based formatting (will add a mode for coding and gaming in the future)

Serial debugging with other boards is possible, but its in rough shape right now.

Code- https://github.com/PaulBeaudet/JesterType
Forum/mailing list - https://groups.google.com/forum/?fromgroups#!forum/jestertype

I have abstained from the forums for a while because its not fair to push folks in to unwittingly helping with a big project their not in on.
Though forum members have already helped a bit like PeterH and I thank them for helping me get started.
13  Community / Gigs and Collaborations / Re: Will pay for help with Ardunio-controlled siren project on: June 19, 2013, 09:47:28 pm
t-mobile 1000 minutes $100 last one year (20c a text 10c a minute)

That is the plan I use in combination with groove ip and google voice on my galaxy note

comes out to about $9 a month if your conservative like me, or like in your siren case.
(in this case you would have to figure out how to use sms to report, trigger and stop)

This plan is not advertised! You have to pretend to be an old lady an explicitly ask for it. (jk about the old lady part)
14  Community / Gigs and Collaborations / Re: Will pay for help with Ardunio-controlled siren project on: June 19, 2013, 09:35:10 pm
Personally the timing thing wouldn't be my choice because false positive/ultimate control is important to me, but its your project, you can time if you want to!
15  Community / Gigs and Collaborations / Re: looking for Arduino developer for small project on: June 19, 2013, 07:31:01 pm
So this is some sort of a cooling system... for what? Help us understand the project a bit better, sounds cool (pun intended)

geurillawarfare- see "can't take the time to learn in order to do this. So would rather pay"
...should I really be feeding the geurilla?..
Pages: [1] 2 3 ... 8