• Content Count

  • Joined

  • Last visited

About LeopoldVonBuschLight

  • Rank

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Oh and here is a connector that should work: https://www.ebay.com/i/162705482126?chn=ps&dispItem=1
  2. I'm not sure about the specs for the battery, I just used a 4400mAh lipo I found on ebay or aliexpress a while back. I didn't configure anything on the m2m for this specific battery, so it might blow up eventually... I bought some 6 pin 1.25mm JST connectors that were mentioned here: http://forum.banana-pi.org/t/battery-cable-circuit/3737 (even though this is for a different board). This is from the m2magic schematic located here: https://bananapi.gitbooks.io/banana-pi-bpi-m2-magic-iot-development-board/content/chapter1/bpi-m2-magic-schematic-diagram.html Here are the pins on the board: The battery I'm using at the moment only has two wires (no temp sensor). I put pins 1-3 to bat +, pins 4 and 5 to bat - and a 10k resistor between pin 6 and gnd. It looks like that was wrong though, and pin 6 should go straight to gnd with no resistor? Here is one of the 6 pin 1.25mm JST connectors: Sorry for the bad pictures!
  3. The device trees are identical, but that was a good idea! I used the build system to make a server image and it works fine! I didn't change any kernel settings or add any user patches, so I'm not sure why this one works and the pre-built one doesn't. Thanks @lex - for the support and the driver for this camera!
  4. I looked around for an ov5640 that would work with the sopine/pine64 board connectors but didn't have any luck. Anyone know a place to buy these? Anyway, I bought a "Himax 5 Megapixel Camera Module" from the pine64 store. I tested it out on the pre-built ubuntu desktop legacy image (Armbian_5.38_Pine64_Ubuntu_xenial_default_3.10.107_desktop) and the image quality is pretty good! However, when I try capturing an image on the headless version (Armbian_5.38_Pine64_Ubuntu_xenial_default_3.10.107), the device locks up: pi@pine64:~$ fswebcam -r 640x480 -p YUV420P test.jpg --- Opening /dev/video0... Trying source module v4l2... /dev/video0 opened. No input was specified, using the first. --- Capturing frame... Captured frame in 0.00 seconds. (device locks up here) After cutting the power and booting again, I don't see anything new in the logs. I've tried this a few times with fresh images, and each time the device seems to lock up when using the headless image. Here are the steps I'm taking: 1. apt-get update && apt-get install fswebcam 2. Edit armbianEnv.txt and set camera_type=s5k4ec 3. Add the following to /etc/modules: s5k4ec vfe_v4l2 4. reboot 5. test the camera: fswebcam -r 640x480 -p YUV420P test.jpg I've also tried using this fswebcam fork: https://github.com/avafinger/fswebcam with the same results. Does anyone have any ideas why this would work on the desktop version, but not the headless version? Or does anyone have any advice on how to debug this better?
  5. Well getting the battery to work was easy enough; battery_power_supply was just missing from the device tree. This simple overlay did the trick: /dts-v1/; /plugin/; / { compatible = "sinovoip,bananapi-m2m", "allwinner,sun8i-a33"; fragment@0 { target = <&battery_power_supply>; __overlay__ { status = "okay"; }; }; }; As for the camera... It looks like they got the CSI controller working on the H3/H5 and an ov5640 working on the Nano Pi M1+: https://www.spinics.net/lists/devicetree/msg218207.html It also looks like someone was messing with CSI drivers for the A33 at one point: https://patchwork.kernel.org/patch/9866283/ This stuff with the camera is way over my head, but I'll keep playing with it.
  6. I'm using 4.14.29 and getting around 25 ms when pinging google.com. I'm getting about 21 ms with my laptop, so not too bad. Thanks for the info on the v3s CSI stuff, I'll try to check it out this week.
  7. I can't remember which kernel version but I'll check when I get home. As far as the camera, the docs reference the M64 for some reason, and link to your(?) modified driver/code: https://github.com/avafinger/ov5640/tree/A64. I have no idea what it will take to get it working with mainline, but I'll play around with it. Do you know if there are any other boards that can run mainline and use the ov5640?
  8. I'm looking for a development board to use as a prototype/template for a potential commercial product. Our basic requirements are support for a decent camera, battery/charge controller, and wifi. This setup looks promising, especially since the A33/R18 is pretty cheap. I've been playing around with one of these and so far it works pretty well. A little more RAM would be nice. The board comes with 512MB but I think the chip can handle 1GB. Using one of sinvoip's ubuntu images, the the ov5640 camera seems to work. The battery connector is terrible, but once connected, the AXP223 also works as expected. This weekend I got an ubuntu server image with a mainline kernel working using the armbian build system. So far the wifi works, but I haven't figured out how to read a connected battery. The /sys/class/power_supply directory exists, but the /sys/class/power_supply/battery directory is missing. Has anyone else gotten a chance to play around with this board? I'm going to try and get the camera and battery working in the next week or so. If anyone else is interested I can create a fork on github.
  9. They look the same but reversed... The cables only have contacts on one side, but I thought that it looked like the connector had contacts on both sides. You're right though. I cut open one of the cables and tested it with a multimeter. When the contacts on the ribbon are facing up (the wrong way for the connector, the right way for the sopine), there is no connection made. I tried using them in a bpi m64 without any luck, so I though for sure the cameras were dead. I'll have to give that another try. bpi m64 connector: sopine baseboard connector:
  10. Well shoot. It looks like i was putting the camera in upside down and probably fried both my sensors. Just bought a few more but I'm sure they will take months to get here. Is there a way to delete this topic?
  11. Has anyone gotten the ov5640 camera working with the SOPINE and baseboard? I'm using a prebuilt image from https://www.armbian.com/download/ - Armbian 5.38 stable Ubuntu 16.04.4 LTS 3.10.107-pine64 I've set camera_type=ov5640 in /boot/armbianEnv.txt and rebooted, but I'm having some trouble loading the camera module: Here's a link from armbianmonitor diagnostics: http://ix.io/11OU I've attached an image of the sensors I'm trying to use. I originally bought these from the Banana Pi folks for use with the M64, so I thought they should also work with the SOPINE. Any ideas are appreciated! Thanks, Max