Let's Make Robots!

IR and pulsin

After some time of idleness i got to work again on my IR setup. I still have some problem understanding what happens.

This is my setup:

Transmitter: picaxe28x1, IR led (tsal6100)with cathode connected to pwm (%50 duty, 38000Hz), anode to an output pin.

Code:

pwm bla bla (set up of pwm)

pause 500

pulsout 7, 250

 

Receiver: picaxe28a, IR receiver and demodulator (tsop1238) properly connected.

Code:

debug 

main:

pulsin INPUT_PIN, 0, w0

goto main

 -----

This walkthrough explains the basics of soldering, really important thing to learn if we want our robots to be tough!
here's the best one i've found so far,it really helps a lot. http://www.curiousinventor.com/guides/How_To_Solder Read more

Frets on Fire

Hi guys! i want to introduce to you (some already know about it) this game. It's a guitar hero clone, and for the ones who don't know what it is, well, it is a game in which you have to impersonate a guitarist and play famous songs with your keyboard or "toy" guitar. You basically see various kind of notes (which are basically small dots on the screen) scrolling down towards you and your goal is to get as many as possible.

Kind of hard to explain....why don't you give it a go? :D

Decoding IR without INFRAIN

hi guys!

i need some help from you guys. I have found this page, and it has really helped me a lot: http://www.world-educational-services.net/PICAXE%20Infra-Red%20Interfacing.htm

 what i wanna talk about today is the "Decoding without INFRAIN or INFRAIN2", where the author of the page is trying to decode the IR signal coming from his sony remote. Above this is an explanation of how the Sony protocol works.

Capacitor's voltage rating

Hi guys.

Do you know what the voltage rating on capacitors is? My idea is that the voltage rating is just the maximum voltage it can take before the blue smoke comes out, but i'm not sure.

thank you :) 

Picaxe 28A only works on board

Hi guys. This is very strange, really. And since it is very strange i must have forgot to do something very simple....

dealing/separating strings in BASIC

I didn't know whether to put this in absolute beginners or here..

anyways, what i'm trying to do is use my ADC port to get some values from one of my sensors and once i've done this i want this value to be displayed on a three digit seven segment display. I know how to right single numbers on the 7-segment display, but i wouldn't know how to deal with, say, a three digit number. 

where to place output pin

Hi guys.

i can't really understand why (i know it works, i just want to understand why :) )  you can connect the anode of a led (example) to V+ and the cathode to an output pin. shouldn't the cathode be connected to V- or Gnd?  (example shown on page 4 of the getting started picaxe manual)

 

oh by the way. in the manual it says this can be done with the darlington. Can it also be done without it?

(i could understand how it works with a transistor: output current goes to base and cathode of led gets connected to Gnd through collecter and emitter)

Writing/Reading with EEPROMs

Hi guys!

i would like to write and read this kind of EEPROM http://ww1.microchip.com/downloads/en/DeviceDoc/21711G.pdf 

the problem is that i don't really know how to.

My aim is to establish a serial connection with it via my picaxe (it's gonna be one of the "M" series), and of course, once i've done this, to read it and write on it. 

does picaxe have some simple code to read/write them?

Another thing: in the pin description it says i have to connect a pin to a "serial clock". What is that? or what pin would it be on the picaxe?

Picaxe - UART

Some questions about UART

Does picaxe have a UART module or can it be attached to it?

What are UARTs normally used for?

What's the difference (if there is difference) between the way picaxe gets the software from the pc and the way a picaxe would communicate via UART?

:)