Jump to content

LeopoldVonBuschLight

Members
  • Posts

    11
  • Joined

  • Last visited

Everything posted by LeopoldVonBuschLight

  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. 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.
  4. 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.
  5. 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?
  6. 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.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines