Posts

AirPi Static Noise - Raspberry Pi Forums

Image
hey folks hope can me here: have raspberry pi b 512mb model, , have installed airplay server on using guide: http://lifehacker.com/5978594/turn-a-ra ... iving-room whenever play music ipad, laptop, desktop , on there constant static noise in background. sound stops when pause music. im using spotify highest quality settings play music. problem wasn't there begin with, after 2 days started when using ipad not when playing laptops using airfoil paid version. day after doing on other devices. reinstalled it, , same on every device. raspberry pi has rasbian wheezy installed. have googled around, , unable find anything. here have tried: reinstall raspberry pi using noobs setup. update/upgrade rsp try amplifier , speakers my setup: raspberry pi model b connected via lan cable static ip dhcp server ipad 4 newest updates laptops , desktops running airfoil paid version. problem there when on wifi , cable. raspberry pi 1 week old correct psu. hope guys can help. in advance ...

Reducing W5100 module Ethernet Timeout when using DHCP?

Image
i've read bits on reducing ethernet timeout in arduino 1.0 using: w5100.setretransmissiontime(0x07d0); w5100.setretransmissioncount(3); unfortunately, not seem work arduino 1.0 , dhcp ethernet call like:   if (ethernet.begin(mac) == 0) { instead, no ethernet cable inserted in rj45 jack, have wait several mintues timeout....not . i've tracked through ethernet libs , looks i'm stuck in loop inside of sendudp (in socket.cpp) waiting ok or timeout which, unfortunately, seems take several minutes (!) when there's no ethernet connection. the call trace ethernet.begin like: w5100.setmacaddress() w5100.setipaddress() dhcp.beginwithdhcp() dhcpupdsocket.begin() send_dhcp_message() sendudp() (i've messed values passed timeouts beginwithdhcp too, no avail) how others dealing apparent lack of functioning timeout on ethernet.begin when using dhcp?   it nice if there instant way tell if, say, there's not ethernet cable inserted in jack.... ...

Data Storage to SD Card with a few caveats

hello, being new forums (but not arduino!) hope right area questions... i want figure out way few things logged on sd card either uno or mega... not sure 1 yet, have see how many pins need. but anyhow, goal this: 1- user inputs number matrix keypad (i.e. 1 or 11 or 12). whole numbers only, , positive numbers 1-99 2- arduino reads sensor, depending on button pressed (let's call button 1), , logs value in .csv (i.e. 1,7.4) 3- user repeats step one 4- here gets interesting: if user inputs 1, presses button 2, want arduino revise .csv entry 1 to, say, 1,7.4, 8.2 i do not want multiple entries in .csv like: 1,7.5 1,8.2 1,9.0 is possible? the application of project require 1 sensor reading (like temperature) of 10 samples (each assigned number 1-10). then, temp sensor switched out different sensor , same samples read, different variable. eventually, ideal .csv entry 1,x,y,z so can this? can figure out basic sd entry tasks, , i'll integrate lcd , few led indicators. data l...

Controlling home sprinkler system

hi there, i have been reading lot on controlling solenoids playground , various websites. want able control sprinklers website. my solenoids need power has following specification: • solenoid: 24 v ac • inrush volt-amp: 24 v ac-11.50 va • inrush current: .4 amp • holding volt-amp: 24 v ac-5.75 va • holding current: .2 amp is still advisable make use of separate 24v ac psu , use opto-couplers switch solenoids? or using transistors better option? since using 24volt ac traic needed , not transistor. traics used switch ac devices. watch video has circuit. moc3041 because isolates micro controller load. http://youtu.be/5tt4zakpdpw don Arduino Forum > Using Arduino > Project Guidance > Controlling home sprinkler system arduino

Radio button code

hi i got following code(for radio buttons) , trying make work. the part dont understand whoisselected handler dunno how activated. if explain, please do. thanx ahmed ******************* property mygroupid property mygrouplist property mystate on beginsprite me -- make sure hilite correctly set sprite(me.spritenum).member.hilite = mystate -- collect other members of group sendallsprites(#collectradiogroup, [], mygroupid) -- if button selected, make sure others not if mystate call(#groupselect, mygrouplist, me) end on endsprite (me) -- delete reference object grouplist mygrouplist.deleteone(me) end on collectradiogroup (me, grouplist, groupid) -- create references grouplist, , add self if mygroupid = groupid mygrouplist = grouplist mygrouplist.add(me) end if end on mouseup (me) -- inform group button clicked call(#groupselect, mygrouplist, me) end on groupselect (me, whoisselected) -- member of group has been selected. if selected -- object ob...

Day 10 all I want to do is close a movie

ok, i decided make new topic. have been trying , still can't make work. i made web page has bunch of buttons when rolled on shows image , when clicked opens video player on layer 50 on image. can not figure out how make movie(flv player in swf file) either unload , stop when flv player done or close , stop when hit premade button has correct code tutorial book. i have flv file set progressive download in seperate swf file , using premade button lynda flash 8 book button closes flv keeps playing shouldn't. my ultimate goal have swf movie flv file close flv file finished playing. here's code swf file new close button. on (release) { unloadmovienum(50); } here's code main site: stop(); button1_btn.onrollover = function(){ gotoandstop(2); } button1_btn.onrelease = function(){ loadmovienum("movieplayer1.swf", 50); } i'm starting go crazy appreciated. jason first _level50, not layer. layer tool organizing artwork in authoring environment. layers d...

Camera Module Probleme - Raspberry Pi Forums

moin zusammen, habe gestern ein camera module bekommen. leider scheint das ding jetzt nur nicht zu laufen. habe raspbian schon neu installiert, alle updates gemacht (inkl. firmware) und natürlich auch per raspi-config aktiviert. wenn raspistill oder raspivid starte bekomme ich die fehlermeldung: code: select all mmal: mmal_vc_component_create: failed create component 'vc.ril.camera' (1:enomem) mmal: mmal_component_create_core: not create component 'vc.ril.camera' (1) mmal: failed create camera component mmal: main: failed create camera component mmal: camera not detected. please check camera module installed correctly habe dann mal versucht die led auf dem camera module zu schalten per gpio, das klappt wunderbar. memory-split hab ich auch schon diverses probiert. hat vielleicht jemand von noch eine idee ich falsch machen kann? gruss stefan steck die kamera mal in den 1. "kameraeingang" (weiß nicht wie die eingänge heißen). den eingang, der direkt ...