Monday, May 28, 2012

Puppy bot

Build a robot for acadian to get him started in robotics.

Everything in it, is stuff I had laying around.


The button on top triggers, 4 rgb leds inside of it. Its powered by a jeenode, Yes those are bobbers on the rear antenna. The wheels are two cd's with some 1/8? bearings hot glued between them and wrapped in plastic wire wrap conduit.

I did a quick continous rotation mode to a pair of servos. The front "wheel" is a ping pong ball mounted to a pair of springs.

Over all it tools around good. With a 9v battery as the power source. The sonar just lets it back up a little bit and turn left or right off a random guess.

i found an old cell phone i might use the battery out of that to power. I will upload some more photos of the build when acadian goes to bed

Open Source Robot

Thought I put this up: Guess not



They are the start of my open source project

Saturday, May 5, 2012

On an Airplane

Took a bit of a trip this week, which I totally did not want to make, after a few stressful days I am glad to be done. I am writing this on the plane ride home so it will be short I guess.

I got a chance till my battery ran out to work on my racing simulator code. I added in a calibration routine for it and stream-lined the button setup and initialization routine. This should make it respond faster than I can see or tell. Aka reduced the lag a bit.

Next I have to build the output to the u8 and make sure it (linux) works fine with the computer.

I have 4 user buttons, start, select and Will be adding a button to calibrate the steering for the chip only.

If I ever get time I will be making the pedals and the shifter and adding them into it.

Mentally I am drained after a very very long week. So I am slightly glad my laptop battery was not fully charged.

Talk at you internet people later - john

Ps I am still thinking delta bot 3d printer fyi.

Friday, March 30, 2012

Bored on duty

So it's 24 hour duty time. Again. (Insert unhappy face)

So I took time to tweak my phone, better keyboard and all, so bored

Thursday, December 8, 2011

ok side project for xmas since i am laid up after my knee surgery.


Grove - Starter Kit   
    Grove - Twin Buttons X1
    Grove - Twin LEDs X1
    Grove - Tilt X1
    Grove - Buzzer X1
    Grove - Rotary Angle Sensor X1
    Grove - Temperature Sensor (Analog) X1
    Grove - Smart Relay X1
    Grove - Protoshield X1
    Grove - Base Shield X1
    LCD1602 Baseshield + LCD X1
    GROVE Cable X10

plus the following extras
   Grove - Tilt Switch
   Grove - 3-axis Accelerometer
   Grove - Touch Sensor   
   Grove - Vibrator


Add to it one Arduino



Next mix in some Modk.it.

This will be a system for kids to use super easy. Aka my nieces and nephews. Since the modk.it is still in alpha, I asked to help them out getting the linux version up and running. Edward Baafi was kind enough to say yes.

Tuesday, November 22, 2011

ok more work on the cnc





basic layout of the hardware has started. With the options on i want. Each axis will have controls and a menus system with 4 extra buttons for features later. etc.So I got 3 axis control so far. with digital reads for them and a control system for each axis. Which mean I am a limb short. The 5 buttons in the row over lcd are the menu control buttons. and the wires run out to limits.

shown here
but they got kicked for optical ones first thing

Tuesday, November 15, 2011

More Stm32f4

OK bit of a code post

First open a terminal to start up the listener so i can program the board

$ cd stlink.git/
$ sudo ./gdbserver/st-util fu bar


next to send a program to the board in a new terminal

cd ~/stlink.git/example/blink

make CONFIG_STM32F4_DISCOVERY=1

$ arm-none-eabi-gdb
(gdb) target extended localhost:4242
(gdb) load blink.elf
(gdb) continue

Control-C stops the program

and quit ends and starts the program on the board automagicly.

Now this is just with an example and using the post below to get my build environment up and running.

Had  no issues with programing or anything but when i reset - i.e unplugged the board the program was not running. Firing up the gdb and repeating these commands

$ arm-none-eabi-gdb
(gdb) target extended localhost:4242
(gdb) continue

and only one led blinks. Not the 4 in the center of the board.... More to follow as i figure this out.

yep i am stupid

Might help if i program the flash not the ram eh?


./flash/flash write path/to/file_name.bin 0x8000000

works just fine! With my ability to program the board and upload code to both the flash and the ram, I am all set not to go back to windows and have to finish deployment from there to the target boards. Next on the chopping block to is to gleam out how to do proper usb identification for my device. I.E a usb CNC Machine with Serial Communications. Which hopefully is not that hard. Seems someone has do a bit of CNC gcode converting software for stm32 already so after i figure out this usb crap i am going to have a look at that.