Search found 373 matches

Return

by JohnCrow
Sun Dec 05, 2010 3:29 pm
Jump to forum
Jump to topic

Custom E-Blocks

I have just recently completed building a couple of custom E-Blocks. They have both been built on the EB017 Patch Board 4 x 20 LCD Display LCD-Display - Web.jpg This uses a standard 4x20 LCD display from Rapid. The connections run on the back of the board to the 10 pin SIL header. Connections are ba...
by JohnCrow
Sun Mar 06, 2011 12:01 pm
Jump to forum
Jump to topic

PIR E-Block

I recently aquired a small PIR sensor which I thought would made an interesting E-block PIR E - Block.jpg The device operates from 12V. (Red Wire) The output is 5V and goes low when movement is detected. The signal line is connected to 5V via a 10k-ohm pull up resistor. (Black Wire) To save having t...
by JohnCrow
Wed Mar 23, 2011 8:56 pm
Jump to forum
Jump to topic

Re: MMC Eblock, only with MMC or also with SD?

Hi Ben Changing the Init card macro actually made things worse, the system didnt work with the class 2 cards either :cry: So I tried your other suggustion of inserting a delay in the MX_SPI_BYTE macro There is actually a 1us delay in that code already , so i tried increasing it. 10us was found to wo...
by JohnCrow
Wed Apr 27, 2011 7:27 pm
Jump to forum
Jump to topic

Re: Look Up Tables using Flowcode and Microsoft Excel

To help you are are two different ways you can convert from byte to integer and vice-versa IntValue = ByteLow+(ByteHigh << 8) ByteLow = IntValue & 0xFF ByteHigh = (IntValue >> 8) & 0xFF IntValue = ByteLow+(ByteHigh * 256) ByteHigh = (IntValue/ 256) ByteLow = IntValue - ByteHigh* 256 Not tri...
by JohnCrow
Sun May 01, 2011 4:03 pm
Jump to forum
Jump to topic

Dual Channel Temperature Logger

My latest project is a 2 channel temperature logger with rs232/USB connectivity The LM35 is a 3 pin IC with 10mV/°C output. This application is usable over the range 0°C to 100°C 1.) Introduction. This project was started to develop a temperature logging instrument based around a LM35 integrated cir...
by JohnCrow
Tue May 03, 2011 8:19 pm
Jump to forum
Jump to topic

Re: Debugging works but testing on eblocks doesnt

Hi Iman Think this statement is your problem Acceleration = (Speed2-Speed1)/(Time1+Time2) You have acceleration designated a float variable You cannot do the math in this way, it has caught me out when using floats myself look in the help file for full info, but this is the basic way to do it define...
by JohnCrow
Thu May 05, 2011 7:58 am
Jump to forum
Jump to topic

Re: Floating point

Hi When you print the result of a float calculation on the LCD you print it as a string. If you need a fixed length, you can set the lenght of the string in the variables setting. floatstring[5] would print a sting of 5 characters (including the decimal point) Not sure if you can set a variable leng...
by JohnCrow
Fri May 13, 2011 8:02 pm
Jump to forum
Jump to topic

LCD On PortA ?

Hi Ive just written a program based on splitting/combining 2 8bit bytes posted by medelec a few days ago. This allows the decimal numbers to be entered on the keypad, and then shown in binary on 2 x LED e-blocks and in decimal on LCD e-block. The program works fine, but I dont know why, as I made th...
by JohnCrow
Mon May 02, 2011 6:40 pm
Jump to forum
Jump to topic

Identify PICs

I noticed today that the printing on a couple of the PIC devices I use for experiments was starting to rub off. This made me think of an article I'd read somewhere, some time ago (I dont claim to have come up with this idea, but dont remember where I saw it). Write the type of device on a small labe...
by JohnCrow
Sun Jun 19, 2011 10:11 am
Jump to forum
Jump to topic

Re: Controlling a Servomotor with timer0 interrupt.

Hi Martin That simulator program is impressive. Think I'll be registering that myself,especially looking at the cost. Did see you originaly posted about it a few days ago. Did find using your program (above) with internal osc selected, the LCD didn't display anything, but changing to xtal and recomp...
by JohnCrow
Sun Jun 19, 2011 11:35 am
Jump to forum
Jump to topic

Dual Channel Temperature Logger - Remote Ch2

This article shows a simple modification to my system to allow remote monitoring The LM35 is a very useful device, however if it is mounted any distance from the microcontroller, the voltage drop in the cables can introduce errors. 10mV/°C equates to 1mV/0.1°C. i.e. for every mV lost gives an error ...
by JohnCrow
Sun Jun 19, 2011 1:36 pm
Jump to forum
Jump to topic

Re: MX022 - Dual Channel Temperature Logger

Hi Pete The display is from Rapid Electonics http://www.rapidonline.com The part no. 57-0946 - data sheet is on rapids website Not sure where you'll get one in your country, but the data sheet should point you in the right direction. Though any display with these connections and a Hitachi HD44780 or...
by JohnCrow
Thu Jun 23, 2011 8:01 pm
Jump to forum
Jump to topic

Motor Control Using PWM

Motor Control Using PWM & The EB022 Motor Board. The EB-022 Motor board, is a very versatile addition to a collection of E-Block hardware. This describes a simple program I’ve developed to allow independent speed control of 2 motors by means of keypad entry. This only scratches the surface of t...
by JohnCrow
Fri Jun 24, 2011 1:02 pm
Jump to forum
Jump to topic

Re: PIC configuration

Hi You cannot change the device in flowcode directly as the ECIO is a fixed device. What you can do is once you have saved the flowchart, is to start a new one, select the new device you want to program and use the import function in flowcode. This works in the same way as if you wanted to import a ...
by JohnCrow
Tue Jun 28, 2011 6:37 pm
Jump to forum
Jump to topic

Re: Rotory Encoder and PIC

Hi Rotary encoders is something I want to have a look at myself in the near future, Sorry but I don't know anymore than you at the moment. Have you looked at this post maybe something useful to you here http://www.matrixmultimedia.com/mmforums/viewtopic.php?f=29&t=7843&p=21037&hilit=rota...
by JohnCrow
Tue Jul 05, 2011 9:04 pm
Jump to forum
Jump to topic

DS1307 RTC

DS 1307 Real Time Clock Tutorial The new double summer issue (2011) of “Elektor “ as always has a good selection of small interesting circuits. One that caught my eye was for a real time clock that can be linked to a Microcontroller. A couple of IC’s were ordered along with the relevant crystal, an...
by JohnCrow
Wed Jul 06, 2011 5:58 pm
Jump to forum
Jump to topic

Re: QL200 Wont Connect

Thats good news
Thanks for letting us know
by JohnCrow
Mon Jul 04, 2011 8:13 am
Jump to forum
Jump to topic

Re: QL200 WONT CONNECT

Hi Sorry I might be confusing you Before compiling you will have to make sure the connections on your board match the flowcode components. i.e. for the LCD RS = Bit4 Enable = Bit5." Flowcode lets you change the way the components are wired in case the default settings of 2 components clash. The...
by JohnCrow
Sun Jul 10, 2011 11:56 am
Jump to forum
Jump to topic

Re: gLCD printing number Problem

Hi Pete I've been playing with one of the gLCDs myself they are a nice little display. Just as a quick replay rearding point 3. I dont think you can print characters like the degree symbol by using the ascii code on these displays. With a standard LCD like the EB-005, the charaters are programmed in...
by JohnCrow
Sun Jul 10, 2011 11:29 am
Jump to forum
Jump to topic

Re: DS1307 RTC

Part 2 Reading Time From The RTC Once the DS1307 RTC IC has been programmed as in Part 1 it will assuming the battery is still good, retain the setings for upto 10 years (The device takes a maximum of 500nA) Again, I have used the program posted by Dan81 and as the basis for this I have cut the pro...
by JohnCrow
Wed Jul 13, 2011 7:51 am
Jump to forum
Jump to topic

Re: Different results using EB006 and my other burner with s

Hi Werner The D0 - D7 on the led board just means Diode 0 - Diode 7 (Could just as easily have been marked LED 0-LED7) LED 0 is connected to bit 0 - LED 7 is connected to bit 7 ( on which ever port the board is connected to) Dont forget not all ports have all bits available as output, or in the case...
by JohnCrow
Fri Jul 15, 2011 3:59 pm
Jump to forum
Jump to topic

Digital Compass

Digital Compass My latest project is a electronic digital compass. While browsing a component site, I spotted this interesting module. CMPS03 Compass Module. cmps3pin2.jpg Fig1. The PCB as received from the supplier. North is at right angle to the left side of the pcb. The 2 x 8 pin chips nearest t...
by JohnCrow
Sun Jul 31, 2011 10:57 am
Jump to forum
Jump to topic

Re: GPS Time

Hi Gary Ive tweaked your flowchart so it works Have a look at the GPS macro for hour min & sec . You had a slight error in the way you were setting them up. Tried it with the Matrix e-block on my hardware. if you are using a different gps module just make sure to set the correct baud rate. Also ...
by JohnCrow
Sun Jul 31, 2011 3:57 pm
Jump to forum
Jump to topic

Re: GPS Time

Hi Gary The Matrix eblock connects to Port C and the LCD to Port B I tried your original chart with my hardware and it didnt work, my version chart does show correct time using my GPS eblock. Possibly your GPS module is not quite compatible with the macro settings. It looks like its not getting the ...
by JohnCrow
Wed Aug 03, 2011 9:38 pm
Jump to forum
Jump to topic

Re: Problem with EB063

On the EB063, the B jumper links make the following physical connections: FSEL = pin 1 CS = pin 0 SDO = pin 3 SDI = pin 4 SCK = pin 5 Hi Sean I dont want to confuse anyone, but Ive just looked at the data sheet for the RF e-block and it shows the connection with jumber B as FSEL = pin 1 CS = pin 0 ...