What was the alternative?
Posts made by brolly759
RE: Can webcam stream other video/picture formats ?
RE: Omega PoE Dock
I am building a Hub that supports POE as well. The circuit I am using supports 12-48v DC (dont want to deal with diode rectifier for AC) POE injectors. I am actually using Ubiquity as one of the POE testers.
You have a lot more passive components than I do. Mine only uses 12 BOM line items. (14) total. Maybe because my Ethernet Jack has the Harmonics built in. Either way, good work.
RE: Cheap way to add a semi-decent display?
I went on Alibaba / Aliexpress and found the factory that makes the oled display 1". tested and works, cost is only like a dollar and change.
Attaching TFT displays to the onion , there are issues with SPI from what I remember. Nexon is one way to go but that is all screen driven over serial.
There are "ways" to do video over USB... kind of like webcam over USB just in the other direction :) Good luck though. Here is a reference:
RE: Omega Onion 2+ Price Increase???
Pi Zero W is a loss leader. That part can someday disappear. I agree spec wise its better but Onion is much better when handling network tasks IMO. Dual WiFi, 5 Ethernet Ports, etc. It's also PCB board solderable. If the Pi Zero W was PCB board solderable I would of went with that part.
RE: omega2+ unable to make USB webcam to work
microUSB is for power and UART. You can connect peripherals to the full size USB port and add a USB hub to create multiple ports if you need more than 1 device attached.
FYI on the original post, I had some webcams just not recognize in the Onion. It's gonna happen, driver issues. Also encoding issues where some camera's only output H.264/265 format.
RE: Can webcam stream other video/picture formats ?
Huh? I have been working on webcam streaming now on a side project for a bit. I dont quite understand what you are doing. For me I made a web based door bell camera with onion + webcam that did reverse SSH to a server in the cloud and streamed the webcam feed to the server, from there I made it publically accessible and could view it anywhere. That is the quick version
FYI mjpeg-stream is in mjpeg format lol. What its doing is sending lots of photos a second and you view it as video. mjpeg-stream is limited. Look into ffmpeg if you want different file formats. Also, I used a program called Shinobi cctv to encode the mjpeg stream in mp4 files broken out in 1 minute chunks.
Onion IoT Hub community recommendations
I am building out an IoT Hub around the Onion. Right now it will have these components:
-POE + Data (Ethernet obviously)
-Omega Onion 2S+ (SMT Version)
-SD Card holder
-Temperature / Humidity / Accelerometer Sensors connected over i2C
-4 port USB Hub. 2 External USB connectors, 2 internal USB connectors
-Maybe header pin adapter for optional 3G modem SIM5320A.
Anything else I should add? Maybe placeholder for xBee on the serial line? I made my own FCC certified 915MHz radio so I may add that on there or keep a place holder there for future development but what would the community want in a small IoT Hub?
Cant record audio using USB microphone
I am trying to use a USB microphone but I keep getting a kernel crash when I try and run "arecord".
root@Omega-8E8A:/# arecord -d 10 /tmp/test-mic.wav
Recording WAVE '/tmp/test-mic.wav' : Unsigned 8 bit, Rate 8000 Hz, Mono
[ 59.064454] Kernel bug detected[#1]:
[ 59.068109] CPU: 0 PID: 1373 Comm: arecord Tainted: G W 4.4.74 #0
[ 59.075434] task: 86090508 ti: 86094000 task.ti: 86094000
[ 59.080904] $ 0 : 00000000 00000001 00000002 00000002
[ 59.086222] $ 4 : 87377800 86b5f8f0 86b5f8f0 00004000
[ 59.091533] $ 8 : 00000018 80008c58 7719f000 00001000
[ 59.096846] $12 : 00006000 00100000 fffffffc 00004000
[ 59.102156] $16 : 87377800 00000008 87610280 86b67c00
[ 59.107468] $20 : 77198000 7719c000 00000000 00000004
[ 59.112777] $24 : 00001072 7710ce00
[ 59.118087] $28 : 86094000 86095df8 00000000 87032250
[ 59.123398] Hi : 00000000
[ 59.126314] Lo : 00000004
[ 59.129307] epc : 87032160 snd_pcm_lib_default_mmap+0x30/0x48 [snd_pcm]
[ 59.136210] ra : 87032250 snd_pcm_mmap_data+0xd8/0xe60 [snd_pcm]
[ 59.142560] Status: 1100e503 KERNEL EXL IE
[ 59.146818] Cause : 10800024 (ExcCode 09)
[ 59.150881] PrId : 00019655 (MIPS 24KEc)
[ 59.154940] Modules linked in: pppoe ppp_async option iptable_nat w1_therm w1_gpio uvcvideo usb_wwan snd_usb_audio pppox ppp_generic pl2303 nf_nat_ipv4 nf_conntrack_ipv6 nf_conntrack_ipv4 ipt_REJECT ipt_MASQUERADE ftdi_sio cp210x ch341 xt_time xt_tcpudp xt_state xt_nat xt_multiport xt_mark xt_mac xt_limit xt_conntrack xt_comment xt_TCPMSS xt_REDIRECT xt_LOG wire videobuf2_v4l2 usbserial usblp usbhid ums_usbat ums_sddr55 ums_sddr09 ums_karma ums_jumpshot ums_isd200 ums_freecom ums_datafab ums_cypress ums_alauda uinput spidev snd_usbmidi_lib slhc rfcomm nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_nat nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack iptable_mangle iptable_filter ip_tables hidp hid_generic hci_uart crc_ccitt cdc_acm btusb btintel bnep bluetooth snd_soc_simple_card snd_soc_ralink_i2s snd_soc_wm8960 snd_soc_max98090 videobuf2_vmalloc videobuf2_memops videobuf2_core hid v4l2_common videodev evdev snd_soc_core mt_wifi ralink_gdma virt_dma ledtrig_oneshot ledtrig_morse ledtrig_heartbeat ledtrig_gpio ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables msdos snd_pcm_dmaengine snd_compress snd_pcm_oss snd_mixer_oss snd_pcm snd_timer snd_rawmidi snd_seq_device snd_hwdep snd input_core soundcore vfat fat ntfs configfs autofs4 nls_utf8 nls_iso8859_1 nls_cp437 regmap_i2c dma_shared_buffer ecb cmac mmc_block usb_storage sdhci_pltfm sdhci mtk_sd mmc_core leds_gpio ohci_platform ohci_hcd ledtrig_transient ehci_platform ehci_hcd sd_mod scsi_mod gpio_button_hotplug ext4 jbd2 mbcache exfat usbcore nls_base usb_common crc16 cryptomgr aead crypto_null crc32c_generic crypto_hash
[ 59.305020] Process arecord (pid: 1373, threadinfo=86094000, task=86090508, tls=771a9d48)
[ 59.313305] Stack : 77198000 7719c000 00000000 00000000 86b5f8f0 80099fcc 00000000 00004000
87610280 00004000 000000fb 00000000 87610280 00000000 00000000 00000010
00000020 80410000 00000001 86b5f9a0 86b5f9b4 86b5f9b0 77198000 000000fb
87610280 00004000 00000001 00000002 00000000 00000004 86b67c00 8009a5cc
00030002 803c0000 86090508 00030002 00000000 87675660 86b67c34 87610280
[ 59.349438] Call Trace:
[ 59.351942] [<87032160>] snd_pcm_lib_default_mmap+0x30/0x48 [snd_pcm]
[ 59.358516] [<87032250>] snd_pcm_mmap_data+0xd8/0xe60 [snd_pcm]
[ 59.364562] [<80099fcc>] mmap_region+0x29c/0x544
[ 59.369253] [<8009a5cc>] do_mmap+0x358/0x3d4
[ 59.373609] [<8008bcc0>] vm_mmap_pgoff+0x70/0xb8
[ 59.378296] [<80098a40>] SyS_mmap_pgoff+0x8c/0xd8
[ 59.383078] [<8000682c>] syscall_common+0x30/0x54
Code: 24020002 14620002 00000000 <000c000d> 3c028704 2442ce08 aca20048 03e00008 00001021
[ 59.399621] ---[ end trace 137b659b6512e81a ]---
[ 59.408245] Fatal exception: panic in 5 seconds^Z^C^X
[ 64.415824] Kernel panic - not syncing: Fatal exception
[ 64.423859] Rebooting in 3 seconds..
RE: Need help in connecting SI7006-A20 sensor on Omega 2
Glad you got the memory issues resolved, sadly that is far as I can take ya, I know nothing about Python... Hopefully you can get support on here.
RE: "full Linux computer"
Talking to you is like talking to a wall if all you choose to do is pick on vocabulary rather than focus on the message. Good luck to you and getting support on here with that attitude. You dont like Onion? Dont use it. Standard markup is generally 3x cost on all products. If you choose to complain about it then as I said prior, dont buy it.
Look at the Raspberry Pi Touchscreen that sells for $75+ , I can easily get the "parts" for 3 times less the cost sourcing Alibaba vendors. Everything on Adafruit is significantly more expensive than their parts, sometimes up to 20x the cost. The fact you are trying to compare price with a fairly recent kickstarter company to Raspberry Pi that has been around for years and volume is significantly higher is just laughable and a mute argument.
RE: "full Linux computer"
C.H.I.P is gone now and Raspberry Pi makes no money on their 5$ version but has enough sales to break even and use it as a loss leader (Educational purposes). Each platform supports different functions. Did you know you could have up to 5 Ethernet ports on the Omega and it supports native soft AP to act like a router / hub? There are no Ethernet ports and NO WiFi on the Pi Zero.
There are a lot of things to consider besides price like application, use case, size, ect.
RE: openZwave port?
I tried that already and it fails in the build process. I tried creating an updated LEDE build (Using the Omega parameters and selecting openzwave as a library to build (in menuconfig ) with and for some reason it fails. The best guess I can think of is its building for the wrong OS / using the wrong toolchain but I dont know... that is why I am here :)