Jump to content
43oh

cheverecamachidoche

Members
  • Content Count

    28
  • Joined

  • Last visited

  • Days Won

    2

Reputation Activity

  1. Like
    cheverecamachidoche reacted to VMM in Another 430 Watch   
    Well, it's up and running.  All the hardware seems to check out.  Display and accelerometer are playing nice on a shared spi bus.  The FR5738 RTC is keeping time.  LIS3DH initialized and generating interrupts properly.  Lots of programming to do now for the interface, calibrations, etc.

  2. Like
    cheverecamachidoche got a reaction from izdane in Hexapod robot   
    Hi guys.
    Im developing an hexapod robot with a launchpad that is controlled by remote control with a capacitive touch booster pack and an CC110L anaren air booster pack, the project is not finish yet but this is a little preview of the final design.
    The body and the legs of the robot is make of MDF wood and was design and build by my own :thumbup:
     

     


  3. Like
    cheverecamachidoche got a reaction from larsie in Hexapod robot   
    Hi guys.
    Im developing an hexapod robot with a launchpad that is controlled by remote control with a capacitive touch booster pack and an CC110L anaren air booster pack, the project is not finish yet but this is a little preview of the final design.
    The body and the legs of the robot is make of MDF wood and was design and build by my own :thumbup:
     

     


  4. Like
    cheverecamachidoche got a reaction from SystemLevel in Digital Inputs   
    As dkedr said interruptions are the best option. Try this:

    #include int main(void) { WDTCTL = WDTPW + WDTHOLD; // Stop watchdog timer P1DIR |= (BIT0 + BIT1); // Set P1.0 to output direction P1OUT &= ~(BIT0 + BIT1); // set P1.0 to 0 (LED OFF) P1IE |= BIT3; // P1.3 interrupt enabled P1IFG &= ~BIT3; // P1.3 IFG cleared __enable_interrupt(); while(1) { } } #pragma vector=PORT1_VECTOR __interrupt void Port_1(void) { P1OUT ^= (BIT0 + BIT1); // P1.0 = toggle P1IFG &= ~BIT3; // P1.3 IFG cleared P1IES ^= BIT3; // toggle the interrupt edge, }
     
    Push button: P1.3
    Led: P1.0
  5. Like
    cheverecamachidoche got a reaction from Nytblade in Hexapod robot   
    Yes the anaren code is indecipherable lol, so I searched in the forums and I found a CC110L source code from larsie:
    http://www.43oh.com/forum/viewtopic.php?f=35&t=1889&start=50
  6. Like
    cheverecamachidoche got a reaction from Nytblade in Hexapod robot   
    cubeberg. I utilised 18 Hitec HS 322HD servomotors and a pololu minimaestro 18 Channel, yes I will share the body plans but first I have to make it in a CAD software
  7. Like
    cheverecamachidoche got a reaction from Rickta59 in Hexapod robot   
    Hi guys.
    Im developing an hexapod robot with a launchpad that is controlled by remote control with a capacitive touch booster pack and an CC110L anaren air booster pack, the project is not finish yet but this is a little preview of the final design.
    The body and the legs of the robot is make of MDF wood and was design and build by my own :thumbup:
     

     


  8. Like
    cheverecamachidoche got a reaction from RobG in Hexapod robot   
    jsolarski. Im sending the position of the servos trough the UART to a servocontroller.
     
    dkedr and bluehash. The lynxmotion kit is expensive here so I had to built the body with MDF wood.

     

  9. Like
    cheverecamachidoche got a reaction from GeekDoc in Hexapod robot   
    cubeberg. I utilised 18 Hitec HS 322HD servomotors and a pololu minimaestro 18 Channel, yes I will share the body plans but first I have to make it in a CAD software
  10. Like
    cheverecamachidoche got a reaction from cubeberg in Hexapod robot   
    cubeberg. I utilised 18 Hitec HS 322HD servomotors and a pololu minimaestro 18 Channel, yes I will share the body plans but first I have to make it in a CAD software
  11. Like
    cheverecamachidoche got a reaction from cubeberg in Hexapod robot   
    Hi guys.
    Im developing an hexapod robot with a launchpad that is controlled by remote control with a capacitive touch booster pack and an CC110L anaren air booster pack, the project is not finish yet but this is a little preview of the final design.
    The body and the legs of the robot is make of MDF wood and was design and build by my own :thumbup:
     

     


  12. Like
    cheverecamachidoche got a reaction from RobG in Hexapod robot   
    Hi guys.
    Im developing an hexapod robot with a launchpad that is controlled by remote control with a capacitive touch booster pack and an CC110L anaren air booster pack, the project is not finish yet but this is a little preview of the final design.
    The body and the legs of the robot is make of MDF wood and was design and build by my own :thumbup:
     

     


  13. Like
    cheverecamachidoche reacted to oPossum in Interruption with button counter   
    switch(conta) { case 1: // default: // All other case values conta = 1; // Reset count Firstposition(); break; case 2: Secondposition(); break; case 3: Thirdposition(); break; case 4: Quarterposition(); break; }
  14. Like
    cheverecamachidoche got a reaction from bluehash in Capacitive touch booster pack+Air booster pack = Remote ctrl   
    code for
    capacitive touch booster pack: http://www.ti.com/tool/capsenselibrary
    Anaren CC110L air booster pack: https://github.com/mobilars/LarsRF-mspgcc (thanks larsie)
    My code all together: https://github.com/cheverecachaimachochidoche/captouch_rc
  15. Like
    cheverecamachidoche got a reaction from larsie in Capacitive touch booster pack+Air booster pack = Remote ctrl   
    code for
    capacitive touch booster pack: http://www.ti.com/tool/capsenselibrary
    Anaren CC110L air booster pack: https://github.com/mobilars/LarsRF-mspgcc (thanks larsie)
    My code all together: https://github.com/cheverecachaimachochidoche/captouch_rc
  16. Like
    cheverecamachidoche reacted to larsie in Anaren TI CC110L RF AIR Booster Pack   
    I was similarly frustrated with Anaren but especially TI for a short while, until I realized that TI actually have some simple example RF code out there in nice BSD licenses. That's the code that https://github.com/mobilars/LarsRF is based on. So I've forgiven them ... especially since the sell their Launchpad device at such a DIY-friendly price, which must be below their cost even at the large volume they are making it. They deserve a lot of credit for that.
  17. Like
    cheverecamachidoche reacted to SugarAddict in Problems with functions   
    while (1) { posinicial(); __delay_cycles(1000000); paradobajo(); __delay_cycles(1000000); for(; { parado(); }
  18. Like
    cheverecamachidoche reacted to RobG in Help with serial comunication and Servo controller   
    OK, try one more thing, add

    P1SEL2 = BIT1 + BIT2;
     
    The code you have works for me with the line above and 1MHz DCO.
  19. Like
    cheverecamachidoche reacted to RobG in Help with serial comunication and Servo controller   
    Yep, this is exactly what my code snipped above does.
    putc(0xXX) - is a function call that sends one char
    while(!(IFG2 & UCA0TXIFG)) - this is a loop that will execute until TX buffer is ready for another byte
    UCA0TXBUF = 0xXX - put the char in the buffer and send
     
     
    You could also create putc function:
     

    void putc(char c) { while(!(IFG2 & UCA0TXIFG)); UCA0TXBUF = c; }
     
    One more thing, you do have crystal soldered, right?
  20. Like
    cheverecamachidoche reacted to turd in Help with serial comunication and Servo controller   
    Try this:
     

    #include "msp430g2553.h" unsigned char TxByte = 0; unsigned int result; unsigned int del; void in(unsigned int servo, unsigned int angle); void main(void) { WDTCTL = WDTPW + WDTHOLD; // Stop WDT BCSCTL1 = CALBC1_1MHZ; // Set DCO to 1MHz DCOCTL = CALDCO_1MHZ; P1SEL = BIT1 + BIT2; // Set P1.1 to RXD and P1.2 to TXD P1SEL2 = BIT1 + BIT2; UCA0CTL1 |= UCSSEL_2; // Have USCI use SMCLK AKA 1MHz main CLK UCA0BR0 = 104; // Baud: 9600, N= CLK/Baud, N= 10^6 / 9600 UCA0BR1 = 0; // Set upper half of baud select to 0 UCA0MCTL = UCBRS_1; // Modulation UCBRSx = 1 UCA0CTL1 &= ~UCSWRST; // Start USCI while (1) { in(0, 1000); //in(num servo, position) __delay_cycles(10000); //__bis_SR_register(CPUOFF + GIE); //Enter LPM0 with interrupts } } void in(unsigned int servo, unsigned int angle) { //bytes to servocontroller TxByte |= 0xAA; //envia byte de inicio (170 en decimal) TxByte |= 0x0C; //numero de dispositivo (12 por default) TxByte |= 0x04; //byte de comando TxByte |= servo; //numero de servo TxByte |= (((angle >> 7) & 0x3f)); TxByte |= (angle & 0x7f); while(!(IFG2 & UCA0TXIFG)); UCA0TXBUF = TxByte; }
     
     
    Remember to use the correct pin:
     

     
    What are you using to program the chip, CCS, IAR or MSPGCC?
×
×
  • Create New...