Posts

Showing posts from January, 2014

Can the (if statement) have A counter on it?

hi read this. i know if (if statement) can have counter on it.  count ten , stop hole program.  here little bit of code want run 10 times , go (state = 0) , turn off arduino or stop code going on. code: [select] if (counter > maxnum) {        // turn led on:         state = 1;    }   else {     // turn led off:      state = 0;      delay(10);   }  all of program code: [select] const int ledpin =  9; int inputpin = a5; int sensorvalue; int counter = 0; int maxnum = 200; byte state; void setup() {   pinmode(ledpin, output);   serial.begin(9600); } void loop() {   //   serial.print("input on pin 5:  ");    // serial.println(sensorvalue);        serial.print("led state:  ");    serial.println(state);       //  serial.print("counter:  ");    // serial.println(counter);           sensorvalue = analogread(inputpin);   if (state == 0)    {      counter++;    }   if (sensorvalue > 0) {        // turn led on:        digitalwrite(ledpin, high);  

VPN - working?? - Raspberry Pi Forums

using guidance found here: http://www.sans.org/reading-room/whitep ... y-pi-34427 have appears working vpn on pi2 raspbian can access android mobile phone , nexus 7, using openvpn android. cannot determine whether working , directing traffic through vpn. vpn stauts shows connected , there 'upload' kb , 'download kb. can access internet when ask ip given wan ip. in log there 3 errors: 1, warning, configuration may cache passwords - use auth-nocache option prevent this. (can't find option) 2. warning: 'link-mtu' used inconsistently, local 'link-mtu 1557', remote 'link-mtu 1558' 3. warning: 'comp-lzo' present in remote config missing in local config, remote='comp-lzo' there way confirm either via pi or on phone, route of data is? surprised there 'remote' too. be? code: select all sudo nano var/log/openvpn.log tue jul 7 20:51:32 2015 openvpn 2.2.1 arm-linux-gnueabihf [ssl] [lzo2] [epoll] [pkcs11] [eurephia]

IR Sensor not comparing values

i attempting use arduino , ir sensor (tsop38238) read signal being sent remote control , print response on serial monitor. breadboard set correctly, , can receive signal remote control button1signal 58 line response (see below). take code , place library file called ircodes.h reads: code: [select] int b1signal[] = { // on, off (in 10's of microseconds) 18148, 8660, 4320, 600, 540, 600, 520, 600, 520, 600, 520, 600, 540, 580, 540, 580, 540, 580, 560, 580, 540, 600, 520, 600, 520, 600, 520, 600, 540, 580, 540, 580, 540, 580, 560, 580, 540, 600, 520, 600, 540, 580, 520, 600, 540, 580, 540, 580, 540, 580, 560, 580, 540, 600, 1580, 580, 1600, 580, 1600, 600, 520, 600, 520, 580, 540, 600, 560, 580, 540, 580, 1580, 600, 540, 580, 540, 580, 540, 580, 1600, 580, 540, 580, 560, 600, 1580, 600, 1580, 580, 1600, 580, 540, 580, 1600, 580, 1600, 580, 540, 580, 1620, 600, 1580, 580, 540, 580, 1600, 580, 1600, 580, 540, 580, 540, 580, 540, 600, 520, 580}; however, when try , run ircomman

Help please about a rotary encoder

hello every body i'm new in forum, i'm sorry english not perfect , there might numerous mistakes. i'm begginer in arduino program use rotary encoder push button , don't know how start ask guys please. encode arduino whenever press push button can switch 1 setting , whenever turn rotary encoder can change value of setting ongoing. thank you. here setup made testing encoder. adjusted real time clock altered serial print results encoder less responsive using serial. code: [select] //enumerations of settings const byte ehours = 0; const byte eminutes = 1; const byte eday = 2; const byte emonth = 3; const byte eyear = 4; //constants const byte encbutton = 4;                        //rotary encoder button pin const byte encoder0pina = 7;                     //rotary encoder pin const byte encoder0pinb = 8;                     //rotary encoder b pin const byte led = 13; const unsigned long debouncedelay = 50;          //button debounce time const

Orden en C - Raspberry Pi Forums

hola. estoy intenando usar la raspberry como una central de alarmas. conectado los gpio unas entradas optoaisladas, de forma de que cuando se produzca una alarma, me mande un mensaje al movil con el siguiente programa de python ( solo pongo una parte del progrma, la que monitoriza una de las alarmas) code: select all import rpi.gpio gpio #libreria python gpio import time #libreria time gpio.setmode(gpio.bcm) #establecemos el sisetma de numeracion de pins bcm gpio.setup(17, gpio.in) #ponemos el pin gpio17 como entrada alarma = 0 while true: input = gpio.input(17) if ((input == 1 ) , (alarma == 0)): os.system("echo 'alarma 17 activa' | sendxmpp -t correoxx@gmail.com") alarma = 1 if ((input == 0 ) , (alarma == 1)): os.system("echo 'alarma 17 desactivada' | sendxmpp -t correoxx@gmail.com") alarma = 0 time.sleep(0.05) en python me funciona correctamente

left column change color with different menu items? - Joomla! Forum - community, help and support

how can change color of left column dependend on menu item selected in mainmenu. example: home ->green item2 ->blue item 3 ->black item 4 ->yellow demosite: http://kund.directo.se/www/monarken it seems have done assigning different templates each item if happy this, mark thread solved. if wished within 1 template, change class of left column based on itemid of each menu item , have different background colors each left column class specified in template css. Board index Joomla! Older Version Support Joomla! 1.0 Templates & CSS - 1.0.x

Thread: Need help for a workaround idea for the Kodak 5500 AiO Printer

i've idea script (which don't begin know how do) create workaround of have kodak 5500 aio printer ... except company won't provide linux driver. since can print document windoze in virtualbox, how 'bout script send desired print job virtualbox windoze printer? you enable "unix printing" (lpr/lpd) in windows in vbox use cups talk linux. did standalone machine, i'd think work vbox. Forum The Ubuntu Forum Community Ubuntu Specialised Support Development & Programming Ubuntu Dev Link Forum Need help for a workaround idea for the Kodak 5500 AiO Printer Ubuntu

Raspberry Pi 2, the $45 mini computer. - Raspberry Pi Forums

Image
pretty rpi2 impossible find @ moment $35. there's demand , not enough stock. swag store had in stock yesterday $47 usd each , they're sold out! amazon sells them $45 each, , selling fast vendor changes every day. allied electronics has 3,200 unit order on rpi2, , keeps growing every day(my order won't ship until next month, , order placed last month in may). so, realistically, price of raspberry pi 2 isn't $35 anymore unless want hoops jump through. feel sellers "pi hoarding" @ moment , selling them more they're worth. obviously, there's needs fixed here keep raspberry pi affordable. how $21? http://www.ebay.com/itm/331586241238?_t ... ebidx%3ait discussion here viewtopic.php?f=63&t=113786 raspberrypi

Dynamically Generate Form Field - How?

hi, i'd find out how can form fields dynamically generated based on users input? e.g how many children have? (user enters 2 in form field) 2 empty form fields generated user enterthe names of 2 children. thnks nich the easiest way use cfselect have onchange actionscript unhide text boxes. if use text box, have no real way of knowing user might input. like: <cfslect name="example" label="how many children?" width="55" onchange="{ if (this.example.value==1){this.txt1.visible=true;}}"> <option value=""></option> <option value="1">1</option> etc.. </cfselect> <cfinput type="text" name="txt1" width="100" label="name" visible="no"> More discussions in ColdFusion Rich Forms adobe

Så kom forummet endelig op igen! - Joomla! Forum - community, help and support

Image
gad vide hvad der gik galt dem.... og måske har de lært @ man altid skal foretage en opgradering på en kopi af sitet først  det var hvert fald nogle lange minutter de holdte sig vil give dig helt ret. på velbesøgte sider er det usmart med en "upser" som denne hvorfor det er en rigtig god ide @ prøvekøre opdateringen på en kopi... og jeg troede de var professionelle  Board index Joomla! International Language Support International Zone Danish Forum Diverse (Off topic)

unable to execute user function

we have login program use of our courseware. have started getting error showing "unable execute user code function". on 1 of courses tho. publish exact same login change name used different course , variable tells course jump , works fine. also, 2 out of 3 test computers getting error. there 3 computers, 2 windows xp , 1 windows 2k. gets error on computer win 2k, , laptop win xp. desktop win xp not error. know being caused set file attributes knowledge object, not sure causing it. have tried reloading winapi functions, , have replaced winapi.u32 , winapi.ucd in case got corrupted somehow. well found out has running on network too. moved desktop win xp laptop win xp , ran fine. when run on network, gets error. other courses run fine. also, in login program gets error, aren't in actual course yet. same exact program in different folder seems work fine couple minor changes stating name , course jumps to, works fine on network. More discussions in Authorware adob

Thread: I need your help!

first of, isn't recurring thread. it's different. 'm search well known beginners guide java quick learners with few knowledge on oo short , sweet , doesn't beat bush. nothing 400 pages... thanks. need help! urgent!! please no problem, problem solved! /thread closed <admins?!> Forum The Ubuntu Forum Community Ubuntu Community Discussions The Cafe I need your help! Ubuntu

hi all, i am having problems with lcd readout on this battery charger project..

hi all i having problems lcd readout on battery charger project.. seems give garbage after analogwrite section, before itis fine, going wrong ? i know problem me, patient, if // 3 lines lcd fine, assuming timing problem pwm outputs think, how can cure this, can go further project: code follows : quote find it read it learn it please take own advice.  find, read , learn http://forum.arduino.cc/index.php?topic=97455.0 seeing code in italics, smileys included, entertaining not helpful.  code tags friend. Arduino Forum > Using Arduino > Programming Questions > hi all, i am having problems with lcd readout on this battery charger project.. arduino

Có soft nào giúp creat teamplate joomla ?? - Joomla! Forum - community, help and support

Image
các anh ơi cho em hỏi có soft nào giúp creat template của joomla ko ạ ai biết template nào trang nha, màu sáng và cool share em với have fun ! soft do' la` macromedia drean weaver do' em...setup xong thi` setup cai' extension joomla/mambo cho no'...ok! Board index Joomla! International Language Support International Zone Vietnamese Forum Hỗ trợ kỹ thuật

ap.show_letter('1') - Raspberry Pi Forums

this problem has been solved: ************************************************************************************************ why won't countdown work? if first time - pickle set - [*] scroll n , enter it. [*] scroll one should able scroll 1 if have done before , not deleted data files execute terminal sudo here's code: code: select all #! /usr/bin/python # import modules , functions import os , time , curses , pickle , random astro_pi import astropi time import sleep import pickle ap = astropi() ap.clear() # clear screen... # set data: variables , lists , dictionaries , functions etc... # stored data: (in pickle) if not os.path.isfile( 'numberofpeople.dat' ): # if there not correct file exising... numberofpeople = 0 # set variable file = open( 'numberofpeople.dat' , 'wb' ) # set setup variable pickle.dump( numberofpeople , file ) # dump data in file file.close() # close file else: # if file exist... file = open( 'num

greeter.ui modified not able to login anymore - Raspberry Pi Forums

Image
hey all, did huge mistake modifying greeter.ui. can´t access pi anymore. whole screen blinking alt+ctrl f3 or f2 or f1 not working. ssh not activiated yet. can do? don´t want lose configuration. knows how can repair this? tried use windows pc read sd-card, wasn´t able locate greeter.ui file substitute it. one way access files put raspberry pi single user mode adding init=/bin/sh cmdline.txt. way sd-card , use boot raspberry pi , mount original sd-card using card reader. way live linux cd , boot pc linux , use mount sd-card. raspberrypi

Help wanted with digital 220 VAC switch

for home automation project, want 3,7-volt-signal of motion sensor (or arduino) switch on 220-vac-device. on forum, found old discussion http://forum.arduino.cc/index.php/topic,24335.0.html schematic in picture 1. rather new looked safe solution problem. copied circuit in eagle , made pcb (see pictures 2 , 3 below). connected motion sensor, mains 220 vac , 35 ma led-lamp (picture 4). motion sensor on, lamp shining right, expected. but motion sensor off, lamp blinking frequency of half second. motion sensor disconnected, no digital input, blinking occurs. expected no current lamp without input moc3041 optocoupler. can explain why happens? thanks! nope, can't spot fault now, have dangerous blunder in pcb pattern design; have trace passing under moc3041.  should never have trace under optocoupler, in fact pcb should instead slotted under , @ least 5 mm on either end.  trace should instead have been run under r3. that said, there no obvious answer pro

wiringPi undefined issues in Qt - Raspberry Pi Forums

Image
hi, trying use wiringpi , led light (just learn how talking) interface using qt while using c++. keep getting undefined reference wiringpi try use. ex undefined reference 'wiringpisetup' have wiringpi.h in include list , have wiringpi.h added project other .h files , nothing working. apprecited. wow. must urgent issue. felt necessary create 4 topics. information, considered bad practice raise more 1 topic on same issue. raspberrypi

Permisos - Joomla! Forum - community, help and support

buenas tengo una pequeña duda, cuando pongo en los permisos de los componente publico, todo el mundo puede verlo y bajar .... y cuando lo pongo privado no lo pueden ver en el menu sino usuarios registrado ... quiero que los usuarios todos lo puedan ver pero q solo los usuarios registrados puedan acceder ..... fijate en la opción show "unauthorized links:" del global configuration del backend. esa opción te permite mostral los contenidos de usuarios registrados (los títulos) aunque no estés logeado, pero para ver toda la noticia, debes ingresar con tu nombre y password. espero te ayude Board index Joomla! International Language Support International Zone Spanish Forum Versiones de Joomla! obsoletas Joomla! 1.5

Flex Builder Help System over PROXY

need making flex system working on proxy connection. on home network when using f1 key getting panel in flex builder , can click on topic see content. however, when same on proxy connection @ work, getting panel , listing of topics. however, when click on topic, getting "action cancelled. internet explorer unable link web page requested. page might temporarily unavailable. " error message. i tried setting proxy settings in 'install/upgrade" section of windows ->preferences window, didn't solve issue. thanks in advance. More discussions in Flex (Read Only) adobe

IR remote(LIRC) - Raspberry Pi Forums

hi have sharp ir remote , trying make working rpi 2b,i followed instructions using link http://alexba.in/blog/2013/01/06/settin ... spberrypi/ now, can see signal on terminal using command''mode2 -d /dev/lirc0'' did not find how setup ir remote. followed following link http://www.weedpi.com/how-to/add-ir-sup ... pberry-pi/ seems ,but when put command ""irrecord -d /dev/lirc0 ~/lircd.conf'' program start , when press key, can see dots. problem , what must or press when finish ir remote keys ?? because not clear , bouse press enter or somtimes stop pressing secound, eerros appear ''irrecord: no data 10 secs, aborting'' ''irrecord: gap not found, can't continue '' if there library(not lirc) plz let me know. lirc game in town. follow on-screen instructions using irrecord. raspberrypi

At kunne tilbyde andre en blog? - Joomla! Forum - community, help and support

hej, jeg ville lige høre om nogen kender til et os system hvor man kan tilbyde andre webblogs? som [url banned] eller de andre, dog behøver det ikke @ være så fancy... jeg har forsøgt @ finde noget...men syndtes ikke rigtigt det er lykkes. hvis det ikke skal være integreret med joomla!, så er wordpress mu en rigtig god løsning. det er en videreudvikling af wordpress, hvor du den "almindelige" wordpress kun kan køre en blog med en eller flere brugere samme installation, kan du wpmu køre flere blogs med en eller flere bruger tilknyttet den enekelte blog. download på http://mu.wordpress.org/ det er det system der bl.a. ligger bag ved http://blogbar.dk/ Board index Joomla! International Language Support International Zone Danish Forum Diverse (Off topic)

Consiglio Acquisto modello arduino e negozi

Image
salve girando da alcuni giorni ho visto tanti progetti che mi piacerebbe realizzare con arduino, mi consigliate il modello da comprare, il kit per iniziare e un negozio buono che si spende bene? ? calcolate che vorrei poi in un futuro per delle mie prove sensori e varie shield tipo quella gsm...... grazie bandit72 Arduino Forum > International > Italiano > Generale (Moderator: leo72) > Consiglio Acquisto modello arduino e negozi arduino

Page Not Found - Joomla! Forum - community, help and support

excuse me being new, seem have big problem.  every link, whether new or original content cannot opened.  every click leads 404 page not found error.  can't come on forums.  have checked of settings, can't work.  index page loads , updates fine, far can get.  4 ur help not info go on... did perhaps turn on sef in joomla configuration did not rename htaccess file? if turn on sef, need go root of installation , rename htaccess.txt .htaccess. you can test going site / global configuration / sef , turning oit off. hope helps brendon Board index Joomla! Older Version Support Joomla! 1.0 Administration - 1.0.x

Porta ethernet non più funzionante (arduino ethernet board)

salve. sono nuovo del forum. ho cominciato da alcuni mesi lavorare con arduino ed in particolare sulla board ethernet rev 03. la prima scheda che ho preso era poe. durante primi approcci, oltre che con la usb, l'ho alimentata con un alimentatore da 9 v/600 ma/5.4va. quando sono arrivato provare la porta ethernet questa non ha mai dato segni di vita (led di alimentazione e comunicazione spenti). ho comprato il alimentatore poe da mettere in line ma niente è cambiato. ho provato collegarla direttamente ad un pc e ancora niente. allora pensando di aver creato problemi durante le prime prove ho comprato un altro arduino ethernet ma non poe. tutto funzionava compresa la porta ethernet fino quando non ho riprovato ad alimentare con lo stesso alimentatore di cui sopra. si è sentito un rumore come di "frittura" e da quel momento non hanno più funzionato la porta ethernet e l'sd (che prima andava). il resto va ed ho provato con successo anche lo shield rtc e la tlt l

HighSide motor driver help?

hi, im looking make dc motor driver controller. right use vnh5019 motor driver carrier pololu. it works ok, but..... want buy own, several reasons.... i know vnh fullbridge ect..... now not 100% shure is - if use motor driver => high side vn920-e - ic, driver high side - can drive motor using pwm , ic driver? - motor brake on vnh ? quote - can drive motor using pwm , ic driver? yes quote - motor brake on vnh ? no. the 2 wires of motor must shorted break. can h-bridge. Arduino Forum > Using Arduino > General Electronics > HighSide motor driver help? arduino

Automatic in-field Due reflash

hi guys, if needed reflash sam3x8e while it's sitting in physically inaccessible place, how it? in our system, have raspberry pi providing wifi connectivity internet on 1 side, connected on spi sam3x8e on other side. we want have capability remotely reflash firmware on sam. best way done? uart work 1 sam - may have multiple sam-based heads in our system. any ideas? thanks, valery can specify needs little bit more: does " physically inaccessible " mean, wiring impossible? is possible, have hub-kind device, sam3x8e-devices can cabled to, has connection how many devices expect? one rough idea jtag:   it no problem reflash due openocd. jtag allows chaining devices, should possible, connect several sam3x8e in chain, using 1 jtag-connector flash them all. (http://www.atmel.no/webdoc/avrdragon/avrdragon.section.sqr_osd_lc.html) i have no idea, if openocd available openwrt. if yes, there should lot of cheap devices out there, act gateway-hub.

DC motor questions

Image
lately have been working on how dc motor running without shield if knows how please inform me. have looked everywhere , have not found successful outcome. =( if have downloaded arduino ide there example of how run motor. open ide, go file, examples, 10.starter kit, p09_motorizedpinwheel. this started on how control small dc motor. hope helped. Arduino Forum > Using Arduino > Motors, Mechanics, and Power (Moderator: fabioc84) > DC motor questions arduino

raspberry pi REAL TIME OS - Raspberry Pi Forums

Image
hi guys, trying create plc in real time raspberry pi, , have tried build , compile linuxcnc , xenomai link http://wiki.linuxcnc.org/cgi-bin/wiki.p ... nomaibuild have failed multiple times. have prebuilt image tested , working? can recommend me step step guide on how install linuxcnc , xenomai have used? tnks in advance lol seems strange question. not sure might have edited linuxcnc wiki page couple of years ago, or maybe kinsa? think there better ways ask question, try asking on linuxcnc thread here or go , ask on machinekit google groups mailing list. there apparently lots of precompiled images, never tried though, if want compile easy now, still requires learning , reading, using rpi rt_preempt kernel patch easy compile no patch failures last time tried it. performance seems @ least average x86 system software step gen. doubt hand holding, if have 30 hours spare i'm sure learn how reading docs, google research, , experimenting minimal help. have not looked

Add NAS with NFS - Raspberry Pi Forums

hi, i'm trying run plex server pi 2. i've used tutorials set minibian , plex, , add usb drive. working fine. however, of media stored on nas (a wd mycloud - assume has form of linux it's os) , want add stored media folder. i've been doing reading , think better way of adding via nfs. pi connects network hub nas, doesn't need have windows (i assume). i've followed various tutorials try , mount flipping thing, no joy. know ip of wd drive, folder want add /public , have made mount folder of /mnt/nas on pi. i've tried following :- pi@raspberrypi:~$ sudo mount -t nfs 192.168.1.xxx:/public /mnt/nas , error mount.nfs: access denied server while mounting 192.168.1.xxx:/public ideas go this? raspberrypi

MPU 9150 compass data reading -1

Image
hi getting -1 compass data. please help. chandra  here code using void read_mag_data(int cmps[3]) {     mpu9150_writesensor(mpu9150_int_pin_cfg, 0x02); //set bypass magnetometer   mpu9150_i2c_address = mpu9150_cmps_addr; //change adress compass   mpu9150_writesensor(0x0a, 0x00); //powerdownmode   mpu9150_writesensor(0x0a, 0x0f); //selftest   mpu9150_writesensor(0x0a, 0x00); //powerdownmode   delay(10);   mpu9150_writesensor(0x0a,0x01);  // enable magnetometer   delay(10);   cmps[0]=mpu9150_readsensor(mpu9150_cmps_xout_l,mpu9150_cmps_xout_h);   cmps[1]=mpu9150_readsensor(mpu9150_cmps_yout_l,mpu9150_cmps_yout_h);   cmps[2]=mpu9150_readsensor(mpu9150_cmps_zout_l,mpu9150_cmps_zout_h);     mpu9150_i2c_address=mpu9150_addr_default; } int mpu9150_readsensor(int addrl, int addrh){   wire.begintransmission(mpu9150_i2c_address);   wire.write(addrl);   wire.endtransmission(false);   wire.requestfrom(mpu9150_i2c_address, 1, true);   byte l = wire.read();   wire.begintransmission(mpu9150

MiniBian and wifi (HOWTO & preconfigured image) - Raspberry Pi Forums

i've been using minibian while since "raspbian without bloat" , fits on 512mb card: https://minibianpi.wordpress.com/features/ ethernet, came across trouble getting wifi work... thought i'd write steps below: minibian minimal doesn't have wifi drivers built in... install wifi drivers: code: select all apt-get install firmware-ralink apt-get install firmware-realtek test things working doing scan networks code: select all apt-get install wireless-tools iwlist wlan0 scan we'll set auto connect: code: select all apt-get install wpasupplicant edit /etc/network/interfaces: code: select all auto lo iface lo inet loopback allow-hotplug eth0 iface eth0 inet dhcp allow-hotplug wlan0 iface wlan0 inet manual wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf iface default inet dhcp edit /etc/wpa_supplicant/wpa_supplicant.conf: code: select all network={ key_mgmt=none priority=-999 } above sets connect open wifi. made ima

Need MAJOR Help here PLZ, PLZ. Remository/Joomla and Error 500 - Joomla! Forum - community, help and support

hello. tried post in components forums, no answer , maybe can solved here, @ point lookin provider host site, , after tests did not sound component issue anymore. i have latest joomla version installed 1.0.11. installed fresh, no data, no nothing. installed remository component. added few files downloads section. whenever tries download larger file, above 8-10 mb in size, gives error 500 blank page. if try download small, works 100%, no issues. i contacted provider (siteground), , informed them of this. looked it, , told me because have sef enabled  in joomla. disabled sef , tried site downloads , worked. so, went in backend myself, , disabled sef, , tried myself, sure. no luck, cant download sef on or off. informed provider of this, , returned saying "sorry nothing more can you", mind fresh install of joomla , remository thru fantastico. no other mods, nothing. has had type of issue or knows problem be, or check for? (it doesnt matter version of remository, tried them all).

Listening to USB device - Raspberry Pi Forums

hi, have couple of usb devices. want listen and/or send data. problem have trouble opening port device. connecting arduino-based controller name changes between '/dev/ttyacm1' , '/dev/ttyacm0' have barcode scanner , yet unable find port connected. line use open port looks this: device = open('/dev/ttyacm1', 'rb') so, question: there way connect specific usb port constant name? yes, google "udev rules" raspberrypi

anemometer - frequency library

hi ther ! have tcst 2103 sensor , arduino uno, want find frequency library calibrate anemometer english bad , dont understand many thinks... why #include <freqcount.h> library doesnt work in ready projects found. errors: sketch_apr15a:11: error: 'freqcounter' has not been declared sketch_apr15a:12: error: 'freqcounter' has not been declared sketch_apr15a:13: error: 'freqcounter' has not been declared sketch_apr15a:15: error: 'freqcounter' has not been declared or digitalinputpullup:9: error: 'freqcount' not declared in scope thanks ! most common reason kind of error not installing library or not proper location. can provide details of uploaded library too. Arduino Forum > Using Arduino > Sensors > anemometer - frequency library arduino

Data storage on SD card - file organisation, library search.

hello. i want use sd card storing way point in project of robot gps navigation system. file format (single string): x<space> a.aaaaaa <space> b.bbbbbb where: x - way point index 1 nn a.aaaaaa - latitude in decimal format b.bbbbbb - longtitude in decimal format who ever solved similar problem? any underwater stones? may exist library working structured files? thanks. sorry bad english. i'm not sure why want "structured files". a simple solution might store data fixed length strings , retrieve nth string skipping appropriate number of bytes. ...r Arduino Forum > Using Arduino > Project Guidance > Data storage on SD card - file organisation, library search. arduino

Thread: Converting videos (TRP/TS) to DiVX/XVid with CLI?

is there out there let me mass encode large .trp/.ts files xvid or divx command line? little bash scripting make many files, think. i'm learning bash scripts. i'm trying go through pvr drive , convert every video file divx or xvid. using gui quite difficult , time consuming (unless "flatten" directories, still.. i'm wanna-be 'command'o!). of course, make life more difficult, instead of single files, they're split .trp,.001,.002 files. it'd extremely nice if there cli program join them, i'd happy being able encode them. suggestions? Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Multimedia Software [all variants] Converting videos (TRP/TS) to DiVX/XVid with CLI? Ubuntu

[SOLVED] Incomprehensible serial monitor outputs after running this code.

hello! professor , doing research requires make inexpensive multi-channel analyzer. component of mca arduino uno, want turn adc. uno, however, slow turned instructable sketch that's supposed increase frequency @ uno reads analog signals. however, when we try run code (with minor changes) serial monitor outputs data makes no sense. original code can found http://www.instructables.com/id/girino-fast-arduino-oscilloscope/ , , titled girino.7z. here changes made; * when download girino code , turn on debugging (by setting debug=1 in girino.h), expected output: code: [select] # setup() girino ready # adccounter: 0 # stopindex: 65535 # wait: 0 # freeze: 0 101111 0 # adccounter: 0 # stopindex: 65535 # wait: 0 # freeze: 0 101111 0 // repeats * if add single print statement in setup() function, print statement repeatedly executed (strange) , output garbled. code: [select] void setup () { ..... serial.println("girino ready");        serial.println(" x1 we're

ช่วยดูหน่อยครับ อัพแล้วเกิด error - Joomla! Forum - community, help and support

Image
เว็บขึ้นครับ แต่มี error เป็นเพราะอะไรคร๊าบบบบ บรรทัดที่ error ครับ  joomla.php 697 setcookie( $sessioncookiename, '-', false, '/' ); index.php 226 header( 'expires: mon, 26 jul 1997 05:00:00 gmt' ); 227 header( 'last-modified: ' . gmdate( 'd, d m y h:i:s' ) . ' gmt' ); 228 header( 'cache-control: no-store, no-cache, must-revalidate' ); 229 header( 'cache-control: post-check=0, pre-check=0', false ); 230 header( 'pragma: no-cache' ); 1. แล้วที่เครื่องตัวเอง localhost  มันขึ้น error หรือเป่า      2. หรืออาจใช้ @ แก้ไปก่อน joomla.php 697 @setcookie( $sessioncookiename, '-', false, '/' );  index.php 226 @header( 'expires: mon, 26 jul 1997 05:00:00 gmt' ); 227 @header( 'last-modified: ' . gmdate( 'd, d m y h:i:s' ) . ' gmt' ); 228 @header( 'cache-control: no-store, no-cache, must-revalidate' ); 229 @header( 'cache-control: post-check=0, pre-check=0'

problem with running my program in python - Raspberry Pi Forums

i wrote following code on computer , it's worked. code: select all #!/usr/bin/python3 os import path import gi gi.require_version('gst', '1.0') gi.repository import gobject, gst, gtk # needed window.get_xid(), xvimagesink.set_window_handle(), respectively: gi.repository import gdkx11, gstvideo gobject.threads_init() gst.init(none) class player(object): def __init__(self): self.window = gtk.window() self.window.connect('destroy', self.quit) self.window.set_default_size(800, 450) self.drawingarea = gtk.drawingarea() self.window.add(self.drawingarea) # create gstreamer pipeline self.pipeline = gst.pipeline() self.pipeline_a = gst.pipeline() # create bus events gstreamer pipeline self.bus = self.pipeline.get_bus() self.bus.add_signal_watch() self.bus.connect('message::eos', self.on_eos) self.bus.connect('message::error', self.

Final version of RCL tester. - Help me choose components. Frequency dividers.

Image
i want send impulse rcl circuit , measure self frequency, amplitude decay , time next pulse in such way gives rcl push without subtracting existent oscillations or effecting resonance frequency. a self-tuning generator. i decided circuit should this. maybe there optimized ic solution, haven't found 1 yet. how fast can asynchronous buffers go before missing step? i thinking of using 2 programmable counters - 1 trip when "1" byte comes out of buffer , 1 long - term self-frequency measurement of rcl circuit. for counter need along lines http://www.jameco.com/jameco/products/prodds/2178988.pdf ( ) for buffer ic, not sure for. my "1" has shorter  my microcontroller can create, since test high impedance rcl circuits -- rcl ring while. give arduino time calculate when next pulse should generated meets crest of self-oscillation wave. this idea behind self-tuning circuit. rcls have self-frequency @ 100khz 1mhz clock serves buffer , synchronous dividers have run

How do I know what bootloader I just uploaded?

hi, i have mega2560 , ide 1.0.5. in order use watch dog timer updated bootloader shipped arduino. now im having serious issues of chips keep locking after few seconds of operation when running sketches have tested in past run endlessly , without hesitation. i want update bootloaded stk500v2/stk500boot_v2_mega2560.hex cant life of me determine if bootloader have uploaded. could please point me indicates bootloaders supplied different ides (especially v1.0.5)? or show me way check version loaded on arduino self? thanks! the easiest way confirm bootloader version installed upload bootloader. once that, @ boards.txt see uploaded. Arduino Forum > Using Arduino > Programming Questions > How do I know what bootloader I just uploaded? arduino

Thread: I'm worried about my cat.

my poor cat skinny bone. feed her, give shelter, love, , regular (about every year) vet check ups. fed fine, other cat, feed same, vomits of food, , has weak purr, sensitive, , i'm 1 worried. should be? how old she? had 20 year old siamese losing teeth, required pick on counter feed her, , soft food only. unfortunately friend, had put down. take cat vet immediately. Forum The Ubuntu Forum Community Ubuntu Community Discussions The Cafe I'm worried about my cat. Ubuntu

sound - Raspberry Pi Forums

i new raspberry pi. have raspberry pi 2, model b, 1gb. works sound. have plugged in headset , tried powered speakers audio jack, no avail. help learstar learstar wrote: i new raspberry pi. have raspberry pi 2, model b, 1gb. works sound. have plugged in headset , tried powered speakers audio jack, no avail. help learstar https://www.raspberrypi.org/documentati ... -config.md raspberrypi

Quirky nRF24L01 voltage issues

Image
hi all, i have issue nrf24l01 module fail understand issue.  after various attempts hope here can maybe shed light on problem. the arduino using pro mini 5v. so, somehow need 3.3v vcc of nrf24l01 module needs that. i have tried various options, none work - one. in case printdetails() of rf24 library meaningful). , 1 rather strange... electronics not per se thing, tinker , learn on go. maybe missing detail. not working: 1) making voltage divider using 2700 , 5600 resistor. according https://learn.sparkfun.com/tutorials/voltage-dividers/all return 3.36 volt. voltmeter agrees. 2) same setup, adding capacitor between vcc/gnd going module 3) using 4x 1.2aa nimh batteries power entire arduino (leaving ftdi vcc/gnd disconnected) on raw , gnd pin. making voltage divider these bateries.. still 0x00 4) using 2x 1.2 aa nimh batteries (giving 2.9v, freshly charged) directly power module (with , without capacitors), , arduino ftdi. working: 5) powering arduino ftdi (or battery) , nrf24l01

Commercial use of arduino code.

hello, have been wondering if there imposibilities or requirements make commercial use of arduino code. have been paid make dvelopment , arduino mega2560, , want make dedicated board design, making. so, if make schematic design atmega2560 , burn bootloader on can use code wrote, know, there inconvenient if want sell board, , make mass production of it? don't know these limitations, not seen in country. possible use code in manner? or should make new development in environment? know as can this. thanks in advance. maybe if posted in gigs & colaborations section might know. Arduino Forum > Using Arduino > Project Guidance > Commercial use of arduino code. arduino