
reaper7
-
Content Count
174 -
Joined
-
Last visited
-
Days Won
8
Reputation Activity
-
reaper7 reacted to Rei Vilo in The Story of Energia in 150 Seconds
Watch The Story of Energia in 150 Seconds.
-
reaper7 reacted to yosh in MSP <--> EMULATOR explanation
Basically it's something like this:
In this way you can "switch" the pins for HW or SW UART by just rotating the two jumpers.
-
reaper7 got a reaction from bluehash in [Energia Library] MSP430F5529 UIPEthernet (enc28j60) library
bump...new version
-
reaper7 got a reaction from yosh in [Energia Library] StellarPad UIPEthernet (enc28j60) library
bump...new version
-
reaper7 got a reaction from yosh in [Energia Library] MSP430F5529 UIPEthernet (enc28j60) library
bump...new version
-
reaper7 reacted to yosh in msp430 launchpad ADC
Short answer: yes. You will notice the same behaviour if you tie the pin to vcc. Just do some averaging of lets say 10 values and you will get much smoother results.
Long answer please see here: http://www.st.com/web/en/resource/technical/document/application_note/CD00004444.pdf
-
reaper7 reacted to yosh in How to export serial port data to excel sheet in energia?
You could just format your serial output as comma separated values (or semicolon or tab or ...) and copy/open these lines to/in excel . That's an easy way I use all the time to e.g. display sensor data in excel. Of course you have no "real time" processing and visualisation of your data - it is just post processing.
Edit: you could also use a VBA script inside Excel to read the COM Port ....
Edit2: PLX-DAQ should work with Launchpad too ... http://robottini.altervista.org/arduino-and-real-time-charts-in-excel
... just use the Sketch from there as a starting point
-
reaper7 reacted to yosh in How to export serial port data to excel sheet in energia?
Hi
PLX-DAQ works as expected .... so just check your COM-Port settings. I only had to change the COM-Port to a lower number in the Device Manager for my Launchpad since the PLX-DAQ plugin only has Ports 1...15 available for selection.
Anyway ... nice piece of software, I think it could be helpful for future projects.
Maybe check this instructable, too - maybe you just missed a step? But I think it's just the wrong COM-Port or Baud-Rate. Launchpad only supports 9600 !!! (see my adapted sketch and PLX-DAQ-Settings)
-
reaper7 reacted to yosh in How can I interface Bosch BME280 shuttleboard with MSP432?
The links and code provided are ment to be used in Energia. Place the library files as mentioned before and copy the sketch-code into Energias coding window ...
-
reaper7 reacted to yosh in How can I interface Bosch BME280 shuttleboard with MSP432?
Thanks for the results @@reaper7 but credits for code and sketch go to someone else ;-) but good to know it is working as requested by the thread starter ...
-
reaper7 got a reaction from yosh in How can I interface Bosch BME280 shuttleboard with MSP432?
@@yosh - Your code works OK with only one mod because my module have "hard" set address 0x76, so I change bme.begin() to bme.begin(0x76)
-
reaper7 got a reaction from yosh in How can I interface Bosch BME280 shuttleboard with MSP432?
nice i useful, I got my bme yesterday, so first test today
-
reaper7 reacted to yosh in How can I interface Bosch BME280 shuttleboard with MSP432?
Hi
based on the I2C example code / files from HERE
Library:
http://static.cactus.io/downloads/library/bme280/cactus_io_BME280_I2C.zip
Lib must be copied into ...\Energia\energia-0101E0016\hardware\msp432\libraries\cactus_io_BME280_I2C
Sketch:
#include <Wire.h> #include "cactus_io_BME280_I2C.h" // Create BME280 object BME280_I2C bme; // I2C void setup() { Serial.begin(9600); Serial.println("Bosch BME280 Pressure - Humidity - Temp Sensor | cactus.io"); if (!bme.begin()) { Serial.println("Could not find a valid BME280 sensor, check wiring!"); while (1); } Serial.println("Pressure\tHumdity\t\tTemp\ttTemp"); } void loop() { Serial.print(bme.getPressure() / 100.0F); Serial.print(" mb\t"); // Pressure in millibars Serial.print(bme.getHumidity()); Serial.print(" %\t\t"); Serial.print(bme.getTemperature_C()); Serial.print(" *C\t"); Serial.print(bme.getTemperature_F()); Serial.println(" *F"); // Add a 2 second delay. delay(2000); //just here to slow down the output. } Binary sketch size: 35511 bytes (of a 262144 byte maximum) >>>> Done <<<< At least it compiles without errors ... can't test it further since I don't have the BME280.
-
reaper7 reacted to yosh in How can I interface Bosch BME280 shuttleboard with MSP432?
Hi
have a look on datasheet pages 37..39 for the pinout (I2C or SPI) and
here https://ae-bst.resource.bosch.com/media/products/shuttleboards/BMP280_Shuttleboard_Flyer.pdf for the corresponding pins on the "shuttel board"
MSP432 Launchpad pin map here: http://energia.nu/wordpress/wp-content/uploads/2015/03/MSP432-LaunchPad-%E2%80%94-Pins-Maps.jpg
Arduino example + code here (if you plan to use Energia): http://www.seeedstudio.com/recipe/257-bosch-bme280-1-chip-temp-humidity-pressure.html(<- you don't need the level shifter!)
additional information, sketch, etc. here: http://cactus.io/hookups/sensors/barometric/bme280/hookup-arduino-to-bme280-barometric-pressure-sensor
Best wishes
-
reaper7 got a reaction from lsl4578 in [Energia Library] EtherEncLib for ENC28J60
examples->HelloWorldActivate.ino allows You control RED_LED on MSP430G2
-
reaper7 got a reaction from yosh in [Energia Library] EtherEncLib for ENC28J60
examples->HelloWorldActivate.ino allows You control RED_LED on MSP430G2
-
reaper7 reacted to yosh in how would I create a delay in output going high?
Have a look here for an example:
http://energia.nu/Tutorial_Debounce.html
Your debounce time would be 1000 ms.
-
reaper7 got a reaction from bluehash in [Energia Library] EtherEncLib for ENC28J60
bump!
new 0.4.2 version - fixed CS pin inside enc28typedef.h
-
reaper7 got a reaction from yosh in [Energia Library] EtherEncLib for ENC28J60
bump!
new 0.4.2 version - fixed CS pin inside enc28typedef.h
-
reaper7 got a reaction from yosh in [Energia Library] EtherEncLib for ENC28J60
Hi! - I don't know how to help You,
a good choice is to buy a simple logic analyzer.
Do You have any message on serial console?
Try to "enable" debug message from lib -> EtherEncLib.h change DEBUGLIB value from 0 to 1 (line 40)
You must know how to check process step by step,
simplest method is inserting something like this Serial.println("i'm here"); in different library places (like begin, available etc) called from sketch.
You must be like a Herlock Sholmes
-
reaper7 got a reaction from lessarlz in [Energia Library] EtherEncLib for ENC28J60
Hi! - I don't know how to help You,
a good choice is to buy a simple logic analyzer.
Do You have any message on serial console?
Try to "enable" debug message from lib -> EtherEncLib.h change DEBUGLIB value from 0 to 1 (line 40)
You must know how to check process step by step,
simplest method is inserting something like this Serial.println("i'm here"); in different library places (like begin, available etc) called from sketch.
You must be like a Herlock Sholmes
-
reaper7 reacted to yosh in Connecting VCC to breadboard?
Did you check if there is a short in your circuit?
-
reaper7 got a reaction from lessarlz in [Energia Library] EtherEncLib for ENC28J60
@lessarlz - ENC28j60 is a spi device, so connection is very simple
for eg. if You are using MSP430G2553 board:
ENCpin MSPpin
Vcc PIN1 +3.3V
GND PIN20 GROUND
CS PIN10 P2_2 (you can change this pin in file enc28typedef.h - line 424, then also mandatory! in sketch pinMode(10,OUTPUT);
RESET PIN16 RESET
SI PIN15 P1_7 (MOSI)
SCK PIN7 P1_5 (SCK)
SO PIN14 P1_6 (MISO)
--
WOL, INT, CLKOUT -> not connected
-
reaper7 got a reaction from lessarlz in [Energia Library] EtherEncLib for ENC28J60
@lessarlz - sorry...my mistake...wrong platform
for MSP CS pin is PIN10 P2_2...
try to change hardware connection(move wire from msp pin5 to pin10) and change uart speed to 9600 for msp430
-
reaper7 got a reaction from yosh in [Energia Library] EtherEncLib for ENC28J60
@lessarlz - sorry...my mistake...wrong platform
for MSP CS pin is PIN10 P2_2...
try to change hardware connection(move wire from msp pin5 to pin10) and change uart speed to 9600 for msp430