Search found 527 matches

by Spanish_dude
Fri Aug 09, 2013 2:39 pm
Forum: Forums d'aide en français
Topic: Problème de communication RS232???
Replies: 5
Views: 5083

Re: Problème de communication RS232???

Il me semble que RS232 ne peut pas être utilisé comme un bus. C'est une simple communication entre 2 devices (1 master et 1 slave par ex.).
Le mieux serait d'utiliser un convertisseur USART -> RS485, car le RS485 permet la communication entre 32 devices sur le même bus.

- Nicolas
by Spanish_dude
Fri Aug 09, 2013 2:30 pm
Forum: Programming Tips & Tricks
Topic: spi 12bit digital to analog chip
Replies: 14
Views: 16847

Re: spi 12bit digital to analog chip

Probably best to use a buffer, power transistor or some sort of FET to not draw to much current from the DAC.

- Nicolas
by Spanish_dude
Thu Aug 08, 2013 9:32 am
Forum: General Programming
Topic: EEPROM Operation
Replies: 29
Views: 21306

Re: EEPROM Operation

Proteus has some glitch with pull up resistors.
I've had some simulation issues on one of my schematics because of that. Really annoying...

The only way to be sure your program works is by testing it on hardware.
by Spanish_dude
Wed Aug 07, 2013 9:52 pm
Forum: General Programming
Topic: Schematic Drawing Program
Replies: 6
Views: 5652

Re: Schematic Drawing Program

Hi Ben,

Does that mean that anyone could make a plugin for Flowcode v6 ?
Will there be any kind of documentation on how to do this ?

Just curious.

- Nicolas
by Spanish_dude
Wed Aug 07, 2013 9:41 pm
Forum: Flowcode V5
Topic: Flowcode6 Open Beta - Released!!
Replies: 12
Views: 10418

Re: Flowcode6 Open Beta Planned - 08/08/13

The video looks awesome!
Very impressive. I love the 3D interaction.
Must have been though to add that to Flowcode :mrgreen: .

- Nicolas
by Spanish_dude
Wed Aug 07, 2013 9:27 pm
Forum: Flowcode V5
Topic: Help with KS0073 Initialization
Replies: 10
Views: 7662

Re: Help with KS0073 Initialization

Hi again, 1) We are talking about the initialization of an LCD. This is done at the power up of the microcontroller and LCD. I've never seen anyone do an LCD initialization in the middle of his code. I don't think you need to optimize this as much as you'd want. Whenever you are initializing somethi...
by Spanish_dude
Wed Aug 07, 2013 3:59 pm
Forum: Flowcode V5
Topic: Help with KS0073 Initialization
Replies: 10
Views: 7662

Re: Help with KS0073 Initialization

Hi Jac, 1) I do both: "while(readBusyFlag());" and then a delay. Just to be sure and because the controller needs 1/2Fosc before sending a new instruction. (I think I read that somewhere) 2) It does not match the timings, but I think it should work. I have made my WS0010 driver like that. I didn't f...
by Spanish_dude
Wed Aug 07, 2013 7:18 am
Forum: Flowcode V5
Topic: Help with KS0073 Initialization
Replies: 10
Views: 7662

Re: Help with KS0073 Initialization

I've recently made a WS0010 driver (only 8 bit mode done). Here's how I've done it. First thing I did, is I made a "sendByte" function that is able to send instructions, as well as data to be written on the LCD. So my function looked something like this: /* u8 = unsigned 8 bit value (unsigned char) ...
by Spanish_dude
Wed Aug 07, 2013 3:58 am
Forum: Programming Tips & Tricks
Topic: spi 12bit digital to analog chip
Replies: 14
Views: 16847

Re: spi 12bit digital to analog chip

Same here! I think you can easily make a crappy function generator with it. Have a PC program send a data pakket of a sine/triangle/sawtooth waveform to a microcontroller. Then use that microcontroller to send the data, through SPI, to the DAC. I just ordered some MCP4821, 5V, 12 bit, int ref (2.048...
by Spanish_dude
Fri Aug 02, 2013 4:47 am
Forum: Flowcode V5
Topic: Help with KS0073 Initialization
Replies: 10
Views: 7662

Re: Help with KS0073 Initialization

Looks like the controller used is a RW1067. I don't know if it's the same as a KS0073, but I've found this datasheet : http://www.newhavendisplay.com/app_notes/RW1067.pdf Take a look at it, it explains what you need to do to drive that LCD. There's even an initialization flowchart. Try to program it...
by Spanish_dude
Fri Aug 02, 2013 4:08 am
Forum: Forums d'aide en français
Topic: Problème de communication RS232???
Replies: 5
Views: 5083

Re: Problème de communication RS232???

Essaye de brancher ton PIC en SOIC via un USART <-> USB a ton PC et vérifie que ton PC reçoit bel et bien des données (via un programme comme hyperterminal comme PuTTY).

- Nicolas
by Spanish_dude
Fri Aug 02, 2013 4:03 am
Forum: Forums d'aide en français
Topic: Flowcode AVR et LCD grove
Replies: 1
Views: 2992

Re: Flowcode AVR et LCD grove

Bien sur.
Soit tu fais tes propres fonctions pour communiquer avec le LCD via l'USART de ton AVR, soit tu essayes d'utiliser la librarie fournie, dans flowcode.
Si elle est open source ça devrait être possible via le "custom macro" si je ne me trompe pas.

- Nicolas
by Spanish_dude
Thu Sep 13, 2012 3:00 pm
Forum: C and ASM Programming
Topic: Using HP-488 with MPLAB
Replies: 5
Views: 7864

Re: Using HP-488 with MPLAB

There's a way to execute a command line after compiling the code so the code is automatically sent to the PIC.
Just like Flowcode does it, but it's not that great. If you do it like this, it's executed every time you compile.

Nicolas
by Spanish_dude
Sun Sep 09, 2012 7:47 pm
Forum: Programming Tips & Tricks
Topic: Touch Sensitive Switch
Replies: 11
Views: 11647

Re: Touch Sensitive Switch

Probably some AD conversion using the PIC.
Have you tried probing the inputs ? See what the signal looks like.

If you know what happens when you touch the switches you could probably make your own program.

Nicolas
by Spanish_dude
Wed Aug 08, 2012 8:06 pm
Forum: General Programming
Topic: arduino code questions
Replies: 7
Views: 4450

Re: arduino code questions

The arduino is not a good device to learn C. It's more a C++ with weird functions (setup, loop, ...).
(Yep, I don't like it)
by Spanish_dude
Sun Aug 05, 2012 7:44 pm
Forum: Programming Tips & Tricks
Topic: UART NETWORK
Replies: 10
Views: 8433

Re: UART NETWORK

Nice little device :o
by Spanish_dude
Sun Aug 05, 2012 12:57 pm
Forum: Programming Tips & Tricks
Topic: UART NETWORK
Replies: 10
Views: 8433

Re: UART NETWORK

Is that a portable frequency generator ? (bottom right of the image)
Nice project.

Nicolas
by Spanish_dude
Thu Aug 02, 2012 11:43 am
Forum: Flowcode V5
Topic: PB with MACRO on Flowcode 5 AVR pro
Replies: 46
Views: 26314

Re: PB with MACRO on Flowcode 5 AVR pro

yann.cosson wrote:i tried the last flow you send me with 3 macro, it works on Flowcode, but when i want to flash it in my card i have an error.
when i flash one of my flowcode it's ok.
What error do you get ?
by Spanish_dude
Wed Aug 01, 2012 5:08 pm
Forum: Flowcode V5
Topic: PB with MACRO on Flowcode 5 AVR pro
Replies: 46
Views: 26314

Re: PB with MACRO on Flowcode 5 AVR pro

Hmmm, that's true. No idea why you have that problem.

Could it be hardware related ? Fuses maybe ?

EDIT : Didn't see David's post, my bad
by Spanish_dude
Wed Aug 01, 2012 2:59 pm
Forum: Flowcode V5
Topic: PB with MACRO on Flowcode 5 AVR pro
Replies: 46
Views: 26314

Re: PB with MACRO on Flowcode 5 AVR pro

I try your debug.fcf_avr and when you see the simu on flowcode the LED A7 bright, and after A6 and after A5, It's correct, no ? But on my card, the LED A7 set on and off, and after LED A6 set on and off, but after :( LED A7 bright again, and after A6, etc ......, A7, A6, A7, A6, ..... A5 never get ...
by Spanish_dude
Wed Aug 01, 2012 3:59 am
Forum: Flowcode V5
Topic: Programming failed: <6>
Replies: 12
Views: 7461

Re: Programming failed: <6>

You'll have to subscribe to the v5 forum : http://www.matrixmultimedia.com/mmforum ... =46&t=9958
I'll move this topic for you ;).

Nicolas

PS: I have no idea why it fails :/. I'm sure someone else if not the admins will be able to help you more.
by Spanish_dude
Wed Aug 01, 2012 3:46 am
Forum: Programming Tips & Tricks
Topic: MPASM decompiler
Replies: 2
Views: 6945

Re: MPASM decompiler

Awesome, I didn't know you could do that with MPLAB. Hope this feature is still available in MPLAB X. Anyways, I needed an open source decompiler as I want to do something like this with MPASM instructions: http://buddhahacks.files.wordpress.com/2008/06/cineunpack-graph-idapro52.png But couldn't fin...
by Spanish_dude
Wed Aug 01, 2012 2:07 am
Forum: Flowcode V5
Topic: Programming failed: <6>
Replies: 12
Views: 7461

Re: Programming failed: <6>

There's a slider on the right side when selecting the oscillator.
Choosing XT will tell the microcontroller to use the external oscillator.

Also, if you're using Flowcode v5, please subscribe to that forum. If it's the free version then I'll move it to the free section of the v5 forum.

Nicolas
by Spanish_dude
Wed Aug 01, 2012 1:08 am
Forum: Flowcode V5
Topic: Programming failed: <6>
Replies: 12
Views: 7461

Re: Programming failed: <6>

Are you using an external or internal oscillator ? If it's just a blink led test, I'd try with the external oscillator of ~19MHz that came with the programmer board. In Flowcode, go to 'Build' then 'Project Option'. If you haven't changed the clock speed, it should be set to 19660800-ish. Try the fo...
by Spanish_dude
Wed Aug 01, 2012 12:57 am
Forum: Flowcode V4
Topic: RC Servo Tool resolution
Replies: 2
Views: 2987

Re: RC Servo Tool resolution

How many servos are you using ?

If it's just one, you could make your own PWM. Depending on the microcontroller you have, I think you can get a 10 bit PWM or maybe more I don't know for sure.

Nicolas