Posts

Showing posts from January, 2013

cfmail

hi have cfoutput displays fine, need email output using cfmail i getting error have cfouput query inside cfmail tag i not sure how around need display rows database any ideas cfmail includes implied cfoutput tag. armed info, there 2 approaches. one use cfloop tag instead of cfoutput tag. other generate content cfsavecontent tag , put resulting variable mail. if intent display , mail same info, second approach allows less code. More discussions in Advanced Techniques adobe

404sef_component access forbidden error - Joomla! Forum - community, help and support

i`ve got problem after installing 404sef component. i can`t access homepage more. i sadly saw afterwards component doesn`t work when have forum (for me phpbb) installed. firstly got access forbidden 430 error. thought htaccess problem, after playing round .htaccess file (deleting, editing etc.) got server error now. (500) http://www.compert.redprohosting.de/joomla as configurated domain in confixx directs directly joomla folder. reach standart confixx page. if knows how manually uninstall sef nice. thank compert go admin backend , turn sef off. standard sef work properly? Board index Joomla! Older Version Support Joomla! 1.0 Administration - 1.0.x

dmesg and lsusb give same output whether board is connected or not

i have 2 arduino fio ports. running ubuntu 11.10, , installed arduino 22 via apt-get (0022ubuntu0.1). have restarted after installation. in tools tab, serial port menu disabled. the board connected computer via usb, , yellow/orange diode on. i have read quite few topics on website find solution, , helpful people on forum asks result of dmesg , lsusb. however, when lsusb, result same when board connected when not. same true dmesg; same output connected , disconnected board. have tried both of 2 arduino fio boards. isnt dmesg , lsusb supposed print additional or different information when boards connected? sincerely, velle are cable, usb port, , hubs in path known good?  if plug else same cable , port, behavior? cables go bad, , had bad 1 new right out of box last week. dmesg shows syslog entries, can buffered few seconds (but aren't).  lsusb shows state of bus @ time execute command.  think must root run lsusb. -j ...

making my piezobuzzer and vibrator run simultaneously with obstacle detection

logic: obstacle detection thru hc-sr04 ultrasonic sensor. if obstacle detcted in given range, vibrator , buzzer tone should on follows: range:           vibrator         buzzer tone 300-400cm     slow               off 200-300 cm     moderate       on(with less volume) 100-200 cm     high              on(more volume) all components working fine. enclosing sensor characteristics , program. p.s: hv include ultrasonic library sensor..as m getting results without too.tell me how include , use library in program. sensor:http://iteadstudio.com/produce/cheap-cheap-ultrasonic-ranging-modulehc-sr04/ vibrator-2.2 volts when should our assignment ready by? Arduino Forum > Using Arduino > ...

Program Default Layer Writing Question

people... an internet friend of mine in forum helped me solve parent (container) layer centering problem. had created large "layer 1"...nested layers 2, 3 & 4 within layer 1...& wanted layer 1 slide center of browser window, 2,3 & 4 not changing absolute position relative layer 1. solution was: <div id="layer1" style="position:relative; width:285px; height:311px; margin: 0 auto;"> <div id="layer2" style="position:absolute; width:47px; height:115px; z-index:1; left: 226px; top: 120px;"><img src="layer2.jpg" width="58" height="133"></div> <div id="layer3" style="position:absolute; width:131px; height:115px; z-index:2; left: 3px; top: 3px;"><img src="layer3.jpg" width="158" height="189"></div> <div id="layer4" style="position:absolute; width:176px; height:71px; z-index:3; left: 94px...

Problems using multiple libraries .... Arduino Crash!

i trying build small project take record gps , temperature data onto sd card. the gps works itself. the temperature sensor works itself. the sd card works itself.  all crashes arduino random characters going across screen or general lock-up. here libraries i'm using.  show can comment out temperature sensor , write gps data sd card. #include <sd.h>  // sd card #include <softwareserial.h> // gps #include <tinygps.h>           // gps #include <onewire.h>   // commenting , assoc code stops lockup. #include <dallastemperature.h>  // commenting , assoc code stops lockup. any ideas why stuff crashes combination of libraries , how fix it? out of memory? search site freemem code. Arduino Forum > Using Arduino > Programming Questions > Problems using ...

RC-Heli über MX-12 mit X-Box Controller steuern

Image
hallo, ich möchte meinen rc-modellhelikopter über meine fernsteuerung (graupner mx-12) mit meinem x-box controller steuern können. | x-box controller | --usb--> | pc | --com--> | arduino uno rev.3 | --ppm--> | mx-12 | --funk--> | rc-heli | die steuerung mit dem x-box controller funktioniert sogar teilweise schon aber leider sehr zeitverzögert (ca. 0,5 sec).  :~ der x-box controller ist per usb meinem pc angeschlossen. ein vb.net programm liest die achsenpositionen des controllers aus und sende diese den arduino uno per serieller schnittstelle. der arduino uno erzeugt dann ein ppm-signal (puls-pausen-modulation), welches von der fernsteuerung verarbeitet werden kann. dieses ppm-signal wird über die lehrer-schüler-schnittstelle der fernsteuerung übermittelt. die fernsteuerung steuert dann den rc-heli. hier mein vb.net code zum auslesen und senden der x-box controller achsen: code: [select] imports system.io.ports     'com-port imports system ...

Thread: Controlling brightness or white balace of laptop when used with TV

i have thinkpad s-video out. use watch hulu on tv -- old cathode ray tv. problem: lot of time white noise. i'm pretty sure because old televisions use white rgb 235,235,235 , not 255,255,255 laptop. (see http://en.wikipedia.org/wiki/rgb_color_model -- black 16,16,16 , not 0,0,0.) there way adjust laptop screen can avoid annoying problem? (yes new lcd tv , not have problem, fun that!) i've tried xgamma, makes picture dark. thoughts. Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Multimedia Software [ubuntu] Controlling brightness or white balace of laptop when used with TV Ubuntu

CSS Positioning

hi ive been training myself build sites usng tables in dreamweaver 8, ive become aware of css positioning well. - compatibility common browsers issue? (ie 6 example) - true cssp sites can viewed on palmtops, modern mobile phones , modern gaming consoles? what recommend, cssp or tables any have offer appreciated thanks simon > - compatibility common browsers issue? (ie 6 example) cross-browser compatability issue, not enough discourage one learning these methods, nor 1 problematic you build page, particularly if coding/building standards. > - true cssp sites can viewed on palmtops, modern mobile > phones > , modern gaming consoles? sure - can tabled pages. > recommend, cssp or tables use works best you. use both on given page. > have offer appreciated try these - http://apptools.com/examples/pagelayout101.php http://www.projectseven.com/tutorials/css/qdmacfly/index.htm http://www.macromedia.com/devnet/mx/dreamweaver/css.html http://www.macrom...

int to hex

i trying convert int between 0-255 2 character hex code , put in string variable. not find function other print(variable, hex);  there anotherway printing not setting variable. quote i not find function other print(variable, hex);  there anotherway printing not setting variable. sprintf() can it. Arduino Forum > Using Arduino > Programming Questions > int to hex arduino

Pi doesn't boot. anymore. - Raspberry Pi Forums

Image
hello everyone. have problem pi. working fine, having fun xbmc, fm transmitter , other stuff. 1 day, turned pi on, , there no image on screen. tried reboot - no result. have decided reflash sd card, same thing - no image, , decided not touch pi time. week ago saw noobs image(1.2.1) , new wheezy(05-25). tried revive pi. here photos screen: noobs: this, nothing more. wheezy: "successfully" boots until this. interesting fact - there no usb hub connected (or other usb devices). tried noobs , wheezy other sd card - same result, sd card ok. unfortunately, there no other pi test sd cards. additionally have tested power on board: tp1-tp2 - 4.85v tp2-f3 - 4.87 (difference between sides of f3 0.04v) must ok. me if can. don't know how work. have had go @ burning sd card raw image , dd / win32diskimager ? meant when said wheezy(05-25)? have other sd cards can try? might bad sector on sd card or something? worth test eliminate possible cause. 2gb or more f...

Internet explorer problem! - Joomla! Forum - community, help and support

Image
jag har ett problem med min sida som börjar gÃ¥ mig pÃ¥ nerverna. om ni gÃ¥r in pÃ¥ http://www.coys.se med internet explorer sÃ¥ ser ni att högermenyerna ligger väldigt lÃ¥ngt ner. gÃ¥r ni däremot in pÃ¥ samma sida med firefox sÃ¥ ser det ut som det ska. jag har varit inne och försökt ändra html-filen och css-filen men inte hittat rätt än.  nÃ¥n som kan hjälpa mig??? tack pÃ¥ förhand. mvh nicke hej du kan läsa mer här http://forum.joomla.org/index.php/topic,32612.0.html det finns fler som har samma problem som du. tips! byt till en annan mall som fungerar bÃ¥da webbläsarna. ie har en förmÃ¥ga att inte kunna läsa css standard  //mia Board index Joomla! International Language Support International Zone Swedish Forum Äldre versioner Forum Joomla! 1.0 Allmänna frÃ¥gor

hardware interrupt on arduino mega2560

Image
i trying that: http://arduino.cc/en/reference/attachinterrupt quote the arduino mega has additional four: numbers 2 (pin 21), 3 (pin 20), 4 (pin 19), , 5 (pin 18). is there has ever used int2, int3, int4 , int5 on arduino mega2560? because don't work should on arduino mega2560, , can't understand why... int0 , int1 work well, other hardware interrupts don't work... is there problem on library? or on arduino? or think problem? thank helping! Arduino Forum > Using Arduino > Project Guidance > hardware interrupt on arduino mega2560 arduino

Sketch resets unexpectedly

my project involves putting arduino sleep , waking @ pre-determined times. while awake waits brief time looking incoming serial data. serial data meant update time intervals should wake for. once completes cycle goes sleep , wakes @ next predetermined time. working 328p on breadboard running 32khz external crystal. set seconds variable run async external crystal , keeps time during sleep , creates interupt wake from. use 8mhz internal clock boot loader , 0023 ide. don't use v1 ide because has issues 8mhz internal clock bootloader did not find solution yet. the problem run 60% of time while sketch running , waiting serial data reboots. if send serial data before error accepts data , goes sleep fine. arduino has tendencay reset when let time out , no serial data sent. started print millis() verified indeed rebooting mid-cycle. reading on forum suggests running out of sram. issue don't understand things enough know how figure out causing memory issue. have seen memoryfr...

Google Search - Joomla! Forum - community, help and support

Image
hi, i have installed google search module in replace of html code previosly used on front page. works fine etc cant seem move up, there blank space cannot remove. im going thru index.php file template , removing bits not wanting move.  here link: http://www.demevacomputers.com its on right hand side. here's code index.php: defined( '_valid_mos' ) or die( 'restricted access' ); // needed seperate iso number language file constant _iso $iso = explode( '=', _iso ); // xml prolog echo ' '; ?> if ( $my->id ) { initeditor(); } $collspan_offset = ( moscountmodules( 'right' ) + moscountmodules( 'user2' ) ) ? 2 : 1; //script determine div setup layout use based on module configuration $user1 = 0; $user2 = 0; $colspan = 0; $right = 0; // banner combos //user1 combos if ( moscountmodules( 'user1' ) + moscountmodules( 'user2' ) == 2) { $user1 = 2; $user2 = 2; $colspan = 3; } elseif ( moscountmodules( 'user1' ) =...

Can someone go over my code please? 16ch chicken incubator

Image
hi everyone, i'm new programming, , have project i'm doing father. asked me control chicken incubator, 16 of them. decided use dht22 sensors being reads temp. , humidity. keep internal temperature @ constant 100 deg f, using 100w 120/220v light bulb in each of 16 incubators. 16 relays controlled sainsmart 16ch relay board. along climate control have 24v linear actuator in each incubator tilt egg trays @ 45 deg each way. actuator tilts tray 45 deg every 1hour. need help, far can log temp , humidity 2 sensors (the rest or in mail) , light bulbs turning on , off according set temps. millis function still little hard grasp, i've saw first arduino code or type of code, 3 weeks ago. anyhow, here's code far. oh, in advance ps. saintsmart lcd display going integrated, later. code: [select] /* 16 channel incubator created/ modified apr 20 2012 by roth ly also bits of code has been used "frostin" of arduino forum: http://arduino.cc/forum/index.php?topic=70...

Speed: Python vs. C++ vs. C - Raspberry Pi Forums

is there performance draw backs using python or c++ classes in i/o program? first project pi boss want me use rotary encoder track degrees of rotation. i'm wondering if can use python or c++ because want log info mysql database program , need c++ or python (i assume). read somewhere if want realy fast control loops have use c. true? if want fast control loops don't want general purpose non-real-time os linux doing 2 dozen things concurrently. half-way through rotation it's flush disk cache or someething , miss few ticks. use separate, dedicated device (arduino dead simple) encode data , send pi. (i used pi python program smarts behind stepper-motor controller run off arduino, chatted on serial). "which language".... python interpreted, it's slower. of time doesn't matter, ability throw prototype more improtant raw grunt (i.e. developer time more expensive processor time). c++ can fast c, , can slower if don't know you're doing. can wr...

Suggest a cheap motion sensor

please suggest cheap motion sensor purpose of detecting occupancy in room. the cheapes have found yet this: http://robokits.co.in/shop/index.php?main_page=product_info&products_id=234 that sensor tell if there infrared motion in range of sensor. not tell if person in room, sitting still (or sleeping). not tell how many people in room. what real requirement? Arduino Forum > Using Arduino > Project Guidance > Suggest a cheap motion sensor arduino

Switching between ethernet client & server

hi, this simple 1 when know doing or can dig library code in ethernet files having difficulty in figuring out how switch between ethernet board being server switching client , again. i have embedded application allows me switch lights on , off & display temperature of solar hot water system. web side of runs on ethermega , serves pages, embedded tokens filled in real-world data (via rs485 & rfm12 links). works ok. now time-to-time, send of temperature data pachube cant figure out how stop board being server , switch client allow pachube stuff, server again. any appreciated. i not 'c' programmer bit painful bit i'm getting less worse. write embedded stuff in assembly arduino seemed way go web-interface side, i'm trying there.... combined client/server code worked 0022 ide. need date use 1.0 ide. code: [select] //zoomkat 11-25-11 //simple button iframe code //for use ide 0021 //open serial monitor , send e test client and //open s...

GPS clock almost working right

i have built gps clock plus temperature display, using up501d gps module. i have display seperate gps unit, , send numbers displayed via cable using virtualwire ( running avoid cable capacitance problems )  waveform @ display end identical gps unit end thats fine. at switch on, no data sent display until first valid sentance received. to avoid occaisional spurious data gps being displayed, read minutes , hours every second, , every time minute changes, add minute make " nextminute" , " nexthour" compare following minutes data. if match, freerunning clock updated, , millis timing reset zero. initially lose minute @ switch on, takes while gps lock on anyway @ power on. if gps loses lock, free running clock carries on updating display every minute using 16 mhz xtal ( accurate within few seconds day, havn't bothered rtc , gps stays locked on virtually time ) at display end, have micro receiving vw data, , sending serially display digits latched. to av...

Complete Noob, need advice

hi there, i'm new arduino, understand methods used ethernet shield applications, need help. i want make device connected tripwire on of letterbox, when flap opens wire tripped , device sends me tweet on twitter, telling me have post. from undestanding need arduino duemilanove thingy, ethernet shield, laser diode, mirror, ldr . could guide me else need, such power source use? and once have linked pc, how programme tweet me? sorry being noob, simple blinking led light project doesn't fill me joy -.- p.s in uk , use windows 7 pc you need ethernet cable between ethernet shield , ethernet port on router connected internet.  power can supplied on ethernet cable if optional power on ethernet (poe) module on ethernet shield , router can supply poe.  otherwise should 9v 'wall wart' power supply can plug power jack on arduino. look @ files->examples->ethernet->twitterclient example. Arduino Foru...

Using RPi via Proxy [SOLVED] - Raspberry Pi Forums

hello, i've bought raspberry pi. have flashed sd card , rpi boots in perfectly. have access internet via proxy @ university. basic step, created file apt.conf in code: select all /etc/apt/apt.conf.d , set update/install software via terminal. didn't work. next created file apt.conf directly in code: select all /etc/apt/ . won't work. surfed internet possible solution , following blog post, created file 10proxy in code: select all /etc/apt/apt.conf.d . still wasn't able update/install software terminal. please me configure proxy settings can update/install softwares terminal. in advance. what did put in files? raspberrypi

Cool Panasonic GX-12 proximity sensors; hookup question.

Image
posting becasue these useful sensors , because have question using them. i needed reliable sensor limit switch, , found these cool panasonic sensors:  http://pewa.panasonic.com/automation-controls/sensors/proximity-sensors/gx-f_h/ extensive data sheet here:  http://pewa.panasonic.com/assets/acsd/sunx/sensors/catalog/gx-f_h-catalog.pdf basically small metal detector, coil , oscillator,  closes circuit when conductive gets near.  can set precisely; small, , water/oil proof.  around $30; worth every penny me.  indicator light on them super handy setting , troubleshooting. two questions, i'm not expert in electronics:  1 got hold of npn type, see circuit figure attached.  i'm used open collector pnp sensors; send signal wire arduino pin, use external or internal pulldown resistor; 5v (high) when on. but can't head around one.  connected signal pin; used internal pullup resistor code, , looked low, , worked perfectly....

Actions-Cam for motorcycle - Raspberry Pi Forums

hi folks, i`m in developing small rpi project. idea behind following. love ride motorcycle. 2 years ago bought action-cam , mounted on bike. after small 4 hours tour looked through video captured , totally pissed of. more 8gb video files, , 10 minutes out of 4 hours interesting . when heard of rasp-cam module, had idea project: camera kind of blackbox function: cam captures video whole time (video-dump) when external switch gets triggered, record of last minutes until switch triggered again copied safe place. not safe videos dump deleted each hour, keep sd card free of waste. i`ll keep whole project in bash. if interested in it, feel free see / grab / whatever code here: https://sourceforge.net/projects/raspcam/ p.s.: it`s stage, don`t expect debugged running. greetz schnoog looks idea. trip france @ weekend! gps do? raspberrypi

Using Interrupts

hi all, i'm new arduino (and reasonably new "proper" programming well!) , i've run issue attachinterrupt i'm sure purely down lack of knowledge! i have dallas ds18s20 , trying put device performs action based on when temperature changes. the issue have run need have constant polling of other devices occurring @ same time, thought attachinterrupt work the ds18s20 wired in usual way (4.7k pull-up resistor, pin 2 on sensor -> pin2 on arduino (or seeeduino in case)) , current code follows: code: [select] #include <onewire.h> onewire ds(2); void setup(void){ serial.begin(9600); attachinterrupt(0,readtemp, change); } void readtemp(void) {   byte i;   byte present = 0;   byte type_s;   byte data[12];   byte addr[8];   float celsius, fahrenheit;   if ( !ds.search(addr)) {     ds.reset_search();     delay(250);     return;   }   if (onewire::crc8(addr, 7) != addr[7]) {   ...