Posts

Showing posts from August, 2013

Alimentation 4 servomoteurs ?

Image
bonjour tous, j'ai une petite question pour alimenté de 4 servomoteurs (s06nf std), je possède un carte "arduino uno r3" avec un module "adafruit 16-channel pwm/servo shield" j'aimerai alimenté comme il se doigt les servomoteurs en sachant que je ne fait pas de déplacement simultané avec les servomoteurs. sur le net il disse que un servomoteur peu consommé jusqu'à 5v pour 1a. le module "adafruit 16-channel pwm/servo shield" pour 4 servomoteurs avec déplacement simultané il disse qu'il faut 5v 2a, pour 16 servomoteurs 5v 10a de combien d'ampères me ferai t'il pour alimenté les 4 servomoteurs (pas de déplacement simultané) ? merci pour votre réponse  impossible de répondre : il n'y pas deux servo identiques et deux utilisations de servo identiques. tu ne peux que te baser sur la doc de ton vendeur qui donne le courant max. il est prudent  de prendre une marge de sécurité dans le choix de l'alim.

Nextion Touchpanel

hallo zusammen... hat jemand erfahrung mit einem erfahrung mit einem nextion touchpanel. habe eine oberfläche konstruiert und wollte diese auf mein panel laden, leider bekomme ich über die usb schnittstelle keine verbindung. hat jemand eine idee? ich mache es über die sd karte dies ist erheblich schneller sieht man auch in den videos. gruß derdani Arduino Forum > International > Deutsch (Moderator: uwefed) > Nextion Touchpanel arduino

Can you control a USALS satellite rotor via a Raspberry Pi and a USB DVB-S2 tuner? - Raspberry Pi Forums

hello, have been messing around installing tvheadend on on raspberry pi , seems work well. tvheadend supports usals , wondering whether there way pi move satellite pick various channels. have done research , tuner supports usals: https://www.amazon.co.uk/mystique-satix ... b007k59v62 work in conjunction pi want do? i not see reason why not. (assuming can obtain one.) raspberrypi

Thread: Grub2 Install from Upgraded 9.10. Never get to chainload option

Image
just upgraded 9.04 9.10. upgrade grub2, after running: sudo apt-get install grub2, , getting "configuring grub-pc" unable select <ok>. i've tried <enter> clicking on <ok>, nothing allows me past screen. doing wrong here? posted kendoori just upgraded 9.04 9.10. upgrade grub2, after running: sudo apt-get install grub2, , getting "configuring grub-pc" unable select <ok>. i've tried <enter> clicking on <ok>, nothing allows me past screen. doing wrong here? hmmm... used code: sudo apt-get install grub-pc don't worry going wrong -- mine did. usual, user error. http://www.vpolink.com/blog.php?b=2 has how got on & go when messed !!! phill. Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Installati

Cannot create connections with community builder - Joomla! Forum - community, help and support

hi guys, i can't figure out why community builder (cb) system isn't allowing me create connections. i have installed , working fine. however can see 'there no established connection between , admin' no option create one.... help please! doa hi, could give more information. (and @ point) message? did use user management of cb confirm / approve users? cheers, henk Board index Joomla! Older Version Support Joomla! 1.0 Extensions - 1.0.x Components

Photoshop 5.5 will not install

hd suffered glitch. replaced new hd , reinstalled programs original cd , diskettes. all programs installed except photoshop 5.5. when cd inserted auto run screen comes on , when clicking in install photoshop 5.5 cd turns not install. install other programs (quicktime 3.0 , post script 5.1, adobe acrobat reader 4.0)on cd. os win xp pro sp3. cpu amd athlone xp. this old photoshop 5.5 enough needs. how can install. appreciated. oldpsuser alfredo, try copy photoshop folder hdd , install there. also temporarily disabling security software before installing ps may help. rob More discussions in Photoshop Windows (read only) adobe

Vector Art forced to CMYK and 72 DPI in Photoshop CS4

hello, let me start saying i'm aware photoshop not best program working vector files. because of kind of work i'm doing, need open vector files (mostly eps) in ps throughout day , work on them using specific filters have. in previous versions of ps, when opened vector file there no problems. files opened saved. since upgraded cs4, ps has started forcing resolution of 72 dpi , cmyk mode when know fact file created @ 300 dpi , in rgb mode. know seems minor, when you're working on 100 + files per day, cuts workflow. has else had problem? if so, has found solution this? there setting i'm missing or bug? thanks in advance can provide. tim if know file rgb , 300ppi set resolution 300ppi , color space rgb. photoshop remember last settings used unless quits unexpecedly , prefs not saved. you know opening vector eps file photoshop raster file. More discussions in Photoshop Windows (read only) adobe

modify avrdude.conf to change fuse setting

i made arduino uno programmer, , want use program custom boards have atmega2560 using arduino ide (i'm on windows xp btw).  i'm not programming bootloader 2560 chip. brand new atmega2560 chips have fuse set internal 8mhz oscillator, divide clk 8. but custom board has external 16mhz crystal , dont want divide clock.  fuse want change low fuse , want change 0xde. the way i've figured how change fuse program board uno, @ avrdude output, copy avrdude command was, paste new command window, , add "-u lfuse:w:0xde:m" command reprogram again , change fuse time. its tedious, , need many more times.  there way modify avrdude.conf file automatically add option change fuse whenever program board arduino ide?? no, that's not avrdude.conf does. you change platform.txt - or use burn bootloader function set fuses. what ften programming same thing on bunch of boards 1 set way want it, , copy usbasp , extremeburner (read on reference, connect each

anybody know how to remove the "Community" tab? - Joomla! Forum - community, help and support

hi, know how remove "community" tab @ user profile page when using cb? hi, red! open com_comprofiler/plugin/user/plug_cbmenu/cb.menu.php. for: code: select all $firstmenuname      = $params->get('firstmenuname', '_ue_menu_cb');       $firstsubmenuname   = $params->get('firstsubmenuname', '_ue_menu_about_cb');       $firstsubmenuhref   = $params->get('firstsubmenuhref', $ue_credits_url);       $secondsubmenuname   = $params->get('secondsubmenuname', '');       $secondsubmenuhref   = $params->get('secondsubmenuhref', ''); and comment out (with /* in front , */ @ end). remove credits link altogether. (as basic php , cb noob), can't swear won't affect else in long run! hth, john mc Board index Joomla! Older Version Support Joomla! 1.0 Extensions - 1.0.x Components

Thread: Need to find previous version of Handbrake

i tried update handbrake... failed. when downloaded x86 64 bit deb package, package installer complained conflicted installed version. removed installed version using synaptic (foolish me) , tried again. now, find new version requires versions of following libraries more recent on system. libsoup2.4-1, libstdc++6. want find previous version of handbrake... not in 9.04 repositories (according synaptic) , google searches have led me page @ handbrake site listing old version, pointing download page link new version... so, short of upgrading 9.10 (which not going weekend, since donwloading whole system takes far, far ong am), how can previous version removed using synaptic. this ppa has latest handbrake 9.04 https://edge.launchpad.net/~handbrak...u/+archive/ppa Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Multimedia Software

Timers, PWM and analogWrite

can explain why, in attached sketch, works intended (hi, medium, hi, medium...) when "redled" (pin11) in lines 41 , 46 written to? if change statements in lines 41 , 46 either "greenled" (pin 9) or "blueled" (pin 10), analogwrite statement acts digitalwrite. i.e. pwm less 255 manifests off. all 3 of these pins labeled pwm pins. timers conflicting pwm? way around this? thanks help. -scott pin 11 pwm controlled timer 2.  pwm pins 9 , 10 controlled timer 1. timer 0 affects millis(), micro(), , delay(...). i guess use of timers 0 , 1 not compatible use of pins 9 , 10 don't understand finer details. there libraries may out, or choose other pins. Arduino Forum > Using Arduino > Programming Questions > Timers, PWM and analogWrite arduino

Anti démarrage et alarme voiture

bonsoir à tous et à toute. je me présente j'ai 22 ans je suis technicien électronicien automobile. j'aimerai faire un anti démarrage et une alarme pour ma voiture qui n'est pas doter d'anti démarrage. vu mon métier je n'est pas de problème en électricité basse tension. j'ai quelle que basse en arduino. j'aimerai des avis et des suggestions sur comment faire mon anti démarrage et alarme. je sais déjà qu'elle fil couper pour fair l'anti démarrage (fils d'alimentation du calculateur moteur donc plus d'allumage ni de pompe à essence, donc pas de possible de démarrer)  mais je voudrai des idée comment piloter la coupure ect. dans ce fil il n'y que 250 ma. merci de m'avoir lu jusqu'à là. en attente de vous reponce qui seront nombreuse j'espère. salut,   pour les réponses nombreuses, je ne voudrais pas être désobligeant mais as-tu bien lu les règles du forum? tu ne poste pas dans la bonne section, il s&

Arduino Due - using built in ADC as a DSO causes issues at high frequencies (kHz

i trying use inbuilt adc of arduino due measure voltage signals. frequency range i'm interested in measuring 30 khz.but i'm observing strong capacitor behaviour increase frequency ( 10khz onwards quite visible). this visible when measuring square wave. when close 30 khz signal looks text book capacitor charge/discharge wave , nothing square wave. @ around 15 khz, square wave looks more sine wave/ ramp signal square wave. based on behaviour guess capacitor in arduino due adc causing (as frequency increases, capacitor cannot charge/discharge fast enough). i'm not sure whether i'm correct this. if i'm correct, how can fix this? any appreciated. thanks. this how 30khz square wave looks like. show circuit. Arduino Forum > Products > Arduino Due (Moderator: fabioc84) > Arduino Due - using built in ADC as a DSO

Thread: Updated Ubuntu and can't start anymore

Image
hey guys, updated ubuntu few days ago, , can't turn on more, when power laptop gets stuck after ubuntu logo, can see white _ on top left corner. should do? posted laucien hey guys, updated ubuntu few days ago, , can't turn on more, when power laptop gets stuck after ubuntu logo, can see white _ on top left corner. should do? really need more info, version of ubuntu? first thought kernel updates mess graphics drivers might need select older kernel grub menu. of course if ubuntu os menu hidden. legacy grub (generally jaunty , prior) you'd press esc show menu during boot, whereas grub2 (karmic) you'd have press space bar during boot show menu. if know nothing installation let's start booting live cd , live desktop post output terminal of: code: sudo fdisk -l btw that's lower case l.

Arduino Uno Problems- Programmer not responding

i had arduino uno 2 weeks , fine untill nowi playing piezo buzzer , uploading song play through piezo buzzer on light , l light both on when tried uploading code compiled it took 3 minutes upload i dont remember error after looked said this programmer not responding i tried reseting , nothing worked i deleted arduino ide , redownloaded it i tried upload blink example , got error java.io.ioexception: cannot run program "___remove___/bin/avrdude": createprocess error=2, system cannot find file specified    at java.lang.processbuilder.start(processbuilder.java:1048)    at processing.app.helpers.processutils.exec(processutils.java:26)    at cc.arduino.packages.uploader.executeuploadcommand(uploader.java:130)    at cc.arduino.packages.uploaders.serialuploader.uploadusingpreferences(serialuploader.java:209)    at cc.arduino.uploaderutils.upload(uploaderutils.java:78)    at processing.app.sketch.upload(sketch.java:1187)    at processing.app.sketch.exportapplet(sketch.java:

curl --request POST --data?

code: [select] #include <process.h> #include <dht.h> #define apikey      "xxxxxx" // api key #define deviceid    xxx // deiced id #define relay       xxx //  sensor id #define picture     xxx #define temperature xxx #define humidity    xxx volatile boolean interruptsoccur; unsigned long lastconnectiontime = 0; const unsigned long postinginterval = 30 * 1000; string path = "/mnt/sda1/"; byte relaypin = 2; byte dht11pin = 4; dht dht; void setup() {   // put setup code here, run once:   bridge.begin();   dht.setup(dht11pin);   pinmode(relaypin, output);   attachinterrupt(0, pinrising, rising); } void loop() {   // put main code here, run repeatedly:   delay(dht.getminimumsamplingperiod());   float humidity = dht.gethumidity();   float temperature = dht.gettemperature();   if (millis() - lastconnectiontime > postinginterval) {     relaycontrol();     if (string(dht.getstatusstring()).equals(string("ok"))) {       postvalue(temperature,

Is the GPS data valid?

hi, i receiving following gps data , know if valid data? when using tinygps library if statement gps.encode(c) false. according me data looks fine. code: [select] $gpgsa,a,3,13,05,24,20,21,15,,,,,,,3.88,2.23,3.18*0c $gpgsv,3,1,11,21,69,259,15,15,64,151,27,20,61,119,16,24,50,037,29*7c $gpgsv,3,2,11,49,48,336,32,18,44,230,20,13,29,136,42,05,17,087,35*75 $gpgsv,3,3,11,29,12,337,,10,12,246,19,27,04,219,21*44 $gprmc,091010.000,a,3351.9711,s,01838.4249,e,0.07,268.63,250716,,,d*75 $gpgga,091011.000,3351.9711,s,01838.4249,e,2,7,1.38,144.3,m,32.7,m,0000,0000*40 $gpgsa,a,3,13,05,24,20,18,21,15,,,,,,1.66,1.38,0.91*0c $gpgsv,3,1,11,21,69,259,17,15,64,151,26,20,61,119,15,24,50,037,29*7c $gpgsv,3,2,11,49,48,336,32,18,44,230,21,13,29,136,42,05,17,087,35*74 $gpgsv,3,3,11,29,12,337,,10,12,246,19,27,04,219,20*45 $gprmc,091011.000,a,3351.9711,s,01838.4249,e,0.06,268.63,250716,,,d*75 quote according me data looks fine. looks fine me, too. the next step add (or enable) debug

Can not connect to raspi running Apache via firefox or FZ - Raspberry Pi Forums

as title says have installed apache, python aon raspbian jessie current updates. have tried fz , firefox router linksys wrt1900acv1 , port forward 192.168.1.121 i'm semi noob , 1 has me stumped. have searched, , tired several solutions on web. still no joy. ifconfigs 2 machines desktop, results of ifconfig. desk top ubuntu 16.04 current updates enp0s25 link encap:ethernet hwaddr 00:1c:c0:8f:75:fc inet addr:192.168.1.126 bcast:192.168.1.255 mask:255.255.255.0 inet6 addr: 2605:a000:110c:c03f:c128:afc9:86e5:cef3/64 scope:global inet6 addr: fe80::8169:c7be:bad9:f548/64 scope:link inet6 addr: 2605:a000:110c:c03f:ba17:8629:71c7:877b/64 scope:global broadcast running multicast mtu:1500 metric:1 rx packets:324088 errors:0 dropped:0 overruns:0 frame:0 tx packets:214371 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 rx bytes:319406635 (319.4 mb) tx bytes:310

Getting data from an online API stored as Json

hi i've been developing automation code using arduino uno , ethernet shield. basic code works pretty , computer can control relays. can find code @ end of topic. i have api key site http://openweathermap.org generates data stored json. link: http://api.openweathermap.org/data/2.5/weather?id=3873544&mode=json&appid=7f347ff86d3239c4ef3dbb894f76ea29 . i'd "temp" data, temperature in kelvin, in order use value double variable. so, create code perform calculation (for example, calculate , display temperature in celsius). how that, please?   #include <spi.h> #include <ethernet.h> byte mac[] = {0xaa, 0xbb, 0xcc, 0xdd, 0xee, 0xff}; ipaddress ip(192,168,1,10); ipaddress gateway(192,168,1,1); ipaddress subnet(255, 255, 255, 0); ethernetserver server(80); int chave=a2; int motor=3; int trava=4; int luz=5; int timer=0; float lerchave=0; char c = 0; char command[2] = "\0"; void setup() {   // put setup code here, run once:   ethernet.begin(m

DNSServer.h ?

i attempting setup example using esp8266 wifi when compiling code keeps failing dnsserver.h not found after lots of searching unable locate download can please give me link on can download needed files install libraries. it's in esp8266 core arduino. this package on github:- https://github.com/esp8266/arduino if read linked page, it's apparently installable via arduino "boards manager", entering appropriate url "additional board manager urls" field in >file >preferences i think can safely ignore instruction install ide v1.6.8, (it's not stable). either ide v1.6.5 or v1.6.9 better. the url enter:- http://arduino.esp8266.com/stable/package_esp8266com_index.json Arduino Forum > Using Arduino > Programming Questions > DNSServer.h ? arduino

Thread: using another moniter

i have old tv use watch movies on computer. regular video cords (yellow, red, white) tv , have scan converter converts vga computer rca cords, , use headphone jack converter plug in stereo cords (red , white). when plugging in vga computer, ubuntu seems freak out , difficult find right screen resolution , when did screen resolution on computer messed in resolution dropped drastically. no vga cord plugged in, when open boxes preferences box or save file box cant see whole box , cant resize smaller. i've done many times on windows , works possible. when watching movie sound worked on computer plugged in cords headphone jack sound stopped working. Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Multimedia Software [ubuntu] using another moniter Ubuntu

Tools > Port Button Greyed Out?

hey guys. i'm having issue arduino, can see title. whenever go upload sketch, under tools, port button greyed out. i've looked around everywhere, people seem have issue after installing due not installing driver device software. software installed me, , working fine few days until few hours ago, stopped recognizing port. some details on when happened. accidentally clicked "upload" on sketch didn't want upload- went "arduino clear" sketch, acts clear both "setup" , "loop" functions uploaded sketch gone. neither of uploads finished. closed , re-opened program, seemed still trying upload. shut down , restarted (which might have been wrong move, didn't know else do). after that, rebooted program , no longer trying upload, "port" button greyed out, though had usb cord plugged arduino, , led on arduino lit signify plugged in. software doesn't recognize it. tried plugging in multiple different usb ports, , uninsta

Dodge/Burn Protect Tones - Preference for Off??

cs4 added "protect tones" dodge , burn tools little explanation does, yet default setting protect tones on. don't effect of protect tones. is there way change default, short of creating tool preset? tool preset defines brush shape , other settings. want ps launch protect tones check box off. anyone? thanks, craig http://help.adobe.com/en_us/photoshop/11.0/wsfd1234e1c4b69f30ea53e41001031ab64-75fca.html More discussions in Photoshop Macintosh (read only) adobe

Free... - Joomla! Forum - community, help and support

Image
note: not ment advertisment i don't know if 1 of heard this, there 2 domain registrars let register domains free. they www.dot.tk , www.freedomain.co.nr dot.tk- ex. www.domain.tk forced ads url redirection co.nr- ex. www.domain.co.nr no ads url redirection tell me think it....                                             they seem ok me on surface, if don't need tld used.  of commercial websites, .com, .net , .org tlds use. Board index Other Forums The Lounge

using PC clock in arduino

hi, i'm trying pass time pc (windows7) arduino. time won't used in display of kind, rather, i'm hoping can track int , use change arduino doing based on time of day. i've tried passing value processing can't send time through com port , run connected arduino , see serial monitor. any advice appreciated. thanks have @ serial input basics - simple reliable ways receive data. get processing code convert time integer , send arduino in same format with code: [select] serial.print("<"); serial.print(timenumber); serial.print(">"); ...r Arduino Forum > Using Arduino > Interfacing w/ Software on the Computer > using PC clock in arduino arduino

[RESOLU]Besoin d'aide pour contrôler des servomoteurs

Image
bonjour, j'ai une structure avec 6 servomoteurs. avant tout je précise... je suis novice. je souhaiterais donc contrôler mes servomoteur et leur vitesse. pour ce faire j'ai utilisé l'exemple fourni dans arduino. code: [select] #include <servo.h> servo myservo;  // create servo object control servo // twelve servo objects can created on boards int pos = 0;    // variable store servo position void setup() {   myservo.attach(27);  // attaches servo on pin 27 servo object      for (pos = 68; pos <= 100; pos += 1) { // goes 68 degrees 100 degrees     // in steps of 1 degree     myservo.write(pos);              // tell servo go position in variable 'pos'     delay(50);                       // waits 50ms servo reach position   }   for (pos = 100; pos >= 68; pos -= 1) { // goes 100 degrees 68 degrees     myservo.write(pos);              // tell servo go position in variable 'pos'     delay(50);                       // waits 50ms servo reach p

Mega Multi-Serial and Software Serial in indexed array?

i'm trying use many serial ports.  i'd 4 , don't want lose usb serial port, i'll use softwareserial well. i've seen other comments more convenient have array of serial items, rather serial, serial1 etc.  can done using array of pointers. code: [select] // declaration hardwareserial *serials[5]; softwareserial myserial1(5, 6); .. // setup serials[0] = &serial; serials[1] = &serial1; serials[2] = &serial2; serials[3] = &serial3; // hardware serial devices can indexed for (ix=0; ix<4; ix++) { (*serials[ix]).begin(9600); (*serials[ix]).print("\nmega_serials_test- "); (*serials[ix]).print(ix); (*serials[ix]).println(); } that's , works.  i'd softwareserial in same array.  possible pursuade compiler accept this?  , functions work correctly?  i've tried various things rejected e.g.: code: [select] serials[4] = (&hardwareserial) &myserial1; can done? i can't verify right more reasona

/media just work with 777 :s - Joomla! Forum - community, help and support

Image
well.. problem is: the listing not add images 755 in /media folder. i try every possible permissions.. 777 "add listing" show images.. otherwise... show space (little).. in blank. i can not put 777 in folder.. couse last year ftp server atacked because permissions . anybody knows how can put correct chmod in folder... , mosets tree continue working well? cheers. are saying mosets tree breaks when use 755, or core breaks when using 755? what version of joomla! using? what version of mosets tree using? Board index Joomla! Older Version Support Joomla! 1.0 General Questions - 1.0.x

Problema rumore Arduino Mega2560

Image
salve tutti. ho un problema con arduino mega2560. la sto usando per simulare un sistema di controllo porte di un autobus. il sistema è così composto: -4 pulsanti con led incorporato(pulsanti porte); -uno switch chiave per alimentare la plancia; -uno switch posizionale per attivare e disattivare la modalità notturna(led leggermente luminosi); -6 motorini servo, per simulare le 6 ante delle porte dell'autobus. il tutto è stato montato su un case di legno realizzato da me, tutti cavi connessi ad arduino e fra di loro tramite millefori e saldatura. ho allegato l'immagine. il sistema ha il funzionamento desiderato, se non si considera un fastidiosissimo rumore che fa lampeggiare(con bassa intensità) led. la cosa succede quando avvicino le mani alla scatola. ho letto che può trattarsi di un problema di resistenza di pull-down dei pulsanti. ho provato metterne una ma la cosa non è cambiata. le masse dei pulsanti sono tutte collegate fra loro, così come quelle dei led. può es

Problem in using 4 Relay Module to light LED

i have connected 4 relay module follows.  4 relay module 1st relay no port  --> breadboard @ led  4 relay module 1st relay com port --> ground  breadboard @ other end of led --> 5v in uno board  4 relay module in1 port --> 4 port in uno board  4 relay module vcc port --> 5v port in uno board  4 relay module gnd port --> gnd port in uno board the photos of setting follows. https://drive.google.com/file/d/0b9ghszdnys15beuwms1kq2lla1e/view?usp=sharing https://drive.google.com/file/d/0b9ghszdnys15zwpkc1nqwlrdtm8/view?usp=sharing  the coding follows.  however when arduino executed, led not light. have tried light led without using relay module. works. there error in using 4-relay module? _____________________________________________________ const int relaypin = 4; void setup() { serial.begin(9600); // give max little time settle delay(500); pinmode(relaypin, output); digitalwrite(relaypin, low); delay(500); } void loop() { // basic readout test  digitalwrite(rela

Joypad arduino per comandare smartphone in usb

salve, ho comprato un cavo per collegare il joypad della playstation 3 allo smartphone e nei giochi in cui è possibile usare un controller esterno ovviamente funziona. dato che è molto ingombrante vorrei realizzarne uno più piccolo con arduino. ho già comprato la levetta analogica e 4 bottoni, ma poi mi sono reso conto che farli comunicare in usb non è così semplice. vorrei evitare il bluetooth sia per non scaricare la batteria che per non ingrandire troppo il joypad. ho poi notato che il controller della playstation funziona anche nell'appdrawer quindi non necessita di una particolare configurazione da parte di altre app. quindi ecco le domande che ho da porvi: 1)come posso far comunicare il joypad in usb con lo smartphone? edit: penso di aver risolto quindi cambio la domanda in: per ridurre le dimensioni conviene usare un arduino micro o costruirne uno da solo prendendo singoli componenti? 2)non credo sia possibile, ma posso evitare di usare una batteria esterna e quind

Is there an easier way to write code to read multiple digital pins than this?

Image
i'm making midi controller , need read lots of buttons... there easier way write code read multiple digital pins , return number of 1 goes high...?? easier this...   if (!digitalread(buttonpin1[0]) == high) {     count = 1;   }   else if (!digitalread(buttonpin1[1]) == high) {     count = 2;     }     else if (!digitalread(buttonpin1[2]) == high) {     count = 3;     } ....etc i have lot of button , new learning arduino... can't figure out if there better way simplify this. any appreciated. the first thing comes mind loop read through buttonpin array.  value of count can derived loop variable , if break loop when pin found high same effect if/else , stop reading pins @ first 1 found high Arduino Forum > Using Arduino > Programming Questions > Is there an easier way to write code to read multiple digital pins than this

How can make an Arduinio wifi router using GMS shield and ESP8266 module?

hi guys, that great if can make arduino router using gms shield , esp8266 module. want read data sim card via gms convert wifi, can access wifi iot projects. how can idea? hi, gsm shield , esp8266 used connect stuffs internet iot project. don't need use both of them @ same time. gsm shield more capability sending/receiving sms messages , voice call, it's more expensive esp8266. regards, Arduino Forum > Topics > Home Automation and Networked Objects > How can make an Arduinio wifi router using GMS shield and ESP8266 module? arduino

How to add the photo on this position? - Joomla! Forum - community, help and support

hi all, i total new on joomla template, install template, , want change or add it, feeling confused on file control layout of frontend .... i using template download "http://www.siteground.com/joomla-hosting/joomla-templates.htm?page=2" the template called "bluefairy" and see php, finded code "mosmainbody" but file control mosmainbody output layout? please see image attached, have red arrow position want add new ad banner ... had go backend, , know banner enable, template have remove related coding of layout of banner ... ... and here web site url http://www.xtreme-production.com/xtreme/index.php&nbsp;   (choose siteground39 template choose tab please) you're right looks if template not designed banner section in mind. first of remember banner ad doesn't have displayed in 'banner' module, can put in module have available. anyway module appear on page open template's index.php file, find place want appear , add in banner of cour

Update cluster via script - Raspberry Pi Forums

1 raspberry pi fun, thought 10 better. while there lot of info & videos on physically building raspberry pi cluster, there nothing software, or rpi rpi communication. situation: rpi-100 -- rpi-109 problem: how can run script rpi-100 execute repeating commands on rpi-101 -- rpi109 "sudo apt-get update' 'sudo apt-get upgrade' 'sudo apt-get install <xxxxx>' [if matters, have static ip addresses: 192.168.1.100--192.168.1.109] thanks, rob use ssh? https://www.cyberciti.biz/faq/unix-linu ... using-ssh/ raspberrypi

Thread: What media player will support bookmarking places in a track, for audiobook media?

i want find media player supports bookmarking specific parts of mp3 can return later. won't lose place when playing audiobook. audiobook mp3 files hours long, , not enjoy having write down i'm @ every time need stop listening book extended period of time. the sandisk sansa clip has ability. clip+ . . . Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Multimedia Software [all variants] What media player will support bookmarking places in a track, for audiobook media? Ubuntu

Problem with audio noises - Raspberry Pi Forums

hello together. following setting: have pi in rv. whole electricity system powered rv battery. right before pi powerbank usv. simple, 5v converter charging powerbank , pi powered powerbank. added small sound system (4x 200 watt amp 2 speaker , subwoofer). way, now, connect amp 3,5 jack of pi. problem: have noises. not bad, disturbing. if pi not playing anything, can hear quit noises. change. mean not constant sound. , when play music there noise too. funny thing... when play quit there more noise. , if talking noise getting louder when person speaking , in break of speaking, noise quit too. if connect amp mobile sound great. problem must pi. guess problem ground. have problem ground. first question: problem if connect ground pin of pi direct ground of vehicle battery. amp , pi have same ground (else pi have ground of powerbank battery). should remove ground of powerbank in case? plus comes powerbank. there problem if powerbank not ground back? (sorry english... not native e

Thread: Wireless detection not appear on the panel | @jaunty with MSI VR420x

i had problem wireless detection going invisible.... should do? result terminal. card wlan0 detected... hanif@achosoft:~$ ifconfig wlan wlan0 link encap:ethernet hwaddr 00:1d:92:1f:33:b5 broadcast multicast mtu:1500 metric:1 rx packets:0 errors:0 dropped:0 overruns:0 frame:0 tx packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 rx bytes:0 (0.0 b) tx bytes:0 (0.0 b) any idea fix problem, thx. Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Hardware [ubuntu] Wireless detection not appear on the panel | @jaunty with MSI VR420x Ubuntu

Photoshop CS3 won't load photo file

i using ps cs3 (windows version) on laptop while traveling. last night adobe update manager updated camera raw 4.6. photoshop not load photo. if go file open , choose small jpg, hour glass , ps hangs up. when open task manager, shows ps not responding. bridge works, when click on "open image", ps launches, hangs when try open file. i have no idea if update source of problem or totally unrelated. can me out? have tried resetting prefs? camera raw may have updated color profile information , default presets, not reflected in prefs , causes conflict... mylenium More discussions in Photoshop Windows (read only) adobe

Gradient as TIFF file

hi all, i opening new things all, not expert in photoshop, throwing question reg. tiff format, need know possible it. ------ we need store pantone color information in tiff format, possible in eps format. have tried creating box gradient , done "saveas" tiff format, found pantone color information converted cmyk, instead of pantone. ------ please advice, how tackle issue. thanks in advance. shaji tiff supports spot channels doesn't support duotone. must select spot colors option when saving. why tiff? many applications won't support information anyway. save psd instead. bob More discussions in Photoshop Windows (read only) adobe

Thread: Installing Kubuntu to SD card on EeePC 4G

i run kubuntu 9.10 on pc , want try on eeepc 4g. eeepc has default xandros linux installed , don't want nuke until know kubuntu going run ok, decided test out installing onto 8 gb sd card. have kubuntu live cd decided boot desktop , install there. unfortunately, installation dialog large can't see buttons @ bottom. plugged in external monitor , rebooted. things looking @ first halfway through boot process, external monitor lost picture, square 1 after 2 attempts. luckily, have kubuntu 9.04 live cd started again. time, got way desktop display on both internal , external monitor. setting external monitor 1024x768, able work way through installation, choosing format entire sd card single ext4 partition. partitioner started format partition stalled @ 0%. formatted sd card on pc , started fourth attempt @ installation. installation began, dialog has been showing "copying files... 22%" on hour now. 9.10 turned off external display during boot see

Thread: Securing apache2

i wanted solve problem facing googled http://www.google.co.in/search?hl=en&client=firefox-a&rls=com.ubuntu%3aen-us%3aunofficial&hs=nw7&q=securing+apache2+move_fil e_upload()&btng=search&meta=&aq=f&oq= issue feel important discussion started on thread suited here please refer link on same forum had started http://ubuntuforums.org/showthread.php?t=1358261 here solution found http://www.mysql-apache-php.com/fileupload-security.htm Forum The Ubuntu Forum Community Ubuntu Specialised Support Security [ubuntu] Securing apache2 Ubuntu

[solved]Problem writing serial strings - Raspberry Pi Forums

using python 3 want send serial string raspberry pi arduino that's running sinewave generator. works fine code: select all ser = serial.serial('/dev/ttyusb0', timeout = 1) ser.write(b'200') need frequency variable code: select all f = '200' # raises error ser.write(f) # sends garbage ser.write(b'f') doing wrong? you have encode it, first convert number string. can like str(f).encode() python2 did lot of things 'automatically' ok of time frustrating! raspberrypi

Thread: Debate on 9.04 and 9.10 like or dislike

Image
hey guys i've been using ubuntu 9.04 year , tried 9.10 , found buggy. 9.04 better guys have say? froinlaven. Forum The Ubuntu Forum Community Ubuntu Community Discussions The Cafe Debate on 9.04 and 9.10 like or dislike Ubuntu

Trial version downloads and installs fine, but won't load.

i can download , install ps cs3 (as illustrator, dreamweaver etc) fine... ...but when launch app , select option start trial, ambiguous error message saying that... "a problem encountered while trying load trial period adobe photoshop cs3 click quit see if restarting computer or reinstalling software..." so did both, , still error. i need trial version bridge next month before pulling trigger on full suite; please asap. - drew >please asap since user user forum, not adobe support, , only way user reply if had exact problem and had solution, may need contact adobe in - adobe general support 800-833-6687 in - adobe install problems 800-642-3623 also, provide 0 details computer or windoze... "guess" current software won't run on p3 processor using windows 98 256meg of memory More discussions in Photoshop Windows (read only) adobe

Basic Web Client Locks Up When Using Timer

using basic wifiwebclientrepeating sketch basis, i've moved "repeating" part, making web client request, loop , timer interrupt function , board locks every time. i started basic example sketch , worked fine. i'm using mega2560 wifi101 shield. in example here, have timer firing every 10 seconds i've tried 5 seconds , 20 seconds , still fails. had watchdog timer @ 1 point , rebooted timer interrupt fired. stripped part out make example more simple here. i want use timer because intention sketch use blynk requires nothing else in loop(). stripped down version of larger sketch logic in timer controlling objects , blynk being used control it. need make web call periodically led me problem. any ideas on why locking or ideas on how accomplish same thing without using timer or loop? here's code: #include <spi.h> #include <wifi101.h> #include <timerone.h> char ssid[] = "ssidhere";      //  your network ssid (name) char pass[] = &q

Can't Install PHP / MySQL - php5-mysql : Depends: libmysqlclient18 but it is not installable - Raspberry Pi Forums

hello guys, around me ? downloaded image raspberrypi 3 (desktop version) , try install apache / php / mysql. apache ok when tried install php, running following command : code: select all root@dani:/home/pi# sudo apt-get install libapache2-mod-php5 php5 php-pear php5-xcache php5-mysql php5-curl php5-gd got error : code: select all reading package lists... done building dependency tree reading state information... done packages not installed. may mean have requested impossible situation or if using unstable distribution required packages have not yet been created or been moved out of incoming. following information may resolve situation: following packages have unmet dependencies: php5-mysql : depends: libmysqlclient18 not installable e: unable correct problems, have held broken packages. idea can fix ? thank you. i fixed issues installing first default mysql (mariadb) code: select all sudo apt install default-mysql-server secure mysql using command, add password , p

Raspberry Screen with a Barcode Scanner - Raspberry Pi Forums

hi, i'm looking build device similar below, integrated screen , barcode scanner. company below wants €800 device, convinced can built cheaper. let component hunting begin - worth asking now, has seen somewhere built using pi or similar? http://id24.com/crm-display/ raspberry pi: €35 or raspberry 0 w: €15 screen: 7" raspberry pi screen €79 or 10" €109 inc case - robotshop 2d barcode scanner: ???? case: ???? or included 10" cables: ???? there recent thread on barcode scanners - can bought cheaply nowadays. can cases pi screen already, google find loads. raspberrypi

Thread: Proxy server issue causing inability to install software

as still consider myself beginner ubuntu, thought may having basic problems setting proxy server, after posting same problem in beginners forum ( http://ubuntuforums.org/showthread.php?t=1323761 ), had no luck. every time try install something, either synaptic, software centre or terminal, wants go through proxy server have use on university campus (which no longer on), despite me setting of proxy settings connect directly internet. i've set proxy settings in synaptic package manager, preferences/network proxy , firefox, i've looked in .bashrc didn't have anything. i'm running ubuntu 9.10 on toshiba equium p200. firefox works, of internet based apps work, can't install anything, still convinced wants go through proxy server despite me being unable find settings change anywhere. missing elementary, or there problem here? i've run before. you'll need press alt+f2 , type "gcon

3.5 Inch TFT LCD Touch Screen + DUE Board

hello all! i have received order: 3.5 inch tft lcd touch screen + due board on ali, sells ili9481. mine came ili9488 (see attached photo). i new whole arduino stuff. i cannot seem make display work due. have mega , test that, if provide me guidance. thank in advance! i have "very similar" shield.   the pcb traces routed resistor-packs 18x2 header in same way.   the vias right of rps different on shield. my shield says ili9488.   it seems "similar" ilitek ili9488 not behave ilitek datasheet (or genuine ili9488) you should find "almost" works utft ili9486. you should find bodmer's hx8357_due library work (configure ili9486) the shield designed mega2560.   the utft due driver understand mega shield pinout. bodmer's library fast.   you might need configure "slower" tell how on. david. Arduino Forum > Using Arduino >

Help me debounce a relay contact

hi this first project , works fine need have run signal on relay contact, now realise (after spurious results) problems experiencing caused bounce on relay contacts need eliminate. i have gone through debounce tutorial , spent hours looking round net not getting gist of coding, sketch being first ever  attempt @ sort of coding. the project opens , closes flap driving motor , has 2 position switches tell if open or closed , direction move based on switch , run signal logic. a run signal tells way move. so in code below need debounce run signal don't want set initial states unless there no other way. any appreciated code: [select] // named constants switch , motor pins const int flapclosed = 2; // number of pin flap closed switch const int flapopen = 4; // number of pin flap open switch const int run = 5; // number of pin open or close external signal const int motor = 12; // number of motor output pin   //setup channel a    void setup() {   // initialize motor pin output: