Jump to content

Rei Vilo

  • Content count

  • Joined

  • Last visited

  • Days Won


Rei Vilo last won the day on February 6

Rei Vilo had the most liked content!

1 Follower

About Rei Vilo

  • Rank
    Level 5

Contact Methods

  • Website URL

Profile Information

  • Gender
  • Location
  • Interests
    Robots with fischertechnik — Embedded systems with embedXcode
  • Github

Recent Profile Visitors

1,451 profile views
  1. PID Autotune

    No need to cross post. See Netiquette for Newbies.
  2. Is the issue specific to Energia, or do it also occurs on Arduino? For the latter case, open a ticket at the GitHub repository.
  3. RGB_LED_RANDOM not working

    You need to initialise the outputs! As always, the more obvious the cause, the more difficult to find it!
  4. RGB_LED_RANDOM not working

    This code works for me. #include "Energia.h" void setup() { pinMode(RED_LED, OUTPUT); pinMode(GREEN_LED, OUTPUT); pinMode(BLUE_LED, OUTPUT); Serial.begin(9600); Serial.println(); Serial.println("RGB\tR\tG\tB"); } void writeRGB(uint8_t valueRed, uint8_t valueGreen, uint8_t valueBlue) { analogWrite(RED_LED, valueRed); analogWrite(GREEN_LED, valueGreen); analogWrite(BLUE_LED, valueBlue); } void loop() { uint8_t valueRed = random(255); uint8_t valueGreen = random(255); uint8_t valueBlue = random(255); Serial.print(millis()); Serial.print("\t"); Serial.print(valueRed); Serial.print("\t"); Serial.print(valueGreen); Serial.print("\t"); Serial.print(valueBlue); Serial.println(); writeRGB(valueRed, valueGreen, valueBlue); delay(333); } And the video at vimeo.com/256190702.
  5. RGB_LED_RANDOM not working

    That would mean this pin does not feature PWM.
  6. RGB_LED_RANDOM not working

    Have you tried? uint8_t number = random(0, 255); analogWrite(ledRed, number);
  7. MSP-EXP432P401R & CC3100BOOST External Power

    The difference may come from the LDO. The CC3100 BoosterPack features the TLV62090 rated for 3A High Efficiency Step Down Converter in 3x3mm QFN Package, while The MSP432P401R LaunchPad relies on the TPS73533DRB rated for 500-mA, Low Quiescent Current, Ultra-Low Noise, High PSRR, Low-Dropout Linear Regulator
  8. Upload firmware code using Energia

    You'd need to create a variant for this specific MCU. See Is it Better to Change Header or Remap GPIO in my Sketch? for hints.
  9. Define differential ADC inputs

    I'm afraid you need to dig into the MSP430FR5994 data-sheet.

    You’d need to use a library for Arduino and port it to Energia. Please find some useful links: How-To: Porting Libraries Posting a Library for Energia Some Misconceptions about Libraries Generally speaking, all calls to low-level functions related to the MCU are not portable, because they rely on the MCU architecture.
  11. DSLite problems

    The easiest way is to use OpenOCD outside Energia. Just check for the complete path of the .elf file on the Energia console.
  12. DSLite problems

    To upload to the TivaC, use OpenOCD instead. It supports the TM4C123 very well. You can also use OpenOCD to debug with GDB.
  13. Compile and upload energia code from terminal

    If you're on Mac, you can give embedXcode a try. It is a plug-in that runs on Xcode but relies on the command-line make.
  14. iMeter BoosterPack

    The iMeter BoosterPack features the INA226, an iteration of the INA219 I've been using in various projects like the I²C Voltage-Current-Power INA219 Sensor and the Volt-Amp-Watt-Meter for Grove.Compared to the INA219, the INA226 operates on the same I²C bus but can now perform the measures on the high- or low-side, when the INA219 could only measure on the high-side. The library for Energia was then easy to develop thanks to the prior experience with the INA219. I tested the iMeter BoosterPack on a MSP430FR4133 LaunchPad and a MSP430FR6989 LaunchPad with the built-in segmented LCD, leveraging the alpha-numeric LCD to display the units and the buttons to select the different measures (V, A, W) and toggle between units (V, mV). References INA219 Review INA226 BoosterPack full review Library for Energia