Search for picaxe in Topics


PICAXE!?!?!?!?!?!?!? Answered

In which language is picaxe programmed and in which language is the arduino and which is better!@!

Question by oallaa    |  last reply


picaxe?

I need basic info on picaxe micro and in which language is it programmed in

Question by sanjivani    |  last reply


PIcaxe servo? Answered

How to i control a servo with the picaxe can someone explain in detail i saw in the command section the servo and servopos commands but didnt quiet get it can someone plzzz explain it to me ang give a eg code for making a servo move from side to side .

Question by robot1398    |  last reply


PICAXE Code? Answered

I am not able to understand why is FOR loop used for the irout command can someone please tell me. Another ques can I use the serout pin for the IRout command Heres the Code: for b1 = 1 to 10    irout B.1,1,5    pause 45 next b1

Question by Bot1398    |  last reply


picaxe sensitivitį

Hi there instructables, recently I have bought a picaxe starter kit, soldered it and stuff, played with some code and leds, but now I want to make a time control, so I bought a cheepo alarm clock, desolder the piezo beeper and extended the wires so I can conect them to my picaxe, turns out its too sensitive, the pin I've set to input piks up heat fom my fingers about a centimeter away, breath too, I think it picks up grounding as a signal too, does it ment to be that sensitive or have I messed something up with soldering or the code?  heres the code I used  main: if pinc.4 = 1 then goto led goto main led: high c.1 pause 500 low c.1 pause 100 goto main

Topic by batonas    |  last reply


picaxe code? Answered

Sorry Rickharis for again asking a picaxe question but here it is. give me a simple program to make a simple dice with a picaxe

Question by robot1398    |  last reply


buy picaxe in india? Answered

Where can i buy picaxe in india and if not where can i buy it frm the internet without using credit card

Question by e=mc^2    |  last reply


Serin command with picaxes? Answered

Well i noticed that with the serin command that if it doesn't receive anything it just hangs their on the command. and i was wondering if anyone knows how to set some sort of timeout.

Question by wee_man    |  last reply


PIC & PICAXE Hardware

Hi, I have found these folks that are selling PIC & PICAXE hardware, http://stores.ebay.co.uk/The-Electronics-Hobby-Shop/Genie-PIC-PICAXE-Kits-and-PCBs-/_i.html?_fsub=4724566013&_lns=1&_sid=682369153&_trksid=p4634.c0.m322 Laters!

Topic by davidbraith  


Picaxe and Servo problem

Ive been using this picaxe uC for a while and have had no problems, but in my latest project I wanted to pan a servo back and forth. Problem: for the life of me I can only get the servo to move in one direction. It is a GWS pico servo and I have "operated" it on 5v and 6v, so i dont believe it to be a voltage issue. coding issue perhaps? ( I have tried the SERVO command, the SERVO and SERVOPOS command, and even the correct PULSOUT commands to no avail) I have scoured other forums, even rev-ed.com's, but no one seems to have my same problem. As far as I know the SERVO command SHOULD work fine but doesnt. I have tried the commands with and without a 220 ohm resistor on the signal wire, but this seems negligible. When my picaxe 18x is loaded with any servo capable code and the connections are all hooked up, the servo simply moves all the way and stops. the only way i can "reset" my servo to its original position is by quickly removing and tapping the V+ or GND supply wire to the servo. after the servo has moved I can feel the tiny motor jiggle whenever I tap the signal wire as if trying to work. ANY suggestions are welcome!

Topic by Aleator777    |  last reply


picaxe code help? Answered

Here is the code for a breathnalayzer using picaxe14m2  ignore the if b2= as i have to experiment and get the values and i havent done so. the code stores messages in eeprom and in the starting it operates a rgb led to create effects the code: low B.0'initialise lcd outpu pause 500'wait for lcd to initialise 'load messages in eeprom EEPROM 0,("NO ALCOHOL") EEPROM 10,("ONE OR TWO DRINKS") EEPROM 27,("BUZZED") EEPROM 33,("DRUNK") EEPROM 38,("WASTED") EEPROM 44,("BLOW ON THE SENSOR FOR 5 SEC") high b.2'red pause 2000 low b.2 high b.3'green pause 2000 low b.3 high b.4'blue pause 2000 low b.4 pause 1000 high b.3,b.4'sky blue pause 2000 low b.3,b.4 pause 1000 high b.2,b.4'pink pause 2000 low b.2,b.4 pause 1000 high b.3,b.2'yellow pause 2000 low b.3,b.2 pause 1000 high b.2,b.3,b.4'white pause 2000 low b.2,b.3,b.4 pause 1000 for b0=45 to 75 'print blow on the sensor read b0,b1 serout B.0,n2400,(254,1,b1) next b0     main:readadc B.1,b0      if b2=54 then main1      if b2=45 then main2      if b2=45 then main3      if b2=45 then main4      if b2=245 then main5      goto main      main1:high b.3'on green led       for b3= 0 to 9'print no alcohol       read b3,b4'read eeprom locations 0to10       serout b.0,n2400,(254,1,b4)       next b3       low b.3       goto main       main2:high b.4'on blue led       for b5= 11 to 27       read b5,b6       serout b.0,n2400,(254,1,b6)       next b5       low b.4       goto main       main3:high b.3'sky blue       high b.4       for b7= 28 to 33       read b7,b8       serout b.0,n2400,(254,1,b8)       next b7       low b.3       low b.4       goto main       main4:high b.3'yellow       high b.2       for b9= 34 to 38       read b9,b10       serout b.0,n2400,(254,1,b0)       next b9       low b.3       low b.2       goto main       main5:high b.2'red danger       for b11= 39 to 44       read b11,b12       serout b.0,n2400,(254,1,b12)       next b11       low b.2       goto main

Question by robot1398    |  last reply


PICAXE Electronic interference?

I have solved the problem by making two changes.Firstly, a 22k resistor was put from I/O 2 to ground.Secondly, I had to modify the program to be the following, and accept any value as an input as long as it was not 0. The new program is shown below:main:low 1 &apos;discharge led on Pin 1input 2 &apos;make pin 2 an inputreadadc 2, b1 &apos;read pin 2 using ADCif b1 > 0 then flash goto main &apos;loop back roundflash:&apos;led sequencehigh 1pause 100low 1goto mainI've been having a bit of an odd problem...I'm trying to use a PICAXE 08M with a touch input, so a user touches a wire or bridges 2 wires and the uC responds based on the program, at the moment, turns an LED on.Now, Initially, I've tried a few things, until sort of by accident I noticed that using the program I was, the LED turned on by touching the input pin of the PICAXE, with nothing attached to it except one short piece of wire. I know the human body has certain capacitive qualities, but I wouldn't have thought it would be enough for this. The LED started turning on when I got close to the breadboard it was on, never mind the wire.I tried moving the board, while I had my finger on the wire, and found that when I got a certain distance from my laptop (About 1 ft or so) the LED would go out, and not come on again. Strangely, it does the same when my laptop is turned off!So what I was wondering is, what could my laptop be doing that enables the PICAXE to get an input from seemingly nothing? Could it be some sort of EM field from it? Incidentally, the same thing happens close to my TV.The code i'm using is below.main:low 1 &apos;discharge led on Pin 1input 2 &apos;make pin 2 an inputreadadc 2, b1 &apos;read pin 2 using ADCif b1 < 40 then flash goto main &apos;loop back roundflash:&apos;led sequencehigh 1pause 100low 1goto main

Topic by whatsisface    |  last reply


Picaxe Coding Help?

Ok, i havemade a little picaxe code that i hope will do exactly what i want. I made this to make a light show from a light show... the imput is the 1 led that would normally be blinking like a maniac. I want to use its blinking to make another light blink a little more interestingly. PLEASE TELL ME IF THIS WILL DO WHAT I WANT! CODE: main: pulsin 6, 1, b3 if b3< 50 then high 9 pause 2 else low 9 pause 2 endif if b3< 10 then low 9 pause 500 high 9 else high 9 pause 100 low 9 endif if b3> 50 then low 9 pause 900 high 9 pause 17 low 9 pause 220 high 9 else high 9 pause 20 low 9 pause 416 high 9 pause 22 low 9 endif if b3> 10 then low 9 pause 20 high 9 pause 921 low 9 pause 19 high 9 else high 9 pause 543 low 9 pause 22 high 9 pause 611 low 9 endif if b3< 25 then low 9 pause 442 high 9 pause 224 low 9 else high 9 pause 61 low 9 pause 669 high 9 endif if b3> 25 then low 9 pause 229 high 9 pause 29 low 9 endif if b3< 75 then high 9 pause 224 low 9 pause 442 else low 9 pause 424 high 9 pause 242 endif if b3> 75 then high 9 pause 717 low 9 pause 171 else low 9 pause 123 high 9 pause 321 endif goto main I am using a picaxe 14m with a serial programmer. i just need to know about the code. And dont ask "why dont u test it urself" I have good reason not to test it. The board is in another state... anyway, plz tell me about the code and if it will work. If possible, make sudjustions.

Question by sci4me    |  last reply


Getting started with PICAXE? Answered

I want to get started using PICAXE microcontrollers after using both PICs and AVRs before, and I have already learned the BASIC language, it's pretty easy, as the name would suggest. My main interests with them are that they can be easily programmed with two resistors and a 3-pin serial cable, they are easy to program and have ADC inputs, and also audio functionality. What would be a good place to get started, I was looking at the 08M, but it looks like it was recently discontinued and replaced by the M2. The reason I don't really want to move on is because I have just learned the pinouts and functions for the 08M, and also a lot of projects here on instructables utilize it. I was looking at building the tic tac tunes.I also noticed that it has the markings "12F683", so does this mean I could just buy a pic 12F683 chip and use it as a picaxe? Are they identical or is there a subtle difference in them. I also noticed that the audio functionality seems to be very limited in that the smaller chips only do polyphonic notes, and the mid sized chips only do mp3 from eeprom, and only the very large 40 pin chips do audio. What is the smallest chip that supports a full range sound file. Memory shouldn't be too much of a problem as the clip is only about a second long, so one with 256k should be fine, as long as it features internal audio. My last question is what should I buy, as in chips (universal and common experimentation chips), and any other accessories I may need. By the looks of things, all I need is the chip, a headphone socket, resistors, and a download cable.

Question by andy70707    |  last reply


Simple picaxe robot? Answered

A simple picaxe robot controlled by a remote using picaxe 08m2

Question by e=mc^2    |  last reply


Yet again PICAXE? Answered

I wanted ti make a matrix using picaxe plzzzzzzzzzzzzzzz HELP

Question by sanjivani    |  last reply


Help with PicAxe USB drivers? Answered

I just bought a Picaxe usb cable but im having some troubles instaling the drivers can anyone help? AndyGadget???

Question by west49rules    |  last reply


Picaxe Programing??? Why wont my picaxe program circuit work??? Answered

I have repeatedly tried programming my picaxe with all the different schematics on the Internet and on the picaxe site but none of them have been a success would anyone be able to post a schematic that you have had success with for me? Thanks

Question by west49rules    |  last reply


Will the Picaxe System run on Windows Vista? Answered

On the Picaxe website, it says that the software will run on any Windows program but does not mention Windows Vista. Will it run on my Vista computer?

Question by DELETED_afw11    |  last reply


Picaxe 08m starts randomly blinking? Answered

I program my picaxe turn it on and it runs sweet for about ~20s and then after perfect operation the led that was on starts blinking and it then doesn't respond to any thing? The function of this program was to turn an led when the readabc from an input is under 100. when i connect the +ve to the input it makes the debugger say 255 but then it doesn't get any new debug data some times all the other variables change as well and its real erratic. Any reasons why this may be happening?

Question by wee_man    |  last reply



will this code work? Answered

Q1-here is the code for picaxe 08m2 will it work or something is wrong Q2-to repeat a code what value do i have to give for the FOR loop i have assumed it to be 0 to 0 THE CODE--------- main: if pinc.4 = 1 then main2       if pinc.0 = 1 then main3       if pinc.1 = 1 then main4       goto main       main2:for b0 = 0 to 0       play 2,0       next b0       pause 2000       goto main       main3:for b0 = 0 to 0       play 2,1       next b0       pause 2000       goto main            main4:for b0 = 0 to 0       play 2,3       next b0       pause 2000       goto main

Question by e=mc^2    |  last reply


needing a little advice on Microcontrollers Answered

Ok i am hoping someone can help me with this, i am not real new to electronics but i am to Microcontroller's i have done a lot with 555 and 4017s and transistors and so on the basic stuff. but my wife's letting me pick out what i want for my b'day and i am thinking about getting the picaxe from Sparkfun ( http://www.sparkfun.com/products/10803 ). and i am not sure what all i need i know i need the programing cable ( http://www.sparkfun.com/products/8313 ), but do i need this stuff the Ceramic Resonator ( http://www.sparkfun.com/products/9993 ) the PICAXE Bread Board Adapter ( http://www.sparkfun.com/products/8331 ) Breadboard Power Supply 5V/3.3V ( http://www.sparkfun.com/products/114 ). also i do have a decent homemade breadboard pic included to make sure its ok for gettin started in microcontroller's provided links to make my question easyer to answer (i hope), also i dont know any programing but i am wanting to learn i am just wondering if this would be the way to get started and what i would need. Thanks in advanced for any help? William

Question by World of warcraft junkie    |  last reply


Question about linux and serial port? Answered

The instructable https://www.instructables.com/id/Control-real-world-devices-with-your-PC/ all the code is done in VB.net and im using linux nw and i need someway to set this up in linux i don't mind if it is flash for not i just need it to work

Question by wee_man    |  last reply


What is the difference between a picaxe 08 microcontroller and a 08M microcontroller? Answered

What is the difference between a picaxe 08 microcontroller and a 08M microcontroller? is the 08m better? If so for what reason?

Question by Barramundi    |  last reply


what is the difference between picaxe and picbasic? Answered

And which one would you advise?

Question by selujtje    |  last reply


how can i make a picaxe 20x2 8x8 led dot matrix?

I want to make an 8x8 led matrix with the new picaxe 20x2 and i want to know if anyone has done this before with a similar picaxe chip!!!

Question by thecookiemonster    |  last reply


PICAXE-28X1 Starter Pack (USB) vs Arduino diecimila

PICAXE-28X1 Starter Pack (USB) vs Arduino diecimila which of these two boards is better for a beginner?

Topic by silva_p    |  last reply


How do i program picaxe?

Is there any cheap way to program a picaxe? How do you use the usb audiojack cable with the audio jack to program the PicAXE? pls help me... If you have any extra PICAXE can you send them to me please?? I live in singapore... so email me then i can tell you my address... The PICAXE here is ridiculously expensive so Im trying to find a reliable seller...

Question by Boppo3    |  last reply


PICAXE battery voltage monitor

Does anyone have an idea of how one could get a picaxe to monitor its own battery source and light an LED when the voltage drops below a certain value. I am thinking that there might be a way to do it using a ADC input. Perhaps a zener diode could be used and the voltage above its threshold could be measured.

Topic by biochemtronics    |  last reply


How to produce frequency(100HZ) using PICAXE? Is that possible? Answered

I'm a student and programming newbie...please don't flame me.

Question by vincent hua    |  last reply


Running several servos off an Picaxe 18m2.

Hi there.  I recently got a Picaxe 18m2 project board and I want to run up to eight servos off it, if thats even possible. Would I need a separate servo driver/controller for that number of servos or perhaps a different microcontroller? Any examples of code for operating more than one servo at a time would be appreciated also.  By the way, apart from reading 'Robot builders bonanza', my technical experience consists of operating 'Bigtrak' when I was about 12 and changing the odd plug. Cheers.

Topic by jonnymelon    |  last reply


PICAXE "snap connector" kitset

Check the kids level "snap connector" PICAXE microcontroller DIY kit ! => https://www.instructables.com/id/quotSnap_connectorquot_PICAXE_microcontroller/

Topic by manuka    |  last reply


Is it safe to solder a PICAXE microcontroller directly? Answered

I wanted to use a PICAXE 08M2 in LED Throwie application so i wanted to know is it safe to solder it directly or i have to use a 8 Pin DIP socket              ?

Question by Bot1398    |  last reply


why won't my picaxe 18m2 project board work?

Hi there. So i connected a servo to output 4, joined the 0v lines, had the two power sources, downloaded the sample code etc. Nothing happened. I tested the system using the LED test from the picaxe manual and that was fine. I must have tried to work the servo off the project board twenty times, until I removed the 18m2, placed it on a solderless breadboard, plugged the servo into the board, joined it all together with jumpers and as soon as I connected power the servo started preforming the code I downloaded while the 18m2 was still in the project board. So why won't it work connected to the project board? I've tried using another output and a resistor on the signal line.  If anyone has experience of working servos off a picaxe project board I'd appreciate a step by step walkthrough. As usual its probably something simple. thanks.

Question by jonnymelon    |  last reply


does anyone know any how to`s on how to connect a picaxe 20m to a SRF005 ultrasonic range sensor? Answered

I want to connect an ultrasonic rangefinder to my robot and my robots brain is a picaxe 20m so i need a way of interfacing it with a picaxe 20m , im pretty sure it`s an ADC input so if anyone knows an adc to cm converter i would be very grateful!!! thanks in advance if anyone answers this!!! cm

Question by thecookiemonster    |  last reply


Cheaper way to program PICAXE? Answered

The USB programming cable for a PICAXE is $25, which seems a bit high. The serial cable is only $5 but my computer doesn't have a serial port. So. This is what I propose to do. Use these the serial cable and a USB to serial cable and a cheap proto board like so: USB to serial + Serial to PICAXE + PICAXE Will this work? If it does, it can save about $12.

Question by cowmanpoke    |  last reply



is it possible to use a picaxe 08m to drive an lcd screen of any sort? Answered

If so then can you provde a link or scematic/scource code.  i would prefer it if there were no other ics besides the picaxe

Question by Barramundi    |  last reply


PICAXE Ciruit Help needed! I'm trying to figure out why my circiut is not working. Can anyone help? Answered

Note: I have attached a copy of my programming and the schematic of the circuit. As part of my school systems engineering course, I have decided to build an automated chook shed door. For the electronic side of this project i'm using a PICAXE microprocessor (PICAXE 08M - to be exact) to control the up and down operation of the door - which is done using a 12 volt linear actuator, all powered by a 12 volt battery (eventually to be rechagred by a solar panel). My theory is to basically read in the light level using an LDR and then based on this level to open the door, or close it. The is designed to work through the use of 3 relays (all with built in diode protection). The first relay is connected to the 12 volt power which supllies power to the other set of relays, and in effect the actuator, when ouput 0 is turned to high (I'm using transistors to do this as seen on the in the shematic). When I want to reverse the the motor I again turn ouput 0 to high, but also ouput 1 to high which switches the the other coupled relays (again using a tranistor) and in effect the polarities of the actuator.I'm also using two microswitchs on the bottom of the vertical sliding door as a safety mechanism, so that when the door is closing and an obstuction occurs (i.e a hand or piece of wood), its programmed to lift the door for about a second before trying to close again.  As mentioned before it acts a safety mechanism so that no little fingers can be chopped off, and the actuator it self doesn't overload and blow up (although I'm pretty sure it has inbuilt protection for this anyway). Ok anyway to the problem, I have wired everything up as to the schematic I have provided, and loaded the program onto the chip (which it does successfully do) - however its not performing as desired. I have placed the same program onto another identical PICAXE system (except it is not obviously connected to all of the stuff mine is) and it works fine. I have also tried reducing the complexity of the program and taking out the LDR readings in the code, and when I do this,  it does successfully turn on the relays as desired. For some reason it appears that the LDR is reading a full light level even when I place my finger over it, and because the IF statment in the program relies on a low LDR to operate, the code which turns on the relays never gets to execute.  At first it seems that there may have been a problem with the LDR, so I changed it  with a new one, but again it continues to read the highest value of 255 (or 1 byte) and therefore the program never executes as desired. I'm not sure why the LDR keeps reading the highest value. CAN ANYONE HELP!

Question by Mattdog123    |  last reply


how do you program a picaxe 28x1 with a hl-340?

It is a picaxe 28x1 on a breadboard. Trying to program it with RS232-usb adapter cable. Please help.

Question by bro12345  


Sparkfun USB Programmer For PICAXE Not Working? Answered

I have the PICAXE USB Programmer from sparkfun but it does not work it says no hardware detected on COM 4 I have installed the drivers I am using Windows XP.how can I get it to work.I have made the download circuit correctly.

Question by Bot1398    |  last reply


Does anyone know any good picaxe 08 / 08M projects? Answered

I want to get started in microcrontoller programming and was wondering if any one knew any good picaxe projects that aren't too complicated or not THAT easy!!!

Question by thecookiemonster    |  last reply



Is Picaxe capable of recognizing rising edge clock signals?

In other words, is the Picaxe microcontroller (any size) capable of recognizing a change from low to high (pressing a switch for instance) and acting on that change itself, not just the presence of a high?  Or is there at least a way of emulating this type of response in the code? Thanks!

Question by Skidion    |  last reply



2f675 microchip instead of the picaxe for the magic locket DIY by Mikhalchuk ,?

I have at my disposal one 12f675 microchip ,can I use this one instead ? how will the programmer need to be changed? Can someone help ? Thank you!!

Question by sengrath    |  last reply


how can i let a picaxe 20m communicate with visual basic? Answered

Hello every one, i've just recieved some picaxe chips (the 20m version). I'm trying to communicate with the picaxe in visual basic but i can't get it working. I've searched quite alot on the internet and already saw this instructable https://www.instructables.com/id/Control-real-world-devices-with-your-PC/ . but it doesnt work for me. could any one help? (i use the axe027 download cable configured on port 2) edit: I've now asked the question on the picaxe forum

Question by selujtje    |  last reply


Can you use a usb flash drive as a memory drive with a picaxe microcontoller?

I want to know if you can store code and scripts on a flash drive and have the flash drive connected to a microcontroller and have the microcontroller load the code.

Question by the pro    |  last reply


help setting up picaxe 08m download circuit.

Help!... i have all my resistors set up, power set up ,drivers installed dont know what to do

Question by tom10122    |  last reply