@lex

Members
  • Content count

    322
  • Joined

  • Last visited

About @lex

  • Rank
    Embedded member

Profile Information

  • Gender
    Not Telling

Recent Profile Visitors

841 profile views
  1. BPi R16

    Can you please show a picture of the connector you used and also the battery? If you have some specification for the connector and battery would be nice.
  2. Mine is missing too and i have possibly the second batch (very old) so it comes from the beginning...
  3. using ov5640 with sopine/pine64so baseboard

    After recovering from the April Fools' day, not a complete recovery though, still shaking and panicking when typing in... Here i go... https://www.aliexpress.com/item/OV5640-A28-OV5640-170-degree-wide-angle-lens-500-megapixel-camera-module/32587714258.html?spm=a2g0s.9042311.0.0.bAmW0v beware, it does not work with mmBoard! Regarding the lock-up, I would suggest double check your DTS (decompile both dtb and do a compare). Enable VFE debugging messages and recompile. Good luck.
  4. The mmBoard

    ... better ask on another thread...
  5. BPi R16

    Not that i know. (AW chip). But there are other boards with MIPI interface (higher FPS) but with two or three times this price tag. Forgot to mention: You can check the CSI progress for the v3s here: https://groups.google.com/forum/#!topic/linux-sunxi/Cu5ldv_SzSc[26-50] I have read (somewhere and i can't remember where) this was tested on H3. Maybe you get inspired and try to build one image and push it to github and i try to help somehow.
  6. BPi R16

    Can you please tell which mainline kernel version you are using? Wifi has some issues with 4.15.y, it works but ping is around 60 ms while 4.14.y is very smooth, around 1.5 ms. If you can get ov5640 with mainline I am in.
  7. No luck with NanoHat OLED that has I2C spare connector, can't connect a dupont connector there, argh...
  8. This is all components soldered on the PCB if you mean to find if is those are wired.
  9. Ok, i think i understand the need of a resistor, but i thought these little devices already have it, no? Pity, This makes it impracticable for people with little skills or lack of knowledge to implement this. Long ago i struggled to wire a resistor to SDA and SCL lines to make an ov7640 to work with my cubieboard, as you can see a complete sh* but the final result worked. I can see a spare i2c connector on the NanoPi HAT, will do some checking and see if they are on the same bus line and try to learn a few things.
  10. In case anyone curious, It works with WiringPi and is indeed MCP23008. This code excerpt works in 64-bit NEO2: wiringPiI2CWriteReg8(file, 0x09, 0x00); wiringPiI2CWriteReg8(file, 0x00, 0xF0); wiringPiI2CWriteReg8(file, 0x06, 0xF0); wiringPiI2CWriteReg8(file, 0x01, 0xF0); last = 0; while (1) { mask = 8; i = 0; while (i < 4) { // printf("mask: %c\n", ~mask & 0x0F); wiringPiI2CWriteReg8(file, 0x09, ~mask & 0x0F); val = wiringPiI2CReadReg8(file, 0x09); if (((val & 0xF0) != 0) && (val != last)) { printf("val: %d\n", val); last = val; } else { // printf("val?: %d\n", val); } mask = mask >> 1; i++; } usleep(100); j++; } close(file); I followed this guide: http://blog.thegaragelab.com/16-key-keypad-twintab/ Now i need to learn how i should wire different devices to share a single bus. Please share any thoughts. (for mere mortals...), lol
  11. Sorry, my bad. I think my representation of the wiring is wrong, please see if this would make any difference: +-------------- / gnd -----< \ +-------------- +-------------- / 5v -------< \ +-------------- +-------------- / SDA-------< \ +-------------- +-------------- / SCL-------< \ +-------------- I think so, at least the i2c interface did not burn when attached to 5v and 3.3v. I derived right from the contacts of the first device attached and if i exchange places and i see always the first device. I tested the matrix with 3.3v and 5v and it worked with both. I have tried to read which chip is on the keypad, it is barely readable but seems to be * MCP23008. There are plenty of Py code out there but i am trying to port one in straight C which i am comfortable, but if someone already has one to share, please, do so. I will try to port one that i think is likely to work and share. My solder skills are very weak at the best, so do you guys have any suggestion for a good way to attach this in a more appropriate way? Thanks for all your reply. * PS: The picture of MCP23008 i see on internet looks a bit different .
  12. Today I received this two devices and started to play with i2c. I am new to i2c but I already figured out how to talk to each device alone but i want to use a single bus for both devices. The problem is when i connect both i can only see one device. Can someone point what is wrong with the way i am wiring it? The devices: The Matrix: sudo i2cdetect -y 0 0 1 2 3 4 5 6 7 8 9 a b c d e f 00: -- -- -- -- -- -- -- -- -- -- -- -- -- 10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 70: 70 -- -- -- -- -- -- -- The keypad: sudo i2cdetect -y 0 0 1 2 3 4 5 6 7 8 9 a b c d e f 00: -- -- -- -- -- -- -- -- -- -- -- -- -- 10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 20: 20 -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 70: -- -- -- -- -- -- -- -- I am trying to wire this way: Board 5v -------------- matrix ----------------- keypad gnd ------------ matrix ----------------- keypad SDA ------------ matrix ----------------- keypad SCL ------------ matrix ----------------- keypad I don't have any documentation on the keypad. Maybe someone already worked with two devices on a single line, can you pinpoint what is wrong? or what should be done? I have read about a pull-up resistor but have no idea how to proceed.
  13. using ov5640 with sopine/pine64so baseboard

    BPI and OPI boards have the Pins 180º reversed.
  14. Sorry, i wanted to help did not want to sound rude. Good luck.
  15. if you attach a high-speed device, kernel (depends on which version) may or not detect your device That's exactly what you are doing wrong! Justa attach a USB keyboard and you will see a log, if NOT you have a faulty USB connector. Why not you tell which device you want to use?