Jump to content


  • Content Count

  • Joined

  • Last visited

About icserny

  • Rank

Contact Methods

  • Website URL

Profile Information

  • Gender
  • Location
    Debrecen, Hungary
  • Github

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. It is very strange, but now I cannot reproduce the problem. As I have removed or reinstalled several software packages (including JDK, development environments for different microcontrollers etc) in the past days I guess, that it was just a misfortunate interference between different versions of Java or virtual COM drivers. In the Arduino forum I linked above several possible reasons are mentioned.
  2. Finally I could find the exact symptom: Energia 15 could not start if the Energia/libraries folder (located in my user Documents directory) contains anything from my previous developments. It starts however, when that folder is empty. Similar problems were reported in the case of the Arduino IDE 1.0.x and 1.6.x as well. See in this forum: http://forum.arduino.cc/index.php?topic=167553.0 Thank you for your attention!
  3. Of course, the installation directory is c:\energia-0101E0015.
  4. I have downloaded and extracted energia-0101E0015-windows.zip. When I try to run energia.exe the following message is given: Unfortunately, this message is not very informative, so I don't know what is the cause of the problem. I have no such problem with the earlier versions of Energia (including versions 9 - 12).
  5. The PF0 pin shoud be unlocked before setting its mode The code fragment is from an example program from the J. Valvano's EDX course "Embedded Systems - Shape The World" See lines at step 2). SYSCTL_RCGC2_R |= 0x00000020; // 1) activate clock for Port F delay = SYSCTL_RCGC2_R; // allow time for clock to start GPIO_PORTF_LOCK_R = 0x4C4F434B; // 2) unlock GPIO Port F GPIO_PORTF_CR_R = 0x1F; // allow changes to PF4-0 // only PF0 needs to be unlocked, other bits can't be locked GPIO_PORTF_AMSEL_R = 0x00; // 3) disable analog on PF GPIO_PORTF_PCTL_R
  6. You can adopt Arduino projects or libraries. Look for these for example: http://arduinobasics.blogspot.hu/2012/11/arduinobasics-hc-sr04-ultrasonic-sensor.html http://playground.arduino.cc/Learning/TLC5940
  7. Note that the HC-SR04 ultrasonic sensor requires 5 V power supply. Sent from my Xiaomi Redmi 1s with Tapatalk
  8. You can adopt an Arduino project. For example this: http://arduinobasics.blogspot.hu/2012/11/arduinobasics-hc-sr04-ultrasonic-sensor.html Notes: 1. The HC-SR04 module requres +5V supply. 2. A voltage divider or a current limiter resistor may be required to receive the ECHO signal since the MSP430G2553 does not tolerate the 5V signal.
  9. 1. It depends on the type of the LCD. 2. Probably yes, but you must provide negative voltage for contrast setting. I would prefer to buy 3.3V LCD from E-bay.
  10. Modkit could be an interesting tool for childen, but I have no information about its present status. Sent from my Hongmi 1s by Tapatalk
  11. The latest official version of Energia (energia-0101E0012) does not define TEMPSENSOR for the TM4C1294 MCU. The suggested solution discussed at https://github.com/energia/Energia/pull/364# does not work for me. The function call to analogRead(TEMPSENSOR) is hanging the program. I have found a quick and simply solution for the problem, so anyone can use it until a better solution will be found. 1. Add this line to file pins_energia.h in folder Energia/hardware/lm4f/variants/launchpad_129 #define TEMPSENSOR PB_1 //Will be translated to ADC_CTL_TS 2. In the same file modify the followin
  12. See in the STEP file FAQ: http://www.pcb-3d.com/knowledge-base/step-file-faq
  13. Hi @@chicken Thank you very much for your BMP085 library. It works nicely also with the Software I2C Master Library for MSP430G2553 written by Rei Vilo. I tested with MSP430G2 Launchpad and a BMP180 breakout module (bought from Ebay). In the attached screenshot the final value of the pressure was corrected for altitude (that's why the dumped value of p and the pressure are different). Istvan Cserny
  14. You are right, the floating point arithmetic is a waste of memory and CPU time. On the other hand it makes Energy sketches a little more readable. Good question, but I don't expect sub-zero temperature in my room. But merely changing the return type of function tc75_read(void) from uint16_t to int16_t should do the trick. Istvan
  • Create New...