Jump to content
43oh

zeke

Members
  • Content Count

    1,782
  • Joined

  • Last visited

  • Days Won

    102

Reputation Activity

  1. Like
    zeke got a reaction from tripwire in Wanted: DIY sensor waterproofing ideas   
    @@tripwire
     
    Since you are trying to measure the ambient pressure with your sensor then you will have to allow the air pressure to equalize between the inside and the outside of the water proof container.
     
    This is normally accomplished with a Gore membrane. They are water proof yet they allow air molecules to pass through both ways.
  2. Like
    zeke got a reaction from yyrkoon in MSP430G2 emulator.   
    @@yyrkoon
     
    If you have a G2 LaunchPad board then you may be able to plonk that right into the Wulf board.
     
    The G2 LP has a DIP socket which ought to match the Wulf board good enough for a test drive.
     
    I could also troubleshoot via skype with you if you wanted.
  3. Like
    zeke reacted to yyrkoon in MSP430G2 emulator.   
    Problem solved !
     
    @@zeke and I were chatting on google hangouts and he confirmed, and / or made me feel better about how to pull reset up from vcc. Turns out a single 47k 10% resistor between vcc and reset solved the problem. !!! yay.
     
    Whiskey coke thirty
  4. Like
    zeke got a reaction from tingo in What is "our" time worth ?   
    To me, everything is for sale but if the client doesn't own it until he purchases it.  In other words, the software IP remains the property of the one who wrote it until such time as he sells it. 
     
    You ought to make this a condition in your contract agreement i.e.: "The ownership of the software remains in the possession of yyrkoon and shall not be copied, eaten, sold, resold, sacrificed or mimicked in any way for ever and ever and ever, Amen. But if you buy it for the low low price of $1 million dollars then you can blend it to your hearts content."
     
    Don't let anyone make assumptions. Spell it out in excruciating detail so everyone knows what is expected of them.
  5. Like
    zeke got a reaction from tingo in What is "our" time worth ?   
    @@yyrkoon
     
    The price all depends upon the situation. If the person gives me the vibe that they are a risk of not paying then the price is high.
     
    I want them to know that I am a Professional Engineer.
     
    I've been burned in the past by someone who contacted me via this website. I was not paid for 12 hours of my time. I have chosen to never let that happen again. 
     
    For my own reasons, I have not revealed that person's identity to the rest of this community because I believe that they are not a regular here. They know how much of a flake they are. They don't need me to shout it from this rooftop. 
     
    I honestly hope they never come back to this website ever again. 
    ?_? 
     
     
     
    On the topic of the price, here are my thoughts. I have an initial one hour phone conversation with the person and make an initial assessment of the scope of work. I figure out these things:
    Do I have all the resources needed to solve this person's problem? Do I have the skills to solve this person's problem? Do I have the time to solve this person's problem? Does the person have the time to wait for my solution? Does this person have the authority to solve this problem for him? Does this person have the money to pay for my solution? What does the solution look like? Where can compromises be made in the solution? Can logical milestones be found for the work deliverables? Essentially, what are the risks and rewards for both parties in this work effort?
     
    If the time required to complete the project is long then I can afford to lower the hourly rate. If the time is short to complete then I usually increase the price somewhat.
     
    Depending upon the relationship that develops between both parties, the payment style can be established i.e.: Lump Sum vs Hourly vs Value Based.
     
    If is my opinion that the best example of Value Based pricing is where I create a solution for a client then sell that client many units. In that case, I retain the ownership of the IP.
     
    In the case of Lump Sum or Hourly pricing, it is my belief that the customer has a right to ask for ownership of the IP. That IP must be paid for though. There is a lot of wiggle room in this instance i.e.: How much of the IP and how much you charge for it is up for discussion. You have control over what is on the negotiating table.
     
     
    The Project Assessment Agreement is my way of initially building trust between two trustworthy parties. It's my way of saying "This is what I am thinking. If you are thinking the same thing then we can do business together. If not then please go away in peace."
     
    After the PAA has been completed, a formal contract must be written before the work on the complete project can commence. 
     
    The formal contract will spell everything out in gloriously, painful detail so that both parties are keenly aware of the expectations they have agreed to meet.
     
    Does that answer the question?
     
    By the way, this is a good discussion. I like it.
       
     
  6. Like
    zeke got a reaction from tingo in What is "our" time worth ?   
    @@yyrkoon
     
    I've been self employed since 2005. I could tell you my stories.
     
    For me, the answer to this question is the most important: What do I want?  My answers typically cover the range from selfish to selfless.
     
    The latest craze amongst the self-employed is value based pricing. It's a tricky thing to pull off if you haven't got lots of experience writing proposals and contracts. I haven't done it myself. I usually just charge a high fee.
     
    Here's a copy-paste of my Project Assessment Agreement that I give to all new prospective clients. This is my tool to figure out if the work is worth the effort required.
     
    =======
    Project Assessment Agreement
    The purpose of the project assessment agreement is to equally establish expectations of both you (the client) and Nine Micron Inc.
     
    Minimum deposit is $1000 which covers the first four hours payable in advance.
     
    Work will continue to a maximum of eight hours which caps the assessment fee at $2000.
     
    If the assessment takes the full eight hours then the fee is due upon delivery of the report.
     
    Work proceeds when all necessary information is provided or otherwise obtained.
     
    The assessment phase will result in:
    A summary of the problems at hand, A description of all possible solutions and, An assessment of the risks and rewards of each possible solution. Process Flow Steps:
    Define the objective. List out all possible successful solutions. Decide which solution to use. Explain why that choice is the best one. Test the solution and collect data to prove that the solution is in fact successful. =========
     
    Another benefit of this tool is to weed out the people who will not value your services. It works well to reduce your initial risk and establishes that you are in control on the work effort.
     
     
    Feel free to copy, edit, modify and use it too suit your needs.
     
    I hope it helps even a little bit.
     
     
     
  7. Like
    zeke got a reaction from morelius21 in change the clock in msp430f5529   
    @@morelius21
     
    You want to check out the Register Examples for the MSP430F5529 in the TI Resource Explorer.
     
    Specifically, check out the sample programs that have the *UCS* in the name.
     
    Here's a link to the first clock system configuration example: MSP430F55xx_UCS_01.c
  8. Like
    zeke got a reaction from Fmilburn in Display message in LCD with MSP430   
    Hi @@tony777,
     
    You have to take baby steps with this. Start with the things that you do know and then build up from that.
     
    Are you setup to program in assembler?
    Have you spent some time practicing writing assembly programs yet?
    Have you studied the assembly routines for the target processor yet? Here's the assembly program examples for the msp430g2553.
    What things have you succeeded programming already?
     
    Can you explain to us and yourself exactly what you need to accomplish?
    Do you know how to talk to the LCD peripheral?
    Do you know its language?
     
    Can you draw yourself a diagram of the steps needed to talk to the LCD?
    Can you understand the C code program that talks to the LCD?
     
    Writing an assembly program is almost like teaching a baby how to walk. You have to hold its hand for every step of the way. In this process, you will teach yourself how to think and to act in baby steps.
     
    So now, relax, take a deep breath and writing down all that you know and don't know about the problem.
     
    What needs to happen first? Hint: Look at the C code for clues.
     
    What do you need to tell the micro to do first?
    What's next?
    Make a list of everything that has to occur.
    Teach that micro how to talk to the LCD because it's brand new and knows nothing until you teach it.
     
    Talk it out with yourself or with a friend. Make observations about what you know and don't know. Explain how things work. Listen to yourself. Analyze what you are hearing. Identify the hurdles to climb over.  Then, tackle each hurdle by itself. Then assemble each solution into a bigger program.
     
    Divide and conquer the problem. 
     
    Ask us specific questions to show us that you are working at it.
     
    We can't do your homework for you but we will coach, mentor and encourage you. 
  9. Like
    zeke got a reaction from chicken in Display message in LCD with MSP430   
    Hi @@tony777,
     
    You have to take baby steps with this. Start with the things that you do know and then build up from that.
     
    Are you setup to program in assembler?
    Have you spent some time practicing writing assembly programs yet?
    Have you studied the assembly routines for the target processor yet? Here's the assembly program examples for the msp430g2553.
    What things have you succeeded programming already?
     
    Can you explain to us and yourself exactly what you need to accomplish?
    Do you know how to talk to the LCD peripheral?
    Do you know its language?
     
    Can you draw yourself a diagram of the steps needed to talk to the LCD?
    Can you understand the C code program that talks to the LCD?
     
    Writing an assembly program is almost like teaching a baby how to walk. You have to hold its hand for every step of the way. In this process, you will teach yourself how to think and to act in baby steps.
     
    So now, relax, take a deep breath and writing down all that you know and don't know about the problem.
     
    What needs to happen first? Hint: Look at the C code for clues.
     
    What do you need to tell the micro to do first?
    What's next?
    Make a list of everything that has to occur.
    Teach that micro how to talk to the LCD because it's brand new and knows nothing until you teach it.
     
    Talk it out with yourself or with a friend. Make observations about what you know and don't know. Explain how things work. Listen to yourself. Analyze what you are hearing. Identify the hurdles to climb over.  Then, tackle each hurdle by itself. Then assemble each solution into a bigger program.
     
    Divide and conquer the problem. 
     
    Ask us specific questions to show us that you are working at it.
     
    We can't do your homework for you but we will coach, mentor and encourage you. 
  10. Like
    zeke reacted to yyrkoon in msp430G2553 WDT   
    @@zeke
     
    If you did use this code, and required numbers . . . this is actually what you'd want. http://forum.43oh.com/topic/3247-simple-serial-minimal-debugging/?p=29661
     
    One caveat, I'm not sure if it will print float values or not. I ran into some trouble last night where my code was writing out "0" instead of a floating point value. I do know that there is a compiler glitch if a number is not declared as a float and you do math of integers + floats, your result may come out as zero, if not done right. But I double checked my code, and am pretty sure I was not running into that issue . .
  11. Like
    zeke reacted to yyrkoon in msp430G2553 WDT   
    It's C++  . . . and quite honestly I've forgotten most of how it works. But it's code I adapted from @@Rickta59, or @@oPossum . . . been a while I forget all the details. But you can see the header file here: http://forum.43oh.com/topic/3247-simple-serial-minimal-debugging/?p=29583
     
    @@Rickta59 actually had print routines that took up half as much flash in binary form than this. But this was a product of code written by, again honestly I do recall, but I did adapt it myself. I was super heavy into learning C++ template code at the time. After @@oPossums demonstration of I think a Nokia LCD driver file he wrote entirely in C++ templates. Also @@Rickta59 was sort of coaching me with all of this . . .
  12. Like
    zeke reacted to yyrkoon in MSP430G2553 multiple interrupts.   
    A demonstration Video, because  . . . I can
     

  13. Like
    zeke got a reaction from morelius21 in Buy books msp430   
    @@morelius21
     
    The John Davies book was the one I used to learn about MSP430's. I have a lot of respect for it.
     
    Another title that I like is this one by Tom Baugh:
    MSP430 State Machine Programming: with the ES2274
  14. Like
    zeke reacted to JonnyBoats in TI Store - free shipping on all orders from June 19-26.   
    Free shipping at TI Store through 26-JUNE-2016: http://www.ti.com/lsds/ti/store/power-week-deals.page?HQS=corp-tistore-null-powerweek-adh-lp-null-wwe
     
     
  15. Like
    zeke reacted to Fmilburn in [POTM] dAISy - A Simple AIS Receiver   
    dAISy Ethernet Adapter

    The dAISy Ethernet Adapter packages a dAISy AIS Receiver in an enclosure with a W5500 Ethernet module and a MSP430G2955 to control it.  With the addition of a marine VHF antenna, power via USB, and an Ethernet connection local marine traffic can be reported to the internet:

    The simplified block diagram below shows the main components:

    The MSP430G2995 was chosen over the more common MSP430G2553 for its additional RAM and was adapted to Energia and an Ethernet library ported.  Relatively large SMD components (e.g. 0805 resistors and capacitors, 38 pin TSSOP microcontroller) were chosen to allow hand soldering if desired.
     
    The finished product is shown below with the enclosure open:

    The project was a collaboration with @@chicken.
     
    Links and References
    dAISy 43oh thread: http://forum.43oh.com/topic/4833-potm-daisy-a-simple-ais-receiver/
    dAISy Tindie:  https://www.tindie.com/products/astuder/daisy-ais-receiver/
    MSP430G2955 Energia: https://github.com/fmilburn3/MSP430G2955_EnergiaPinmap
    W5500 Energia: https://github.com/fmilburn3/W5500_Ethernet
     
  16. Like
    zeke reacted to tripwire in [FIXED!] JTAG interferes with SensorTag external flash access   
    Good news! This issue is fixed in the TI Emulators 6.0.228.0 package, which contains the version 2.3.0.1 firmware for XDS110.
     
    TI have added support for 2-wire cJTAG debugging, which only uses the TMS and TCK lines. In the 2.3.0.1 firmware they also stopped the emulator from driving TDO, which was blocking access to the SPI. It looks like 2-wire cJTAG is the default mode now too, so debugging SPI flash code should just work like you'd expect.
  17. Like
    zeke reacted to greeeg in Casio watch rebuild w/ MSP430   
    Source code is super simple, since the MSP debug stack is doing all the work.
     
    Just quickly compiled it on my PC, looks great! Just spits out a continuous stream of values, which you can pipe into a gnuplot etc.
     
    Turns your launchpad into a current sensor for any (3.6v only) application.
  18. Like
    zeke reacted to Fred in Programming a game based on coordinates   
    If you've been set this as coursework then I'd suggest you start with what you've been taught. There are plenty of helpful people here that will be glad to assist if you're stuck on something specific and have tried working it out yourself first. What you won't find are people to do your assignment for you.
     
    This assignment has probably been given for a good reason. If someone creates a solution for you that doesn't use any of the principles you've been taught then it'll be fairly obvious and you'll probably fail. Also, 43oh is about the most prominent resource for MSP430 information. Your teacher may well know this and notice if you hand in an assignment someone else did for you here.
     
    Good luck with it. Don't be put off asking if you have something you get stuck on.
  19. Like
    zeke got a reaction from OpalApps in What is "our" time worth ?   
    One time, I made an estimate and it ended being way off because I hadn't accounted for the time I would need to create a test jig to properly simulate communications between the target I was designing and the client's existing hardware. That was a whole new chunk of electronics that I had to assemble, program and test. I had to eat a bunch of that time and not charge for it. The customer and I had a lot of long conversations during that project.
     
    I have learned from that oversight. It was not intuitively obvious at the beginning but it had to be done. I know better now.
     
    To guard against this from happening again, I am developing a pseudo generic dev board + PC software that allows me to simulate  communication between the target system and the rest of the client's system.  
     
     
    Do I know everything? Nope. Not even close. So, most times, the work demands you to perform research. I will and do charge for that but I let the client know in advance. I consider it as part of the initial project assessment checklist. I classify this as a combination of due diligence, quality control, professionalism and pride of workmanship.
     
    Nobody is perfect but we can be true to our intentions.
  20. Like
    zeke got a reaction from yyrkoon in What is "our" time worth ?   
    To me, everything is for sale but if the client doesn't own it until he purchases it.  In other words, the software IP remains the property of the one who wrote it until such time as he sells it. 
     
    You ought to make this a condition in your contract agreement i.e.: "The ownership of the software remains in the possession of yyrkoon and shall not be copied, eaten, sold, resold, sacrificed or mimicked in any way for ever and ever and ever, Amen. But if you buy it for the low low price of $1 million dollars then you can blend it to your hearts content."
     
    Don't let anyone make assumptions. Spell it out in excruciating detail so everyone knows what is expected of them.
  21. Like
    zeke reacted to yyrkoon in Nodejs GPIO   
    By the way here is some sample code for writing to a serial device using Nodejs:
    "use strict"; (function() {         var adc = require('./adc.js');         var fs = require('fs');         var writeStream = fs.createWriteStream('/dev/ttyO0');                  function read_adc(channel){                 var log_sample = function(){                         adc.read(channel, function(data){                                 var sample = (data & 0xFFF);                                 writeStream.write(channel + ':' + sample + "\n");                         });                 }                 setInterval(log_sample, 1000);         }                  var ain0 = new read_adc(0);        })(); This is really just a simple example of reading a single ADC channel and then sending that data out over serial. Then on the other end you just . . .
    $ sudo cat /dev/ttyUSB0 /* or suitable path to a serial device */ Of course, you could also write a nodejs app to "catch" and do something with  that data. . .
  22. Like
    zeke got a reaction from yyrkoon in One Wire Controller booster   
    Yeah, I've been sitting on this design way too long.  It's time to fab some boards.
     
     
     
    Dev Support board with LiPoly power and USB UART IO

     
    DS Backside

     
    One Wire Master is able to be both a Booster board or a master board

     
    OWM backside

     
    One Wire Temp sensor board that has various Dallas Semiconductor footprints

     
    One Wire Thermocouple board

     
     
     
    Anyone know of a quick turn pcb shop that has excellent pricing?
  23. Like
    zeke reacted to Rickta59 in What is "our" time worth ?   
    So have you spent more time thinking about what you are going to charge than it is going to take you to write this code? Better factor that into how much your real rate turns out to be.
     
    Sometimes I wish I had become a plumber.  When someone's toilet or water pipe is broken they don't even ask how much. The just want it fixed and just fix it, now!  I'm not sure if plumber friends ask for free work but I doubt it.  I never have.  But I certainly have friends that think my computer knowledge is just something I should offer for free.
     
    I tend to do fixed price bids.  It makes both of us happy. They know what they are going to pay and I don't have to go crazy justifying my time. I usually spend enough time up front to figure out what it is going to take and then I just multiple by my hourly rate and I stop sweating about it,  I always create a list of software deliverables and provide a time table for when they will be delivered. Most times I do different phases to give the customer something they can look at and also so they feel confident about my direction.  I also provide a grace period after the customer receives the code and typically two weeks to accept it or complain.  I build in the cost of any test jigs or code I will have to develop.  If I have to do research I do that on my time to be sure I'm going to be able to deliver.  I just roll that time into my bid.  Before I do any of that I'm pretty confident the customer is going to engage my services before I even bother.
     
    As far as residuals. I've done it both ways. Low up front cost and higher percentage for me and also the inverse.  Unfortunately, my luck there has always been hit or miss.  Something I thought would sell a lot didn't and I got screwed and conversely things I thought were really stupid I missed a big payout when they did sell.  The bottom line, get enough money to make you feel happy either way.
     
    -rick
  24. Like
    zeke reacted to yyrkoon in What is "our" time worth ?   
    heh !
     
    So as far as charging for "research" . . . I think I'd charge for research, but not time I spend writing proof of concept code for myself. Which is probably the most time consuming for me. Writing code that I can live with. Usually, what that means for me is copying some example code, then morphing it into some semblance of what I want to achieve . . . at which point I'm usually confident enough for write my own code from scratch. Rarely do I  take code that others have written and drop it into a project. Mostly I think because I'm very picky with coding style, and if not done my way I'm not happy. Other times, I feel the code is just crap. Because it's not simple enough, not clear enough, or is just not what I feel is a good idea to do.
     
    That not to say I think I'm perfect, but I do have my own preferences. As I'm sure we all do.
  25. Like
    zeke reacted to yyrkoon in What is "our" time worth ?   
    In my case, I'm doing work for a third party for whom a friend of mine contracted EE work from, and now they need a bit of software for hardware in their design. Or in other words, he put my idea into their design, because he felt it would be a good idea, and in hopes of making me some money as well.
     
    As far as my idea goes, I can say that it is basically an MSP430 turned into a smart watch dog. It's actually more complex than that, but that's the gist. The rest of the hardware, I cant speak about . . .
     
    @@zeke and yeah . . .my work entails software only, as well as "idea man" work I suppose too. Anyway, neither of these I do pro-bono for friends, family or clients. And actually I've done a lot of "ideas" in general discussion forums. I'm not sure I've done that much here, but have done it several times on the boeagleboarg.org google groups. In fact I've talked about "my idea" from 30k ft many times on the google groups.
×
×
  • Create New...