Jump to content
43oh

Arch_ETS

Members
  • Content Count

    15
  • Joined

  • Last visited

  1. Awesome, time to advance from G2553. Will PM you right now. Thanks. Regards, Arch.
  2. Here is the latest code, cannot check if it works properly, but I already have questions. Are there any benefits from detaching interrupt while calculations, lcd stuff, adc and so on are going on, and then re-attaching it? What are benefits using float over double? Isn't double more friendlier data type to MCU? Also, is it worth doing less important stuff less frequently by doing as in following code? Is that even "legal"? /Sorry for stupid questions./ EDIT: Edited all code, for better clarity. #include <LiquidCrystal.h> LiquidCrystal lcd(P2_0, P2_1, P2_2, P2_3, P2_4, P2_5); //RS,E
  3. Unfortunately I destroyed my only G2553 chip by connecting VccMSP to VccLCD (5v). (Yes, stupid mistake). But I will definitely try your suggestion, when I will receive parts and MCU chip. Thanks for response, Maldrax.
  4. Okay, thanks, calinp. I don't really know what did I do, but now it works a lot better, have not tested yet in real life, but with computer/audacity as signal generator it works fine, here is the new code. #include <LiquidCrystal.h> LiquidCrystal lcd(P1_2, P1_1, P1_4, P1_5, P1_6, P1_7); //RS,EN,D4,D5,D6,D7 const int coilpin = P1_3; //input/interrupt pin const int sampletime = 300.0; //adjust for speed/accuracy const int carbswitch = P2_2; //switch from carburator, when accelerator is not pushed, switch is connected to GND. When accelerator is getting floored, disconnects. const int
  5. Hello everyone. I am more of a hardware dude, so software always makes me stay up all nights while trying to understand why it doesn't work and why DOES it work. Anyway, below is the code I am using. It works, kind of, but there is a problem. If I decrease delay, resolution goes down pretty bad, with 300ms it is 100RPM. If I Increase, of course it gets slow, and that is not ok in my application. As I am a total noob, I hope someone here might give me advice, what can I possibly do. Regards, Arch. volatile unsigned int rpmcount; float rpm; float timeold; const int carbswitch = P2_2; //s
  6. Whoa, pretty impressive. Is it functioning fine? Really interesting project. Isn't PWM stressing battery somehow? EDIT: I was reading code, probably it is just lack of my knowledge, but in code R7resistor - 4650, while in schematic 5600ohm. :? EDIT2: So, I managed to blow up my ATX three times in a row, but fixed that only twice. Luckily I got one more. Meanwhile I was checking LCD code, and Polish character stuff (commented one) was unclear for me. I wanted to add some Latvian chars, like ? {0x1F, 0x000, 0x1F, 0x11, 0x1F, 0x11, 0x11, 0x000};, but couldn't compile, got an error about "const
  7. Hello, I am usually dealing with hardware, so I have no idea what I am doing when it comes to software. Of course I've done Hello World, and other simple tasks, but now I need (ok, want) to build a IR controlled volume control. Currently I won't even try to think out about Infrared stuff, but about controlling digital potentiometer. I've soldered DS1802 based pot, with LME49720 buffer. Works fine with DS1802 push-button interface. Before jumping into IR receiver/transmitter stuff I would like to get it working in following way [pushbuttons->launchpad->ds1802], but the problem is that I h
  8. Led is constantly on for me, no idea why.
  9. Just awesome. Thanks for sharing!
  10. Nice to hear that project hasn't stopped Will wait for any updates. Thanks for effort made, Nate.
  11. I don't know why, but my microSD died, I used microSD to SD adapter, double checked everything, but no success. Then I removed it, and non of readers detect it anymore.
  12. Username, it worked just great before this. I never had any problems with connection. I guess this is just not my day
  13. Something strange happened with my Launchpad. EvalTool can't connect to it anymore, although it connect previously without any problems. Tried a lot of times, but only thing that happens - it throws out this -> "
  14. That's great to hear I am facing a lot of problems to make my Launchpad do something I want (beginner in MCUs, used to analogue electronics), and your tool is great for me, to try some relay/mosfet controlling and etc. For example, now I hooked up my hybrid amplifier to Launchpad and I use digital outputs coupled to mosfets to a) switch on tube heaters HV supply for tube stage c) Power stage :geek: When I'll get temperature sensor, I might use it to see how hot it gets and then to switch on a fan which would be regulated by PWM tab
  15. Hello, Well done! This is really useful project. I hope that your future developments will improve it. I was wondering, is it possible to create software kind-of-PWM (more like pulse) at digital output tab? Slider or textbox to adjust how many times it turns output on/off? Would be useful to test some motor drives or something like that. Anyway, good luck!
×
×
  • Create New...