Search found 27 matches

by Harry Tuttle
Tue Nov 08, 2011 9:16 pm
Forum: Programming Tips & Tricks
Topic: Flowcode for Developing Android Apps
Replies: 4
Views: 7944

Re: Flowcode for Developing Android Apps

I was thinking that an Android remote control app could be used to control via a bluetooth E-Block.
Also I just chanced across this Sparkfun IOIO but the programming looks like hard work.
http://www.sparkfun.com/products/10585
by Harry Tuttle
Mon Oct 17, 2011 9:29 pm
Forum: Flowcode V4
Topic: Introduction of a heart rate monitor?
Replies: 4
Views: 3642

Re: Introduction of a heart rate monitor?

If you go for the chest monitor have you seen the reciever that Sparkfun offer. It is compatible with Polar transmitters.

http://www.sparkfun.com/products/8661

regards,
ben
by Harry Tuttle
Thu Oct 13, 2011 9:06 pm
Forum: Programming Tips & Tricks
Topic: ByVac LCD 2.4" Colour with Touch Screen
Replies: 4
Views: 7418

Re: ByVac LCD 2.4" Colour with Touch Screen

Hi John. You have go a tidy set up there I was going to put in a picture of my rather agricultural version!. Jim's boards are well made, I have the RTC as well and will try and post a working settable alarm clock when I have cleaned up the code a bit. I failed to get the bit map command to work and ...
by Harry Tuttle
Wed Oct 12, 2011 10:14 pm
Forum: Programming Tips & Tricks
Topic: ByVac LCD 2.4" Colour with Touch Screen
Replies: 4
Views: 7418

ByVac LCD 2.4" Colour with Touch Screen

For those in peril with I2C. This might be of use to anyone just starting with a ByVac LCD Touch Screen. I am running it on an ECIO but you could change this to any chip with I2C master or use bit banging. The example below covers text, back ground and foreground colours, drawing rectangles circles ...
by Harry Tuttle
Wed Feb 23, 2011 8:09 pm
Forum: Programming Tips & Tricks
Topic: LCD Bar Graph using Byvac BV4512
Replies: 1
Views: 5728

LCD Bar Graph using Byvac BV4512

LCD Bar Graph Bargraph.jpg Hardware As before a 16f877a and Byvac BV4512 128x64 LCD Graphic controller is used. http://www.matrixmultimedia.com/mmforums/viewtopic.php?f=26&t=8020 http://www.byvac.co.uk/downloads/datasheets/BV4512%20DataSheet.pdf Usual I2C bus with pull up resistors, plus potentiome...
by Harry Tuttle
Sun Feb 06, 2011 9:18 pm
Forum: Flowcode V4
Topic: 10uS Timer
Replies: 7
Views: 5492

Re: 10uS Timer

Hi medelec35,

I have not seen ! used before (Output = !Output), can you explain it's function?

Thanks,
ben
by Harry Tuttle
Sun Feb 06, 2011 5:46 pm
Forum: Flowcode V4
Topic: i2c macro
Replies: 6
Views: 4545

Re: i2c macro

Hi,
Is this what you should be seeing s,64,0,0,8,P?
This is version V4 of flow code.
Not sure what is wrong with yours!!!
flowcodeI2C.jpg
(242.09 KiB) Downloaded 2099 times
by Harry Tuttle
Wed Jan 12, 2011 9:06 pm
Forum: Programming Tips & Tricks
Topic: 128x64 LCD X Y Plotter
Replies: 2
Views: 9241

128x64 LCD X Y Plotter

Simple little programme for the Byvac BV4512 128x64 LCD Graphic controller using hardware I2C. http://www.byvac.co.uk/downloads/datasheets/BV4512%20DataSheet.pdf Two analogue inputs ( a couple of potentiometers ) are read by the 16F877A to give X and Y coordinates which are plotted on the LCD in the...
by Harry Tuttle
Fri Oct 01, 2010 7:30 pm
Forum: Article Discussion
Topic: MX030 - Radio Clock with DCF77
Replies: 33
Views: 84005

Re: Radio Clock with DCF77

Hi Nicolas,

Thanks for taking time to post your article, it was interesting to look at your code.

best regards,
Harry
by Harry Tuttle
Fri Oct 01, 2010 7:16 pm
Forum: Programming Tips & Tricks
Topic: SRF02 Ultra Sonic Range Finder With I2C Interface
Replies: 6
Views: 14918

Re: SRF02 Ultra Sonic Range Finder With I2C Interface

Did you read the explanation here:

http://www.robot-electronics.co.uk/htm/ ... 2c_bus.htm

I was looking at your other post and see that you made an I2C board and were using ultrasonic rangers back in 2007, any chance that you could post the code?
by Harry Tuttle
Thu Sep 30, 2010 8:37 am
Forum: Programming Tips & Tricks
Topic: SRF02 Ultra Sonic Range Finder With I2C Interface
Replies: 6
Views: 14918

Re: SRF02 Ultra Sonic Range Finder With I2C Interface

Hi Keith, My mistake the Component Macro lable should read "Register 0x00", a copy paste mishap. Register (or Location) 0 if read returns the software version, but it is also the command register the only register that can be written to. 11 unique commands can be sent to Register 0, for more details...
by Harry Tuttle
Mon Jul 26, 2010 6:40 pm
Forum: Programming Tips & Tricks
Topic: HMC6352 Compass with I2C interface
Replies: 1
Views: 4252

HMC6352 Compass with I2C interface

HMC6352 Compass with I2C interface Lost your direction? Why not try out the Honeywell HMC6352 Compass Module? You can buy the HMC6352 ready mounted on a Sparkfun breakout board, all you have to do is solder on header pins or wires and connect the usual I2C pullup resistors (Pin outs are the same as...
by Harry Tuttle
Thu Jul 08, 2010 7:39 pm
Forum: Programming Tips & Tricks
Topic: BlinkM a Smart LED
Replies: 0
Views: 3584

BlinkM a Smart LED

BlinkM a Smart LED if ever there was one I picked one of these up off eBay for £2, they are a bit expensive new. As with other I2C posts here the project uses a 16f877 with hardware implementation. This is just a simple get you started programme which might save other beginners a bit of time!! The ...
by Harry Tuttle
Sat Jun 19, 2010 8:25 pm
Forum: Programming Tips & Tricks
Topic: 2-bit I2C LED dimmer,PCA9530DP
Replies: 2
Views: 5569

2-bit I2C LED dimmer,PCA9530DP

2-bit I2C LED dimmer,PCA9530DP I don’t know if this is of any interest to anyone. The PCA9530DP can be used as an input or output. I am only using outputs in this example. The two outputs can be a simple on/off or pulse width modulation. The device has six registers 0 Input - the state of the two I...
by Harry Tuttle
Fri Apr 16, 2010 7:48 pm
Forum: Flowcode V2 & V3
Topic: v4.3 Upgrade problem
Replies: 2
Views: 4302

Re: v4.3 Upgrade problem

Thanks for your quick response Steve, I carried out your instructions and all is well again.

Ta,
ben
by Harry Tuttle
Fri Apr 16, 2010 12:10 pm
Forum: Flowcode V2 & V3
Topic: v4.3 Upgrade problem
Replies: 2
Views: 4302

v4.3 Upgrade problem

Can anyone help me with the following problem, it has stared since I upgraded to v4.3. I have uploaded the latest PPP, but the problem persists. I have not changed the programmer location or options!!
Thanks,
ben
problem.jpg
(109.42 KiB) Downloaded 2413 times
by Harry Tuttle
Fri Apr 02, 2010 8:21 pm
Forum: Programming Tips & Tricks
Topic: Olympus RM-1 IR Shutter Release
Replies: 3
Views: 7967

Re: Olympus RM-1 IR Shutter Release

The transmitted signal comprises of : 9mSec burst 4.5mSec space Address first byte Address second byte Command NOTcommand The logic bits are: Logic 0 1.12mSec long logic0.jpg Logic 1 2.25mSec long logic1.jpg For more on Extended NEC protocol see: http://www.sbprojects.com/knowledge/ir/nec.htm output...
by Harry Tuttle
Fri Apr 02, 2010 8:17 pm
Forum: Programming Tips & Tricks
Topic: Olympus RM-1 IR Shutter Release
Replies: 3
Views: 7967

Re: Olympus RM-1 IR Shutter Release

P4027022 copy.jpg
(210.98 KiB) Downloaded 2920 times
by Harry Tuttle
Fri Apr 02, 2010 8:15 pm
Forum: Programming Tips & Tricks
Topic: Olympus RM-1 IR Shutter Release
Replies: 3
Views: 7967

Olympus RM-1 IR Shutter Release

Olympus RM-1 IR Shutter Release OlympusRemoteV4.fcf Simple programme that replicates the shutter release from the RM-1infra red remote control. P4027024.jpg I have used a 16F877A as this is part of a larger project, it should work on any chip with PWM output. The PWM output is used to produce the 3...
by Harry Tuttle
Wed Mar 24, 2010 3:07 pm
Forum: Programming Tips & Tricks
Topic: SRF02 Ultra Sonic Range Finder With I2C Interface
Replies: 6
Views: 14918

SRF02 Ultra Sonic Range Finder With I2C Interface

The SRF02 and it’s similar siblings provide simple and affordable range finding in a small package. The default address of the SRF02 can be changed allowing up to 16 devices to be connected to the same two wire I2C (Inter-Integrated Circuit) bus. Depending on which transmit command is sent to the de...
by Harry Tuttle
Wed Mar 24, 2010 1:04 pm
Forum: Programming Tips & Tricks
Topic: SAMSUNG remote control decoder
Replies: 28
Views: 45942

Re: SAMSUNG remote control decoder

Hello,

That looks like NEC Extended Protocol developed by NEC Electronics. I have just made a transmitter to operate the shutter on my camera which is controled by this IR protocol, it took age's to figure it out!!

Have a look at:
http://www.sbprojects.com/knowledge/ir/nec.htm

regards,
ben
by Harry Tuttle
Tue Jan 26, 2010 8:17 am
Forum: Components (Comms)
Topic: I2C and the MCP9800 Temperature sensor
Replies: 45
Views: 42183

Re: I2C and the MCP9800 Temperature sensor

Hi Daniel,
I got a replacement PCB and it is now working, so it must have been the IC! I will send it back for testing.
Thanks for your help,

regards,
ben
by Harry Tuttle
Wed Jan 13, 2010 10:21 am
Forum: Components (Comms)
Topic: I2C and the MCP9800 Temperature sensor
Replies: 45
Views: 42183

Re: I2C and the MCP9800 Temperature sensor

Hello Daniel, Here is the simple code to read the MCP9800. This is based on a 16f877a with hardware I2C connection to Port C and LCD connected to Port A. On the LCD the Ambient Temperature Upper Byte is displayed with the Ambient Temperature Lower Byte on the second line. I get 225 at cold room teme...
by Harry Tuttle
Tue Jan 12, 2010 12:47 am
Forum: Components (Comms)
Topic: I2C and the MCP9800 Temperature sensor
Replies: 45
Views: 42183

Re: I2C and the MCP9800 Temperature sensor

Thanks Daniel, Do you have any idea why I am getting 231 (11100111 ) in the upper half of the ambient temperature register at room temperature? When the MCP9800 is warmed this reading counts up, so I must be in the right place. As this is two’s complement with the MSB being set this would suggest ...