Posts

Showing posts from February, 2015

Balance robot PID understanding

hello all, i have been struggling part of pid code below. having hard time understandung how "out" part of pid  drives motors setpoint. in code below the" out " mentioned once in code. (being  new arduino) have expected see  "out = drive(0,0);"  to drive motors setpoint. said "out" mentioned once(except return). maybe missing has been starring me in face whole time. my goal use pid other fun things , learn. understand there other pid examples, , tutorials out there learn from, dead set understand one so if wanted make code measured how hot 1 of sensers(reading) is, , cool down. , temp wanted (target). and if used fan (out) cool down. part of pid below used drive motor of fan target temp? for of easy explaination, , appreciate can move forword. code: [select] #include "i2cdev.h" #include "mpu6050_6axis_motionapps20.h" //#include "mpu6050.h" // not necessary if using motionapps include file...

Dynamic ItemRenderer

i've racked brain find answer no avail. here goes: i have datagrid 2 columns. the first column has 1 of 2 values. we'll or b. the 2nd column contains date values. there itemrenderer on column changes text color of date red if date past due. if column 1 has value of a. want date in column 2 past due after 6 months. if column 1 has value of b. want date in column 2 past due after 1 year. now here's trick. i image 1 of following 2 solutions work, i'm not sure how implement either: 1. call value 1st column inside .as itemrenderer column 2. then, write condition when itemrenderer change column 2 date color. know if doable? or 2. there way dynamically assign itemrenderer column? then, use values column 1 determine itemrender assign. feel pain? i promise jump , down extreme joy if me figure out.. the answer is: data.column1datafieldname column1datafieldname being datafield name column 1. whatever is. More discussions in Flex (Read Only) adobe

[Risolto]Problemi scrittura su SDCard

ciao tutti, ho un problema con il codice seguente: code: [select] #include <spi.h> #include <sd.h> #include <ethernet.h> byte mac[] = {0x90, 0xa2, 0xda, 0x00, 0x98, 0xc3}; byte ip[] = {192, 168, 100, 100}; byte subnet[] = {255, 255, 255, 0}; file myfile; int buttonstate = 0; void setup() {  ethernet.begin(mac, ip, subnet);  serial.begin(9600);  while (!serial) {    ;  }  serial.print("inizializzo la sd card...");  if (!sd.begin(4)) {    serial.println("inizializzazione fallita!");    return;  }  serial.println("inizializzazione corretta.");  pinmode(13, input);  pinmode(10, output);  pinmode(4, output); } void writeonsd() {  digitalwrite(4, high);  myfile = sd.open("datalog.csv", file_write);  if (myfile) {    serial.print("scrittura su datalog.csv...");    seri...

database issues with extensions - Joomla! Forum - community, help and support

hi, folks.  i'm not sure question should feel free tell me else post.  also, i'm quite new joomla , cms. here's problem:  i've got google maps api looking field "username" in table jos_comprofiler field isn't there.  there no usernames in table.  usernames in different table, jos_users in "username" field. so need either change how google maps api trying find username or need add field jos_comprofiler.  , if add field, need sure community builder writes "username" both jos_comprofiler , jos_users tables. i imagine easier change how google maps looks username i'm not sure , don't know how change code. i've got newest joomla, community builder, google maps api, , geocode extension cb.  db mysql running in apache. i hope makes sense , appreciate you've got! thanks. Board index Joomla! Older Version Support Joomla! 1.0 General Questions - 1.0.x ...

struct does not name a typ .... again

hey there, i have problem struct in scetch. when try compile file says:   report have more information with   "show verbose output during compilation"   enabled in file > preferences. arduino: 1.0.5-r2 (windows 7), board: "teensy 3.0" dcf_test:117: error: 'tagesdaten' not name type dcf_test:118: error: 'tagesdaten' not name type dcf_test:119: error: 'tagesdaten' not name type dcf_test:120: error: 'tagesdaten' not name type dcf_test:121: error: 'tagesdaten' not name type dcf_test:122: error: 'tagesdaten' not name type dcf_test:123: error: 'tagesdaten' not name type dcf_test:124: error: 'tagesdaten' not name type dcf_test:125: error: 'tagesdaten' not name type dcf_test:126: error: 'tagesdaten' not name type dcf_test:127: error: 'tagesdaten' not name type dcf_test:128: error: 'tagesdaten' not name type dcf_test:129: error: ...

Joomla! Forum - community, help and support - Login

the board requires registered , logged in view forum. username: password: i forgot password resend activation email remember me hide online status session   register in order login must registered. registering takes few moments gives increased capabilities. board administrator may grant additional permissions registered users. before register please ensure familiar our terms of use , related policies. please ensure read forum rules navigate around board. terms of use | privacy policy register Board index

kernel module version - Raspberry Pi Forums

Image
hello everyone... make on gpio driver , complety working....but after update os using apt-get update , apt-get upgrade module , firmware version change 3.18.7+ 4.1.7+ version.. when try insert module on kernel using insmod give me below error eroor :- not insert module gpioio32.ko: invalid module format you need recompile module against newer kernel version files. petero raspberrypi

How do you iinstall new template through code? - Joomla! Forum - community, help and support

i downloaded templated , added through admin site.  returned following parse error when started on localhost: parse error: parse error, unexpected $end in c:\wamp\www\templates\media02\index.php on line 47 i dont know php dont know how fix this.  now want put site uses old template.  however, site has template problem cant log in admin , put was. can suggest how put right please? perhaps altering config file??? thanks a that's template error , not configuration. you'd find in index.php file of template.  have tried installing template on live site , not wamp?  Board index Joomla! Older Version Support Joomla! 1.0 General Questions - 1.0.x

[arduino Uno] LED Strips -> OFF

Image
bonjour, j'ai voulu suivre ce tuto' mais je n'y arrive pas ! j'ai réussi à allumer pendant quelques secondes (2, max) mes leds mais après ça ne marche plus. donc, j'aimerais que vous m'aidiez à trouver mes erreurs. j'utilises une alim' 12v 3a directement branché sur la breadboard. (le fil noir/blanc, c'est + ?, le blanc c'est - ?) j'utilise un uln2003a, (où se trouve le/la pin 1 ?) j'ai bien téléversé le programme et le programme sur prossessing est activé. voici une photo du montage : => clic pour agrandir.. merci! bonjour, si tu suis le tuto, tu verras que tes fils ne sont pas connectés comme sur le tuto. tu croises les tiens. ton cable rose en travers n'est pas bien placé aussi. il se trouve sur ton + (je pense) au lieu du moins refais tout ton cablage et prie pour que l'uln est pas claqué Arduino Forum > Internationa...

Thread: How to mount a compressed backup HDD image (the tricky way)

Image
few days ago tried restore single file compressed partition image file generated partimage. unfortunately had bad luck .once checked faqs on official website found out kind of backups useless. mean saying useless can backup , restore entire partition of hard drive cannot decompress, browse or mount archive , cannot restore single file/folder or group of files/folders. pity because of people perform kind of backup typically want able restore specific files later on. so... here solution have found out , hope might there want mount backups , browse , restore single files seamlessly. make sure have installed dd , squashfs code: sudo apt-get install coreutils sudo apt-get install squashfs-tools the backup file generated dd raw data , have same size source partition. if source partition 20 gb need minimum 20 gb of free space on destination drive want place backup. before start process, might want fill partition zeros. way save lot of space on final...

Joomla's support for multi-lingual sites - Joomla! Forum - community, help and support

hi, i have questions joomla's support multi-lingual sites. pointers appreciated. 1. out of box, can have end in languages other english? if not out of box, possible other way? 2. can have multiple languages simultaneously? example end users use english , others use language? 3. same questions above front end. 4. support utf-8 , rtl (right left languages). read somewhere it'll there in 1.5. using 1.5 beta not sure if there. thanks help. cheers, jd 1. not yet. 2. not yet. 3. yes. 4. yes. Board index Joomla! Older Version Support Joomla! 1.0 Language - 1.0.x

Arduino shield crashes/stops after sending and receiving 50,000+ Udp packets

hi i have ethernet shield on arduino due w5100 chip. arduino meant read udp (a packet size 76), send acknoledgement (28 bytes) meanwhile spaming udp packets (76 bytes), arduino work fine 50,000+ packets crash/stop. using packetsniffer see working (wireshark), , generating packets using c#. here modified version of original send receive example problem occurs. code: [select] #include <spi.h>         // needed arduino versions later 0018 #include <ethernet.h> #include <ethernetudp.h>         // udp library from: bjoern@cs.stanford.edu 12/30/2008 byte mac[] = { 0x90,0xa2,0xda,0x13,0xfb,0x6b }; unsigned int localport = 18865; char packetbuffer[100]; byte  replybuffer[] = "acknowledged"; byte  replybuffer2[] = "aasdasdfasfasfa"; ethernetudp udp; void setup() {  serial.begin(57600);    pinmode(4,output);  digitalwrite(4,high);      seria...

Arbor Linux Shield - Arduino YÚN capabilities on a standalone shield

Image
hi there, there interesting indiegogo project called arbor linux shield: openwrt wifi development board arduino & other mcus. . https://www.indiegogo.com/projects/arbor-linux-shield-an-openwrt-wifi-development-board-for-arduino-other-mcus/x/7892383#home it based on original yÚn openwrt linino image , offers capabilites , libraries original 1 (e.g. bridge). since wanted empower arduino due wifi , linux project amazing. , 3.3v compatible since uses ioref of arduino. please project started! price more fair if please tell friends it. projet website http://www.arbor-io.com/ as own arduino yÚn love thos possibilities ease of arduino , power of linux coupled hardware wifi, usb , microsd. Arduino Forum > Development > Other Hardware Development > Arbor Linux Shield - Arduino YÚN capabilities on a standalone shield arduino

Better Link Component - Joomla! Forum - community, help and support

hello,     need suggestion. running website weblinks important. using standard com_weblinks component. running fine, but... need more features. have been looking around , have found com_linkdirectory , more. but, none of these component's work need them to. here need, or close woould nice.     need weblinks component works standard com_weblinks has read more link, , possibly rating system. way com_linkdirectory work, sends users sub page same information listed. need title link send users url in new window, able build more info page seo reasons.     if help! thanks! if dont understand need, please comment below , try elaborate. -cool affiliate! hi, i looking weblinks module in can display yur weblinks see in http://www.startpagina.nl-like websites. i found linkpage tool @ http://linkpage.jpwaag.com/linkpage/linkpage.php this tool using want integrate joomla page. is easy or body have alternative? looking forward replies. meervrijetijd.nl ...

Video Upload - Extension - Joomla! Forum - community, help and support

all, i'm new joomla , wow! cool or wot? i have site setup golf coaching, requires users register, when registered want allow them ability upload videos, videos commented on golf pro , comments made, user should able see comments, his/her own video...so! i'm looking extension, follows: - 1. video player 2. video uploader (registered users) 3. video admin/update not sure if exists...? cheers paul i use allplayer mambot..  set permission level of article submit equal permission level of people wish view it. so if have free content , registered content.. can set free section , pay section. the mambot can imbedded in content. Board index Joomla! Older Version Support Joomla! 1.0 Extensions - 1.0.x Plugins/Mambots

Thread: Boot Failure in fresh install

so had version 8.something, updated, , decided "upgrade" latest beta release. did shift_f2 , chose upgrade distro inside ubuntu, , went , downloaded crapload of stuff, rebooted, showed small white glowing logo, , black screen. nothing happened. rebooted, went vista, (where installed ubuntu in first place dual boot) , uninstalled it, , reinstalled beta iso download, , time, showed 1 of backgrounds, did finalizing during install, , when rebooted, presented this: try (hd0,0) ntfs5: no wubildr try (hd0,1) extended: try (hd0,2) invalid or null try (hd0,3) invalid or null try (hd0,4) ntfs5: , comes here, flashes read goes black screen says: minimal bash-like line editing supported. first word, tab lists possible command completions...etc wtc removed 1 more time, , installed on it's own hd, still part of dual boot inside vista, , it's same thing. appears install , configure properly, until try reboot after completion. have suggestions? ...

mjpg-streamer rotate - Raspberry Pi Forums

hi, have raspberry pi 2 logitech c270 webcams working security cameras , working great! however, 1 of cameras upside-down , i'd rotate software have image in right direction. tried around right parameters so, couldn't. have suggestion on how move forward? thanks, jabss well there not obvious answer that! best method physically rotate webcam. webcam rotate register change need modify uvcvideo driver. don't know if work pi or c-270 camera. https://radu.cotescu.com/resolving-vert ... in-ubuntu/ raspberrypi

L293D no power on output

hi, got l293d, connected here http://feikebrouwer.macuser.nl/l293d.png 1 dc motor. this test code code: [select] void setup() {  pinmode(5, output);  pinmode(6, output); } void loop() {  digitalwrite(5, high);  digitalwrite(6, low); } i checked output voltage on output 1 , output 2 there power i have 2 of l293d chips on second chip got same problem the pic has arduino outputs on 5, 6, 9 , 10.... if have wired should using 5 & 6 or 9 & 10, not 11 & 12. Arduino Forum > Using Arduino > Motors, Mechanics, and Power (Moderator: fabioc84) > L293D no power on output arduino

shift register acting funny

hi i'm rather new @ arduino thing. have not quite figured out of fixes. have been fiddling shift register though & first time put circuit code project worked beautifully, dis-assemblyed & tried again & reason, works shift register working in inverse! 1's 0's & 0's 1's. /* name: binary counter (led on = 1, led off = 0) notes: shift register - 74hc595 */ //control pins shift register. int l_pin=8;    //latch pin - connected st_cp. int c_pin=12;   //clock pin - connected sh_cp. int d_pin=11;    //data pin  - connected ds. void setup(){   //set control pins output.   pinmode(l_pin,output);   pinmode(c_pin,output);   pinmode(d_pin,output); } void loop(){   for(int binno=0; binno<256; binno++){     digitalwrite(l_pin,low);                  //l_pin=0 - led's remain const upload.     shiftout(d_pin, c_pin, msbfirs...

project for 25 RGB LEDs ?

very new arduino. i wanting make use of 25 rgb leds have. one possibility put them in 5x5 matrix , use shift registers control them similar to: https://learn.adafruit.com/adafruit-arduino-lesson-4-eight-leds/overview are there other projects can make use of these rgb leds fun build? how wire them up, , how physically arrange them, can 2 different things. for example, can wire them 5x5 matrix, , arrange them way, leds in nice compact square, , create little animated screen, or scrolling text, little display. or have them connected same control logic, spread them out in long string longer wires,  maybe 2 circles representing 5 minute/1 hour intervals of clock, or other pattern makes game, or decoration of sort. Arduino Forum > Using Arduino > Project Guidance > project for 25 RGB LEDs ? arduino

Unplugging usb cable gives weird results.

i building first robot. it has hc-sr04 , arduino motor shield(official) newping library , own library. before unplug usb cable, program works intended(turns when there obstacle). but, after unplug, robot spins in circles. any suggestions? examine code: main code: code: [select] #include <newping.h> #include <motor.h> #define sonar_pin 2 // arduino pin tied echo pin on ultrasonic sensor. #define max_distance 400 // maximum distance want ping (in centimeters). maximum sensor distance rated @ 400-500cm. newping sonar(sonar_pin,sonar_pin, max_distance); // newping setup of pins , maximum distance. motor motor; int cm; void setup() {  // put setup code here, run once: serial.begin(9600); } void loop() {  // put main code here, run repeatedly:  while(!(sonar.ping_cm() < 30 )){    motor.movea(255); // go foward    motor.moveb(255);    show();  }  motor.movea(255); //turn: causes spin in circles  motor...

How to use Arduino relay?

hi; i know uses of these ports on relay. no (normally open) com (common) nc (normally closed). can 1 explain me further relay. thank you; zakirox those 3 switch connections relay. wire them circuit want control. that relay electronically driven single pole change on switch. called spst. why have got relay if not know does? Arduino Forum > Using Arduino > General Electronics > How to use Arduino relay? arduino

Arduino to Pololu Micro Maestro serial connection

hi all, ive been trying use 6 potentiometers connected arduino uno connected via serial pololu micro maestro control 6 servo outputs , have been struggling code. i found code online controls micro maestro fixed positions ( http://www.quantumphysguy.com/2013/07/08/arduino-micro-maestro/ ) code: [select] #include <softwareserial.h> const int default_baud = 9600; const int servo_controller_rx_pin = 11; // servo controller's rx pin. const int servo_controller_tx_pin = 12; // servo controller's tx pin. softwareserial servocontroller = softwareserial(servo_controller_rx_pin, servo_controller_tx_pin); void setup() {   servocontroller.begin(default_baud);   delay(500); } void moveservo(int servochannel, int target) {   //656ms pwm pulse represents servo angle of 0 degrees.   //2000ms pwm pulse represents servo angele of 180 degrees.   //these values vary based on servo use, check servo's   //spec documentation , verify pwm pulse...

Multiple OS Installs with NOOBS - Raspberry Pi Forums

Image
hi there. picked raspberry pi 2 came noobs on 8gb sd card. picked 32gb sd card meets requirements , installed noobs on raspbian , openelec. want install os isn't in noobs list? how this? os want add onto list http://www.spillmonkey.com/?page_id=169 home streetpass nintendo 3ds. have installed onto sd card have on 1 instead of changing card every time want use it. if give me , guidance on doing apprecaited tips, tricks etc openelec appreciated https://github.com/raspberrypi/noobs/bl ... os-version raspberrypi

Pressure Sensor problem

so have low pressure sensor (npc-1210) , followed schematic given me ge website ( http://www.ge-mcs.com/en/pressure-mems/mems-sensors/npc-1210.html [under specifications tab]). have connected breadboard , have connections right, have used lm6132 op amp amplify output. problem have there 2 vouts, +ve , -ve, , wondering one should connect analog pin of board . using arduino mega 2560. on this? i expect connect - side ground , + side analog input. the 2560 can configure pairs of analog inputs in differential mode: "the device supports 16/32 differential voltage input combinations. 4 of differential inputs (adc1 & adc0, adc3 & adc2, adc9 & adc8 , adc11 & adc10) equipped programmable gain stage, providing amplification steps of 0 db (1×), 20 db (10×) or 46 db (200×) on differential input voltage before adc conversion. 16 channels split in 2 sections of 8 channels in each section 7 differential analog input channels share common negative t...

PC and Apple MACS

hello - 1 can help. i'm creating website using xp machine when uploading pages , images etc appears fine on pc's when viewing on mac images not appearing in centre on top right. there coding can enter or way come out everytime? cheers ranj post link page, please. -- murray --- icq 71997575 adobe community expert (if *must* email me, don't laugh when so!) ================== http://www.dreamweavermx-templates.com - template triage! http://www.projectseven.com/go - dw faqs, tutorials & resources http://www.dwfaq.com - dw faqs, tutorials & resources http://www.macromedia.com/support/search/ - macromedia (mm) technotes ================== "ranjb" <ranjb82@yahoo.com> wrote in message news:eedrob$7mn$1@forums.macromedia.com... > hello - 1 can help. > > i'm creating website using xp machine when uploading pages , > images > etc appears fine on pc's when viewing on mac images > not > appearing in centre on top ...

Does the GPIO input need exact values? - Raspberry Pi Forums

i have question gpio input ports. in statement on raspberry page said low = 0v , high = 3.3v. motor feedback of 12v low , 24v high. if reduce them 0.3v low 3v high. question: raspberry send high / low values if in vicinity of 0v or 3.3v or have reach values exactly? help! obviously gpio input never work if values needed exact, yes need fall range both high , low values, "grey" invalid range in-between. afaik logic high above 2 volt, , logic low needs below 0.8v. don't input voltage higher 3.5v (3.3v plus safe tolerance) or chip may damaged due "latch up"! inputs not 5v tolerant!!!! raspberrypi

Flash plugin for Firefox/Opera (Suse 10) displays partial pages

in quite few pages, including toyota's website http://toyota.com/vehicles/2007/sequoia/index.html?s_van=gm_home_flash_sequoia page displayed incomplete i don't believe there flash player 8 linux. so, if toyota or other site matter built flash player 8 there chance wouldn't see everything. More discussions in Adobe Animate CC - General adobe

[SOLVED]no such table on user delete - Joomla! Forum - community, help and support

trying delete user on launched beta ??jdatabasemysql::query: table 'joomladb.jos_core_acl_aro_map' doesn't exist sql=select acl_id jos_core_acl_aro_map value='86' , section_value='users'?? and when 1 changes every instance of aro_map (not group_aro_map) aro @ libraries.php_gacl => ??jdatabasemysql::query: unknown column 'acl_id' in 'field list' sql=select acl_id jos_core_acl_aro value='86' , section_value='users'?? this beta? launched before user deleted? missing here? Board index Joomla! Official Sites & Infrastructure Sites & Infrastructure - Feedback/Information Archived Boards - All boards closed Quality and Testing - Locked and Archived Q&T 1.5.x Resolved

How to translate Yun to German

Image
hi arduinos i exploring yun , webinterface , play around. have german luci-i18n-german files installed during install process drops "cannot install bla bla..."   installing luci-i18n-german (0.11+svn10374-1) root... downloading http://downloads.arduino.cc/openwrtyun/1/packages/luci-i18n-german_0.11+svn10374-1_ar71xx.ipk. collected errors: * opkg_download: failed download http://downloads.arduino.cc/openwrtyun/1/packages/luci-i18n-german_0.11+svn10374-1_ar71xx.ipk, wget returned 8. * opkg_install_pkg: failed download luci-i18n-german. perhaps need run 'opkg update'? * opkg_install_cmd: cannot install package luci-i18n-german. http://forum.arduino.cc/index.php?topic=252442.0 "arduino.cc" 's isp (internet service provider) has problem encode "+" @ url, wait... code: [select] opkg install luci-i18n-german installing luci-i18n-german (0.11+svn10374-1) root... downloading http://downloads.arduino.cc/openwrtyu...

Stupid Question

Image
ok, stupid question sure , checked troubleshooting guide , solution, silly might be, doesn't appear there so... here go i'm working on project i'll have present in couple days: point don't know if arduino can powered via usb pc port if computer belongs doesn't have proper arduino drivers installed. i'd know because i'll have short time presentation , computer i'll using not mine (and doesn't have arduino drivers on whatsoever), need know if i'll have put additional section in circuit power arduino. pretty stupid question, told you... questions never stupid, may incomplete or ... answers can stupid quote the point don't know if arduino can powered via usb pc port if computer belongs doesn't have proper arduino drivers installed. you need 5 seconds confirm computer. don't have 2nd computer in house? q: need serial port presentation? Arduino Forum ...

Brand new camera module "No data received from sensor" - Raspberry Pi Forums

hi all, received brand new camera module , trying set live stream camera across network. followed walk through here https://www.youtube.com/watch?v=jjpsw-7fung , have been receiving following error no data received sensor. check connections, including sunny 1 on camera board this first time using camera, , first time using raspberry pi cameras too. not sure if hardware (camera module or raspberry pi) faulty or have made stupid mistake somewhere. have checked connection multiple times (taking out , reconnecting ribbon), , have tried camera on second raspberry pi same effect. there way can check if camera working in first place? i've included terminal below. appreciated thanks! pi@raspberrypi ~ $ raspivid -o - -t 0 -hf -w 1280 -h 720 -fps 24 |cvlc -vvv stream:///dev/stdin --sout '#standard{access=http,mux=ts,dst=:8­160}' :demux=h264 vlc media player 2.0.3 twoflower (revision 2.0.2-93-g77aa89e) [0x7008f0] main libvlc debug: vlc media player - 2.0.3 twoflower...