In this week I made synchronous detecting sensor and accelerometer.
synchronous detecting sensor use led and light sensor to know how much light has changed in that situation.
This is a overall procedure of making hello sensors_
1. cutting or mill out the board.
2. solder components
3. flash with make file through ISP
4. connect serial by using FTDI
5. test with python or arduino IDE or something else.
Image below is my design of Synchronous detecting sensor.
If you click it you can download original image.
cut and solder.
I use this code to flash sensor.
in cmd in windows
make -f hello.reflect.45.make program-usbtiny
but suddenly I got this message
'make'은(는) 내부 또는 외부 명령, 실행할 수 있는 프로그램, 또는
배치 파일이 아닙니다."
which means you can't use "make" command in windows.
but the thing is I have flashed Fab ISP with same Laptop.
so I burrow macbook to flash it
and the command was
sudo make -f hello.reflect.45.make program-usbtiny
only difference was put "sudo" or not.
I still try to find what the problem was.
After flash you have to connect through FTDI
Here is the code for py serial in Mac OXS
1. you have to find serial port _ ls/dev/tty.usb*
2. than it will comes out like this _ /dev/tty.usbserial-00000
3. after type code _ python hello.reflect.45.py /dev/tty.usbserial-00000
After doing this you can see the beautiful bar graph.
And I have made 2axis accelerometer.
And here is my design basically same with Neils but I put hanguel on it.
Also If you click the image you can get original size of it.
And I have made 2axis accelerometer.
And here is my design basically same with Neils but I put hanguel on it.
<<<<<<<< It means 3axis oops!
In this time I've flash with windows pc and test with mac.
so you can use
make -f hello.ADXL343.make program-usbtiny
Thank you!
and I tested it.
And Fail.
And it turns out the bad soldering was the problem. and I might burn ADXL343 chip while I'm soldering it. though I have use hot air it doesn't solder well. so I just make new board. and just put new chip and it success.
You can bearly seen 3aixs in here I didn't consider about ftdi connector ;P
Back to home