Jump to content

hmjswt

Members
  • Content Count

    24
  • Joined

  • Last visited

  • Days Won

    2

Reputation Activity

  1. Like
    hmjswt got a reaction from zeke in IoT Data Collection Servers: DeviceHive, Node-Red, MQTT, Custom?   
    Hallo,
    Why not program it yourself.
    If you can program a TI LaunchPad you can program almost anything...
    In Processing. It has a lot op functions. Including voice reporting on all functions and data is saved in .CSV file.
    In Python, live graphic.
    Why use third party software when you can do it yourself?
    Greetings from the Netherlands,
    Henk Siewert
  2. Like
    hmjswt got a reaction from Fmilburn in External eeprom library   
    Hallo Neetee,
    The routines/functions are very generic.
    Maybe the I2C pins are different.
    But that is no problem.
    Just try it.
    That's the fun of experimenting.That;s why I love this as a hobby.
    If it is for money, pleas try it and you can pay me royalties.
    Come on, go for it.
    Greetings from a very sunny Netherlands.
  3. Like
    hmjswt got a reaction from Fmilburn in External eeprom library   
    Hallo I am using this code for my 430G2553.
    /* LaunchPad EEPROM Author : Henk Siewert File : EEPROMTest Date : 27 september 2016 Version : 003 MCU : TI MSP430G2553 Memory : Microchip Language : Energia C++ Compiler : Energia 0101E0017 Systeem : Windows XP Pro SP3 Editor : NotePad++ WWW : http://www.swtcomp.com Pin 6 IC = SCL --> 9 LET OP! Nieuw in 17 Pin 5 IC = SDA --> 10 LET OP! Nieuw in 17 Pin 8 IC = VCC --> Vcc (3.3V) Pin 4 en 7 IC = GND --> GND 4,7K Pull up on pin 5 and 6 !!! Let op - Is jumper geplaatst? */ #include <Wire.h> // I2C library int disk1 = 0x50; // Address of EEPROM chip // 50 for Microchip 1,2,3 GND // 57 for Atmel 1,2,3 open #define memmax 32768 // Maximum memory: // 32768 for Microchip 24LC256 // 65536 for Microchip 24LC512 // 131072 for Microchip 24LC1026 // 4096 for Atmel 24C32 byte value = 133; // Value to write to EEPROM void setup(void) { Serial.begin(9600); // Start serial Wire.begin(); // Start I2C start(); // Start program } void start() { test(); } void test() // Write and read data to memory locations { for ( unsigned long address = 0; address < memmax; address++) { writeEEPROM(disk1, address, value); Serial.print( address ); Serial.print(" = "); Serial.print(readEEPROM(disk1, address)); Serial.println(" "); } } void writeEEPROM(int deviceaddress, unsigned long eeaddress, byte data ) { Wire.beginTransmission(deviceaddress); Wire.write((int)(eeaddress >> 8)); // MSB Wire.write((int)(eeaddress & 0xFF)); // LSB Wire.write(data); Wire.endTransmission(); delay(5); // Writing takes time } byte readEEPROM(int deviceaddress, unsigned long eeaddress ) { byte rdata; Wire.beginTransmission(deviceaddress); Wire.write((int)(eeaddress >> 8)); // MSB Wire.write((int)(eeaddress & 0xFF)); // LSB Wire.endTransmission(); Wire.requestFrom(deviceaddress,1); if (Wire.available()) rdata = Wire.read(); return rdata; } void loop() { // Not used }  
  4. Like
    hmjswt got a reaction from bluehash in External eeprom library   
    Hallo I am using this code for my 430G2553.
    /* LaunchPad EEPROM Author : Henk Siewert File : EEPROMTest Date : 27 september 2016 Version : 003 MCU : TI MSP430G2553 Memory : Microchip Language : Energia C++ Compiler : Energia 0101E0017 Systeem : Windows XP Pro SP3 Editor : NotePad++ WWW : http://www.swtcomp.com Pin 6 IC = SCL --> 9 LET OP! Nieuw in 17 Pin 5 IC = SDA --> 10 LET OP! Nieuw in 17 Pin 8 IC = VCC --> Vcc (3.3V) Pin 4 en 7 IC = GND --> GND 4,7K Pull up on pin 5 and 6 !!! Let op - Is jumper geplaatst? */ #include <Wire.h> // I2C library int disk1 = 0x50; // Address of EEPROM chip // 50 for Microchip 1,2,3 GND // 57 for Atmel 1,2,3 open #define memmax 32768 // Maximum memory: // 32768 for Microchip 24LC256 // 65536 for Microchip 24LC512 // 131072 for Microchip 24LC1026 // 4096 for Atmel 24C32 byte value = 133; // Value to write to EEPROM void setup(void) { Serial.begin(9600); // Start serial Wire.begin(); // Start I2C start(); // Start program } void start() { test(); } void test() // Write and read data to memory locations { for ( unsigned long address = 0; address < memmax; address++) { writeEEPROM(disk1, address, value); Serial.print( address ); Serial.print(" = "); Serial.print(readEEPROM(disk1, address)); Serial.println(" "); } } void writeEEPROM(int deviceaddress, unsigned long eeaddress, byte data ) { Wire.beginTransmission(deviceaddress); Wire.write((int)(eeaddress >> 8)); // MSB Wire.write((int)(eeaddress & 0xFF)); // LSB Wire.write(data); Wire.endTransmission(); delay(5); // Writing takes time } byte readEEPROM(int deviceaddress, unsigned long eeaddress ) { byte rdata; Wire.beginTransmission(deviceaddress); Wire.write((int)(eeaddress >> 8)); // MSB Wire.write((int)(eeaddress & 0xFF)); // LSB Wire.endTransmission(); Wire.requestFrom(deviceaddress,1); if (Wire.available()) rdata = Wire.read(); return rdata; } void loop() { // Not used }  
  5. Like
    hmjswt got a reaction from abhinavsaxena in EK-TM4C1294XL interface with CC2564MODNEM Bluetooth module   
    Hallo,
     
    To make is easy: buy a HC05 card and use the TX en RX.
    Keep it simple...
     
    What operating system are you using?
     
    Henk Siewert
  6. Like
    hmjswt got a reaction from Fmilburn in Flow Chart Template   
    Hallo,
     
    Oh, that brings back so much memories.
    I used to program in FORTRAN. And still do.
    Here is my Flowchart template.
     

  7. Like
    hmjswt reacted to pine in Flow Chart Template   
    Fmilburn, no kidding i almost cried when saw your photo.

    I am sure to have one of these,with a very white nice plastic cover bag about 20 years ago (although in my memory that plastic cover was meant to be discarded once opened).
     
    DOS became Windows 3.1 became Windows 95 became Windows 98 became Windows XP became Windows 7 became Windows 8 became Windows 10.
     
    Mine disappeared somewhere along the number / char change, but the memory of my pencil following this flow chart template will stay with me forever.

    Thanks for posting this!
  8. Like
    hmjswt reacted to Fmilburn in Flow Chart Template   
    I have been working on a project lately where I need to fit a design into an enclosure and was fumbling through my drawer looking for a measuring scale when I came across an old flow charting template.  I acquired it almost 40 years ago when I was working on a hydrocarbon process simulator that we were programing in FORTRAN.  That project was the last time I wrote code until fairly recently, but anyway, here is the template:

    Pretty funny...  On the left side is a "card scale" that you could put next to a stack of IBM punched cards to estimate how many you had.  Over at top right are the main ways of getting something into the computer - punched card, magnetic tape, and punched tape.  I actually remember using punched paper tape on a computer once.  Down below is online storage, offline storage, and "drum".  Followed by document, display, terminal, and manual operation.
     
    I don't actually remember using it as we weren't required to document with flow charts.  But we did have extensive user documentation in the form of paper manuals and the code itself was heavily documented.
     
     
     
  9. Like
    hmjswt reacted to enl in Flow Chart Template   
    I recently (within the last year) got rid of several of my templates, including flow chart and logic symbols, because with the youngest of them being 30+ years old, the plastic was starting to get `that smell', as it degraded. You all know the smell.somewhere between stale cheese and decaying animal,along with the white crust on the surface. I can't remember the source of the flowchart template (IBM? Digital? Data General? One of the big ones), but the logic symbol were the green TI and the blue National. I remember getting them at a recruiting fair in the early '80s.
  10. Like
    hmjswt got a reaction from tripwire in Flow Chart Template   
    Hallo,
     
    Oh, that brings back so much memories.
    I used to program in FORTRAN. And still do.
    Here is my Flowchart template.
     

  11. Like
    hmjswt got a reaction from ElTita in Flash memory can be damaged by writes? (and related things)   
    Hallo,
     
    Yes, there are bigger ones.
    I am using 1024 Bits EEPROMS.
    Costs less then $3.00.
    You can chain 8 IC's for a total of 8Megabits!.
     
    Works like a dream.
     
    I have a page about EEPROMS and the LaunchPad on my website.
    A lot is in dutch but I translated the EEPROM page in English.
    You can download the source code.
    http://swtcomp.com/launchpad/eeprom/eeprom.htm
  12. Like
    hmjswt got a reaction from veryalive in Dutch lanquage LaunchPad Forum   
    Hi,
     
    For all you Dutch LaunchPad People: Now there is a Dutch Language LaunchPad Forum on:
    http://launchpad.swtrocketry.com
     
    Voor alle Nederlandstalige LauchPad gebruikers:
    http://launchpad.swtrocketry.com
     
    Is voortgekomen uit het Nederlandstalige Arduino Forum.
     
    Groet,
    Henk Siewert
×
×
  • Create New...