VECTARE

Member Since: November 9, 2011

Country: United States

  • Trying to use a Raspberry PI to talk I2C to this board to get the device_type. I would expect the value to be 0x0421 per the datasheet, but, I am receiving 0x7400 and wondering what I am doing wrong on reading a simple address:

    Here is my simple code:

    #include <stdint.h>
    #include <stdio.h>
    #include <errno.h>
    #include <stdlib.h>
    #include <wiringPi.h>
    #include <wiringPiI2C.h>
    
    #define I2C_ADDRESS 0x55
    
    
    int main()
    {
        int fd=0;
    
            if ((fd=wiringPiI2CSetup(I2C_ADDRESS)) < 0)
            {
             fprintf (stderr, "Unable to open I2C device: %s\n", strerror (errno)) ;
                 return 0;
            }
            delay(100);
    
            int x4 = wiringPiI2CReadReg16(fd,0x0001);
    
            printf("read from I2C: 0x%04x\n",x4);
    
    return 0;
    }
    

    Output: read from I2C: 0x7400

    Wonder if someone could give me assistances. I want to make sure I understand the I2C communications before trying to incorporate the library.

  • Can someone explain the differential audio output. If I wanted to connect this to a headset speaker (mono), do I need a amplifier or can I do this with discrete parts?

  • Try: http://www.tankzone.co.uk/cart/hl_kt.htm

    They have alot of parts for RC Tanks.

  • Only if I had RFID reader!

  • Have you consider creating a POE 802.1 10/100BT interface blade?

  • I just check Digikey for the mating connector 2.0mm and both H11908CT-ND and H11908TR-ND are in stocked. At time of this posting, they had 8K on hand.

  • Just downloaded the LED library from the top link. I am running Eagle 6.3 on Ubuntu 64 bit machine and I get the following error:

    Loading /Shared/Engineering/eagle/lbr/SparkFun-LED.lbr …

    Error:

    line 5, column 6: This is not an EAGLE file.

    Thoughts?

  • I am running Ubuntu 10.04.. Seen that before.. I got through digikey.

  • The JST Connector datasheet does not have dimensions. However, the Datasheet has the part number that you can get proper datasheet from Digikey. The 5pin connector is S5B-PH-KS (Digikey: 455-1722-ND)

  • Solved - Able to communicate and configure initiated from bluetooth side. Basically it require enabling / disabling and it eventually work. There must be something in Windows (gave up on the minicom) that wasn’t enabling the serial port, even though the properties showed it was enabled… All is working… Speed btw is 115200 on the bluetooth side as well as the serial side.

No public wish lists :(