Jump to content

canibalimao

Members
  • Content Count

    59
  • Joined

  • Last visited

Everything posted by canibalimao

  1. That's what I thought and I'm not planning to spend that money on a simple screwdriver set But thanks for the info. I'll look at the store to see any good deal
  2. I'm looking also for a new screwdrivers precision kit. How much cost one from Wiha on online markets?
  3. But those are the exception that confirms the rule :mrgreen: I haven't used any of the Wiha screwdrivers, but those are so good that worse the money they costs?
  4. But I want to have something to work on at home. I don't have that much confidence with him to ask him to teach me soldering and to lend me that... I could ask him some tips, but that's just it... On Monday morning I'm free and I'm planning to go to his "office" to ask help on choosing the right iron and some professional tricks when removing SMD components.
  5. I'mj the only one on my circle of friends who have interest on this kind of things (what is pretty strange since I'm on an Electric Engeniering course ) and I don't know anyone who have a basic soldering iron. I know a guy who fixes TV's and things like that, but he have a working station with a lot of addons and haven't used any basic one on his life...
  6. I know that's a great tool to have on the tool box, almost like a philips screwdriver, but the problem is the cost. A good soldering iron is a lot more expensive than a good kit of screwdrivers But I'll try to buy a good one the next week (if they were right about the stock's arrival). It don't have an holder, but it will do his work, I hope
  7. I'm after one with a sharp tip. Here in Portugal we call them "pencil tip irons". I have already a roll of solder, solder wick, a flux pen, tweezers and a couple of sidecutters. What I really need is a soldering station and space to put it. As I don't have space and don't want to spend a lot of money on a soldering kit (I don't see myself soldering a lot of stuff, at least for now) I just want a simple iron. I guess that it should serve me for now...
  8. I have here an old and broken motherboard that I thought before to practice on, but all the components are too small. If I try to unsolder anything I don't have how to put that small thing of the board I really need to buy a decent soldering iron (today I went to the store where I usually buy electronic components but the iron I want was sold out and I need to wait) and then practice with a broken TV I have on my grandmother's house. Maybe I'll put it working :-D
  9. But I don't want to spend a lot money on soldering stuff... My iron have a removable tip but I searched all the electronic/DIY stores I know here on my area and they don'thave tips for that type of iron... I have an arduino UNO on the go (it might arrive today), but i'm planing to use this on my car as a parking sensor... I think I'll search for a cheap Leonardo on ebay and then I'll try to remove the chip on this one.
  10. I know it is. I need to get a new soldering iron too. The one I have has it's tip oxided and I can't get it working well even if I try to sand it...
  11. But I have absolutely almost no skills on soldering DIP components. Much less with SMD... I don't know if this was jealousy by the chip because this happens right after I bought an Arduino UNO to use in University...
  12. Today, after tested a 9V powersuply, I tried to run an Arduino Leonardo using that powersuply. Right after I plugged it on the wall I heard some really fast "tic-tacs" and plugged it off right next. Put the finger on top of the chip and it was really really hot. Conclusion: a fried Arduino :cry: And now I can't change the chip (my soldering skills are not much above zero :oops: ). If anyone is interested on the board to try to repair it please contact me. I'm from Portugal.
  13. Oh that's easy. I'll try that to see if the crystal is good or not. Thank you once again and good vacations Hope I don't need to bother you again :oops:
  14. Now I'm out of home, but when I get back I'll try that "nop" and see what happen. About the crystal (I have another one arround here and I'll test that), how can I make a test if it's good or not without that RTC trick?
  15. Where's that function you're mentioning? It's on the "library" i2c.h? I'm searching there and theres only 3 functions commented: "static void __inline__ brief_pause(register uint16_t n)", "void i2c_init()" and "uint8_t i2c_exists()". Are these one you'r talking about? So, the best way is to activate those delays on the beggining to check if there's a problem with those? I don't think so. The mcu seems that's working and maybe the RTC is working too, but I can only check that after I get this working properly Thank you for all the patience :oops:
  16. This isn't my first project, but is almost there :$ Also I noticed now that there is another "error". When I'm on "Seconds mode" the counter goes up to 79. Is that supose to happen, or is just part of the error? If the seconds are counting, I can confirm that the RTC is working, or not? I don't know if I need some delay, but I'll try that. About the breadboard I'm using one like you show on the video (these small breadboards are awesome for this "portable" projects ) but I'll try with a bigger one. PS: please change this picture on your web page. The RTC and the cap are oriented to the wrong side. After my first attempt to build this (two days ago) I follow that image and noticed that the cap is wrong but I don't get that the RTC is also rotated and after a couple of seconds with the breadboard connected to 2 AA batteries it start getting hot. I think it was the crystal, but, I change also the RTC just to play safe and avoid hardware failures.
  17. I guess that it works :grin: But now I'm confused: after the clock is seted up it should change the minutes, right? But it stays on the time I put there and don't move... The seconds change (i guess) but the rest is stopped :? Thank you so much simpleavr ;-)
  18. That was really a problem with the copy/paste from github. Thanks again! I'd installed github for windows and downloaded the repo and it is fine now. The only problem I'm having now is with the clock itself. I plug it on and nothing happens. I press the button and only a simple dot lights on, and the flashes off again...
  19. I'm still getting the timer errors, don't know why. The lnk_msp430g2231.cmd error has gone, as it's suposed, but the others still there... I know that the code exceeds only a bit of the available memory and that makes it goes all wrong on CCS, but now the timers shouldn't be a problem. I tried also to compare this code to another one with the timers and interrups but I don't find any error. The code seems equal... Also, now I'm having about 15 erros with other undefined symbols: undefined first referenced symbol in file --------- ---------------- BCSCTL1 ./rtc-clock.obj BCSCTL2 ./rtc-clock.obj CALBC1_1MHZ ./rtc-clock.obj CALDCO_1MHZ ./rtc-clock.obj DCOCTL ./rtc-clock.obj P1DIR ./rtc-clock.obj P1IE ./rtc-clock.obj P1IES ./rtc-clock.obj P1IFG ./rtc-clock.obj P1IN ./rtc-clock.obj P1OUT ./rtc-clock.obj P1REN ./rtc-clock.obj P1SEL ./rtc-clock.obj P2DIR ./rtc-clock.obj P2OUT ./rtc-clock.obj P2SEL ./rtc-clock.obj TA0CCR0 ./rtc-clock.obj TA0CCTL0 ./rtc-clock.obj TA0CTL ./rtc-clock.obj WDTCTL ./rtc-clock.obj Are the pin numbers different on different mcu's?
  20. Thank you simpleavr, once again. I've done the first change but I still have the problem with the lack of space and the unresolved symbols. I gess that it really should be a problem with CCS 5, because it affects both clock programs (rtc and 3p4w). The second change you're mentioning, I don't need to make because the program already had the static const uint8_t digit2ports[][3] = { function written well. About the lack of space problem, I'm geting also this information: it's located on lnk_msp430g2231.cmd file. I don't need this file because I'm using #include <msp430g2452.h> in the beggining of the rtc-clock.c file. Is there any other place where I need to change the #include?
  21. I'm sorry for bring this up from the grave and for bother you again, but I'd only received know the display (I don't know what happened in this months with post services, but the orders from China were a "bit" delayed) and I'd only started now working on the clock. I don't know what's happening but even if I define a larger mcu (msp430g2452, for example) it says that the program will not fit in the available memory. And then I have another 3 errors with unresolved symbols: TA0CCR0, TA0CCTL0 and TA0CTL. I'd searched and I can't find those references on the program :S Besides that, I'd also tried to program an msp430g2231 with the 3p4w clock and I'm geting also those same error with unresolved symbols. Are those functions related only with mspgcc? I'm having problems installing that because I can only find a setup for cygwin and I don't know how to use it on windows
  22. Did anyone tried to port this to a Nokia 5110 LCD? I'm trying to do that but i'm with problems with the library on the functions I've ported: "fill", "print" and "pd12". With pd12 and fill I get this: template <volatile unsigned char &_SP, unsigned char _CLK, unsigned char _DATA, volatile unsigned char &_CP, unsigned char _DC, volatile unsigned char &_EP, unsigned char _CE, unsigned _RST> void Nokia5110<_SP, _CLK, _DATA, _CP, _DC, _EP, _CE, _RST>::pd12(unsigned n, unsigned x, unsigned y) { pos(x, y); write(num11x16[n], 11, lcd_data); pos(x, ++y); write(num11x16[n] + 11, 11, lcd_data); } And this is the error: #136 class template "nokia5110::Nokia5110<_SP, _CLK, _DATA, _CP, _DC, _EP, _CE, _RST>" has no member "pd12" With print: template <volatile unsigned char &_SP, unsigned char _CLK, unsigned char _DATA, volatile unsigned char &_CP, unsigned char _DC, volatile unsigned char &_EP, unsigned char _CE, unsigned _RST> void Nokia5110<_SP, _CLK, _DATA, _CP, _DC, _EP, _CE, _RST>::print(const char *s, unsigned char m) { unsigned char c; while(*s) { c = font[*s - 32][0] ^ m; write(&c, 1); c = font[*s - 32][1] ^ m; write(&c, 1); c = font[*s - 32][2] ^ m; write(&c, 1); c = font[*s - 32][3] ^ m; write(&c, 1); c = font[*s - 32][4] ^ m; write(&c, 1); write(&m, 1); ++s; } } This is the error: #495 no instance of overloaded function "nokia5110::Nokia5110<_SP, _CLK, _DATA, _CP, _DC, _EP, _CE, _RST>::print" matches the specified type I don't know what's happening, since I paste all the functions according to the "model" on the others already written... EDIT: I found what the problem was (I needed to call the functions on the struct and I forgot about that...) but know I'm getting a problem in function show_time: In this function: lcd.print((unsigned char)x, (unsigned char)4, s); I get this: #306 no instance of overloaded function "nokia5110::Nokia5110<_SP, _CLK, _DATA, _CP, _DC, _EP, _CE, _RST>::print [with _SP=P1OUT, _CLK=(unsigned char)' ', _DATA=(unsigned char)'\200', _CP=P1OUT, _DC=(unsigned char)'\001', _EP=P1OUT, _CE=(unsigned char)'\020', _RST=10000U]" matches the argument list Does anyone knows what's happening? :-(
  23. Thank you very much again. I must have changed something accidently, because all the files were in the right place. Another big stupidity done by me, I believe :oops:
  24. I must have deleted those files by accident. I couldn't find the files on the clone from you git I've made before... Thank you very much :grin: EDIT: I put all the files together and the Thermometer_430.h that was missing too and now I get this: LCD_5110_thermometer.cpp.o: In function `setup': C:\Users\Pedro\AppData\Local\Temp\build5736051516123509181.tmp/LCD_5110_thermometer.cpp:62: undefined reference to `Thermometer_430::begin()' LCD_5110_thermometer.cpp.o: In function `loop': C:\Users\Pedro\AppData\Local\Temp\build5736051516123509181.tmp/LCD_5110_thermometer.cpp:84: undefined reference to `Thermometer_430::get()' C:\Users\Pedro\AppData\Local\Temp\build5736051516123509181.tmp/LCD_5110_thermometer.cpp:87: undefined reference to `Thermometer_430::temperatureX10()' LCD_5110_thermometer.cpp.o: In function `__static_initialization_and_destruction_0': C:\Users\Pedro\AppData\Local\Temp\build5736051516123509181.tmp/LCD_5110_thermometer.cpp:48: undefined reference to `Thermometer_430::Thermometer_430()' collect2: ld returned 1 exit status Maybe the problem is related to the serial port?
  25. Haven't you thought about selling kits like that? :grin:
×
×
  • Create New...