fritz42_male
Senior Member
Hi all,
I'm about to begin a build of an animatronic control system. I want to use an 18M2 with eeprom to replay stored sequences of servo movements. There will basically be 2 groups of servos - 1 group controlling 3 axis head movement and the other group will control 2 axis eye movement. I have not begun coding but have finished the initial Pebble layout (untested - if you see a mistake or way of improvement please let me know).
I have a few queries though:
1) Can the 18M do multiple simultaneous reads of an eeprom via the multitasking or should I adopt a different approach of reading all sequences via the eeprom and then passing them to the individual control programs?
2) I'm hoping to preprogram the eeprom from data derived from a PC. I see that there are plenty of PC based eeprom programmers on eBay - are the ones that list 24C256 (for example) suitable for 24LC256?
Any other suggestions or pointers would be appreciated.
Cheers
Mike
I'm about to begin a build of an animatronic control system. I want to use an 18M2 with eeprom to replay stored sequences of servo movements. There will basically be 2 groups of servos - 1 group controlling 3 axis head movement and the other group will control 2 axis eye movement. I have not begun coding but have finished the initial Pebble layout (untested - if you see a mistake or way of improvement please let me know).
Code:
IC||471|210|2||U?|||PICAXE18M2|IC||PICAXE18M2_2
Resistor|330|611|322|2|Resistor|R?||1||IC||
Resistor|330|693|322|2|Resistor|R?||1||IC||
Resistor|330|665|322|2|Resistor|R?||1||IC||
Resistor|330|638|322|2|Resistor|R?||1||IC||
Resistor|330|556|322|2|Resistor|R?||1||IC||
Resistor|330|529|322|2|Resistor|R?||1||IC||
Wire||587|402|21||11|#CC6633|1|11||10|
Miscell||605|418|1||XX?||1|32|Miscell||misc_32
Miscell||687|391|1||XX?||1|32|||misc_32
Miscell||687|445|1||XX?||1|32|Miscell||misc_32
Miscell||605|391|1||XX?||1|32|Miscell||misc_32
Miscell||687|418|1||XX?||1|32|||misc_32
Miscell||605|445|1||XX?||1|32|Miscell||misc_32
Miscell||659|391|1||XX?||1|32|Miscell||misc_32
Miscell||659|418|1||XX?||1|32|Miscell||misc_32
Miscell||659|445|1||XX?||1|32|||misc_32
Miscell||632|391|1||XX?||1|32|Miscell||misc_32
Miscell||632|445|1||XX?||1|32|Miscell||misc_32
Miscell||632|418|1||XX?||1|32|Miscell||misc_32
Miscell||523|391|1||XX?||1|32|Miscell||misc_32
Miscell||550|445|1||XX?||1|32|||misc_32
Miscell||550|391|1||XX?||1|32|||misc_32
Miscell||550|418|1||XX?||1|32|||misc_32
Miscell||523|445|1||XX?||1|32|Miscell||misc_32
Miscell||523|418|1||XX?||1|32|Miscell||misc_32
Capacitor|0.1uF|715|211|4|Capacitor|C?||3|4|||cap_434
Miscell||528|340|1||XX?||1|36|CUT||misc_36
Miscell||555|340|1||XX?||1|36|CUT||misc_36
Miscell||637|340|1||XX?||1|36|CUT||misc_36
Miscell||692|340|1||XX?||1|36|Cut||misc_36
Miscell||664|340|1||XX?||1|36|CUT||misc_36
Miscell||610|340|1||XX?||1|36|CUT||misc_36
Wire||194|44|22||11|#FF0000|14|11||10|
Wire||207|72|23||11|#000000|14|11||10|
Wire||589|308|12||11|#FFFF00|5|11||10|
Wire||589|180|11||11|#FFFF00|5|11||10|
Wire||671|152|11||11|#CC6633|4|11||10|
Wire||587|72|21||11|#000000|1|11||10|
Wire||124|454|11||11|#000000|2|11||10|
Wire||124|42|11||11|#FF0000|2|11||10|
Wire||779|209|21||11|#CC6633|3|11||10|
Wire||781|317|11||11|#CC6633|2|11||10|
Resistor|10000|748|405|2|Resistor|R?||1||IC||
Wire||754|372|11||11|#00A060|3|11||10|
Wire||752|209|21||11|#00A060|3|11||10|
Resistor|22000|646|119|1|Resistor|R?||3||IC||
IC||361|210|1||U?|||EEPROM|IC||EEPROM_1
Wire||368|44|21||11|#FF0000|2|11||10|
Wire||450|402|21||11|#000000|2|11||10|
Wire||370|317|11||11|#000000|1|11||10|
Wire||398|345|11||11|#000000|1|11||10|
Miscell||221|391|1||XX?||1|32|Miscell||misc_32
Miscell||221|418|1||XX?||1|32|Miscell||misc_32
Miscell||221|445|1||XX?||1|32|Miscell||misc_32
Miscell||249|391|1||XX?||1|32|Miscell||misc_32
Miscell||249|418|1||XX?||1|32|Miscell||misc_32
Miscell||249|445|1||XX?||1|32|Miscell||misc_32
Resistor|330|226|212|2|Resistor|R?||2||IC||
Resistor|330|254|212|2|Resistor|R?||2||IC||
Miscell||276|391|1||XX?||1|32|Miscell||misc_32
Miscell||276|418|1||XX?||1|32|Miscell||misc_32
Miscell||276|445|1||XX?||1|32|Miscell||misc_32
Resistor|330|281|212|2|Resistor|R?||2||IC||
Wire||343|171|12||11|#CC6633|13|11||10|
Wire||781|454|11||11|#000000|2|11||10|
Wire||386|182|22||11|#3253FF|7|13||10|
Wire||413|182|22||11|#3253FF|5|13||10|
Wire||387|366|11||11|#3253FF|4|21||10|
Wire||414|311|11||11|#3253FF|2|21||10|
Wire||452|180|11||11|#3253FF|3|11||10|
Resistor|330|309|212|2|Resistor|R?||2||IC||
Resistor|330|336|212|2|Resistor|R?||2||IC||
Miscell||304|391|1||XX?||1|32|Miscell||misc_32
Miscell||304|418|1||XX?||1|32|Miscell||misc_32
Miscell||304|445|1||XX?||1|32|Miscell||misc_32
Miscell||331|391|1||XX?||1|32|Miscell||misc_32
Miscell||331|418|1||XX?||1|32|Miscell||misc_32
Miscell||331|445|1||XX?||1|32|Miscell||misc_32
Wire||316|143|12||11|#CC6633|11|11||10|
Wire||288|116|12||11|#CC6633|10|11||10|
Wire||261|88|12||11|#CC6633|9|11||10|
Wire||233|155|13||11|#CC6633|9|11||10|
BREADBOARDSTYLE=BB37
SHOWTHETOPAREA=false
I have a few queries though:
1) Can the 18M do multiple simultaneous reads of an eeprom via the multitasking or should I adopt a different approach of reading all sequences via the eeprom and then passing them to the individual control programs?
2) I'm hoping to preprogram the eeprom from data derived from a PC. I see that there are plenty of PC based eeprom programmers on eBay - are the ones that list 24C256 (for example) suitable for 24LC256?
Any other suggestions or pointers would be appreciated.
Cheers
Mike