Posts

Showing posts from February, 2011

What transistor should I use to switch on/off current to servo

Image
i want turn on & off dc 1000ma current servo using pro mini pin (e.g. digitalwrite(transistorpin, high)). i'm wondering type of transistor recommended? i have 2 different transistors in hand: irf520 , bc547b (these came arduino starter kit), great if 1 of these work. sorry ask follow question before answered first question, gotta go bed soon.   so here is: what smart/simple way allow 2 different amp levels same servo without dropping current 0 during switchover? for example, @ 1 point, allow low amps (e.g. 50ma) servo, @ later time, want increase allowable amp level 1000ma. my first thought 2 separate transistors, 1 passing 50ma servo when activated transistorpin8, , 1 passing 1000ma when activated transistorpin9 (for example). the problem idea there short gap zero power going servo when digitalwrite(transistorpin8, low) , milliseconds later digitalwrite(transistorpin9, high). trying avoid "zero power going servo" situation. would ...

Thread: Curious PHP cli output in context of bash completion ?

Image
hello, i'm not sure right forum give try , please forgive me english mistakes... why ubuntu forum , not php or bash forum ? because now, problem occured on ubuntu 8.04 , ubuntu 9.10. worked fine under ubuntu dapper , works fine under mac os x, using php-5.3.1 , bash-3.2.48 macport. firstly searched php options not find , i'm not able understand problem source. here's thing : have php script "bash completed" using output of php script. when asking bash completion, have curious newline characters seems not captured bash , completion fails. please find bellow source of files reproduce problem : "completion.sh" : bash script declares completion "myscript.php", using "echoscript.php" or "echoscript.sh", depending of comment in source code. (in real case, "myscript.php" used self-completion) "myscript.php" : php script echo "hello world" "echoscript.php" : si...

CP4 Widget - cpCmndGotoSlide going to last slide

i have project has bespoke 'tab' widget text configured in widget parameters navigates slide specified in widget parameters.   however, doesn't appear work how should... code:   mainmov.cpcmndgotoslide = edit.v_slide.text; mainmov.rdcmndpause = 0; mainmov.rdcmndresume = 1;   i have hard coded  mainmov.cpcmndgotoslide see if works, still navigates cp project final slide.   any ideas?   mark hi mark,   try rdcmndgotoslide starts index 0 cpcmndgoslide starts index 1. hope helps.   thanks ravi More discussions in Advanced Adobe Captivate Users adobe

Soundsensor

guten nachmittag allerseits. ich habe hier eine schaltung wo verschiedene aufgaben darstellt mit einfachen sensoren. die erste zwei aufgaben funktionieren auch ganz gut, die 1. aufgabe währe ein distanzmesser und und die zweite ein lichtsesnsor ein lcd-display erklärt dir die aufgaben die du machen musst. jetzt wollte ich aber noch eine dritte aufgabe hinten dran hängen bei der man klatschen muss. habe die schaltung für das klatschen mit einem soundsensor aus dem internet. https://drive.google.com/file/d/0b27c2bryuv06wetuci1pnk9omlu/view einzeln hab ich dass auch getestet und es funktioniert auch jetzt wollte ich eben ,mit dem alten programm zusammen fügen (2 aufgaben). aber der soundsensor spinnt irgendwie rum und macht nicht dass er soll hier meine lange schaltung: code: [select] #include <liquidcrystal.h> #include "sr04.h"0. #define trig_pin 3 #define echo_pin 2 int buttonpin = 6; int led3 = 13; int clap = 0; long detection_range_start = 0; long detection_r...

What is the best Flash Tutorial?

i looking best beginning flash tutorial.  suggestions?   regards, tom ashworth tom ashworth real estate hello tom,   i find tutorials @ designprovideo.com fantastic! it's having there you, walking through software. started photoshop , have since moved on beginner tutorial flash cs4 101: http://designprovideo.com/tutorial/flashcs4101 i finding flash intimidating. feeling more comfortable basics after watching first 50 videos. appreciate way training organized bite sized chunks , trainers not assume knowledge in other tutorials have seen.   best samantha More discussions in Using Flash Player adobe

Very complex constructor

hello, i need define constructor constructs object has function parameter. this like myclass::myclass(): myclass2(myfunction(myparam)) {    myclass2.function1(); ... } i saw code example http://forum.arduino.cc/index.php?topic=65307.0 need explanations. http://en.cppreference.com/w/cpp/language/initializer_list Arduino Forum > Using Arduino > Programming Questions > Very complex constructor arduino

running SR04 on an UNO. After 40-45mins, gets stuck...

first off, complete n00b arduino. making little sensor detect when in front of it. have briefly flashing set first limit , second limit. uno runs , should, after half our, it'll stuck in kinda weird mood won't react more , led pin flashing. i've tried different sr04's different uno boards. new soldering job, everything. i've constructed 5-6 of these , crash/freeze/stuck @ same time(about). really appreciate on this. please understand n00b, , coding dumb can get. thank everybody! forum has been full of information! love it! you calling loop() inside itself. although not problematic itself, have take care recursion ends. in code there circumstances doesn't happen. if reach such status, arduino recurses loop() tree until stack overflows. resets in best case or freezes in worst case. as far can see there absolutely no need call loop() recursively, remove loop() calls inside loop() routine. Arduino Forum...

Thread: Python Interpreter Installation

Image
so, ubuntu 9.10 comes v2.6 installed.. says, cant find anywhere im experienced python language, not experienced enough linux find python interpreter :/ sorry fpr such nooby question its installed default. open terminal , type in "python" open interactive interpreter. or use "python /scripts/whatever.py" run script. if need python 3.1 can install "sudo apt-get install python3" , access in terminal "python3", note both versions can exist side side , default python 2.6 required system don't remove it. cheers! Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Installation & Upgrades [ubuntu] Python Interpreter Installation Ubuntu

The"Auto Mask" option of Adjustment Brush in Camera Raw

in camera raw, saw "auto mask" option @ bottam of slides of adjustment brush, option for? when halt mouse in option, prompts adjusting sensitivity of brush's edge, don't understand mean exactly. auto mask acts limit brush strokes areas of similar color.  suppose had image red flower on green , brown background, , want use adjustment brush lighten red flower not lighten of background.  check auto mask , keep center of cursor within red stroke brush.  mask should constrained red area.  auto mask off, brush strokes near edge of red feathered adjacent background area. More discussions in Adobe Camera Raw adobe

2 spørgsmål om Joomfish - Joomla! Forum - community, help and support

Image
jeg er begyndt @ lave anmeldelser på min blog (se eks. http://www.kennethlund.dk/musicproducti ... sse-2.html - specielt dan stanley ) og bruger joomfish til @ oversætte med. er der nogen der kan svare på: 1. hvor gemmer fish sine oversættelser? jeg kan ikke se nogen tabel min database. 2. der er et problem med en af filerne - kan jeg afinstallere fish + geninstallere uden @ oversættelserne / setup forsvinder?? det er databasen det bliver gemt. jeg kan ikke huske prefix navnene, men husk også @ joomfish jo tidligere hed ? mambelfish? ....kan altså godt hedde mbf eller sådan noget istedet !!!! nå du må kigge lidt mere. joomfish kan sagtens afinstalleres og geninstalleres - jeg har selv opgraderet joomfish på sådan en måde tidligere . jeg behøver ikke mindre end "gammel ræv" som dig om @ tage backup først, så det lader jeg være med :-) Board index Joomla! International Language Support International Zone Dani...

Using the NRF24 class in multiple files

i'm trying access functions within nrf24 library whilst having own sketch broken .ino, .h , .cpp. however if don't include code: [select] rf24 radio(3, 4); in both .cpp , .ino file, class functions aren't recognised. however if include code: [select] rf24 radio(3, 4); in both files, load of errors come things being initialised. how can fix this? i.e. have subroutines.h/.cpp file can work radio class node.ino file can access commands? the rest of code below if necessary: node.ino code: [select] #include "radiointerface.h" rf24data volatile ifile; rf24 radio(3, 4); void setup() {   setupradio();   radio.printdetails(); } void loop() {   // nothing now } radiointerface.h code: [select] //prototype function definition void setupradio(void); radiointerface.cpp code: [select] #include "arduino.h" #include "radiointerface.h" void setupradio(void) { setupradio();   radio.begin();                ...

Increment servo with joystick?

i'm trying make pan/tilt system, im having 0 luck. have hooked right(i think), trying make when move joystick right, servo rotates right. when let go, want servo stop in place, not bounce back. also, right whether move joystick left or right, servo moves left. whut. code: [select] valx = analogread(joyx);              if(valx>520) valx++;   if(valx<450) valx--;   if(valy>520) valy++;   if(valy<480) valy--;     bases.write(valx);   delay(50);      your code snippet poorly written. try this: code: [select] valx = analogread(joyx); bases.write(map(valx,0,1023,0,180)); Arduino Forum > Using Arduino > Programming Questions > Increment servo with joystick? arduino

Does Norton 360 Interfere with CS program performance?

i installed norton 360 (i don't know better when comes security sw buy). can turn off when using adobe cs or lurking somewhere , potentially causing problems? "silent mode" unobtrusive enough when running cs programs or need disable norton, , if so, how?   thanks, eddy my $0.02: norton name on should avoided plague.   it's horrible resource hog.   bob More discussions in Creative Suites Windows adobe

Thread: System() function

hi, type of code/command can substitute following system call? code: system("command... &"); thank look @ man-page execve() c library function. on ubuntu 9.10 system, includes code example. Forum The Ubuntu Forum Community Ubuntu Specialised Support Development & Programming Programming Talk System() function Ubuntu

Need a good ACL extension. - Joomla! Forum - community, help and support

hello everyone, i working on company intranet @ moment.  have many different departments , sub-departments under them.  need acl allow me assign users individually there respectful departments if things need locked down should or shouldn't see manageable.  current joomla setup follows: joomla 1.3 community builder 1.1 docman 1.4 groupjive i looking control disable viewing of sections or documents depending on employee's departments.  example: dept. a, dept.b , dept. c need access same files, dept. d, e , f not , shouldn't want people able download / view necessary content.  thank help. Board index Joomla! Older Version Support Joomla! 1.0 Extensions - 1.0.x

ftp layer query - does not seem to fit elsewhere! - Joomla! Forum - community, help and support

hi guys, i have j!1.5 site hosted zen, having issues using template manager edit css files directly etc. i want use 644, assuming uploaded files, owner, fails.  counter tried turn on ftp layer, , using id created, tried same thing.  still no joy. to test tried changing file 666, , permissions can edit directly template manager.  in addition have local wamp configuration, works perfectly.  appear hosting\permissions issue me. however when fire ftp client directly, using same in joomla ftp fields, can perform 'direct edit' on files, no issue.  reason hosts sure issue not @ thier end. so leads me to: with ftp layer off, account\service\user trying manipulate files ? is 644 correct setting these files ? (params.ini, *.css, template files etc) does have pointers on need working securely ? regards, martin dean Board index Joomla! Older Version Support Joomla! 1.5 General Questions/New to Joomla! 1.5 ...

Arduino NANO - Level shifter

il mio goal e' quello di collegare un arduino nano due sensori via spi. entrambi dovrebbero lavorare 3.3 v, quindi ho pensato di utilizzare un logic shifter. l'unico dubbio che ho sono pull-up resistors. per ora ho messo 3 pull-up (10k) in sck, sdi, , cs e un pull-down (10k) nell'sdo. dopo varie combinazioni l'unica che sembra funzionare e' quando li metto sia nel level shifter 5v che in uno dei sue sensori e 3.3v esattamente con questa configurazione. tuttavia il  programma non va e mi da numeri decisamente sbagliati. qualcuno saprebbe dirmi quale potrebbe essere il problema e se ho messo resistors nel modo corretto? sulla spi non servono pullup o pulldown. ciao uwe Arduino Forum > International > Italiano > Hardware (Moderator: leo72) > Arduino NANO - Level shifter ...

How to make arduino(ethernet shield) always listen to HTTP request from PHP

hi all.. i'm on way developing simple full-duplex communication between arduino , php(server side scripting). here objectives : 1) open/closed arduino's pin controlled server side(simple php page). - stucked 2) received post/get request arduino insert temperature values database. simple detected temperature value sensor , @ end making http request server side - done what mean full-duplex is, arduino can receive/send request from/to web server running on top of php language, , @ same time, server side can receive/send request from/to arudino well. what cant figure out is, how arduino keep listening http request made server side?? the web server , arduino in same network , web server hosted inside local pc running on lampp(linux mint). ethernet shield connected via cat5 cable through router directly. what core concept make both of communicated? Arduino Forum > Using Arduino > ...

Read data from SMS header

hy everyone! i'm trouble acquiring data received sms header. i want extract data number , message received sms. i don't know why counters not working correctly , why password check returns false. all welcome! code: [select] char receivedsms[120] = ""; int rcvdcheck = 0; int rcvdconf = 0; int indice = 0; int rcvdfim = 0; char number[13]; int msglength = 0; string strnumber = ""; char password[5] = "1234"; char extractednumber[13]; char receivedtxt[25]; //###################################### //          functions //###################################### void response() {   int count = 0;   while (1)   {     if (serial1.available())     {       char data = serial1.read();       if (data == 'k') {         serial.println("ok");         break;       }       if (data ==...

Trouble reading/writing EEPROM via avrdude

ok, have mega2560's need read , write eeprom computer - seems perfect job avrdude, supports exact case, getting strange results avrdude. short of it, can read/write eeprom inside sketches without problems, reading avrdude gets me corrupt data. test this, wrote simple sketch wipes clean eeprom, writes test data , dumps serial in hexdump-like fashion: code: [select] #include <eeprom.h> void eepromdump() {   char buff[8];   int counter = 0;   byte data = 0;   serial.write("eeprom contents:\n");   (int = 0; < 4096 ; i++) {     counter = counter % 16;     if (counter == 0) {       snprintf(buff, 10, "%07x", i);       if (i != 0) {         serial.println();       }       serial.print(buff);     }     data =  eeprom.read(i);     snprintf(buff, 4, " %02x", data);     serial.p...

Problems trying to communicate with a Digital Servo

hi everyone, i'm trying move 135 degrees 2 savox 1283sg coreless digital servos in opposite directions using 2 push buttons inputs. ran code 2 s3003 futaba analog servos , worked perfectly. sadly not case digital servos. 1 of them moving well, other 1 after first movement freezes. tried find out info , read current draw , stuff, nothing has solved problem. i'm attaching picture of circuit , actual code. thanks! this code: code: [select] #include <servo.h> #define servo_left  3 #define servo_right 5 #define down_button 7 #define up_button   9 #define left_open 180 #define left_close 45 #define right_open  0 #define right_close 135 #define slope .8 #define initial_servo_pos_left  left_open #define initial_servo_pos_right right_open servo servoleft; servo servoright; int buttonstate1; int buttonstate2; float angle1; float angle2; bool button1; bool button2; float delta(float start, float stop, float slope) {    return start + (stop...

Can any one help me - Joomla! Forum - community, help and support

hello sir i installed joomla ..now requirement usse components , plugins can 1 me so plz major requirement need arrange data in order ... and need .... plz can 1 me .. i member of hostgator people told me ask support here here plz me [mod note: e-mail address removed] mod note: crosspost deleted. please not crosspost messages. see forum rules: http://forum.joomla.org/index.php/topic,65.0.html welcome @ joomla forum! please elaborate on question , give more details. i removed email address: please keep discussion here on forum other users can benefit it. if need paid support, post message in professional services : http://forum.joomla.org/index.php/board,177.0.html please read • guide posting professional requests • http://forum.joomla.org/index.php/topic,163981.0.html before posting there. Board index Joomla! Older Version Support Joomla! 1.5 Extensions for Joomla! 1.5

Arduino as RTC itself

i thinking using atmega328p(arduino nano) real time clock.i don't care date,year , month,only hours,minutes , seconds.it using sim900 "refresh" it's time.is arduino capable of keeping time accurate 24 hours,with less 5 minutes of error.my plan sending sms every day @ 9pm.there no need running sim900 time,so arduino turns sim900 on mosfet @ 9pm,gets fresh time,sends sms needs send,and turns sim900 off.this way should have 12ah car battery lasting month instead of less 15 days.it should able stay accurate because 100% accurate time every day.sorry if i'm off topic i'm trying explain guys i'm trying do.any tips? ideas? can arduino running program other things,as sending sms,or blinking led? quote from: nikola19992 on jun 14, 2017, 10:32 pm .my plan sending sms every day @ 9pm. in experience, you'd lucky keep 5 mins day accuracy... lucky. if device can send , sms, receive one?  update time once day via sms? you can use if...

individual access levels - Joomla! Forum - community, help and support

hello, i in process of developing website local school.  site 3 different user groups. 1. teachers 2. parents 3. students the teachers group can act administrator. the parents need able access information there own child, , not information other pupils.  i.e. able see how there child performing on weekly basis, attendance, home work, grade, etc. the student have normal level access (i.e. registered) is there component available allow me this? thanks in advance dave p.s. let me know if little vague you can try combination of things depending on how information presented parents. i @ jacl plus access control. may need use docman (which can ratched down individual users access documents) might aslo explore uhp2 possibility. Board index Joomla! Older Version Support Joomla! 1.0 General Questions - 1.0.x

Thread: VirtualBox - Activating OEM Windows XP

i have dell e1505 came windows xp mce installed. have been dual booting i'm sick of having restart quick tasks need perform in windows. decided try virtualbox cannot xp authenticate correctly. have fixed dmi information , mac address detailed in following thread hasn't helped: http://forums.virtualbox.org/viewtop...f4727dd#p37931 i'm hoping either has other suggestions or can definitively tell me hopeless. in advance, paco im not sure in windows wanting access use access windows programs mount drive , run them under wine while using ubuntu have found few programs wine not run. Forum The Ubuntu Forum Community Ubuntu Specialised Support Virtualisation [ubuntu] VirtualBox - Activating OEM Windows XP Ubuntu

How to delete IR controls, Add in IMU comment out LCD

i'm learning sure.  in thread suggestions getting rid of errors helping me gain insight on programming world. in stewart platform code below (dont know works begin btw), i'd operate stewart platform via imu.  get in self leveling or stabilizing platform operation. i dont need ir controls , dont need lcd.      i'd comment out lcd code - can go on learn how incorporate project later. to start, can go in , delete lines (or perhaps comment them out ) associated ir controls?   code: [select] /* <controlling code arduino controlled rotary stewart platform>     copyright (c) <2014>  <tomas korgo>     this program free software: can redistribute and/or modify     it under terms of gnu general public license published by     the free software foundation, either version 3 of license, or     (at option) later version.     this program ...

Thread: Help with freeRADIUS on Ubuntu Server 9.1.0

hello all, new using ubuntu command line. need setup freeradius on computer running ubuntu server edition 9.1.0. using radius server hotel guests authenticated before internet access allowed. there step step guide installing , setting freeradius on ubuntu server? can else help? said new this. hi, please take @ following links. http://ubuntuforums.org/showthread.php?t=151781 http://ubuntuforums.org/showthread.php?t=151782 Forum The Ubuntu Forum Community Ubuntu Specialised Support Ubuntu Servers, Cloud and Juju Server Platforms [ubuntu] Help with freeRADIUS on Ubuntu Server 9.1.0 Ubuntu

java.lang.OutOfMemoryError: Java heap space

hi,   i think messed in design. have app users can upload images contest having. works fine except when viewing uploads. have feature "admin" of contest can 1 click display/print uploads, , problem occurs. when option selected, page sits , churns forever, , kick error in subject line. when googled this, said increase heap size. defaulted 512mb , changed 1024mb , still not make difference. before go , keep increasing heap size, want make sure path should take.   code below.   one caveat: there 1 kicker in whole process. despite recommendations, of allowing jpg, bmp, gif or tif users know more me wanted allow pdf , eps files. using code below understand there problems displaying. suggestions improve appreciated.     <cfquery name="getall" datasource="#dsn#"> select imagepath from tradition <!--- auto_id = '#url.cfgridkey#' ---> </cfquery>   <!doctype html public "-//w3c//dtd xhtml 1.0 transitional//en" " http://www...

Fireboard aktivacija srpskog prevoda - pomoć - Joomla! Forum - community, help and support

Image
imam pitanje vezano za joomla dodatke. - fireboard - 1. fireboard forum - kako da aktiviram srpski prevod (ispoštovao sam sve što je bilo u readme fajlu. kopiranje na lokaciju ) Šta dalje. hvala unapred arso, ne bih zelio da ispadnem vampir sa opominjanjem molim te postuj pravila foruma za svako posebno, ne slicno pitanje otvori novi topic. nek naslov bude tipa: fireboard - aktivacija srpskog jezika, ne ovakav kakav je, da bi drugi ljudi sa istim problemom mogli lakse doci ovog posta. pravila foruma: http://forum.joomla.org/index.php/topic,73082.0.html hvala Board index Joomla! International Language Support International Zone Serbian/Montenegrin Forum Joomla! dodaci

ワイドスクリーン編集時に4:3の映像を

ワイドスクリーン編集時に4:3の映像を入れるときに「ピクセルの縦横比」をd1/dv ntsc(0.9)に設定して「横縦比を維持」を選択します。そうするとモニターにはきちんと16:9の画面に4:3の画面が収まります。でも、「プレビュー」したりテープに書き出したりす るとぜんぜん違うサイズになってしまいます。これは16:9や4:3ともちがうサイズです。きちんとなるほうほうありますか? Premiereコミュニティフォーラム (Japan) でのその他のディスカッション adobe

tekens veranderen in vraagteken - Joomla! Forum - community, help and support

Image
goedendag ik moet een heel lapje tekst uit word in joomla zetten en daar zitten een paar tekens bij zoals é ë ó etc. maar als ik het in een article zet en opsla dan veranderd het in ?. ik gebruik de optie html om html te kopieren vanuit dreamweaver en ik heb alle tekens omgezet naar bijvoorbeeld ë en daar werkt het ook niet mee. weet iemand misschien wat ik moet doen? alvast bedankt edit: een collega heeft het opgelost, het de database bedankt om bijvoorbeeld ë te kunnen gebruiken dien je de editor uit te zetten. je plakt dan namelijk html in een editor, dus dat gaat niet werken. of alles in html typen of alles in editor. de meeste editors hebben een knop hiervoor, dan kan je 'tekens' uit een tekenset invoegen. welke joomla gebruik je en welke editor? Board index Joomla! International Language Support International Zone Dutch Forum Joomla! 1.5

data send and receive from server

hey guys, please me out. have been trying send data server in computer. using keypad enter password , send wamp server via wifi shield. password must start 4 or 5. somehow doesnt work. both php file in server oki. here sketch #include <spi.h> #include <wifi.h> #include<wire.h> #include <liquidcrystal_i2c.h> //#include <servo.h> #include <keypad.h> //servo myservo;  // create servo object control servo // initialize library numbers of interface pins liquidcrystal_i2c lcd(0x27, 2, 1, 0, 4, 5, 6, 7, 3, positive); #define length 7 char data[length]; // 6 number of chars can hold + null char = 7 byte data_count = 0, master_count = 0; bool pass_is_good; char customkey; //pachi nikalne boolean startread = false; // reading? int stringpos = 0; // string index counter char instring[8]; // string incoming serial data //int pos = 0; // servo //int currentposition; const byte rows = 4; //four rows const byte cols = 4; //three columns char keys[rows...