Posts

Showing posts from May, 2011

Puerto Serial- recontruccion Bytes ?

buenas, como reconstruyo un array de 4 byte, que vendria ser un numero. como seria matematicamente la operacion ? por ejemplo para un array de bytes : #(50, 50, 50,50) supuestamente este array representa el numero 2222 hola, como no concretas de qué número se trata, supongo que puede ser un long. hay muchas formas de hacer esas conversiones, por ejemplo con operaciones nivel de bit. mí me gusta más usar una estructura de tipo union de c code: [select] union byte4_long {   byte b[4];   long numero; } b4n; puedes escribir los valores de los bytes uno uno, code: [select] b4n.b[0] = 50; b4n.b[1] = 50; ......... y utilizar el  contenido de la unión como  número   code: [select] serial.print(b4.numero) Arduino Forum > International > Español (Moderators: surbyte, Hector_A) > Puerto Serial- recontruccion Bytes ?...

Presentación & consulta - Lectura de voltajes & LEDs.

saludos toda la comunidad desde mi primer post, llevo siguiendo el desarrollo de los distintos proyectos anduino y finalmente me decidido crear uno propio utilizando esta plataforma como base. de cara poder plantear correctamente el proyecto necesito algo de asesoramiento, la idea es la siguiente: utilizando una placa anduino pretendo  monitorizar 8 lineas de corriente e iluminar unos leds dependiendo del voltaje de estas. cada línea tendrá un voltaje comprendido entre los 2.8 y 3v, si el voltaje es correcto debería iluminarse un led verde, si el voltaje es ligramente más bajo se iluminará un led amarillo y finalmente un led rojo si el voltaje cae por debajo de los 2.0v. en total son 3 leds por cada línea, es decir un total de 24 leds (también podrían utilizarse solo dos por línea y dejarlo en un total de 16 leds) y 8 líneas analógicas medir. entiendo que este pequeño proyecto es factible, ahora bien, que modelo de anduino sería el más indicado nivel de entradas y salidas...

Re: Come alimentare Arduino uno

Image
devo alimentare arduino e relay shield e alcuni sensori di temperatura. un alimentatore da 5 v 1a è sufficiente o sarebbe meglio uno leggermente più potente nel caso ci collegassi altri shield? quote from: subia75 on may 06, 2012, 11:55 am devo alimentare arduino e relay shield e alcuni sensori di temperatura. un alimentatore da 5 v 1a è sufficiente o sarebbe meglio uno leggermente più potente nel caso ci collegassi altri shield? ciao, non fare la stessa domanda su più topic, abbi la pazienza di aspettare una risposta che certamente arriverà, altrimenti spammi inutilmente ti ho risposto sull'altro topic. Arduino Forum > International > Italiano > Generale (Moderator: leo72) > Re: Come alimentare Arduino uno arduino

Is RPi capable of being used as USB Device(Gadget) - Raspberry Pi Forums

hello wondering, if raspberry used usb device(gadget) connected host systems , act mass storage device(eg; pendrive). since, pi uses micro usb port power up. can pi act usb device ? no don't think possible. micro usb power connector connected power , ground only, no connection made data lines. here broadcom data sheet not sure if you. there section on usb. http://www.raspberrypi.org/wp-content/u ... herals.pdf raspberrypi

Issues with servo-mounted ultrasonic sensor on autonomous car - SOLVED

Image
i working on autonomous rc car (http://arduino.cc/forum/index.php/topic,98763.msg746374.html).  for obstacle avoidance, using ping ultrasonic sensor mounted on servo sweeps , forth.   while can servo , sensor work fine independently, can't them work together .  i think due problem wiring.  any ideas on how solve it? here wiring used in cases. alone, servo works. http://www.youtube.com/watch?v=emdmovtuyk0 code: [select] #include <servo.h> servo sensingservo; int pos = 1300; void setup() {  serial.begin(9600);  sensingservo.attach(5); } void loop() { //sweep // results in 1 on , pass each second // @ resolution of 36 measurements each pass  for(pos = 800; pos < 1700; pos += 25)  {    sensingservo.writemicroseconds(pos);    serial.print("position:  ");    serial.print(pos);        serial.print("\n");  }  for(pos = 1700; pos > 800...

Component wilayah - Joomla! Forum - community, help and support

aku surfing dapat situs bagus, menggunakan mambo/joomla. dia mempunya component wilayah. yaitu di situs http://simpul.net/ ada yang punya ga ? boleh dong sharing paka kita kiat pencinta joomla component ini juga baru saya liat.. yang bikin namanya zach guffron ym nya simpuldotnet tuh.. coba tanya aja secara umum menurut saya  komponen ini komponen database biasa, cuma dimodifikasi.. tapi saya juga gak tau juga komponen apa yg di modifikasi mungkin kawan-kawan yg lain tau?? Board index Joomla! International Language Support International Zone Indonesian Forum Bantuan

Global Score NOT FUNCTIONING

Image
hello: my score not appear @ in score box (dynamic text field) referenced insert_txt.text when press submit button, if give correct or wrong answer. "myscore" referenced var i performed trace ("clik") , button seems working properly. please help. i not sure why declaring score global variable try this... More discussions in ActionScript 1 and 2 adobe

Pinterest?

so had people ask me create pinterest account , put stuff up.. photography is.  i still don't whole thing, created arduino private pinboard , creating public one, if there isn't projects 1 already. anyone use thing, , point, exactly?  i kind of image layouts, kind of lost in terms of makes sense.  it seem idea things based upon linked images?  in case, make sense link images here on forums, yes? http://pinterest.com/focalist/ based on can see (and without signing up, quick look-over), seems share pictures (?) of things love/like, , others. also, can build "likes/loves" categories, "re-pinning" other's photos , such own collection. this useful standpoint: let's you're redecorating house. take few pics of things want include in new layout/design/color-scheme, using those, browse other photos others on pinterest add "collection" (maybe it's color, or style, or else). "collect...

Pi boot anomally. - Raspberry Pi Forums

pi boot anomally. bi stable boot behavior appears correlated ac line voltage not voltage between test points 1 & 2. 1 normal boot displays splash, raspberry (recovery option), monitor enters power save, boot text on screen in ~9 sec ~122vac. 2 non boot displays splash, raspberry (recovery option), monitor enters power save , stays there ~118vac. turns out behavior not appear correlated voltage between test points tp1 , tp2. tested 2a psu lowes started (11:45am june 28) @ line 122vac runs fine @ 118 vac 4.79vdc tp1- tp2. fails restart @ 119vac (behavior 2)(12:40am). tested verizon 2.1v psu 5.03vdc tp1-tp2 still behavior 2 @ 118 vac. started @ 120vac verizon psu giving behavior 1. because verizon psu provides higher voltage lowes psu seem monitor behavior responding line voltage fluctuations. pi never has trouble waking monitor splash or changing raspberry icon , reminder hold shift key recover. problem transition text mode dell e228wfpc monitor shar...

Thread: Screen resolution 42" plasma?

Image
hi everyone, have following problem; looks simple, cannot work. of know, displaying image via hdmi connection problematic whit geforce boards. due overscan problem, whereas signal sent on hdmi, larger display can show. result: missing upper/lower/left/right borders of screen, no linux taskbar etc. solution: take smaller resolution. solved problem partly xrandr. use now, resolution 1600x1024, , set via xrandr in startup script. unfortunately, resolution not correctly 19:6 aspect ratio left , right, still have black border. vertically screen nicely filled top bottom. according 19:6 aspect ratio should have 1820x1024 resolution fill screen. remaining problem: how add custom resolution?? followed may guidelines xrandr; , go follows: (changing xorg.conf not nvidia drivers , or jaunty) see modes running system screens connected: code: xrandr get modeline resolution: code: gtf 1820 1024 60 to persist new resolution: code: xra...

anti-vibration USB connection

for robot i'm designing, need vibration proof usb connection between mega pro , desktop computer motherboard. i'm using pro because i'd able solder in screw terminals or solder wires directly. the motherboard, unfortunately, doesn't have com port, nor pins one. have convert usb. only thing don't pro, smd ftdi header. once breaks off, you're dead in water. Arduino Forum > Using Arduino > Networking, Protocols, and Devices (Moderator: fabioc84) > anti-vibration USB connection arduino

How do I get the TinyMCE WYSIWYG editor to work - Joomla! Forum - community, help and support

i have gone global configuration , selected tinymce wysiwyg editor user manager , chosen tinymce wysiwyg editor parameter, nothing happens when open content page , try edit it.  none of icons on top right work , no text displayed in editing window. if choose no wysiwyg editor html code pops in window, use wysiwyg editor. please , recommend editor works. bug or configuration issue? thanks. there known issue tinymce , joomla 1,08, update jce editor latest version/replacement  of tiny. can find on extensions part of site. Board index Joomla! Older Version Support Joomla! 1.0 Extensions - 1.0.x WYSIWYG Editors - 1.0.x

unlock files

i'm kinda new @ forgive me if i'm bonehead. i made contribute site, wanted disable check in check out. files have duplicate locked files remaining on server , take eons ftp. there easy way delete them all? delete on server , mysteriously still there...i first thought dwmx ftp problem, same deal golive. yipes! appreciated. try selecting folder/files in dw, right click , select "turn off read only". should if i'm understanding question correctly. More discussions in Connection/Administration adobe

Cross toolchain CDT settings - Raspberry Pi Forums

hi ! i'm trying c++ cross-development windows xp raspi target. i'm using eclipse cdt, cygwin , ian linsdell toolchain (how there : http://www.raspberry-projects.com/pi/pr ... ng-eclipse ). encountered many problems using c++ lib (vector, string, etc.) , "symbol vector/string/etc. not resolved" error each time use them in code. have "unresolved inclusion" error on each c++ lib include. however, did tutorial said , added "cygwin\opt\cross\x-tools\arm-unknown-linux-gnueabi\arm-unknown-linux-gnueabi\sysroot\usr\include" project include paths , "cygwin\opt\cross\x-tools\arm-unknown-linux-gnueabi\arm-unknown-linux-gnueabi\sysroot\usr\lib" project lib paths. no way toolchain compiler accepts string , vector uses in code, i'm lost... need add other paths in include / lib of project ? (eg. "cygwin\opt\cross\x-tools\arm-unknown-linux-gnueabi\arm-unknown-linux-gnueabi\include\c++\4.6.3" ?) ! (i can provide code if required) ...

Noob Help with inserting frame- is there a better way

hi, i trying create frame in dreamweaver mx, rather have whole frameset, want 1 frame. (i dont know if going wring way). the page @ link http://www.cryptomnesian.com/cryptomwebpage.html i want large box kpa become main content box (this eb framed box), mp3 player in top not reload when link clicked. links load new box. are frames best way this?? noobie far frames , css goes. suggestions or solutions appreciated. thanks, perino More discussions in Dynamic HTML General Discussion (read only) adobe

Thread: tinychat.com

Image
has had success getting tinychat work ubuntu? have logitech 4000 , external microphone, neither of seem function within tinychat. posted booyabazooka hate redundant, but... bump! failures these great embarrassment linux in popular eye. it might be, if used tinychat.com apart 3 people posted here can use webcam on other flash-based websites, not on tinychat. in addition, error message "you didn't set camera" keeps appearing; can't rid of it. great embarrassment tinychat.com providing buggy service. Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [ubuntu] tinychat.com Ubuntu

reset sequential number

hi there, i have 2 tables, master batch , final mixing. here fields of both : master batch table : master_batch_no final mixing table : fmix_no now have form in master batch number fetched master batch table , want enter data in final mixing table : my master batch number 200701-0001 want add suffix fmix_no like : 200701-0001-01 200701-0001-02 200701-0001-03 200701-0001-04 etc and want reset suffix number master batch number changes i.e. 200701-0001-01 200701-0001-02 200701-0001-03 200701-0001-04 200701-0002-01 200701-0002-02 200701-0002-03 200701-0002-04 etc how ??? regards sanj More discussions in Dreamweaver support forum adobe

[Résolu] Arduino IDE sur linux

bonjour, j'ai un souci avec l'ide arduino sur mon linux. je n'utilise pas gnome, ni kde. je tourne sur awesome, un wm très léger. lorsque je lance l'ide, je me retrouve avec un petite fenêtre que je voudrai agrandir (maximiser). quand je tente de le faire, la fenêtre ne s'agrandit pas. voici en pj ce que ça donne. auriez-vous une idée ? il doit me manquer quelque chose, mais quoi ?!! jamais eu ce problème mais j'utilise ubuntu. dans ton home il y un répertoire caché .arduino. dans ce répertoire il y le fichier preferences.txt. tu peux l'éditer à la main, il y des paramètres comme la taille de la fenêtre min, max, par défaut, sa position. peut être cela pourra-t-il régler ton problème. autrement il faudrait regarder du coté de la machine java que tu utilises. peut-être y a-t-il une incompatibilité. Arduino Forum > International > F...

How do I use the PiFace C Library? - Raspberry Pi Forums

i can't find info on piface or offical website. makes thing? can find github page. library files in /usr/local/lib/ include file in /usr/local/includes/libpiface-1.0/ code: select all #include <iostream> #include <libpiface-1.0/pfio.h> using namespace std; int main(int argc, char *argv[]) { pfio_init(); pfio_digital_write(0, 1); pfio_deinit(); return 0; } run code: select all g++ -l/usr/local/lib/ -lpiface-1.0 -o blah ./blah.c this. code: select all /tmp/ccnw3zyb.o: in function `main': blah.c:(.text+0x8): undefined reference `pfio_init()' blah.c:(.text+0x14): undefined reference `pfio_digital_write(char, char)' blah.c:(.text+0x18): undefined reference `pfio_deinit()' collect2: ld returned 1 exit status i've been trying thing compile days there c library can use you compiling c++ compiler, library c. havent told c++ compiler library c. code: select all extern "c" { #include <libpiface-1.0/pfio.h> } or!!! o...

Thread: Format CDs with Nautilus GUI

i believe should able somehow, add mkfs or right-click menu in nautilus. when you're recycling rewritable cd/dvds, , cd software doesn't know how over-write (aka brilliant brasero), save royal pain in @ss! can this? think wishlist item in karmic. http://ubuntuforums.org/showthread.php?t=1223139 install either k3b or gnomebaker. prefer k3b myself. Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [ubuntu] Format CDs with Nautilus GUI Ubuntu

Thread: New update causes system freezes

the kernel update occurred today(july 28th) has caused issue after few seconds of login screen, entire system freezes point sysrq trick not work. believe driver error involving ps2 compatible mouse , keyboard, if can please not shy away helping me. have access linux hard drive things error messages , such, have no actual runtime access. include /var/log/dmesg better me: code: [ 0.000000] bios ebda/lowmem at: 0009fc00/0009fc00 [ 0.000000] initializing cgroup subsys cpuset [ 0.000000] initializing cgroup subsys cpu [ 0.000000] linux version 2.6.28-14-generic (buildd@palmer) (gcc version 4.3.3 (ubuntu 4.3.3-5ubuntu4) ) #47-ubuntu smp sat jul 25 00:28:35 utc 2009 (ubuntu 2.6.28-14.47-generic) [ 0.000000] kernel supported cpus: [ 0.000000] intel genuineintel [ 0.000000] amd authenticamd [ 0.000000] nsc geode nsc [ 0.000000] cyrix cyrixinstead [ 0.000000] centaur centaurhauls [ 0.000000] transmeta genuin...

LCD code help

Image
hello everyone, first post here hope i'm doing things right! i've been learning arduino on , off few months, started major programming higher functions , stuff. i got character lcd i've connected board (arduino uno) via parallel connection. being curious, wanted know how pins on lcd worked display characters, down basic zero's , one's, , after few days of research able working without liquidcrystal library. all working well, until decided wanted try , write in more efficient code , not take eleven lines of code each instruction/data wanted send. what want able set each pin on arduino (5-12 data busses 0-7) either high or low, depending on status of each bit of hexadecimal character. hope making sense. for example, if wanted display capital a, in ascii represented 0x41 (hexadecimal), want program break down hexadecimal character binary equivalent (0 1 0 0 0 0 0 1), read each bit of byte, , set cooresponding pin high or low. this way can plug in hexadeci...

Processing, liaison série et servomoteur

Image
bonjour à tous   j'ai un mini servo-moteur que j'aimerai pouvoir controller via processing, comme dans l'exemple ci contre : http://www.mon-club-elec.fr/pmwiki_mon_club_elec/pmwiki.php?n=main.arduinoexpertseriedepuispcpositionservomoteur une chose m'embete. il faut se servir de la liaison série. alors je doit etre old school, pour moi une liaison série c'etait le gros bloc, ancetre de l'usb.   il est indiqué qu'il faut brancher la liaison série sur les pin 0 et 1... quelqu'un peut m'aider à y voir plus clair (voire beaucoup plus clair). le étant de pouvoir contrôler le moteur pour en faire un focuser (mise au point) je vous remercie pour vos réponses  xd le microcontroleur de l'arduino, l'atmegaxx8 ne dispose pas d'un port usb intégré mais d'une liaison série asynchrone (uart). sur la carte arduino il y généralement un composant (type ftdi232rl) qui d'un coté à une interfa...

Help Motore Lettore DVD

Image
tempo fà lessi un topic su come utilizzare motori recuperati da lettori dvd/cd non riesco più trovarlo  una piccola info posso utilizzarlo con un motor shield che mi permette di utilizzare motori dc e servi? che potenzà ha? riesce far girare un elica in plastica di 15 cm e far sollevare circa 450gr anhe 10 cm da terra e solo un piccolo esperimento. grazie in anticipo. e auguri posticipati di buona pasqua! vuoi costruire un elicottero in miniatura? così occhio direi che mezzo chilo non lo alzi col motorino dei lettori dvd Arduino Forum > International > Italiano > Generale (Moderator: leo72) > Help Motore Lettore DVD arduino

preloading dynamic images

hello, i building application , using xml dynamically load in images. possible preload each image called? bit of newbie flash or advice appreciated cheers if use moviecliploader can track load progress of each image arrives. allows show preloader animation or percent counter (or both) give feedback visitor. http://www.kirupa.com/developer/actionscript/moviecliploader.htm More discussions in ActionScript 1 and 2 adobe

pb avec google site map - Joomla! Forum - community, help and support

j'ai installé le composant googlesitemap mais depuis je ne parviens pas à l'utiliser à cause des ces erreurs  qui surviennent je ne sais d'où? voici le code qu'il me renvoi " fatal error: cannot redeclare mosbacktrace() (previously declared in /home/data/web/org/b/e/africa-web.org/t/a/baccalaureat/htdocs/includes/joomla.php:4923) in /home/data/web/org/b/e/africa-web.org/t/a/baccalaureat/htdocs/ administrator/components/com_googlesitemap/admin.googlesitemap.php268 on line " cette fonction visiblement été ajoutée dans joomla! à partir de la version 1.0.5 il suffit, je suppose, de supprimer les lignes 265 à 278 dans le fichier administrator/components/com_googlesitemap/admin.googlesitemap.php , correspondant à : code: select all /**  * format backtrace error  */ function mosbacktrace() {    if (function_exists( 'debug_backtrace' )) {       echo '<div align="left">';       foreach( debug_backtrace() $back) {   ...

Quick Module Creation?? - Joomla! Forum - community, help and support

i have ajax rss scroller found @ dynamic drive use on home page. there ajax scroller exists mambo, though 1 suits purposes , more customizable. if hardcode on home page will, of course, show on every page in joomla. there quick , dirty or wrapping module can control when , when displayed?? thanks. does using module not work? have tried it? honest, have not used rss or ajax, won't able specifics. but... should okay put in module. Board index Joomla! Older Version Support Joomla! 1.0 General Questions - 1.0.x

[SOLVED] Cannot change SRF08 address

hello, i trying work several srf08 sensors (on arduino uno), in order so, have change addresses... but, although follow data-sheet's instructions, can't that. here code : code: [select]  wire.begin();  wire.begintransmission(old_address);  wire.send(0);  wire.send(0xa0);  wire.endtransmission();    wire.begintransmission(old_address);  wire.send(0);  wire.send(0xaa);  wire.endtransmission();    wire.begintransmission(old_address);  wire.send(0);  wire.send(0xa5);  wire.endtransmission();    wire.begintransmission(old_address);  wire.send(0);  wire.send(new_address);  wire.endtransmission(); i don't know do, hope able help. in advance. it doesnt accept addresses according this: http://www.robot-electronics.co.uk/htm/srf08tech.shtml Arduino Forum > Using Arduino ...

My future customers - Joomla! Forum - community, help and support

Image
i bought mosets , becoming "hot property" expert user! planning showcase capability hundreds of car salesman know dito sa bay area california. install ako ng joomla sa laptop ko using mjsas tapos gawa ako ng sample na automobile website para maipakita ko sa kanila ang demonstration ng hot property. @ syempre pag meron bibili ay purchase din ako ng multiple licenses ng mosets' hot property. offer web services individual car sales people. try ko rin baka mag click eh. maging saksespul ka sana kapatid na allan. petition mo ko pag kumita ka  Board index Joomla! International Language Support International Zone Filipino Forum Pinoy General Discussion & Archives

Serial Receive Interrupt ??? - Raspberry Pi Forums

hi everyone. need learn interrupts. how can interrupt when data receive rpi ? i'm using raspbian. has idea it? eqooo wrote: hi everyone. need learn interrupts. how can interrupt when data receive rpi ? i'm using raspbian. has idea it? can use pthreads - create thread waits on data being avalable @ serial port , wake when data there - that's easiest you'll interrupt in userland under linux. when thread wakes up, can process data, etc. -gordon raspberrypi

Thread: wireless config problem

Image
hi trying wired connectioin , wirless follow ing instruction fron here https://help.ubuntu.com/community/wifidocs/wifihowto ai following: seems issue here? thanks richard@richard-laptop:~$ lspci | grep network richard@richard-laptop:~$ richard@richard-laptop:~$ lspci | grep network richard@richard-laptop:~$ lspci | grep network richard@richard-laptop:~$ iwconfig lo no wireless extensions. wifi0 no wireless extensions. ath0 ieee 802.11g essid:"" nickname:"" mode:managed frequency:2.437 ghz access point: not-associated bit rate:0 kb/s tx-power:16 dbm sensitivity=1/1 retry ff rts thr ff fragment thr ff power management ff link quality=0/70 signal level=-92 dbm noise level=-92 dbm rx invalid nwid:22055 rx invalid crypt:0 rx invalid frag:0 tx excessive retries:0 invalid misc:0 missed beacon:0 eth0 no wireless exten...