Jump to content


  • Content Count

  • Joined

  • Last visited

  • Days Won


Everything posted by Markel

  1. Hi, I am just checking if the issue has been resolved. -Markel
  2. Hi, I am using Energia 1.8.7E21. I am interfacing a HX711 Weighing Scale kit to MSP430FR5969 Launchpad. I am using a Energia Code that worked at another weighing scale project more than a year ago. When I program it, it runs 1 time and I see the output at Serial Console. But when I program again there is no output. Out of 10 programming the first one only has output. The rest do not have output at Tera Term. To confirm that the program does not run I put a code to turn on the red led. But the red led did not turn on. #include "HX711.h" #define DOUT 5 #define CLK 6 // most launch
  3. Hi, At a previous project I turn on and off power to ST LIS3DH Accelerometer using a MOSFET Circuitry. This is so to make sure the I2C Sensor is not consuming current when not in use. A colleague of mine designed to power a ST LSM303AGR from one of the MCU IO Pins. The MCU IO voltage is enough to power the ST LSM303AGR, so, should work. But, powering I2C Sensor from MCU IO Pins is not the usual way and new to me. Do you think that powering the ST LSM303AGR from one of the MCU IO Pin is okay or is not recommended? Regards, Markel
  4. Hi Clavier, Thanks for your reply. You are correct. So, these below are the sequences that I will do when powering on and powering off the LIS3DH Accelerometer. Powering On: Set ACC_VCC to 0, to turn on power to LIS3DH Accelerometer. Call SensorI2C_open(). Enable ACC_INT1 Pin. Powering Off: Disable ACC_INT1 Pin. Call SensorI2C_close(). Set ACC_VCC to 1, to turn off power to LIS3DH Accelerometer. Best Regards, Markel
  5. Hi, I have this MOSFET Power Circuitry connected to LIS3DH Accelerometer. The LIS3DH Accelerometer is connected to TI BLE CC2640R2F. The expected behaviour is if ACC_VCC is 0, it will power on the LIS3DH Accelerometer, and if ACC_VCC is 1, it will turn off the LIS3DH Accelerometer. However, if I initialize the open the I2C pins at program initialization by calling SensorI2C_open();. This is the behavior below. By normal knowledge The I2C pins connected to the LIS3DH Accelerometer should not affect the MOSFET Power Circuitry. I suspect the MOSFET Power Circuitry is wrong. Can anyone her
  6. Hi, Just an update. I tested this at a weighing scale setup. My load weigh is 1 litre of water = 2.2 lbs. I run the SparkFun_HX711_Calibration.ino and got the calibration factor. I set the calibration factor at SparkFun_HX711_Example.ino. I got the correct weight displayed which is 2.2 lbs. Best Regards, Markel Robregado
  7. Hi, I set the calibration value to -1.f and now I get value of 3200. So I guess that is more reasonable value. Next I will try the program at load cell or weighing scale setup. Here is my code below. #include <SPI.h> #include <OneMsTaskTimer.h> #include <LCD_SharpBoosterPack_SPI.h> #include "HX711.h" /* Example using the SparkFun HX711 breakout board with a scale By: Nathan Seidle SparkFun Electronics Date: November 19th, 2014 License: This code is public domain but you buy me a beer if you use this and we meet someday (Beerware license). This example dem
  8. Hi energia, From my last post, I can say that it is working but I do not have the correct setup to try out the example program from Sparkfun link below. I should try the example programs using a weighing scale setup connected to the Sparkfun Load Cell Amplifier HX711 board. Also, I am not able to get a calibration value because I am using a voltage divider board that outputs 5 mV, 10 mV, 15 mV, and 20 mV https://github.com/sparkfun/HX711-Load-Cell-Amplifier The formula for getting the calibration value, is explained in this link below. https://github.com/ag
  9. I modify the HX711 scale(DOUT, CLK); to HX711 scale(DOUT, CLK, 128 ); to set channel A, gain factor 128. I made changes base from HX711.cpp void HX711::begin(byte dout, byte pd_sck, byte gain) { PD_SCK = pd_sck; DOUT = dout; pinMode(PD_SCK, OUTPUT); pinMode(DOUT, INPUT); set_gain(gain); } I get output at Tera Term "Reading: 0.1 lbs", that is for 20 mV input to Sparkfun Load Cell Amplifier HX711. Best Regards, Markel Robregado
  10. Hi, I am evaluating the Sparkfun Load Cell Amplifier HX711 using the MSP430FR5969 Launchpad. I added HX711 library and modified the HX711.cpp and HX711.h according to this post below. https://learn.sparkfun.com/tutorials/load-cell-amplifier-hx711-breakout-hookup-guide http://forum.43oh.com/topic/10172-hx711-library-for-use-in-energia/ I opened the SparkFun_HX711_Example.ino. After build, I get this error at HX711.h. error: ISO C++ forbids in-class initialization of non-const static member 'OFFSET' I comment out the initialization value of OFFSET and SCALE and it build wit
  11. One good way to learn registers is to know how the internals of C API's work like GPIOPinWrite(). - Markel
  12. @@luis. I also want to use Energia. I already have a Temboo account and currently downloading Energia. Many months ago there was still no support for Tiva Connected Launchpad so I was not eager to learn about Energia. But my set priority now is learning how to make Iphone apps for CC3200 Launchpad. I will learn more about Energia+Temboo afterwards. - Markel
  13. Hi All, I joined here to learn more about using Energia for my TI Launchpads. Currently I have Tiva Connected Launchpad and CC3200 Launchpad. I am also a member of TI E2E. - Markel
  • Create New...