Jump to content
43oh

Chypsylon

Members
  • Content Count

    9
  • Joined

  • Last visited

About Chypsylon

  • Rank
    Noob Class

Profile Information

  • Gender
    Not Telling
  • Location
    Austria
  1. Yes, but you have to keep in mind that the 7.2V is only the nominal voltage rating, when the battery is fully charged it'll have around 8.2V and when fully depleted 6.6V (discharging beyond this point can damage the battery). When we look into the Datasheet of the standard 5V regulator 7805 we see that the dropout voltage is typically 2V (but this can vary slightly due to manufacturing). The dropout voltage is the minimum difference required between input and output voltage for the regulator to work. While 7.2V - 5V = 2.2V is still slightly higher than required, you risk the regulator shut
  2. My power source was a 11.1V LiPo-Battery with a linear regulator (common 7805 thingy) which outputs about 5V (it was something like 4.9V, so well within the required range). What exactly do you want to do and what are your requirements?
  3. I've successfully powered it via the VBUS pin in the pinheader I don't know about the unpopulated hole in the bottom though, you might want to check with a multimeter/in the schematic
  4. I was able to get it working using the functions from the original Stellarisware driver. #include "inc/hw_types.h" #include "inc/hw_ints.h" #include "driverlib/sysctl.h" #include "driverlib/eeprom.h" #include "driverlib/watchdog.h" #include "driverlib/interrupt.h" void setup() {} void loop() { //Watchdog Stuff SysCtlPeripheralEnable(SYSCTL_PERIPH_WDOG0); SysCtlPeripheralReset(SYSCTL_PERIPH_WDOG0); if(WatchdogLockState(WATCHDOG0_BASE) == true) { WatchdogUnlock(WATCHDOG0_BASE); } WatchdogReloadSet(WATCHDOG0_BASE, ROM_SysCtlClockGet()); WatchdogResetEnable(WATCHDOG0_BASE
  5. Is there any watchdog functionality implemented in Energia?
  6. Thanks, I just cut the traces with a scalpel. Everything's working now.
  7. After an hour of debugging (RTFM, I know...) I finally found out that PD1 and PB7 as well as PD0 and PB6 are connected with a 0-Ohm resistor. Can I just remove them/cut the traces to have the pins working individually or'll I break something? Why are they connected anyway?
  8. Sorry for my late reply, I somehow expected to get an email if someones writing in this topic :/ I can't remember if I was able to get readings beyond 45cm but I know it's possible as I've done it using another microcontroller. You might want to experiment with different Gain- and Range-Values (see Datasheet). The values, in the sensor I've tried with, were probably already changed from the default values. Good luck and report your findings here
  9. This code worked for me (sligthly adapted from the examples provided). Please note that my I2C-Adress is not the default one and that you have to convert the 8bit Sensor-adress to 7bit e.g shift by one bit. I also had to use the I2C-Module 1, the others wouldn't work for me. #include <Wire.h> #define SENSOR_ADRESS 115 void setup() { Wire.setModule(1); Wire.begin(); // join i2c bus (address optional for master) Serial.begin(9600); // start serial communication at 9600bps } int reading = 0; void loop() { Serial.println("begin transmission
×
×
  • Create New...