Jump to content
43oh

abecedarian

Members
  • Content Count

    1,711
  • Joined

  • Last visited

  • Days Won

    23

Reputation Activity

  1. Like
    abecedarian reacted to rockets4kids in Embedded for a 10 year old?   
    Ditto on enl's comments.
     
    There is a reason the only people touting it are the people selling it.
  2. Like
    abecedarian reacted to enl in Embedded for a 10 year old?   
    not yet there other than special uses.
     
    Pricey, high resistance, not environmentally tolerant enough
  3. Like
    abecedarian reacted to Automate in AC power usage Booster Pack   
    @@abecedarian ESI project to monitor his nephew's water and power usage got me thinking about this again.
     
    I came across this 6 channel energy measurement IC.  Seems like it would work well for monitoring multiple circuits from one location such as your home circuit breaker panel.  It would allow offloading all the complex voltage and current phase calculation to an external IC and just collect the values including power factor etc. over an SPI or I2C link.  http://www.analog.com/static/imported-files/overviews/ADE7816_Multichannel_Energy_Measurement_IC.pdf
     
  4. Like
    abecedarian got a reaction from Automate in ESI Project: Water Usage Monitoring   
    This project will involve measuring water usage in one of the bathrooms in my house, predominately for teaching my nephew, and possibly others, the value of conservation and efficient use of available resources. Additionally, I hope to implement monitoring the electricity usage in said bathroom as well as my nephew's bedroom in order to expand the lessons beyond what's obvious and into things which are taken for granted; might expand this to the whole house if it becomes feasible to do so.
     
     
    Topology:
    - Individual sensors with MCU, sensor and power source at each station, transmit data via wireless to central control station where calculations and report / monitoring occur.
     
     
    Monitored stations:
    - Shower. Individual hot/cold monitoring not required due to those being mixed at the valve.
    - Sink. Will require independent hot and cold monitoring due separate valves for each, mixing at the fixture and lack of space at the faucet outlet.
    - (future) Electrical: bathroom light, exhaust fan, bedroom light, various outlets, possibly entire house distribution panel, with inductive sensors.
     
     
    Sensors:
    - Water: to be determined; will update this post as solutions are decided on.
    - Electrical: to be determined, likely inductive type; will update this post as solutions are decided on.
     
     
     
    Reporting / Display:
    - To be determined; I will update this post as solutions are decided on.
    - Would be nice to use the LCD peripheral in the FR6969.
     
     
    Considerations:
    - Powering the devices.
    -- obtaining power for electrical monitoring can be done from the AC circuit in place.
    -- obtaining power for the water flow sensors will be more difficult but may be possible to generate power from the water flow itself.
    - Transporting data:
    -- Data will require wireless transmission.
    -- Simple transmission of sensor transitions, i.e. 'high' to 'low' with a 'StationID' seems plausible, so that said data can be fed to the ESI peripheral on the remote MCU.
    -- Transceiver types to be determined later; considering CCxxxx and nRF24 types at the moment.
    - Sensor data processing:
    -- Limited MCU resources: 4 ESI modules.
    --- Will require some means to switch between sensors since there will eventually be more sensors than ESI modules.
    --- Since data will be transmitted wirelessly, buffering data at the remote end and transmitting in bulk is an option. My thought here is the remote MCU 'records' data, then transmits that to the central station where the data is 'played back' into the ESI and interpreted. This should work well with the water flow sensors where flow data will likely be a bit stream from hall-effect sensors, but electrical may prove more difficult as it will probably be analog in nature.
     
     
     
    I welcome any comments and suggestions.
     
    And thank you TI for providing this opportunity!
  5. Like
    abecedarian reacted to Automate in ESI Project: Single-Point Sensing of Whole-Home Water Usage   
    My city water rates are sky high so I was looking for a way to monitor my water usage and hopefully reduce it. I came across his paper "Single-Point Sensing of Whole-Home Water Activity" https://homes.cs.washington.edu/~jfogarty/publications/ubicomp2009.pdf .  They call the system HydroSense.
     

     
    Instead of using a water flow sensor at every faucet, tub, shower and appliance that uses water, a single pressure sensor is used to detect the water usage at every location.  This is accomplished by learning and recognizing the unique pressure pattern when water is turned on or off at each water usage location.  In this way you know not only how much water is used but also which location is using the water without the high cost and complexity of installing sensors at every location.
     

     
    One of the objectives of the HydroSense systems was to make it portable for a quick and easy install.  Therefore the single sensor/MCU was battery operated and could be installed on any water outlet including an outside faucet.
     
    The following are the major components of the HydroSense system as described in the white paper.

  6. Like
    abecedarian got a reaction from 32614_1489253935 in WTIMER0 and TIMER0   
    @
     
    http://www.ti.com/lit/ds/symlink/tm4c123gh6pm.pdf
    Starting on page 704, gives details regarding the timers and which pins can be used for the various configurations.
  7. Like
    abecedarian got a reaction from 32614_1489253935 in WTIMER0 and TIMER0   
    @
     

    TIMERA: = 32 bits wide TIMERB = 32 bits wide | ---------- TIMERA ---------- | | ---------- TIMERB ---------- | 00000000000000000000000000000000 00000000000000000000000000000000 WTIMERx = 64 bits wide equals TIMERA + TIMERB 00000000000000000000000000000000 00000000000000000000000000000000 | --------- WTIMERxA ----------| | --------- WTIMERxB ----------| TIMERx: = 32 bits wide TIMERx+1 = 32 bits wide 00000000000000000000000000000000 00000000000000000000000000000000 | -- TIMERxA --||-- TIMERxB -- | | - TIMERx+1A -||- TIMERx+1B - |I probably messed that up, but I think it's correct.
  8. Like
    abecedarian got a reaction from abc in Embedded for a 10 year old?   
    You'd have to find something to fit that shaft, which I think is 5mm / 3/16" across the major axis, the rounded ends- not the flat sides, with a set screw or compression coupler to lock it down.
     
    There are bell-cranks and other things that may be useful, depending on what you're trying to accomplish.
     
    Hobby shops are often decent places to find things like that.
  9. Like
    abecedarian got a reaction from abc in Embedded for a 10 year old?   
    Arduino prototyping shield about $3.00
    ultrasonic distance module > $2.00
    16x2 parallel interface LCD > $3-4.00
    4 digit LED > $2.00
    ULN2003 stepper motor driver >= $0.99
    5v stepper motor > $1.75
    IR Remote + receiver > $2.00
    ...
    and so on
    ...
     
     
    In general things aren't too terribly expensive, but things do add up. Being able to re-use modules for other projects / learning experiences is helpful though.
     
    With the above, you're already at around $14 and the jumper wires, power supply and Arduino itself aren't listed. Considering an 'official' Arduino Uno R3 can be over $25, DuPont jumper wires can be > $1.50 for 40, male or female ended, and that first kit comes with two storage cases which would probably set you back a few dollars each, you are almost square with the cost of either kit, and still don't have the motor, servo, LEDs, transistors, resistors or capacitors, or any of the other fluff, and those aren't really that expensive either; just search eBay for "Arduino 'xyz'" where 'xyz' equals what you're looking for.
  10. Like
    abecedarian got a reaction from abc in Embedded for a 10 year old?   
    @@abc, If you're building a 'creature', I think the components in the first kit are more apropos, not to mention that first kit is only $1.00 more than the other. For instance, to buy the stepper motor and driver board would set you back a fair penny more than the dollar you save with the second, and you'd also get ultrasonic sensor, 9v wall wart, LED digits... and I believe a 16x2 LCD.
     
    The longer shipping time for the first is a bummer though, and if you want something not included you'll have to find them locally or wait for those to ship.
     
     
     
    Did you also notice that Scratch can interface with Arduino?
    http://s4a.cat/
    http://www.instructables.com/id/Scratching-with-Arduino/
     
     
     
     
    *OT side note: Many of the devices for Arduino can be interfaced to LaunchPads, but it's good to always remember the LP's are 3.3v devices so any Shields you try to connect to may require additional considerations for power sourcing and analog / digital logic interfacing. Also, some of the sketches may involve things specific to the Arduino processors which could require sometimes difficult rewriting in order to work within Energia.
  11. Like
    abecedarian reacted to pabigot in Scan Interface Applications - Five Members Win A Target Board And An MSP-FET   
    There are still plenty of infelicities, if not bugs, but for the record I intend to use msp430-elf for all my own future development.  I do, however, build my own from upstream gcc to which RedHat doesn't always promptly push their updates (e.g. the large memory support in the current TI release hasn't been upstreamed yet).
     
    I also have a local git archive that tracks all the TI public releases (source and headers), which I'll put on github next time I'm working MSP430.  Makes it easier to figure out what changed with each release (and what's not yet pushed upstream).
  12. Like
    abecedarian got a reaction from Fred in ESI Project: Laser coolant monitor   
    ebay maybe?
  13. Like
    abecedarian reacted to greeeg in ESI Project: Water Usage Monitoring   
    To make use of background processing of the ESI, you could use an envelop detector fed into a variable gain amp. In fact there is likely an off the shelf company for this. Like the MAX9926 but that could run off 3.3v
     
    Then you could use the ESI processing state machine to track a full revolution.
  14. Like
    abecedarian reacted to greeeg in Altium - free version   
    Altium is great. I used it at uni. So I went and bought a student license. The only downside I see is that the student license is like 10% of the cost of an individual license.
     
    In fact it's cheaper if I kept re-enrolling at uni to satisfy a student license. :$
  15. Like
    abecedarian got a reaction from dubnet in Building low power into Energia   
    laughpad?
  16. Like
    abecedarian got a reaction from roadrunner84 in Building low power into Energia   
    laughpad?
  17. Like
    abecedarian got a reaction from spirilis in Building low power into Energia   
    laughpad?
  18. Like
    abecedarian reacted to greeeg in Source archive for msp430-elf on github   
    I wanted to use my ARM based laptop for msp develelopment so I had to compile my own.
    I built mine with your instructions @@pabigot. http://www.mail-archive.com/mspgcc-users@lists.sourceforge.net/msg12028.html
     
    This was using the git sources, which from what your saying are different from what TI release in their source packages. Then the header files were taken direct from TI.
     
     
    Using the TI sources @@Rickta59 shared his build instructions. You'll need to ensure your environment has all the prerequisites for building gcc. http://forum.43oh.com/topic/5760-gcc-for-msp430-officially-out-of-beta/?p=50618
  19. Like
    abecedarian reacted to pabigot in Source archive for msp430-elf on github   
    I don't actually build from these sources, though I do use the headers as-is.  I believe others here have done so and have posted instructions either elsewhere on the forums or on the mspgcc users mailing list.  Unless you intend to modify the sources you're probably better off downloading the pre-built ones from TI.  In fact, you should be able to update to the latest msp430-elf version automatically from within CCS.  Energia should also have support for it, but probably not IAR which is a competing product.
  20. Like
    abecedarian reacted to pabigot in Source archive for msp430-elf on github   
    Several people liked this post which I took as interest in the mentioned archive of source and headers for TI's public releases of their msp430 gcc toolchain.  I've now made this available on github at: https://github.com/pabigot/msp430-elf
     
    There's nothing you get there that isn't from TI, but it can be useful to determine what changed in each release, so you know what to look for in the upstream gcc repository.
     
    Updates to this repository will be best-effort on my part: no promises.
  21. Like
    abecedarian reacted to Fred in ESI Project: Laser coolant monitor   
    No problem. That didn't sound condescending, but did sort of just repeat what I'd said. I know how to get the chip out because... well guess how I found out that those two large dots aren't for pin 1! I can also confirm that putting it in the wrong way round doesn't damage it. Not tried upside down.
     
    I must admit I don't get the whole Energia thing. I feel you lose (breakpoints and debugging) far more than you gain. Grace can be a bit of a timesaver though. That definitely doesn't support bigger stuff or the ESI either. However if you depend on either of these then the FR6989 might be a bit too much to handle.
     
    Anyway, back on topic...
  22. Like
    abecedarian reacted to Fred in ESI Project: Laser coolant monitor   
    My TS430PZ100D target board arrived today. All seems to work OK with the older FET430-UIF. I used to wonder with those ZIF sockets were so expensive but having seen one up close it seems a little more reasonable. Some tips if you're also using one:
     You press down to open the ZIF socket, drop the IC in and the let it spring up to grip.  If you've not worked up close with LQFP before, the pin 1 marker is the smaller one in the bottom left, so this lines up with the arrow on the ZIF socket. Text is printed in different orientations on everything so ignore that completely. Also ignore the two larger circles on the IC.  
    I'm still waiting on the other components I need, so I just fired up blinky to test everything was working. If you look at the CCS generated blinky code it includes a line to disable the default GPIO high impedence mode. I would probably have been caught out by this if I hadn't been so lazy I couldn't write my own blinky code!
     
    I would play a little more but I'm just off to finish laser cutting some stuff for @@PTB from that PoTM contest way back in March.
  23. Like
    abecedarian reacted to greeeg in ESI Project: Fitness monitor   
    Update: Kit arrived today, FET should be along any day now.
     

    What comes in the kit.
     

    Hmmm, Chips.
     

    Locked and loaded, ready to roll.
     
    Unfortunately I just re-installed this laptop, a HP 11" chromebook. running ubuntu on it's slow ARM dual core.
    Because I'd just re-installed I hadn't put on the drivers. But I have compiled msp430-elf gcc.
     

    This is my setup.
     
    Just compiling a libmsp430.so driver so I can use the exFET lite to probe the chip.
     
     
    Edit, update:
    libmsp430.so compiled. ezFET lite updated.
    Ran mspdebug tilib
    MSP430_OpenDevice MSP430_GetFoundDevice Device: MSP430FR6989 (id = 0x0160) Chip ID data: a8 81 21 SUCCESS!!
  24. Like
    abecedarian reacted to Rickta59 in Scan Interface Applications - Five Members Win A Target Board And An MSP-FET   
    For the record, they have fixed the issues I had. Except for the one about long symbol names and that one is only likely to affect the less than .001% of people using really long c++ template names and coding for the msp430. Oh and that person fixed his version by recompiling from source.
  25. Like
    abecedarian reacted to spirilis in TI and Temboo partner for IoT   
    Q for @@adrianF and @@Temboo - The CC3200 and CC3100's support SSL natively for HTTPS connections as I understand it.  Does the LaunchPad-Temboo integration utilize that?  Or are the choreo connections going plaintext over the air/wire?
×
×
  • Create New...