Posts

Is the internal clock not good enough???

i having problem new project made , i'm not 100% sure cause is, 1 mhz internal clock not enough?? i have made navigation light controller model airplane reads pwm , changes modes accordingly. worked perfect when had project on uno moved on attiny84 , getting random episodes of lights blinking/skipping beats when not supposed to. happen 3-10 times minute , wont 2-3 minutes. i checked output voltage on airplane , stable fluctuates max of 0.02v once in while. i checked pwm airplane (used uno) , pwm varies +/- 4usec (hysteresis in code allows +/- 100usec variation) what think problem is, internal clock skipping beats/jittering causing pwm read inaccurately (either high >2500usec or low <500usec) making lights default off mode would running @ higher 8mhz internal better or will better idea use external 1 mhz crystal, or there else should looking into??? have tried @ 8mhz internal? it's easy change if not work. Ard...

Thread: Customize icon problem in AWN 0.3.9

there 'customize icon' option applications thunderbird, chromium , amule etc, not applications vuze, iplist , moovida etc, how can change icon applications don't have 'customize icon' option? thanks. here screenshots reference. chromium 'customize icon' option.png application without 'customize icon' option.png Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Desktop Environments [all variants] Customize icon problem in AWN 0.3.9 Ubuntu

Arduino AND Raspberry connected to the same Website?

hey guys! i know can connect arduino raspberry, have question. can have arduino , raspberry working separately in same website? mean, have arduino uno, , raspberry 1 , want work webcam + sensors , motors. both of them can't of it, want use both, arduino , send data, , raspberry stream 'real-time' videos. not sure if can have both of them connected same website. my real problem: want make sure if door closed, open website, , watch online stream(raspberry), , if opened, use same website send information close it(arduino). thanks guys! can't connect dozens of clients website? how google manage? i reckon problem designing website server code , beyond scope of arduino forum. i presume not trying host complex website on arduino? if want create website on rpi (or on own pc) suggest have @ python bottle web framework - can have simple server working in 30 minutes or so. ...r Arduino Forum ...

Uploading Error

i have been nicely programming typical mega2560 , going fine.  went sleep last night , when woke , started program, again every time tried upload error message, "an error occurred while uploading sketch".  compiles ok can not upload. checked  "tools" option on menu make sure indeed set mega2560 , connected com port.  looked good.  turned off windows firewall.  updated latest version of arduino ide.  tried compile , upload example sketch arduino library on brand new clean windows 10 tablet computer.  tried several different mega2560 boards. nothing helped. still can not upload arduino boards.  guess microsoft pushed through update conflicts arduino ide software.  has else had problem recently.  there work around? there bug in arduino ide 1.6.10(and possibly arduino avr boards 1.6.12 used ide version) can cause issue when start ide opening sketch(.ino) file(by double clicking on it, e...

How to create a library for a function and a struct?

i found examples of putting class library, have 2 functions , 2 structs , putting them in class wouldn't make sense. nevertheless move them file can include in different projects.  how that?  code: [select] struct examplestruct1{   float foo;   int bar; }; struct examplestruct2{   float abc;   char test; }; examplestruct1 examplefunction1(int foo) {     // ... } examplestruct2 examplefunction2(examplestruct1 bla) {     // ... } should paste .h or .hpp file , done it? in folder sketches stored there should folder called libraries. if not, make it. inside folder, make folder library. call folder utilslib, can call whatever want. inside folder, put following .h , .cpp files: .h header code: [select] struct examplestruct1{   float foo;   int bar; }; struct examplestruct2{   float abc;   char test; }; examplestruct1 examplefunction1(int foo); examplestruct2 examplefunc...

Thread: how to fix and or set up x

i screwed xorg.conf , can not seem work. questions are- 1. need leave desktop environ edit x (stop gdm)? 2.what commands used edit x ? have tried following sudo gedit /etc/x11/xorg.conf want create new file. have been going root terminal , using gedit open file. 3 once have edited x how system use it? spent hour editing , saved , upon reboot @ square one. stuck 2 resoulutions , wrong graphics card (system defaulted unkown display , vesa graphics). using ubuntu 8.04 lts hardy , graphice card matrox g200 monitor lg w2252tq i think path xorg.conf wrong. should /etc/x11/.... etc. Forum The Ubuntu Forum Community Ubuntu Official Flavours Support New to Ubuntu [ubuntu] how to fix and or set up x Ubuntu

how to receive data in arduino from android Device with bluetooth

hi everybody has used bluetoothcursors.pde example in processing android mode arduino ? the code in example sends x/y of cursor on android device arduino on bluetooth keitai library. the funktion send data android device arduino ist bt.broadcast() funktion. both codes work no errors can not recognize data correctly, got wierd numbers when print x , y on the  arduino ide. i think code on arduino not correct. i attached processing code , arduino code if has experinece , hepl thanks guys i have similar project, compare r/c -arduino mega 2560 2x, arduino pro mini 328 - 5v/16mhz 2x, android cell , win10/win-phone blu win8.1, ps3 controller first try thing still getting documentation. https://disqus.com/home/channel/rcarduino/discussion/channel-rcarduino/rc_resources/ Arduino Forum > Using Arduino > Programming Questions > how to r...